Swap
Verified contract
Proxy
Active on
Base with 11,655 txns
Unified storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 12 additional slots
Balances ($1,238,974.96)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 462.126448 | $2,681.03 |
$1,238,974.87 | |
BENTO | ERC-20 | 8.880888M | $0.00 |
$0.09 | |
USA | ERC-20 | 1 | $0.001787 |
$0 | |
kurbi | ERC-20 | 0.1 | $0.00072 |
$0 | |
Cheems | ERC-20 | 10.134582M | -- | -- | |
SNICK | ERC-20 | 2.4M | -- | -- | |
MOKIT | ERC-20 | 10K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
hETH | ERC-20 | 437.440958 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21721468 | 10 hours ago | | | 0 | 0.0000012265598 | |
| 21706403 | 19 hours ago | | | 0 | 0.000058044553 | |
| 21706403 | 19 hours ago | | | 0 | 0.000071588198 | |
| 21700145 | a day ago | | | 0 | 0.0000017283414 | |
| 21675769 | a day ago | | | 0 | 0.0000015335019 | |
| 21672542 | 2 days ago | | | 0 | 0.0000015107372 | |
| 21648507 | 2 days ago | | | 0 | 0.0000019652010 | |
| 21633472 | 2 days ago | | | 0 | 0.0000013745570 | |
| 21615829 | 3 days ago | | | 0 | 0.0000013604910 | |
| 21551877 | 4 days ago | | | 0 | 0.0000011515812 |
ABI
ABI objects
Getter at block 21739858 getVirtualPrice() view returns (uint256) A_PRECISION() view returns (uint256) MAX_A() view returns (uint256) MAX_ADMIN_FEE() view returns (uint256) MAX_SWAP_FEE() view returns (uint256) MAX_WITHDRAW_FEE() view returns (uint256) POOL_PRECISION_DECIMALS() view returns (uint8)
getA() view returns (uint256)
200
getAPrecise() view returns (uint256)
20000
swapStorage() view returns (uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, uint256 defaultWithdrawFee, address lpToken)
(initialA=20000, futureA=20000, initialATime=0, futureATime=0, swapFee=4000000, adminFee=0, defaultWithdrawFee=0, lpToken=0xe9605bec1c5c3e81f974f80b8da9fbeff4845d4d)
Read-only
calculateCurrentWithdrawFee(address user) view returns (uint256)
calculateRemoveLiquidity(address account, uint256 amount) view returns (uint256[])
calculateRemoveLiquidityOneToken(address account, uint256 tokenAmount, uint8 tokenIndex) view returns (uint256 availableTokenAmount)
calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns (uint256)
calculateTokenAmount(address account, uint256[] amounts, bool deposit) view returns (uint256)
getAdminBalance(uint256 index) view returns (uint256)
getDepositTimestamp(address user) view returns (uint256)
getToken(uint8 index) view returns (address)
getTokenBalance(uint8 index) view returns (uint256)
getTokenIndex(address tokenAddress) view returns (uint8)
State-modifying
Events addLiquidity(uint256[] amounts, uint256 minToMint, uint256 deadline) returns (uint256)
initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, uint256 _withdrawFee)
removeLiquidity(uint256 amount, uint256[] minAmounts, uint256 deadline) returns (uint256[])
removeLiquidityImbalance(uint256[] amounts, uint256 maxBurnAmount, uint256 deadline) returns (uint256)
removeLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex, uint256 minAmount, uint256 deadline) returns (uint256)
swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns (uint256)
updateUserWithdrawFee(address recipient, uint256 transferAmount)
AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
NewAdminFee(uint256 newAdminFee)
NewSwapFee(uint256 newSwapFee)
NewWithdrawFee(uint256 newWithdrawFee)
RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
StopRampA(uint256 currentA, uint256 time)
TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
RemoveLiquidity(address indexed provider, uint256[] tokenAmounts, uint256 lpTokenSupply)
RemoveLiquidityImbalance(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
RemoveLiquidityOne(address indexed provider, uint256 lpTokenAmount, uint256 lpTokenSupply, uint256 boughtId, uint256 tokensBought)
TokenSwap(address indexed buyer, uint256 tokensSold, uint256 tokensBought, uint128 soldId, uint128 boughtId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.