Bridge

Verified contract

Active on Ethereum with 5,667 txns
Deployed by via 0xdc85c6ee at 14179960
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Bridge"

0x207260bb5b842335c4b34becf63b23992e99e02a3c20e1665156e3bd0ddbf536
0x3ce85160199f44c7a0036df3cb44199dd7adf7738e595c8d73cb87e3ce30a80b
0x9d70d380da672d093e1e27bb267a3a663929958d440751eb6fec5e2540f75964
0x9b943591d1a12924a80c00525db1fbb3a338c48095a077a567165e63cd48f33e
0x4906b1a166c89f5c0608b62020d54ae41a3092b6c75a68354524258627e71034
0x843a5d1617152ed78334ef7f3af5305de52c2548f04ca057647698728f1013af
0x2e3d537a252ec9a7598cc9c074e78c5fdd795ffe5742aec3821d44f5157ed757
0x439905fdaf5a75ca394e45fd15be3df037c96863cf4e0489cf75fed500da63bf
0x8c4fc48666f034bf92de1bdb5a0586ae03da19ffd35c17e1b8cc0c6a6c20c2d5
0x2b191103423b43ff776a1556b5b9f42c5eebd4bd12f1c062d7c3ddab21ee12be

Functions
Getter at block 21276737
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
_chainID(view returns (uint8)
1
_expiry(view returns (uint256)
4320
_fee(view returns (uint256)
5000000000000000
_relayerThreshold(view returns (uint256)
2
_totalOperators(view returns (uint256)
0
_totalProposals(view returns (uint256)
909
_totalRelayers(view returns (uint256)
5
_wtokenAddress(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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)
_specialFee(uint8view returns (uint256)
getFee(uint8 destinationChainIDview returns (uint256)
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)
isOperator(address operatorview returns (bool)
isRelayer(address relayerview returns (bool)
State-modifying
adminAddOperator(address operatorAddress
adminAddRelayer(address relayerAddress
adminChangeFee(uint256 newFee
adminChangeRelayerThreshold(uint256 newThreshold
adminChangeSpecialFee(uint256 newFeeuint8 chainID
adminPauseTransfers(
adminRemoveOperator(address operatorAddress
adminRemoveRelayer(address relayerAddress
adminSetBurnable(address handlerAddressaddress tokenAddress
adminSetGenericResource(address handlerAddressbytes32 resourceIDaddress contractAddressbytes4 depositFunctionSiguint256 depositFunctionDepositerOffsetbytes4 executeFunctionSig
adminSetResource(address handlerAddressbytes32 resourceIDaddress tokenAddress
adminUnpauseTransfers(
adminUpdateBridgeAddress(address handlerAddressaddress newBridgeAddress
adminWithdraw(address handlerAddressaddress tokenAddressaddress recipientuint256 amountOrTokenID
cancelProposal(uint8 chainIDuint64 depositNoncebytes32 dataHash
deposit(uint8 destinationChainIDbytes32 resourceIDbytes datapayable 
depositETH(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
OperatorAdded(address indexed operator
OperatorRemoved(address indexed operator
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 expiryaddress wtoken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.