WmbGatewayProxy

Verified contract

Proxy

Active on Ethereum with 825 txns
Deployed by via 0x83dfe7b6 at 18626071
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $187.09
0x404c575b530ffe6bb412971c2133246e42419684764b6bab8b90cd54e53b86b5
0xdf547916ed4b3f6495a8c74ee279adcaef36b49d8ad8406df4109a2d98095ef8
0x2261f16ffeaab3646c1fc195c8a2989911bfa83923408e4d72f970522882d465
0x3328d2eefbe8868e590da3021af3b65ca03d4740444598e4141971e2f67ddc4a
0x36f5b90d592f23f334b9d4f3114796f5e29ee0bd017782bcbf0487881fde21ed
0xa417c58b259e9b8b68eef64522935b4ac96f7dcd1008f6cd0afdd61ca694a724
0x60f2738b69f53ce1ff6cf8f88bfa9fe52562ed2b15b29f0f197f568c9653ec86
0x73ab7a64825c78bfd52f039de9bdfe6f68bba46fc05e927fb89b64262825530f
0xe7c6221fd2fb2c094df414132ec6732527427d177c2eb9918be692bc5856e02d
0x1701c5b236ea7342535bf7a6befb312f92c5bd05b008eecad168a4fbdf86ef53

Functions
Getter at block 21276671
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
chainId(view returns (uint256)
2147483708
defaultGasLimit(view returns (uint256)
1000000
maxGasLimit(view returns (uint256)
8000000
maxMessageLength(view returns (uint256)
10000
minGasLimit(view returns (uint256)
150000
signatureVerifier(view returns (address)
0x9276ee38a5250e2f7fbe00a12ec17d09b5d28f3d
wanchainStoremanAdminSC(view returns (address)
0xbb38d10033b26f3836a8c1e41788206868b9f228
Read-only
baseFees(uint256view returns (uint256)
estimateFee(uint256 targetChainIduint256 gasLimitview returns (uint256 fee)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
messageExecuted(bytes32view returns (bool)
messageGasLimit(bytes32view returns (uint256)
nonces(uint256uint256addressaddressview returns (uint256)
supportedDstChains(uint256view returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
batchSetBaseFees(uint256[] _targetChainIdsuint256[] _baseFees
dispatchMessage(uint256 toChainIdaddress tobytes datapayable returns (bytes32 messageId)
dispatchMessageBatch(uint256 toChainIdstruct Message[] messagespayable returns (bytes32 messageId)
grantRole(bytes32 roleaddress account
initialize(address adminaddress _cross
receiveBatchMessage(bytes32 messageIduint256 sourceChainIdaddress sourceContractstruct Message[] messagesuint256 gasLimitbytes32 smgIDbytes rbytes32 s
receiveMessage(bytes32 messageIduint256 sourceChainIdaddress sourceContractaddress targetContractbytes messageDatauint256 gasLimitbytes32 smgIDbytes rbytes32 s
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setGasLimit(uint256 _maxGasLimituint256 _minGasLimituint256 _defaultGasLimit
setMaxMessageLength(uint256 _maxMessageLength
setSignatureVerifier(address _signatureVerifier
setSupportedDstChains(uint256[] targetChainIdsbool[] supported
withdrawFee(address _to
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Initialized(uint8 version
MessageBatchDispatched(bytes32 indexed messageIdaddress indexed fromuint256 indexed toChainIdstruct Message[] messages
MessageDispatched(bytes32 indexed messageIdaddress indexed fromuint256 indexed toChainIdaddress tobytes data
MessageIdExecuted(uint256 indexed fromChainIdbytes32 indexed messageId
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
MessageBatchFailure(bytes32 messageIduint256 messageIndexbytes errorData
MessageFailure(bytes32 messageIdbytes errorData
MessageIdAlreadyExecuted(bytes32 messageId
SignatureVerifyFailed(bytes32 smgIDbytes32 sigHashbytes rbytes32 s
StoremanGroupNotReady(bytes32 smgIDuint256 statusuint256 timestampuint256 startTimeuint256 endTime