Bridge

Verified contract

Active on Ethereum with 2,094 txns
Deployed by via 0x965f6989 at 13113151
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $391.82
0xcf38439e907f66f03f0a3e8992e926fc2c016660df079f9362ceb7653af36acf
0x8052526e50cc073cb4f9650dc8b26ca89304c51a8eb505f79e012dcb96103982
0xe9722b112bb98007f86c0d0c376e214515e94c9086e875d1046351dfea5f0fa8
0x82177e070ca2dfd1222fe5183c6dea3e6d266d3ce4e742c3e60d1ac71e6541ec
0x97c8864a79b28dd2c8537749b87a03e9fdcd88b84101ae4470737016d1dc3758
0x70d6e807d9bd19cd9b07cf638d78ee61a80fd425a8dec6db3c829a4dbed1e852
0x2a740fbbc7cb5f23b9d1852f0a53e0573583dc423956e6929e10d5e60a101097
0x38be4ed3461148fae9399d79339d9ee461a6c451430bdd27bd811669e2b2af4e
0x7b7583ba525617bb96fc4bb320e4fec7e814a03835cadf595c73e0c843fc64a5
0xc4d0b703fc2cb48522f0bb229154f62990035fdb7bda60b562e3e93956b171f2

Functions
Getter at block 21257908
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_SETTER_ROLE(view returns (bytes32)
0xe6ad9a47fbda1dc18de1eb5eeb7d935e5e81b4748f3cfc61e233e64f88182060
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
RESOURCE_SETTER_ROLE(view returns (bytes32)
0x462c68c1ae0c4fca4fdc11dd843c86b7aec691fa624c1118775ca3028e1dad71
_chainID(view returns (uint8)
1
_relayerThreshold(view returns (uint256)
1
_totalProposals(view returns (uint256)
462
_totalRelayers(view returns (uint256)
4
paused(view returns (bool)
true
Read-only
_depositCounts(uint8view returns (uint64)
_fees(uint8view returns (uint256)
_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
adminChangeRelayerThreshold(uint256 newThreshold
adminPauseTransfers(
adminRemoveRelayer(address relayerAddress
adminSetBurnable(address handlerAddressaddress tokenAddressbool burnable
adminSetGenericResource(address handlerAddressbytes32 resourceIDaddress contractAddressbytes4 depositFunctionSigbytes4 executeFunctionSig
adminSetResource(address handlerAddressbytes32 resourceIDaddress tokenAddress
adminUnpauseTransfers(
adminWithdraw(address handlerAddressaddress tokenAddressaddress recipientuint256 amountOrTokenID
changeFee(uint8 destinationChainIDuint256 newFee
deposit(uint8 destinationChainIDbytes32 resourceIDbytes databytes _auxDatapayable 
grantRole(bytes32 roleaddress account
renounceAdmin(address newAdmin
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFeePercent(address handlerAddressuint256 feePercent
setFeePercentTreasury(address handlerAddressaddress treasuryAddress
transferFunds(address[] addrsuint256[] amounts
transferFundsERC20(address[] addrsaddress[] tokenAddrsuint256[] 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 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 initialRelayerThreshold
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.