AggregatorFacet
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 30 additional slots
Balances ($0.00)
No balances found for "AggregatorFacet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AggregatorFacet"
ABI
ABI objects
Getter at block 22740714
This contract contains no getter function objects.
Read-only
getDeposit(address assetAddress) view returns (uint256)
getDepositByUser(address assetAddress, address senderAddress) view returns (uint256)
isTransferKeyUsed(uint16 networkId, bytes32 senderAddress, uint64 swapSequence) view returns (bool)
State-modifying
Events addMagpieAggregatorAddresses(uint16[] networkIds, bytes32[] magpieAggregatorAddresses)
swapIn(struct SwapInArgs swapInArgs) payable returns (uint256 amountOut)
swapOut(struct SwapOutArgs swapOutArgs) returns (uint256 amountOut)
updateMagpieRouterAddress(address magpieRouterAddress)
updateNetworkId(uint16 networkId)
updateWeth(address weth)
withdraw(address assetAddress)
AddMagpieAggregatorAddresses(address indexed sender, uint16[] networkIds, bytes32[] magpieAggregatorAddresses)
AddMagpieAggregatorAddresses(address indexed sender, uint16[] networkIds, bytes32[] magpieAggregatorAddresses)
SwapIn(address indexed fromAddress, bytes32 indexed toAddress, address fromAssetAddress, address toAssetAddress, uint256 amountIn, uint256 amountOut, struct TransferKey transferKey, struct Transaction transaction)
SwapIn(address indexed fromAddress, bytes32 indexed toAddress, address fromAssetAddress, address toAssetAddress, uint256 amountIn, uint256 amountOut, struct TransferKey transferKey, struct Transaction transaction)
SwapOut(address indexed fromAddress, address indexed toAddress, address fromAssetAddress, address toAssetAddress, uint256 amountIn, uint256 amountOut, struct TransferKey transferKey, struct Transaction transaction)
SwapOut(address indexed fromAddress, address indexed toAddress, address fromAssetAddress, address toAssetAddress, uint256 amountIn, uint256 amountOut, struct TransferKey transferKey, struct Transaction transaction)
UpdateMagpieRouterAddress(address indexed sender, address magpieRouterAddress)
UpdateMagpieRouterAddress(address indexed sender, address weth)
UpdateNetworkId(address indexed sender, uint16 networkId)
UpdateNetworkId(address indexed sender, uint16 networkId)
UpdateWeth(address indexed sender, address weth)
UpdateWeth(address indexed sender, address weth)
Withdraw(address indexed sender, address indexed assetAddress, uint256 amount)
Withdraw(address indexed sender, address indexed assetAddress, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AggregatorBridgeInCallFailed()
AggregatorBridgeOutCallFailed()
AggregatorDataTransferInCallFailed()
AggregatorDataTransferOutCallFailed()
AggregatorDepositIsZero()
AggregatorInvalidAmountIn()
AggregatorInvalidAmountOutMin()
AggregatorInvalidFromAssetAddress()
AggregatorInvalidMagpieAggregatorAddress()
AggregatorInvalidToAddress()
AggregatorInvalidToAssetAddress()
AggregatorInvalidTransferKey()
ApprovalFailed()
AssetNotReceived()
ContractIsPaused()
ReentrantCall()
TransferFailed()
TransferFromFailed()