Pool

Verified contract

Active on Ethereum with 45 txns
Deployed by via 0xb344a25a at 14434911
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x6653c2502bc2962929ae7602e7fdefee460b50b86b3e1a002dfe9c08ba267033
0xb1e8d2f5b545460ccf6d6b63d2d8a1fdd1d2b0d6e41004c994709cdeb3d0039d
0x98373c691be4c9d560cee773fd207a1c2b7b925313f2806f58c5f51b36ff8581
0x34e9150ce861db3938cc86b5542f1363cfec2302247d66bc13fc8d47d4c6cd4f
0x725d0c4b4e7c4abe82dfce1ed916665baff0da9dfb06f228f138c2b14ca08287
0x037daf0e69db28f1826e757b24676a3993478a80c20d3086f387eae59372bd7a
0xccce2dfb1200f80af2a7c3a91d8aa700601ec84e59855e37988a2faadc5a8ab4
0x2f5bc089e02f6f19f4e500a2d01bfcf6f75d652dba8b3e5c2ef6747e0c32c71c
0xf8f7a1d856f6e0121064e84ae7fa4bfcb408e64da666898548399fe192f1cf41
0x728cb17e7ce725c769e5b13071160e9eba4473f9abf6148460a73735026fff70

Functions
Getter at block 21269211
A_PRECISION(view returns (uint256)
100
MAX_A(view returns (uint256)
1000000
MAX_ADMIN_FEE(view returns (uint256)
10000000000
adminFee(view returns (uint256)
10000000000
futureA(view returns (uint256)
20000
futureATime(view returns (uint256)
0
getA(view returns (uint256)
200
getVirtualPrice(view returns (uint256)
0
initialA(view returns (uint256)
20000
initialATime(view returns (uint256)
0
lpToken(view returns (address)
0x343ebce9b1b105a7149082ee670a25668e38c59d
owner(view returns (address)
0x72c1a1c24917eef19e7f5dea146d950841f37662
swapFee(view returns (uint256)
6000000
Read-only
balances(uint256view returns (uint256)
calculateRemoveLiquidity(uint256 amountview returns (uint256[])
calculateSwap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxview returns (uint256 dy)
calculateTokenAmount(uint256[] amountsbool depositview returns (uint256)
calculateWithdrawOneToken(uint256 tokenAmountuint8 tokenIndexview returns (uint256 amount)
coins(uint256view returns (address)
getAdminBalance(uint256 indexview returns (uint256)
getTokenIndex(address tokenview returns (uint8)
State-modifying
addLiquidity(uint256[] amountsuint256 minToMintuint256 deadlinereturns (uint256)
applyAdminFee(uint256 newAdminFee
applySwapFee(uint256 newSwapFee
rampA(uint256 _futureAuint256 _futureTime
removeLiquidity(uint256 amountuint256[] minAmountsuint256 deadlinereturns (uint256[])
removeLiquidityImbalance(uint256[] amountsuint256 maxBurnAmountuint256 deadlinereturns (uint256)
removeLiquidityOneToken(uint256 tokenAmountuint8 tokenIndexuint256 minAmountuint256 deadlinereturns (uint256)
stopRampA(
swap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxuint256 minDyuint256 deadlinereturns (uint256)
transferOwnership(address newOwner
withdrawAdminFee(address receiver
Events
AddLiquidity(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
NewAdminFee(uint256 newAdminFee
NewSwapFee(uint256 newSwapFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RampA(uint256 oldAuint256 newAuint256 initialTimeuint256 futureTime
RemoveLiquidity(address indexed provideruint256[] tokenAmountsuint256 lpTokenSupply
RemoveLiquidityImbalance(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
RemoveLiquidityOne(address indexed provideruint256 lpTokenAmountuint256 lpTokenSupplyuint256 boughtIduint256 tokensBought
StopRampA(uint256 currentAuint256 time
TokenSwap(address indexed buyeruint256 tokensSolduint256 tokensBoughtuint128 soldIduint128 boughtId
Constructor
constructor(address[] _coinsuint8[] decimalsstring lpTokenNamestring lpTokenSymboluint256 _auint256 _swapFeeuint256 _adminFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.