Swap
Verified contract
Proxy
Active on
Ethereum with 2,988 txns
Unified storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 12 additional slots
Balances ($577,242.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WBTC | ERC-20 | 2.705092 | $96,251.00 |
$260,367.81 | |
sBTC | ERC-20 | 3.028556 | $78,131.00 |
$236,624.07 | |
renBTC | ERC-20 | 0.87551 | $91,661.00 |
$80,250.12 | |
$ | ERC-20 | 50K | -- | -- | |
SGT | ERC-20 | 42.942K | -- | -- | |
SDL | ERC-20 | 9.843115K | -- | -- | |
$ Evmosia.com | ERC-20 | 2.5K | -- | -- | |
wAMC | ERC-20 | 2.34978K | -- | -- | |
SWAPP | ERC-20 | 5 | -- | -- | |
TBTC | ERC-20 | 0.313674 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20079391 | 6 months ago | | | 0 | 0.0030517973 | |
| 20079312 | 6 months ago | | | 0 | 0.0031159681 | |
| 19477531 | 8 months ago | | | 0 | 0.010238128 | |
| 17030253 | 2 years ago | | | 0 | 0.0044835371 | |
| 16308955 | 2 years ago | | | 0 | 0.0028088134 | |
| 16308949 | 2 years ago | | | 0 | 0.0027840248 | |
| 16308945 | 2 years ago | | | 0 | 0.0031486460 | |
| 16308942 | 2 years ago | | | 0 | 0.0031164975 | |
| 16308832 | 2 years ago | | | 0 | 0.0073469415 | |
| 16308812 | 2 years ago | | | 0 | 0.0069207422 |
ABI
ABI objects
Getter at block 21305686 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
getAllowlist() view returns (address)
0xf5d2e84e816175dfb2c38bd7549d4bd37b1c0559
isGuarded() view returns (bool)
false
owner() view returns (address)
0x3f8e527af4e0c6e763e8f368ac679c44c45626ae
paused() view returns (bool)
true
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=5000000000, defaultWithdrawFee=0, lpToken=0xc28df698475dec994be00c9c9d8658a548e6304f)
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, bytes32[] merkleProof) returns (uint256)
disableGuard()
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)
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)
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)
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)
constructor(address[] _pooledTokens, uint8[] decimals, string lpTokenName, string lpTokenSymbol, uint256 _a, uint256 _fee, uint256 _adminFee, uint256 _withdrawFee, address _allowlist)
This contract contains no fallback and receive objects.
This contract contains no error objects.