DEX Mini
Pool
- Reserve A: 1848903
- Reserve B: 1851388
- Total LP: 1850000
- Price (A→B): 1001344
- Fee: 0.3%
Functions
AddLiquidity(amountA, amountB) — add liquidity
RemoveLiquidity(shares) — remove liquidity
SwapAForB(amountIn) — swap A for B
SwapBForA(amountIn) — swap B for A
GetReserves() — check pool reserves
GetAmountOut(amountIn, isAForB) — calculate output