MainnetSWPR
Verified contract
Active on
Ethereum with 4,013 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x43ab…9258
0x30c0…12ea
0x7deb…d19c
Balances ($0.00)
No balances found for "MainnetSWPR"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21360647 | 3 days ago | | | 0.00025500215 | 0.0026926734 | |
| 21360078 | 3 days ago | | | 0.00025500215 | 0.0030867970 | |
| 21359591 | 4 days ago | | | 0.00025500215 | 0.0031198536 | |
| 21356211 | 4 days ago | | | 0.00026237351 | 0.0019147283 | |
| 21343503 | 6 days ago | | | 0.00027106229 | 0.0039581999 | |
| 21341884 | 6 days ago | | | 0.00027106229 | 0.0032311049 | |
| 21331116 | 7 days ago | | | 0.000272911 | 0.0057924996 | |
| 21327648 | 8 days ago | | | 0.00031983102 | 0.0042019943 | |
| 21327527 | 8 days ago | | | 0.00028855567 | 0.0042087439 | |
| 21326469 | 8 days ago | | | 0.00028855567 | 0.0042413432 |
ABI
ABI objects
Getter at block 21384750
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
CONTROLLER_ROLE() view returns (bytes32)
0x7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c570223357
CREDIT_MINTER_ROLE() view returns (bytes32)
0x98eee63452386eeb3e8c10d0cfe42a80ba83b7826c38149de72788766ce2cb36
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFAULT_PAYLOAD_SIZE_LIMIT() view returns (uint256)
10000
PLANETS() view returns (address)
0x7deb7bce4d360ebe68278dee6054b882aa62d19c
POW() view returns (address)
0x43ab765ee05075d78ad8aa79dcb1978ca3079258
PROTOCOL_ROLE() view returns (bytes32)
0xba279271fb7bbf76a6f3df3cc57bf80647fcafdea60ec3383d90f459de74e7c0
PUNKS() view returns (address)
0x30c084890fc07d78f3499ffc818b3225bc8812ea
RELAYER_ROLE() view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
lzEndpoint() view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
paused() view returns (bool)
false
precrime() view returns (address)
0x0000000000000000000000000000000000000000
treasury() view returns (address)
0x980d7f00148514788c17f19b63bfa58b0af19426
Read-only
estimateFees(struct ISwapperClaim _claim, uint256 _gasForDestinationLzReceive, uint16 _l2ChainId) view returns (uint256 messageFee)
getConfig(uint16 _version, uint16 _chainId, address, uint256 _configType) view returns (bytes)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTrustedRemoteAddress(uint16 _remoteChainId) view returns (bytes)
hasRole(bytes32 role, address account) view returns (bool)
isTrustedRemote(uint16 _srcChainId, bytes _srcAddress) view returns (bool)
minDstGasLookup(uint16, uint256) view returns (uint256)
payloadSizeLimitLookup(uint16) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
trustedRemoteLookup(uint16) view returns (bytes)
State-modifying
Events bridgeAndSwap(struct ISwapperClaim _claim, uint256 _gasForDestinationLzReceive, uint16 _l2ChainId) payable
forceResumeReceive(uint16 _srcChainId, bytes _srcAddress)
grantRole(bytes32 role, address account)
lzReceive(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setConfig(uint16 _version, uint16 _chainId, uint256 _configType, bytes _config)
setLzEndpoint(address _lzEndpoint)
setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint256 _minGas)
setPayloadSizeLimit(uint16 _dstChainId, uint256 _size)
setPrecrime(address _precrime)
setReceiveVersion(uint16 _version)
setSendVersion(uint16 _version)
setTreasury(address _treasury)
setTrustedRemote(uint16 _srcChainId, bytes _srcAddress)
setTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress)
togglePause()
Bridged(uint256 nonce, uint16 dstChainId, address userAddress, struct ISwapperClaim claim)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetMinDstGas(uint16 _dstChainId, uint256 _type, uint256 _dstGasAmount)
SetPrecrime(address precrime)
SetTrustedRemote(uint16 _srcChainId, bytes _srcAddress)
SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress)
TreasurySet(address treasury)
Unpaused(address account)
constructor(address _powToken, address _punksToken, address _planetTokens, address _treasury, address _endpoint, address _admin)
This contract contains no fallback and receive objects.
Blocked()
InvalidPlanetsArray()
NoPermission()
ZeroAddress()
ZeroTokens()