SwapFlashLoan
Verified contract
Proxy
Active on
Base with 1,490 txns
Unified storage
Map
Table
Raw
Constants and immutables
12
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 9 additional slots
Balances ($1,884.74)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 1.171857K | $0.999457 |
$1,171.22 | |
USDbC | ERC-20 | 713.493485 | $1.00 |
$713.49 | |
WGC | ERC-20 | 200 | $0.000105 |
$0.02 | |
kurbi | ERC-20 | 0.2 | $0.000647 |
$0 | |
BLOOM | ERC-20 | 1 | $0.000046 |
$0 | |
LIFI | ERC-20 | 379.63569K | -- | -- | |
BASED | ERC-20 | 5.444K | -- | -- | |
NUNU | ERC-20 | 2.348889K | -- | -- | |
BLOWN | ERC-20 | 77.694207 | -- | -- | |
| ERC-20 | 60 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19763454 | 2 months ago | | | 0 | 0.00075815500 | |
| 19719299 | 2 months ago | | | 0 | 0.000000803644300000 | |
| 19655633 | 2 months ago | | | 0 | 0.00091065500 | |
| 19590430 | 2 months ago | | | 0 | 0.0000010252106 | |
| 19544624 | 2 months ago | | | 0 | 0.0000010506311 | |
| 19544392 | 2 months ago | | | 0 | 0.0000010507592 | |
| 19544337 | 2 months ago | | | 0 | 0.0000010506311 | |
| 19544239 | 2 months ago | | | 0 | 0.0000010507592 | |
| 19544179 | 2 months ago | | | 0 | 0.0000010507592 | |
| 19544097 | 2 months ago | | | 0 | 0.0000010507592 |
ABI
ABI objects
Getter at block 21877231 getAdminBalances() view returns (uint256[] adminBalances) getVirtualPrice() view returns (uint256)
MAX_BPS() view returns (uint256)
10000
flashLoanFeeBPS() view returns (uint256)
8
getA() view returns (uint256)
1000
getAPrecise() view returns (uint256)
100000
getLpToken() view returns (address)
0x840dcb7b4d3ceb906efd00c8b5f5c5dd61d7f8a6
getNumberOfTokens() view returns (uint256)
2
getTokenBalances() view returns (uint256[])
[450277787, 933442536018728696736]
getTokenPrecisionMultipliers() view returns (uint256[])
[1000000000000, 1]
getTokens() view returns (address[])
[0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA, 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb]
isFlashLoanEnabled() view returns (bool)
false
owner() view returns (address)
0x845e2f1336d686794f791203ca6733d51672f543
paused() view returns (bool)
false
protocolFeeShareBPS() view returns (uint256)
0
swapStorage() view returns (uint256 initialA, uint256 futureA, uint256 initialATime, uint256 futureATime, uint256 swapFee, uint256 adminFee, address lpToken)
(initialA=100000, futureA=100000, initialATime=0, futureATime=0, swapFee=1000000, adminFee=5000000000, lpToken=0x840dcb7b4d3ceb906efd00c8b5f5c5dd61d7f8a6)
Read-only
calculateRemoveLiquidity(uint256 amount) view returns (uint256[])
calculateRemoveLiquidityOneToken(uint256 tokenAmount, uint8 tokenIndex) view returns (uint256 availableTokenAmount)
calculateSwap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx) view returns (uint256)
calculateTokenAmount(uint256[] amounts, bool deposit) view returns (uint256)
getAdminBalance(uint256 index) 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, address lpTokenTargetAddress)
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)
setFlashLoanFees(uint256 newFlashLoanFeeBPS, uint256 newProtocolFeeShareBPS)
setSwapFee(uint256 newSwapFee)
stopRampA()
swap(uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline) returns (uint256)
toggleFlashLoan(bool enableFlashLoan)
transferOwnership(address newOwner)
unpause()
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)
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.