Bridge

Verified contract

Active on Ethereum with 4,494 txns
Deployed by via 0xd1cbf27f at 12476054
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $56.65
0xaa8e4f5834505ce27e73a6ccc2cd600aacd886026916f1ae07d1cc78893884da
0x54dfcd7f0911fef130a5356acae9d50c05621008330b18795510f3cf8c11c0b7
0x44ad7cfb698785ca2e1239dd23307ab1aec766abac67dbaebec1acb012bf5709
0x1ece6a11d3278852b19413d5aea959a73ff3c722a74600547aa9b1f280d7f3d5
0x264953e50a9a45af145ba9871c0fe453fe11ab846154a0252efe905f1f385d9d
0xb775fadb593718d19279e39dad5277aca23c2b4f7968b137bdd8eb7942b57101
0x042bd5095c8ef22c11366a23d4246630fad5c0a2f5ea8dcaf259bec1a7c08cfb
0x90da53fb7f4724ab6ecb38b4e45647a251eff46e3f53e6d324d5cac6bde5d70c
0x00a492108321b211642aae7823360ec3f7bc9ad9b9d31d7b4a6813c65ee65e9a
0xe56dcc5a6626eb39915c31c30d245471a503182746105fe81e429fe97e65d357

Functions
Getter at block 21161756
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_RELAYERS(view returns (uint256)
200
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
_chainID(view returns (uint8)
2
_expiry(view returns (uint40)
100800
_fee(view returns (uint128)
20000000000000
_relayerThreshold(view returns (uint8)
1
_totalRelayers(view returns (uint256)
2
paused(view returns (bool)
false
Read-only
_depositCounts(uint8view returns (uint64)
_hasVotedOnProposal(uint72 destNoncebytes32 dataHashaddress relayerview returns (bool)
_oldDepositNonce(uint8view returns (uint64)
_proposals(uint72bytes32view returns (uint8 _statusuint200 _yesVotesuint8 _yesVotesTotaluint40 _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)
getRoleMemberIndex(bytes32 roleaddress accountview 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
adminSetDepositCount(uint8 chainIduint64 depositCount
adminSetGenericResource(address handlerAddressbytes32 resourceIDaddress contractAddressbytes4 depositFunctionSiguint256 depositFunctionDepositerOffsetbytes4 executeFunctionSig
adminSetOldDepositNonce(uint8 chainIduint64 oldDepositNonce
adminSetResourceAndBurnable(address handlerAddressbytes32[] resourceIDsaddress[] tokenContractAddressesaddress[] burnablTokenContractAddresses
adminUnpauseTransfers(
adminWithdraw(address handlerAddressaddress tokenAddressaddress recipientuint256 amountOrTokenID
cancelProposal(uint8 chainIDuint64 depositNoncebytes32 dataHash
deposit(uint8 destinationChainIDbytes32 resourceIDbytes datapayable 
grantRole(bytes32 roleaddress account
renounceAdmin(address newAdmin
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
transferFunds(address[] addrsuint256[] amounts
voteProposal(uint8 chainIDuint64 depositNoncebytes32 resourceIDbytes data
Events
Deposit(uint8 indexed destinationChainIDbytes32 indexed resourceIDuint64 indexed depositNonce
Paused(address account
ProposalEvent(uint8 indexed originChainIDuint64 indexed depositNonceuint8 indexed statusbytes32 dataHash
ProposalVote(uint8 indexed originChainIDuint64 indexed depositNonceuint8 indexed statusbytes32 dataHash
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.