Contract Reference
Complete reference for all Alloca contracts deployed on Monad Mainnet.Core Contracts
AllocaFactoryMemes
Address:0x6bf9598B0838FB2d59c51D33fF839EEF6d79E923
Factory contract for deploying meme tokens with bonding curves.
Key Functions:
| Function | Description |
|---|---|
deployAllocaToken() | Deploy a new meme token with wMON (requires wrapping) |
deployAllocaTokenWithMon() | Deploy with native MON (no wrapping required) |
AllocaToken
Address:0x33E0E10D089544D232ba7C0c27B4A3A5e139255e (implementation template, cloned for each token)
Individual meme token contract with bonding curve and graduation logic.
Key Functions:
| Function | Description |
|---|---|
buyTokens(uint256 amountIn, uint256 minOut, address to) | Buy tokens |
buyTokensWithMon(uint256 minOut, address to) | Buy with native MON |
sellTokens(uint256 amountIn, uint256 minOut, address to) | Sell tokens |
getAmountInBuy(uint256 amountOut) | Get quote for buying |
getAmountOutSell(uint256 amountIn) | Get quote for selling |
AllocaDexFactory
Address:0xB88A4dD389c31b225e0ce6017c5AAa66eA894b79
INIT_CODE_HASH: 0x4bf06597830d8ed18e40206b43000520aac99eb664c255297f0e44985f21b008
Uniswap V2-style factory for creating trading pairs.
Key Functions:
| Function | Description |
|---|---|
createPair(address tokenA, address tokenB) | Create a new pair |
getPair(address tokenA, address tokenB) | Get pair address |
allPairs(uint256) | Get pair by index |
AllocaDexRouter02
Address:0x2a32C0457a84F1e50A035ffE1ecC4F104ed25eC3
Uniswap V2-style router for swapping tokens and managing liquidity.
Key Functions:
| Function | Description |
|---|---|
swapExactTokensForTokens() | Swap exact input |
swapTokensForExactTokens() | Swap for exact output |
addLiquidity() | Add liquidity to a pair |
removeLiquidity() | Remove liquidity |
getAmountsOut() | Get quote for swap |
AllocaDexPair
Address: Created automatically by factory Uniswap V2-style pair contract for token swaps. Key Functions:| Function | Description |
|---|---|
getReserves() | Get current reserves |
swap() | Execute a swap |
mint() | Mint LP tokens |
burn() | Burn LP tokens |