TransparentUpgradeableProxyV2

Verified contract

Proxy

Active on Ethereum with 160,683 txns
Deployed by via 0x8f299aa4 at 15006576
Slot
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
13 additional variables
Native
Value $100,636,224.35
ERC-20
Value $1,013,550,000,000,000,000
ERC-20
Value $1,877,568,600,000,000,000,000
ERC-20
Value $42,164,138,789,808
ERC-20
Value $38,300,000,000,000,000
ERC-20
Value $65,572,519,843,995,000,000
ERC-20
Value $642,419,260,397,737,900,000,000,000
ERC-20
--
ERC-20
Value $28,643,397,164,432.72
ERC-20
Value $446,863,734,000,000,000
0xc474e7346b097be6bde8d4952a64c10ddee14abca4d4183b01ea273a57c17fc2
0x9891ce3e1e63d558084c453236010797cc3e8c4a5e721caa5b6b8d12026b2848
0x686a89ecf80b889b5a97d40097378d6fe1deac73c564ca2418bf557263062c70
0xc2b0c6bfc6ae0a9cc7caf9c84caef73e5ba670573e303463ed6cabf696dc3c63
0x201a6e37ee170aa263ecea21288c8a38e6a229159ebc65f5ca0ed08e6faed902
0xcb60a327cc5962f40a0a4dba866e3b1f3cbcb3c677534dd59146ce523d4f59c6
0xb4ce22400d14bcf92e65ed55dd86e03d363bb25e6c7a7b8fd1c1ca24ecf59292
0x974024c8ebcc8e572b200bedc30393a0202ade7f12af3ef5178d5e6817d98505
0xbdee6058132c434d9bb3798b52bc00a6299d1a6e5a52c22104bbb2ac493ac7c7
0x78e4819daeddd35d2708cab661083c559b2a920a1302e3cd1f1aa9ef1445a666

Functions
Getter at block 21245636
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x2b00d883a78a8b8d324cfe3cc451d9550b8509512a316b5dba270df178853071
WITHDRAWAL_UNLOCKER_ROLE(view returns (bytes32)
0x5e5712e902fff5e704bc4d506ad976718319e019e9d2a872528a01a85db433e4
_MAX_PERCENTAGE(view returns (uint256)
1000000
depositCount(view returns (uint256)
97241
emergencyPauser(view returns (address)
0xe514d9deb7966c8be0ca922de8a064264ea6bcd4
getHighTierVoteWeightThreshold(view returns (uint256uint256)
(90, 100)
getThreshold(view returns (uint256 num_uint256 denom_)
(num_=70, denom_=100)
minimumVoteWeight(view returns (uint256)
1540
nonce(view returns (uint256)
2
paused(view returns (bool)
false
roninChainId(view returns (uint256)
2020
wrappedNativeToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
checkHighTierVoteWeightThreshold(uint256 _voteWeightview returns (bool)
checkThreshold(uint256 _voteWeightview returns (bool)
dailyWithdrawalLimit(addressview returns (uint256)
getContract(uint8 contractTypeview returns (address contract_)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getRoninToken(address mainchainTokenview returns (struct MappedTokenConsumerMappedToken token)
hasRole(bytes32 roleaddress accountview returns (bool)
highTierThreshold(addressview returns (uint256)
lastDateSynced(addressview returns (uint256)
lastSyncedWithdrawal(addressview returns (uint256)
lockedThreshold(addressview returns (uint256)
reachedWithdrawalLimit(address _tokenuint256 _quantityview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
unlockFeePercentages(addressview returns (uint256)
withdrawalHash(uint256view returns (bytes32)
withdrawalLocked(uint256view returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
functionDelegateCall(bytes _datapayable 
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
grantRole(bytes32 roleaddress account
initialize(address _roleSetteraddress _wrappedTokenuint256 _roninChainIduint256 _numeratoruint256 _highTierVWNumeratoruint256 _denominatoraddress[][3] _addressesuint256[][4] _thresholdsuint8[] _standardspayable 
initializeV2(address bridgeManagerContract
initializeV3(
initializeV4(address
mapTokens(address[] _mainchainTokensaddress[] _roninTokensuint8[] _standards
mapTokensAndThresholds(address[] _mainchainTokensaddress[] _roninTokensuint8[] _standardsuint256[][4] _thresholds
onBridgeOperatorsAdded(address[] operatorsuint96[] weightsbool[] addedsreturns (bytes4)
onBridgeOperatorsRemoved(address[] operatorsbool[] removedsreturns (bytes4)
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
pause(
receiveEther(payable 
renounceRole(bytes32 roleaddress account
requestDepositFor(struct TransferRequest _requestpayable 
revokeRole(bytes32 roleaddress account
setContract(uint8 contractTypeaddress addr
setDailyWithdrawalLimits(address[] _tokensuint256[] _limits
setEmergencyPauser(address _addr
setHighTierThresholds(address[] _tokensuint256[] _thresholds
setHighTierVoteWeightThreshold(uint256 _numeratoruint256 _denominatorreturns (uint256 _previousNumuint256 _previousDenom)
setLockedThresholds(address[] _tokensuint256[] _thresholds
setThreshold(uint256 numuint256 denom
setUnlockFeePercentages(address[] _tokensuint256[] _percentages
setWrappedNativeTokenContract(address _wrappedToken
submitWithdrawal(struct TransferReceipt _receiptstruct SignatureConsumerSignature[] _signaturesreturns (bool _locked)
unlockWithdrawal(struct TransferReceipt receipt
unpause(
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
ContractUpdated(uint8 indexed contractTypeaddress indexed addr
DailyWithdrawalLimitsUpdated(address[] tokensuint256[] limits
DepositRequested(bytes32 receiptHashstruct TransferReceipt receipt
HighTierThresholdsUpdated(address[] tokensuint256[] thresholds
HighTierVoteWeightThresholdUpdated(uint256 indexed nonceuint256 indexed numeratoruint256 indexed denominatoruint256 previousNumeratoruint256 previousDenominator
Initialized(uint8 version
LockedThresholdsUpdated(address[] tokensuint256[] thresholds
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
ThresholdUpdated(uint256 indexed nonceuint256 indexed numeratoruint256 indexed denominatoruint256 previousNumeratoruint256 previousDenominator
TokenMapped(address[] mainchainTokensaddress[] roninTokensuint8[] standards
UnlockFeePercentagesUpdated(address[] tokensuint256[] percentages
Unpaused(address account
WithdrawalLocked(bytes32 receiptHashstruct TransferReceipt receipt
WithdrawalUnlocked(bytes32 receiptHashstruct TransferReceipt receipt
Withdrew(bytes32 receiptHashstruct TransferReceipt receipt
WrappedNativeTokenContractUpdated(address weth
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
fallback(
receive(
receive(
Errors
ErrContractTypeNotFound(uint8 contractType
ErrERC1155MintingFailed(
ErrERC20MintingFailed(
ErrERC721MintingFailed(
ErrEmptyArray(
ErrInvalidChainId(bytes4 msgSiguint256 actualuint256 expected
ErrInvalidInfo(
ErrInvalidOrder(bytes4 msgSig
ErrInvalidPercentage(
ErrInvalidReceipt(
ErrInvalidReceiptKind(
ErrInvalidRequest(
ErrInvalidSigner(address signeruint256 weightstruct 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 tokenInfoaddress toaddress token
ErrTokenCouldNotTransferFrom(struct TokenInfo tokenInfoaddress fromaddress toaddress token
ErrUnauthorized(bytes4 msgSiguint8 expectedRole
ErrUnexpectedInternalCall(bytes4 msgSiguint8 expectedContractTypeaddress actual
ErrUnsupportedStandard(
ErrUnsupportedToken(
ErrZeroCodeContract(address addr