MainnetSWPR

Verified contract

Active on Ethereum with 4,013 txns
Deployed by via 0x50bd3ced at 18886263
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MainnetSWPR"

0xca131a8ac24f7a1ffef4d298321e301063c763f3e3d5bab6dc5a2dcd1472e9ce
0x5f4fed67c2665cd8366e66e4172db3b0661fda5fe4d51cc1d68bd8562f63841c
0xf02f54ed2e3ec532447ad9994d95db70c2e0724bfeb6d9e35dd3914142078f34
0xc2d225c87e30c8856dea6de2b512d5ede0c628a342285d979be7c92091e9011d
0xf23cecca518647699d91661ca1e54c9060d2e0e3784c209820981c8a582524ec
0xfe217f0957f2866ea7709541e67568df23d7035045401f95abf4022ae6f202fd
0x88b5ab47ab37b3eaa63e0ff6034502724c2ba78135613c6f5cc8e7b2bf6d792d
0x648a24d78a507d03991ad1cc6f65102cec8690c9a121ad31e31e13c1bb446b28
0xbb9029a1bc48044a6702be57f2197d98dfda69c1e2a47211a4c15a8ac38d6ec9
0x8516c958e7faa4f3d6eda922919f338517a8166b7f47a21d339e320141e410b8

Functions
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 _claimuint256 _gasForDestinationLzReceiveuint16 _l2ChainIdview returns (uint256 messageFee)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
hasRole(bytes32 roleaddress accountview returns (bool)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint256view returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
bridgeAndSwap(struct ISwapperClaim _claimuint256 _gasForDestinationLzReceiveuint16 _l2ChainIdpayable 
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
grantRole(bytes32 roleaddress account
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setLzEndpoint(address _lzEndpoint
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTreasury(address _treasury
setTrustedRemote(uint16 _srcChainIdbytes _srcAddress
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
togglePause(
Events
Bridged(uint256 nonceuint16 dstChainIdaddress userAddressstruct ISwapperClaim claim
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetMinDstGas(uint16 _dstChainIduint256 _typeuint256 _dstGasAmount
SetPrecrime(address precrime
SetTrustedRemote(uint16 _srcChainIdbytes _srcAddress
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
TreasurySet(address treasury
Unpaused(address account
Constructor
constructor(address _powTokenaddress _punksTokenaddress _planetTokensaddress _treasuryaddress _endpointaddress _admin
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Blocked(
InvalidPlanetsArray(
NoPermission(
ZeroAddress(
ZeroTokens(