AggregatorFacet

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xc39f1185 at 12552342
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 30 additional slots

No balances found for "AggregatorFacet"

No transactions found for "AggregatorFacet"


Functions
Getter at block 22740714

This contract contains no getter function objects.

Read-only
getDeposit(address assetAddressview returns (uint256)
getDepositByUser(address assetAddressaddress senderAddressview returns (uint256)
isTransferKeyUsed(uint16 networkIdbytes32 senderAddressuint64 swapSequenceview returns (bool)
State-modifying
addMagpieAggregatorAddresses(uint16[] networkIdsbytes32[] magpieAggregatorAddresses
swapIn(struct SwapInArgs swapInArgspayable returns (uint256 amountOut)
swapOut(struct SwapOutArgs swapOutArgsreturns (uint256 amountOut)
updateMagpieRouterAddress(address magpieRouterAddress
updateNetworkId(uint16 networkId
updateWeth(address weth
withdraw(address assetAddress
Events
AddMagpieAggregatorAddresses(address indexed senderuint16[] networkIdsbytes32[] magpieAggregatorAddresses
AddMagpieAggregatorAddresses(address indexed senderuint16[] networkIdsbytes32[] magpieAggregatorAddresses
SwapIn(address indexed fromAddressbytes32 indexed toAddressaddress fromAssetAddressaddress toAssetAddressuint256 amountInuint256 amountOutstruct TransferKey transferKeystruct Transaction transaction
SwapIn(address indexed fromAddressbytes32 indexed toAddressaddress fromAssetAddressaddress toAssetAddressuint256 amountInuint256 amountOutstruct TransferKey transferKeystruct Transaction transaction
SwapOut(address indexed fromAddressaddress indexed toAddressaddress fromAssetAddressaddress toAssetAddressuint256 amountInuint256 amountOutstruct TransferKey transferKeystruct Transaction transaction
SwapOut(address indexed fromAddressaddress indexed toAddressaddress fromAssetAddressaddress toAssetAddressuint256 amountInuint256 amountOutstruct TransferKey transferKeystruct Transaction transaction
UpdateMagpieRouterAddress(address indexed senderaddress magpieRouterAddress
UpdateMagpieRouterAddress(address indexed senderaddress weth
UpdateNetworkId(address indexed senderuint16 networkId
UpdateNetworkId(address indexed senderuint16 networkId
UpdateWeth(address indexed senderaddress weth
UpdateWeth(address indexed senderaddress weth
Withdraw(address indexed senderaddress indexed assetAddressuint256 amount
Withdraw(address indexed senderaddress indexed assetAddressuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AggregatorBridgeInCallFailed(
AggregatorBridgeOutCallFailed(
AggregatorDataTransferInCallFailed(
AggregatorDataTransferOutCallFailed(
AggregatorDepositIsZero(
AggregatorInvalidAmountIn(
AggregatorInvalidAmountOutMin(
AggregatorInvalidFromAssetAddress(
AggregatorInvalidMagpieAggregatorAddress(
AggregatorInvalidToAddress(
AggregatorInvalidToAssetAddress(
AggregatorInvalidTransferKey(
ApprovalFailed(
AssetNotReceived(
ContractIsPaused(
ReentrantCall(
TransferFailed(
TransferFromFailed(