Contracts & Security
Contract Addresses
| Contract | Network | Address | Purpose |
|---|---|---|---|
| AgoraRouter | Elysium | 0xaf8dec958df2bd664aa661716a8de5fe0417a295 | Executes trades, applies fees, referrals and the holder exemption |
| AgoraSwapExecutor | Elysium | 0xb6fb55518e40043286075cf69504ea6aab1b8cd4 | Performs the venue call for the router; holds no funds between trades |
| AgoraLimitOrders | Elysium | 0xe4e31ebe5687cd6f6f652eb600d444f9d06700e9 | Escrowed limit orders |
| AgoraBridge | HyperEVM | 0xe4e31ebe5687cd6f6f652eb600d444f9d06700e9 | HyperEVM to Elysium deposits |
| $AGORA | Elysium | 0x5e5df82d563fcf36b6f853c4d09f89e2d18825b4 | Token |
All contracts are owned by 0x69985dCF6b96ccB8A6ab70Ff47D4E0a86AFBD79e.
AgoraRouter
- Approvals. Users approve the router to sell tokens, but the router never calls an external venue directly and only transfers tokens from the wallet initiating the trade. The venue call is made by a separate contract, AgoraSwapExecutor, which holds no approvals and no funds between trades. A venue call therefore cannot access any user’s approvals or other users’ funds.
- Output. The amount received is measured by balance changes rather than reported by the venue, and the minimum received is enforced on the amount the user receives after fees.
- Referral earnings. Accrued earnings can be withdrawn only by the referrer. The owner cannot withdraw them.
- Limits. The fee is capped at 1%. The referral share and discount are each capped at 50%.
AgoraBridge
- Holds no funds. The fee and the deposit leave in the same transaction in which they are received.
- Delivers to the destination address specified by the user, and refunds unused gas to the same address.
- The fee is capped at 1%.
AgoraLimitOrders
- No administrative withdrawal and no upgrade mechanism. Funds can only be returned to the order owner, used for that order’s swap, or paid out as its proceeds.
- Every fill must meet the order’s minimum, and all other open orders must remain fully backed.
- New venues are usable only two days after being added. Cancellation remains available while paused.
- The fee is capped at 1% and fixed per order.
Owner Permissions
| The owner can | The owner cannot |
|---|---|
| Set fees up to the 1% cap | Set any fee above 1% |
| Set the referral share and discount up to 50% | Withdraw referral earnings or user funds |
| Configure the $AGORA holder exemption | Transfer tokens users have approved |
| Pause new trades, bridges or orders | Prevent cancellations, refunds or referral claims |
| Transfer ownership | Upgrade or replace contract code |
Testing
- 48 automated tests covering fees, referrals, the holder exemption, partial fills, slippage, reentrancy, attempts to use other users’ approvals, owner limits and ownership transfer.
- End-to-end execution on a fork of Elysium mainnet across every venue type: Kleos, BOXA, ElysPump, Uniswap v3 forks, Elyxa, Obol bonding curves and Obol pools.
- Live trades and a live bridge deposit through the deployed contracts prior to release.
Agora’s contracts have not yet been audited by a third party.
Risks
- Launchpad coins are typically new and thinly traded, and some carry high taxes. A coin’s presence on Agora is not an endorsement.
- Tickers can be duplicated across launchpads. Verify a coin’s contract address before trading.
- Elysium RPC endpoints can be congested. Failed transactions revert and cost only gas.
Last updated on