> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elata.bio/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart Contracts

> Contract addresses and references for the Elata Protocol

## Overview

All contracts on Ethereum Sepolia. Non-upgradeable. Verified on Etherscan.

<Info>
  **Current Deployment**: Ethereum Sepolia (Testnet)

  Mainnet deployment coming soon.
</Info>

***

## Core Protocol Contracts

These contracts power the fundamental protocol operations.

### ELTA Token

The main governance and utility token.

| Property       | Value                                        |
| -------------- | -------------------------------------------- |
| **Address**    | `0x2AEb03A678A1e1E99a2AeEb4CeFCD0263A2D3587` |
| **Network**    | Ethereum Sepolia                             |
| **Standard**   | ERC-20 with Votes + Permit                   |
| **Max Supply** | 77,000,000 ELTA                              |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x2AEb03A678A1e1E99a2AeEb4CeFCD0263A2D3587">
  ELTA Token Contract
</Card>

### VeELTA

Vote-escrowed ELTA for governance and rewards.

| Property       | Value                                        |
| -------------- | -------------------------------------------- |
| **Address**    | `0x143A2B10CeA2d27d5903443FF351023C5E0CFe51` |
| **Lock Range** | 7 days - 2 years                             |
| **Boost**      | 1x - 2x                                      |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x143A2B10CeA2d27d5903443FF351023C5E0CFe51">
  VeELTA Contract
</Card>

### ElataPoints

Non-transferable experience points for participation rewards.

| Property         | Value                                        |
| ---------------- | -------------------------------------------- |
| **Address**      | `0x6335495c88D1D78245BB50f321E4e450f865CfD0` |
| **Transferable** | No (soulbound)                               |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x6335495c88D1D78245BB50f321E4e450f865CfD0">
  ElataPoints Contract
</Card>

### ProtocolConfig

Bounded protocol parameter storage.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0xDe5090F5269786671a9bff0C91A538Af34069a95` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0xDe5090F5269786671a9bff0C91A538Af34069a95">
  ProtocolConfig Contract
</Card>

***

## Fees

Contracts handling fee collection and distribution.

### FeeCollector

Fee accounting buckets by app, kind, and asset.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x0584a9894B44939E77330bEa6720BAB6FA263862` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x0584a9894B44939E77330bEa6720BAB6FA263862">
  FeeCollector Contract
</Card>

### FeeSwapper

Final routing and optional swaps (IFeeRouterV2).

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x909e0fF2c22554E98de83BB495B95765F4C4eD11` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x909e0fF2c22554E98de83BB495B95765F4C4eD11">
  FeeSwapper Contract
</Card>

***

## App Launch Infrastructure

Contracts for creating and managing apps.

### AppFactory

Creates new app tokens with bonding curves.

| Property              | Value                                        |
| --------------------- | -------------------------------------------- |
| **Address**           | `0x2a108dB28E2790129F4C0F5b13e11A74A19eD677` |
| **Launch Cost**       | 110 ELTA                                     |
| **Graduation Target** | 42,000 ELTA                                  |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x2a108dB28E2790129F4C0F5b13e11A74A19eD677">
  AppFactory Contract
</Card>

### AppRegistry

Canonical app ownership and contributor split mapping.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x5d3677d30fa585497863A4fEA80FCcCC0162cFda` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x5d3677d30fa585497863A4fEA80FCcCC0162cFda">
  AppRegistry Contract
</Card>

### TournamentFactory

Creates tournament contracts for apps.

| Property         | Value                                        |
| ---------------- | -------------------------------------------- |
| **Address**      | `0x79241D3500C87aEA0B028391444350fDEdA35342` |
| **Protocol Fee** | 2.5%                                         |
| **Burn Fee**     | 1%                                           |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x79241D3500C87aEA0B028391444350fDEdA35342">
  TournamentFactory Contract
</Card>

### InAppContent721Factory

Deploys ERC-721 content contracts for apps.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x12e5ed2FE7Ffa07727c2540Dd05Fcb33D1869ECE` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x12e5ed2FE7Ffa07727c2540Dd05Fcb33D1869ECE">
  InAppContent721Factory Contract
</Card>

### ContentStoreFactory

Deploys content storage contracts for apps.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x849239432F29a8efAd9CAdA835c46bF533FD739a` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x849239432F29a8efAd9CAdA835c46bF533FD739a">
  ContentStoreFactory Contract
</Card>

### ContributorSplitFactory

Creates pull-based contributor payout contracts.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x5f4879607a28626f062f758e77D4234654BCD6A0` |

<Card title="View on Etherscan" icon="arrow-up-right-from-square" href="https://sepolia.etherscan.io/address/0x5f4879607a28626f062f758e77D4234654BCD6A0">
  ContributorSplitFactory Contract
</Card>

***

## Governance

Contracts for protocol governance.

### ElataGovernor

On-chain governance for protocol decisions.

| Property               | Value                                        |
| ---------------------- | -------------------------------------------- |
| **Address**            | `0xE81Bd81701ec98287709F25EeD37083500dbcF4C` |
| **Voting Period**      | 7 days                                       |
| **Quorum**             | 4%                                           |
| **Proposal Threshold** | 0.1%                                         |

### ElataTimelock

Execution delay for governance actions.

| Property    | Value                                        |
| ----------- | -------------------------------------------- |
| **Address** | `0x615f240D21940813C8bB45239A98b791c9d6e064` |
| **Delay**   | 48 hours                                     |

***

## Per-App Contracts

Each app creates these contracts on launch:

| Contract            | Purpose                   |
| ------------------- | ------------------------- |
| **AppToken**        | ERC-20 token for the app  |
| **AppBondingCurve** | Price discovery mechanism |
| **AppStakingVault** | Staking for fee rewards   |
| **LpLocker**        | LP token lock (2 years)   |

After deploying modules:

| Contract          | Purpose                         |
| ----------------- | ------------------------------- |
| **AppAccess1155** | NFT items and passes            |
| **EpochRewards**  | Seasonal reward distribution    |
| **Tournament**    | Individual tournament instances |

***

## Contract Addresses Summary

```json theme={null}
{
  "network": "sepolia",
  "chainId": 11155111,
  "contracts": {
    "ELTA": "0x2AEb03A678A1e1E99a2AeEb4CeFCD0263A2D3587",
    "VeELTA": "0x143A2B10CeA2d27d5903443FF351023C5E0CFe51",
    "ElataPoints": "0x6335495c88D1D78245BB50f321E4e450f865CfD0",
    "ProtocolConfig": "0xDe5090F5269786671a9bff0C91A538Af34069a95",
    "FeeCollector": "0x0584a9894B44939E77330bEa6720BAB6FA263862",
    "FeeSwapper": "0x909e0fF2c22554E98de83BB495B95765F4C4eD11",
    "AppFactory": "0x2a108dB28E2790129F4C0F5b13e11A74A19eD677",
    "AppRegistry": "0x5d3677d30fa585497863A4fEA80FCcCC0162cFda",
    "TournamentFactory": "0x79241D3500C87aEA0B028391444350fDEdA35342",
    "InAppContent721Factory": "0x12e5ed2FE7Ffa07727c2540Dd05Fcb33D1869ECE",
    "ContentStoreFactory": "0x849239432F29a8efAd9CAdA835c46bF533FD739a",
    "ContributorSplitFactory": "0x5f4879607a28626f062f758e77D4234654BCD6A0",
    "ElataGovernor": "0xE81Bd81701ec98287709F25EeD37083500dbcF4C",
    "ElataTimelock": "0x615f240D21940813C8bB45239A98b791c9d6e064"
  }
}
```

***

## Source Code

All contracts are open source and available on GitHub:

<CardGroup cols={2}>
  <Card title="Protocol Repository" icon="github" href="https://github.com/elata-biosciences/elata-protocol">
    Smart contract source code
  </Card>

  <Card title="App Store Repository" icon="github" href="https://github.com/elata-biosciences/elata-appstore">
    Frontend and ABIs
  </Card>
</CardGroup>

### ABIs

Contract ABIs are available in the App Store repository:

```
elata-appstore/src/abi/
├── ELTA.json
├── VeELTA.json
├── AppFactory.json
├── AppBondingCurve.json
├── AppToken.json
├── AppStakingVault.json
├── AppAccess1155.json
├── Tournament.json
└── ...
```

***

## Security

### Audits

* Contracts follow OpenZeppelin standards
* Non-upgradeable design
* Comprehensive test coverage

### Key Security Features

| Feature               | Protection                     |
| --------------------- | ------------------------------ |
| **LP Locking**        | 2-year lock prevents rug pulls |
| **Timelock**          | 48h delay on governance        |
| **Role-based Access** | Minimal admin functions        |
| **Non-upgradeable**   | Immutable contract logic       |

***

## Need Help?

<CardGroup cols={2}>
  <Card title="Discord" icon="discord" href="https://discord.gg/GqS9CstffK">
    Ask questions in #dev-support
  </Card>

  <Card title="GitHub Issues" icon="github" href="https://github.com/elata-biosciences/elata-protocol/issues">
    Report bugs or request features
  </Card>
</CardGroup>
