Type: DLMM DEX | Docs: bean.exchange
Overview
Bean is a Discrete Liquidity Market Maker (DLMM) DEX native to Monad. Like LFJ’s Liquidity Book, Bean organizes liquidity into discrete price bins. Trades within a bin execute at zero slippage. Bean is optimized for Monad’s high-throughput environment, taking advantage of sub-second block times for responsive price discovery.Functions
getBeanPairs()
Returns all active Bean trading pairs on Monad. Returns| Field | Type | Description |
|---|---|---|
pairAddress | Address | Bean pair contract address |
token0 | Address | First token address |
token1 | Address | Second token address |
binStep | number | Bin size in bps |
activeId | number | Current active bin ID |
reserve0 | bigint | Reserve of token0 |
reserve1 | bigint | Reserve of token1 |
price | number | Current price of token0 in token1 |
fee | number | Base fee in bps |
getBeanPairCount()
Returns the total number of Bean pairs deployed on Monad. Returnsnumber. total count of Bean pairs registered in the factory.
Bean leverages Monad’s ~400ms block times for responsive bin transitions. In volatile markets, the active bin ID changes frequently - poll with
getBeanPairs() rather than caching prices for extended periods.Contract Addresses
| Contract | Address |
|---|---|
| Factory | 0xb0Bd8567b80bB0a24ec92d1e85e5d28b4285e2E4 |