FeeHandlerRouter

Verified contract

Active on Ethereum with 8 txns
Deployed by via 0xe4e34206 at 18661897
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "FeeHandlerRouter"

0xacc17536d6d71b4362acd8d5705a1008a683030cf07325df04c9740d4036d9ac
0xa95962f5ec8498f742741c8b8846c1d97b5699401180499bd405c08276d8973f
0x57972b1b0279d34185eb9093ec6d3541ad020d2b227c93ea0a3f59b0e198f5b4
0xccb6870b27da5d02a8e9cb19b3d51aa7e8b0b83aabc26b6fa1fc46e40cc3d189
0xfa19c8b29731d8809e4853be8d463c06517931f7bc83b35d12a380437f066f64
0x3c51651e98a454f0884ae9ec7f0728dbeb58f6102d944d6a8bf3ed8da1f8de71
0x7ab7155c14af075c2dff8cf09f6e38beab8e2866abc1c4c9dff39628a731a9f6
0x91ed38ef7c32957d5ec3d87b5d8d05e085317ef81a164658de61660379725c71

Functions
Getter at block 21311783
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_bridgeAddress(view returns (address)
0x4d878e8fb90178588cda4cf1dccdc9a6d2757089
Read-only
_domainResourceIDToFeeHandlerAddress(uint8bytes32view returns (address)
_whitelist(addressview returns (bool)
calculateFee(address senderuint8 fromDomainIDuint8 destinationDomainIDbytes32 resourceIDbytes depositDatabytes feeDataview returns (uint256 feeaddress tokenAddress)
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)
State-modifying
adminSetResourceHandler(uint8 destinationDomainIDbytes32 resourceIDaddress handlerAddress
adminSetWhitelist(address whitelistAddressbool isWhitelisted
collectFee(address senderuint8 fromDomainIDuint8 destinationDomainIDbytes32 resourceIDbytes depositDatabytes feeDatapayable 
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
Events
FeeCollected(address senderuint8 fromDomainIDuint8 destinationDomainIDbytes32 resourceIDuint256 feeaddress tokenAddress
FeeDistributed(address tokenAddressaddress recipientuint256 amount
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
WhitelistChanged(address whitelistAddressbool isWhitelisted
Constructor
constructor(address bridgeAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
IncorrectFeeSupplied(uint256 arg0