WmbGateway

Verified contract

Implementation

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

No balances found for "WmbGateway"

No transactions found for "WmbGateway"


Functions
Getter at block 21276671
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
chainId(view returns (uint256)
0
defaultGasLimit(view returns (uint256)
0
maxGasLimit(view returns (uint256)
0
maxMessageLength(view returns (uint256)
0
minGasLimit(view returns (uint256)
0
signatureVerifier(view returns (address)
0x0000000000000000000000000000000000000000
wanchainStoremanAdminSC(view returns (address)
0x0000000000000000000000000000000000000000
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
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

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