MainchainGatewayV3
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
9 additional
variables
Balances ($0.00)
No balances found for "MainchainGatewayV3"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MainchainGatewayV3"
ABI
ABI objects
Getter at block 20793296 minimumVoteWeight() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
WITHDRAWAL_UNLOCKER_ROLE() view returns (bytes32)
0x5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e4
_MAX_PERCENTAGE() view returns (uint256)
1000000
depositCount() view returns (uint256)
0
emergencyPauser() view returns (address)
0x0000000000000000000000000000000000000000
getHighTierVoteWeightThreshold() view returns (uint256, uint256)
(0, 0)
getThreshold() view returns (uint256 num_, uint256 denom_)
(num_=0, denom_=0)
nonce() view returns (uint256)
0
paused() view returns (bool)
false
roninChainId() view returns (uint256)
0
wrappedNativeToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
checkHighTierVoteWeightThreshold(uint256 _voteWeight) view returns (bool)
checkThreshold(uint256 _voteWeight) view returns (bool)
dailyWithdrawalLimit(address) view returns (uint256)
getContract(uint8 contractType) view returns (address contract_)
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, uint256 _roninChainId, uint256 _numerator, uint256 _highTierVWNumerator, uint256 _denominator, address[][3] _addresses, uint256[][4] _thresholds, uint8[] _standards) payable
initializeV2(address bridgeManagerContract)
initializeV3()
initializeV4(address)
mapTokens(address[] _mainchainTokens, address[] _roninTokens, uint8[] _standards)
mapTokensAndThresholds(address[] _mainchainTokens, address[] _roninTokens, uint8[] _standards, uint256[][4] _thresholds)
onBridgeOperatorsAdded(address[] operators, uint96[] weights, bool[] addeds) returns (bytes4)
onBridgeOperatorsRemoved(address[] operators, bool[] removeds) returns (bytes4)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
pause()
receiveEther() payable
renounceRole(bytes32 role, address account)
requestDepositFor(struct TransferRequest _request) payable
revokeRole(bytes32 role, address account)
setContract(uint8 contractType, address addr)
setDailyWithdrawalLimits(address[] _tokens, uint256[] _limits)
setEmergencyPauser(address _addr)
setHighTierThresholds(address[] _tokens, uint256[] _thresholds)
setHighTierVoteWeightThreshold(uint256 _numerator, uint256 _denominator) returns (uint256 _previousNum, uint256 _previousDenom)
setLockedThresholds(address[] _tokens, uint256[] _thresholds)
setThreshold(uint256 num, uint256 denom)
setUnlockFeePercentages(address[] _tokens, uint256[] _percentages)
setWrappedNativeTokenContract(address _wrappedToken)
submitWithdrawal(struct TransferReceipt _receipt, struct SignatureConsumerSignature[] _signatures) returns (bool _locked)
unlockWithdrawal(struct TransferReceipt receipt)
unpause()
ContractUpdated(uint8 indexed contractType, address indexed addr)
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)
Initialized(uint8 version)
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)
WithdrawalLocked(bytes32 receiptHash, struct TransferReceipt receipt)
WithdrawalUnlocked(bytes32 receiptHash, struct TransferReceipt receipt)
Withdrew(bytes32 receiptHash, struct TransferReceipt receipt)
WrappedNativeTokenContractUpdated(address weth)
constructor()
fallback()
receive()
ErrContractTypeNotFound(uint8 contractType)
ErrERC1155MintingFailed()
ErrERC20MintingFailed()
ErrERC721MintingFailed()
ErrEmptyArray()
ErrInvalidChainId(bytes4 msgSig, uint256 actual, uint256 expected)
ErrInvalidInfo()
ErrInvalidOrder(bytes4 msgSig)
ErrInvalidPercentage()
ErrInvalidReceipt()
ErrInvalidReceiptKind()
ErrInvalidRequest()
ErrInvalidSigner(address signer, uint256 weight, struct SignatureConsumerSignature sig)
ErrInvalidThreshold(bytes4 msgSig)
ErrInvalidTokenStandard()
ErrLengthMismatch(bytes4 msgSig)
ErrNullHighTierVoteWeightProvided(bytes4 msgSig)
ErrNullMinVoteWeightProvided(bytes4 msgSig)
ErrNullTotalWeightProvided(bytes4 msgSig)
ErrQueryForApprovedWithdrawal()
ErrQueryForInsufficientVoteWeight()
ErrQueryForProcessedWithdrawal()
ErrReachedDailyWithdrawalLimit()
ErrTokenCouldNotTransfer(struct TokenInfo tokenInfo, address to, address token)
ErrTokenCouldNotTransferFrom(struct TokenInfo tokenInfo, address from, address to, address token)
ErrUnauthorized(bytes4 msgSig, uint8 expectedRole)
ErrUnexpectedInternalCall(bytes4 msgSig, uint8 expectedContractType, address actual)
ErrUnsupportedStandard()
ErrUnsupportedToken()
ErrZeroCodeContract(address addr)