Bridge

Verified contract

Active on Ethereum with 9,077 txns
Deployed by via 0x98588184 at 16895879
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1
0x8802ce688d8381937e2674087ef8b97eb175ea3c59d2ddda1e2169e6f2f9e02c
0x03fec919825e7f18d260f029c26b51f69f8acdfff4b12eaf7a7c87f153888fdb
0x7aed6cad249266bbf971f375e18d8ae4a35c402b6730982ea59f4bef7aeaa5ba
0x3a7fc3230c12128cda97e5ba5ef65ac7e2a73905a3780c5fb76e5a2f64f87ac1
0xf14870ef31dfd006f857cbab36a66320c07b2e02fa9d856095640eae38dfb029
0xfe265d53d03b03b5dade39138665052ec19e14640b58fc68f7e072f2ee42c205
0x162d8047dc0152ac4b0fa1c20c27cc2b0ecee1ea127c97ffdc15b6ebef54eb18
0x05de38e7b1b55dbf020d7d1f813dcf28c2727216bd415fbdbb433181128d6aea
0x4567e679e3fc37f7797c1abda55d42b691e6e2e98f4e30c5877245869d6fe690
0xdb7d86c152a59dbc7173ed336728bb8003fb3cda4734b8f4847de741db6233c9

Functions
Getter at block 21300353
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
_chainID(view returns (uint8)
0
_expiry(view returns (uint256)
100
_fee(view returns (uint256)
0
_maxFee(view returns (uint256)
100000000000000000000
_totalProposals(view returns (uint256)
559
_totalRelayers(view returns (uint256)
7
paused(view returns (bool)
false
quorum(view returns (uint256)
4
Read-only
_chainIDWhitelist(uint8view returns (bool)
_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)
hasRole(bytes32 roleaddress accountview returns (bool)
isChainIDWhitelisted(uint8 chainIDview returns (bool)
isRelayer(address relayerview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
adminAddRelayer(address relayerAddress
adminChangeFee(uint256 newFee
adminPauseTransfers(
adminRemoveRelayer(address relayerAddress
adminSetBurnable(address handlerAddressaddress tokenAddress
adminSetGenericResource(address handlerAddressbytes32 resourceIDaddress contractAddressbytes4 depositFunctionSigbytes4 executeFunctionSig
adminSetResource(address handlerAddressbytes32 resourceIDaddress tokenAddress
adminUnpauseTransfers(
adminUnwhitelistChainID(uint8 chainID
adminWhitelistChainID(uint8 chainID
adminWithdraw(address handlerAddressaddress recipientuint256 amount
adminWithdrawToken(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
ChainIDUnwhitelisted(uint8 indexed chainID
ChainIDWhitelisted(uint8 indexed chainID
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
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Constructor
constructor(uint8 chainIDaddress[] initialRelayersuint256 feeuint256 maxFeeuint256 expiryuint8[] initialChainIDWhitelist
Fallback and receive
receive(
Errors

This contract contains no error objects.