WmbGateway
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "WmbGateway"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "WmbGateway"
ABI
ABI objects
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(uint256) view returns (uint256)
estimateFee(uint256 targetChainId, uint256 gasLimit) view returns (uint256 fee)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
messageExecuted(bytes32) view returns (bool)
messageGasLimit(bytes32) view returns (uint256)
nonces(uint256, uint256, address, address) view returns (uint256)
supportedDstChains(uint256) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events batchSetBaseFees(uint256[] _targetChainIds, uint256[] _baseFees)
dispatchMessage(uint256 toChainId, address to, bytes data) payable returns (bytes32 messageId)
dispatchMessageBatch(uint256 toChainId, struct Message[] messages) payable returns (bytes32 messageId)
grantRole(bytes32 role, address account)
initialize(address admin, address _cross)
receiveBatchMessage(bytes32 messageId, uint256 sourceChainId, address sourceContract, struct Message[] messages, uint256 gasLimit, bytes32 smgID, bytes r, bytes32 s)
receiveMessage(bytes32 messageId, uint256 sourceChainId, address sourceContract, address targetContract, bytes messageData, uint256 gasLimit, bytes32 smgID, bytes r, bytes32 s)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setGasLimit(uint256 _maxGasLimit, uint256 _minGasLimit, uint256 _defaultGasLimit)
setMaxMessageLength(uint256 _maxMessageLength)
setSignatureVerifier(address _signatureVerifier)
setSupportedDstChains(uint256[] targetChainIds, bool[] supported)
withdrawFee(address _to)
Initialized(uint8 version)
MessageBatchDispatched(bytes32 indexed messageId, address indexed from, uint256 indexed toChainId, struct Message[] messages)
MessageDispatched(bytes32 indexed messageId, address indexed from, uint256 indexed toChainId, address to, bytes data)
MessageIdExecuted(uint256 indexed fromChainId, bytes32 indexed messageId)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
MessageBatchFailure(bytes32 messageId, uint256 messageIndex, bytes errorData)
MessageFailure(bytes32 messageId, bytes errorData)
MessageIdAlreadyExecuted(bytes32 messageId)
SignatureVerifyFailed(bytes32 smgID, bytes32 sigHash, bytes r, bytes32 s)
StoremanGroupNotReady(bytes32 smgID, uint256 status, uint256 timestamp, uint256 startTime, uint256 endTime)