0xdec2157831d6abc3ec328291119cc91b337272b5
Verified contract
Proxy
Active on
Ethereum with 1,082 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 12 additional slots
Balances ($972.90)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.311655 | $3,121.72 |
$972.9 | |
vETH2 | ERC-20 | 3.667236 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17644744 | a year ago | | | 0 | 0.0036462571 | |
| 14489208 | 3 years ago | | | 0 | 0.011001580 | |
| 14340899 | 3 years ago | | | 0 | 0.0040929350 | |
| 14331734 | 3 years ago | | | 0 | 0.0029441863 | |
| 13629050 | 3 years ago | | | 0 | 0.017803237 | |
| 13573184 | 3 years ago | | | 0 | 0.019490658 | |
| 13231316 | 3 years ago | | | 0 | 0.013603166 | |
| 13007331 | 3 years ago | | | 0 | 0.0080668720 | |
| 12798191 | 3 years ago | | | 0 | 0.0019733560 | |
| 12759267 | 3 years ago | | | 0 | 0.0016914480 |
ABI
ABI objects
Getter at block 21213591 getVirtualPrice() view returns (uint256)
MAX_BPS() view returns (uint256)
10000
flashLoanFeeBPS() view returns (uint256)
8
getA() view returns (uint256)
10
getAPrecise() view returns (uint256)
1000
owner() view returns (address)
0x3f8e527af4e0c6e763e8f368ac679c44c45626ae
paused() view returns (bool)
true
protocolFeeShareBPS() view returns (uint256)
0
swapStorage() view returns (uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, uint256 defaultWithdrawFee, address lpToken)
(initialA=1000, futureA=1000, initialATime=0, futureATime=0, swapFee=4000000, adminFee=0, defaultWithdrawFee=0, lpToken=0xe37e2a01fea778bc1717d72bd9f018b6a6b241d5)
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)
flashLoan(address receiver, address token, uint256 amount, bytes params)
initialize(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, uint256 _withdrawFee)
pause()
rampA(uint256 futureA, uint256 futureTime)
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)
renounceOwnership()
setAdminFee(uint256 newAdminFee)
setDefaultWithdrawFee(uint256 newWithdrawFee)
setFlashLoanFees(uint256 newFlashLoanFeeBPS, uint256 newProtocolFeeShareBPS)
setSwapFee(uint256 newSwapFee)
stopRampA()
swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns (uint256)
transferOwnership(address newOwner)
unpause()
updateUserWithdrawFee(address recipient, uint256 transferAmount)
withdrawAdminFees()
AddLiquidity(address indexed provider, uint256[] tokenAmounts, uint256[] fees, uint256 invariant, uint256 lpTokenSupply)
FlashLoan(address indexed receiver, uint8 tokenIndex, uint256 amount, uint256 amountFee, uint256 protocolFee)
NewAdminFee(uint256 newAdminFee)
NewSwapFee(uint256 newSwapFee)
NewWithdrawFee(uint256 newWithdrawFee)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
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)
Unpaused(address account)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.