MagpieCore
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 6 additional slots
Balances ($0.00)
No balances found for "MagpieCore"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MagpieCore"
ABI
ABI objects
Getter at block 21220357
config() view returns (address weth, address pauserAddress, address magpieRouterAddress, address magpieBridgeAddress, address stargateAddress, address tokenBridgeAddress, address coreBridgeAddress, uint8 consistencyLevel, uint8 networkId)
(weth=0x0000000000000000000000000000000000000000, pauserAddress=0x0000000000000000000000000000000000000000, magpieRouterAddress=0x0000000000000000000000000000000000000000, magpieBridgeAddress=0x0000000000000000000000000000000000000000, stargateAddress=0x0000000000000000000000000000000000000000, tokenBridgeAddress=0x0000000000000000000000000000000000000000, coreBridgeAddress=0x0000000000000000000000000000000000000000, consistencyLevel=0, networkId=0)
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
deposits(uint8, bytes32, uint64, address) view returns (uint256)
gasFeeAccumulated(address, address) view returns (uint256)
gasFeeAccumulatedByToken(address) view returns (uint256)
isPauser(address pauser) view returns (bool)
sequences(uint8, uint64) view returns (bool)
State-modifying
Events changePauser(address newPauser)
initialize(struct IMagpieCoreConfig _config)
pause()
renounceOwnership()
renouncePauser()
sgReceive(uint16 senderChainId, bytes stargateBridgeAddress, uint256 nonce, address assetAddress, uint256 amount, bytes payload)
swap(struct IMagpieRouterSwapArgs swapArgs) payable returns (uint256[] amountOuts)
swapIn(struct IMagpieCoreSwapInArgs args) payable returns (uint256[] amountOuts, uint256 depositAmount, uint64 coreSequence, uint64 tokenSequence)
swapOut(struct IMagpieCoreSwapOutArgs args) returns (uint256[] amountOuts)
transferOwnership(address newOwner)
unpause()
updateConfig(struct IMagpieCoreConfig _config)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdrawGasFee(address tokenAddress)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
ConfigUpdated(struct IMagpieCoreConfig config, address caller)
DepositReceived(uint8 networkId, bytes32 senderAddress, uint64 coreSequence, address assetAddress, uint256 amount)
GasFeeWithdraw(address indexed tokenAddress, address indexed owner, uint256 indexed amount)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PauserChanged(address indexed previousPauser, address indexed newPauser)
Swapped(struct IMagpieRouterSwapArgs swapArgs, uint256[] amountOuts, address caller)
SwappedIn(struct IMagpieCoreSwapInArgs args, uint256[] amountOuts, uint256 depositAmount, uint8 receipientNetworkId, uint64 coreSequence, uint64 tokenSequence, bytes32 senderAddress, address caller)
SwappedOut(struct IMagpieCoreSwapOutArgs args, uint256[] amountOuts, uint8 senderNetworkId, uint64 coreSequence, bytes32 senderAddress, address caller)
Unpaused(address account)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
receive()
This contract contains no error objects.