MainchainGatewayV2
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
8Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "MainchainGatewayV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15006890 | 2 years ago | | | 0 | 0.0059767617 |
ABI
ABI objects
Getter at block 20794479 minimumVoteWeight() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0x69523ff3c168aaf0a79dad5e2edb27dd3991ec0de1c9aac1483345a689cea859
WITHDRAWAL_UNLOCKER_ROLE() view returns (bytes32)
0x5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e4
_MAX_PERCENTAGE() view returns (uint256)
1000000
depositCount() view returns (uint256)
0
getHighTierVoteWeightThreshold() view returns (uint256, uint256)
(0, 0)
getThreshold() view returns (uint256, uint256)
(0, 0)
nonce() view returns (uint256)
2
paused() view returns (bool)
false
roninChainId() view returns (uint256)
0
validatorContract() view returns (address)
0x0000000000000000000000000000000000000000
wrappedNativeToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
checkHighTierVoteWeightThreshold(uint256 _voteWeight) view returns (bool)
checkThreshold(uint256 _voteWeight) view returns (bool)
dailyWithdrawalLimit(address) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getRoninToken(address _mainchainToken) view returns (struct MappedTokenConsumerMappedToken _token)
hasRole(bytes32 role, address account) view returns (bool)
highTierThreshold(address) view returns (uint256)
lastDateSynced(address) view returns (uint256)
lastSyncedWithdrawal(address) view returns (uint256)
lockedThreshold(address) view returns (uint256)
reachedWithdrawalLimit(address _token, uint256 _quantity) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
unlockFeePercentages(address) view returns (uint256)
withdrawalHash(uint256) view returns (bytes32)
withdrawalLocked(uint256) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
initialize(address _roleSetter, address _wrappedToken, address _validatorContract, uint256 _roninChainId, uint256 _numerator, uint256 _highTierVWNumerator, uint256 _denominator, address[][3] _addresses, uint256[][4] _thresholds, uint8[] _standards) payable
mapTokens(address[] _mainchainTokens, address[] _roninTokens, uint8[] _standards)
mapTokensAndThresholds(address[] _mainchainTokens, address[] _roninTokens, uint8[] _standards, uint256[][4] _thresholds)
pause()
receiveEther() payable
renounceRole(bytes32 role, address account)
requestDepositFor(struct TransferRequest _request) payable
revokeRole(bytes32 role, address account)
setDailyWithdrawalLimits(address[] _tokens, uint256[] _limits)
setHighTierThresholds(address[] _tokens, uint256[] _thresholds)
setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) returns (uint256 _previousNum, uint256 _previousDenom)
setLockedThresholds(address[] _tokens, uint256[] _thresholds)
setThreshold(uint256 _numerator, uint256 _denominator) returns (uint256 _previousNum, uint256 _previousDenom)
setUnlockFeePercentages(address[] _tokens, uint256[] _percentages)
setValidatorContract(address _validatorContract)
setWrappedNativeTokenContract(address _wrappedToken)
submitWithdrawal(struct TransferReceipt _receipt, struct SignatureConsumerSignature[] _signatures) returns (bool _locked)
unlockWithdrawal(struct TransferReceipt _receipt)
unpause()
DailyWithdrawalLimitsUpdated(address[] tokens, uint256[] limits)
DepositRequested(bytes32 receiptHash, struct TransferReceipt receipt)
HighTierThresholdsUpdated(address[] tokens, uint256[] thresholds)
HighTierVoteWeightThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator)
LockedThresholdsUpdated(address[] tokens, uint256[] thresholds)
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)
ThresholdUpdated(uint256 indexed nonce, uint256 indexed numerator, uint256 indexed denominator, uint256 previousNumerator, uint256 previousDenominator)
TokenMapped(address[] mainchainTokens, address[] roninTokens, uint8[] standards)
UnlockFeePercentagesUpdated(address[] tokens, uint256[] percentages)
Unpaused(address account)
ValidatorContractUpdated(address arg0)
WithdrawalLocked(bytes32 receiptHash, struct TransferReceipt receipt)
WithdrawalUnlocked(bytes32 receiptHash, struct TransferReceipt receipt)
Withdrew(bytes32 receiptHash, struct TransferReceipt receipt)
WrappedNativeTokenContractUpdated(address weth)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.