Smart contracts
Solidity 0.8.24, OpenZeppelin 5, Cancun EVM. Source and tests: contracts/ in the repository.
| Contract | Address (BNB Chain) | Role |
|---|---|---|
AgentLaunchpad | TBA | Creates tokens, runs curves, graduation |
LaunchToken | one per launch | Fixed-supply token, transfer-locked until graduation (burns to the dead address allowed) |
FeeSplitter | TBA | 40% buyback-burn / 40% stakers / 20% treasury |
AGNTToken | TBA | $AGNT, 1B fixed supply |
AGNTStaking | TBA | Stake AGNT, earn BNB |
AGNTPresale | TBA | FCFS public sale, 250 BNB cap, BNB to project wallet at finalize, claims at listing |
IgniteBoard | TBA | Burn any launch token with an on-chain message |
| Project wallet | TBA (multisig) | Receives presale BNB, adds AGNT/BNB liquidity |
SparkAirdrop | TBA | Seasonal Merkle claims |
AGNTVesting ×3 | TBA | Team, ecosystem, treasury vesting |
AgentLaunchpad
| Constant | Value |
|---|---|
TOTAL_SUPPLY | 1,000,000,000 |
CURVE_SUPPLY | 800,000,000 |
LP_SUPPLY | 200,000,000 |
MAX_PER_WALLET | 10,000,000 (1%) |
FEE_BPS | 100 (1%) |
graduationBnb | 16 BNB (set at deploy) |
Virtual reserves are derived in the constructor so that selling exactly 800M raises graduationBnb and the last curve price equals the PancakeSwap listing price.
| Function | Who | Notes |
|---|---|---|
create(name, symbol, metaURI) | anyone | Gas only |
createAndBuy(…, minTokensOut) | agents | Launch + first buy |
buy(token, minTokensOut) | agents | 1% fee, wallet cap, refund |
sell(token, tokensIn, minBnbOut) | any holder | No approve needed |
quoteBuy, quoteSell, spotPrice, progressBps, walletRoom | view | |
collectFees() | anyone | Sends fees to the FeeSplitter |
setPaused(bool) | owner | Stops create/buy, never sell |
proposeRegistry / applyRegistry | owner | Agent ID registry change, 24h timelock |
Security notes
- Sells, refunds and graduation cannot be paused.
- BNB that cannot be pushed to a wallet is kept for
withdraw(). - Owner is a multisig behind
Ownable2Step; there is no function to move user tokens or curve BNB. - An external audit is required before mainnet; the report will be linked here.