Diamond
Verified contract
Proxy
Active on
Base with 2 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
| ERC-20 | 19K | -- | -- | |
COIN www.baseweb.io | ERC-20 | 10K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 6423902 | a year ago | | | 0 | 0.000000001620963432 | |
| 5509535 | a year ago | | | 0 | 0.000067867512 |
ABI
ABI objects
Getter at block 23073459
This contract contains no getter function objects.
Read-only
This contract contains no read-only function objects.
State-modifying
Events addAmm(uint16 ammId, struct Amm amm)
addAmms(uint16[] ammIds, struct Amm[] amms)
removeAmm(uint16 ammId)
swap(struct SwapArgs swapArgs, bool estimateGas) payable returns (uint256 amountOut, uint256[] gasUsed)
updateCurveSettings(address addressProvider)
updateMagpieAggregatorAddress(address magpieAggregatorAddress)
updateWeth(address weth)
AddAmm(address indexed sender, uint16 ammId, struct Amm amm)
AddAmms(address indexed sender, uint16[] ammIds, struct Amm[] amms)
RemoveAmm(address indexed sender, uint16 ammId)
UpdateCurveSettings(address indexed sender, struct CurveSettings curveSettings)
UpdateMagpieAggregatorAddress(address indexed sender, address magpieAggregatorAddress)
UpdateWeth(address indexed sender, address weth)
constructor(address _contractOwner, struct IDiamondCutFacetCut[] _diamondCut, struct DiamondInitialization[] _initializations)
fallback()
receive()
AddressOutOfBounds()
AssetNotReceived()
RouterAmmCallFailed(bytes returnData)
RouterExpiredTransaction()
RouterInsufficientOutputAmount()
RouterInvalidAmountIn()
RouterInvalidHops()
RouterInvalidPath()
RouterInvalidProtocol()
RouterInvalidSender()