Bridge

Verified contract

Active on Ethereum with 41,719 txns
Deployed by via 0x2fe0b3b3 at 11688193
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
0xb56711bf9acf74f702ad66b79d22d6fa0e5485734a7faf9454de081cf85cfbb8
0x1e53c63181f2bc2c70590c6556f8e17aaf56639bbc567bdabffbce70cc40aeeb
0xb8b56c27c428dbb6928f46ef64ce6118616552b47cf1ed036935d057ab768aff
0xf9db44607d28734a358d94aba7733045df00af0d10e4bbf58c1445496319f3f9
0x1a4c4e2733a96be9216dc9f1ee0269caf844f593191cd849ce45c41363db801e
0x149c689d129adcb7bf780c288daf0f4ddb4f45072c3cb595c140eb0f0e565032
0xa2a852793a70cc4aad93ee522c9a73ad3fc3607daa4097da2ac582f57abbe08c
0x1e15ea134c8c43c4124f7036a59fce7fca9c160d3332549b3c1464c11099e2c6
0x35d5cd2a6b70d6d4542578dbf4eb19bee05cc9f63221b5ccf8f0a1cd3c817bd5
0xe309ba96550ceea1cc2d791cc316a981fcfb3c83215b012b292d0cb461da1a71

Functions
Getter at block 21273654
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
_chainID(view returns (uint8)
1
_expiry(view returns (uint256)
100
_fee(view returns (uint256)
25000000000000000
_relayerThreshold(view returns (uint256)
3
_totalProposals(view returns (uint256)
3539
_totalRelayers(view returns (uint256)
5
paused(view returns (bool)
true
Read-only
_depositCounts(uint8view returns (uint64)
_depositRecords(uint64uint8view returns (bytes)
_hasVotedOnProposal(uint72bytes32addressview returns (bool)
_proposals(uint72bytes32view returns (bytes32 _resourceIDbytes32 _dataHashuint8 _statusuint256 _proposedBlock)
_resourceIDToHandlerAddress(bytes32view returns (address)
getProposal(uint8 originChainIDuint64 depositNoncebytes32 dataHashview returns (struct BridgeProposal)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isRelayer(address relayerview returns (bool)
State-modifying
adminAddRelayer(address relayerAddress
adminChangeFee(uint256 newFee
adminChangeRelayerThreshold(uint256 newThreshold
adminPauseTransfers(
adminRemoveRelayer(address relayerAddress
adminSetBurnable(address handlerAddressaddress tokenAddress
adminSetGenericResource(address handlerAddressbytes32 resourceIDaddress contractAddressbytes4 depositFunctionSigbytes4 executeFunctionSig
adminSetResource(address handlerAddressbytes32 resourceIDaddress tokenAddress
adminUnpauseTransfers(
adminWithdraw(address handlerAddressaddress tokenAddressaddress recipientuint256 amountOrTokenID
cancelProposal(uint8 chainIDuint64 depositNoncebytes32 dataHash
deposit(uint8 destinationChainIDbytes32 resourceIDbytes datapayable 
executeProposal(uint8 chainIDuint64 depositNoncebytes databytes32 resourceID
grantRole(bytes32 roleaddress account
renounceAdmin(address newAdmin
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
transferFunds(address[] addrsuint256[] amounts
voteProposal(uint8 chainIDuint64 depositNoncebytes32 resourceIDbytes32 dataHash
Events
Deposit(uint8 indexed destinationChainIDbytes32 indexed resourceIDuint64 indexed depositNonce
Paused(address account
ProposalEvent(uint8 indexed originChainIDuint64 indexed depositNonceuint8 indexed statusbytes32 resourceIDbytes32 dataHash
ProposalVote(uint8 indexed originChainIDuint64 indexed depositNonceuint8 indexed statusbytes32 resourceID
RelayerAdded(address indexed relayer
RelayerRemoved(address indexed relayer
RelayerThresholdChanged(uint256 indexed newThreshold
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Constructor
constructor(uint8 chainIDaddress[] initialRelayersuint256 initialRelayerThresholduint256 feeuint256 expiry
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.