FeeHandlerRouter
Verified contract
Active on
Ethereum with 8 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "FeeHandlerRouter"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18662749 | a year ago | | | 0 | 0.0014238932 | |
| 18662743 | a year ago | | | 0 | 0.0028091897 | |
| 18662330 | a year ago | | | 0 | 0.00071104409 | |
| 18662319 | a year ago | | | 0 | 0.0010132006 | |
| 18662317 | a year ago | | | 0 | 0.0010432691 | |
| 18662024 | a year ago | | | 0 | 0.0010187514 | |
| 18662023 | a year ago | | | 0 | 0.0010594060 | |
| 18662021 | a year ago | | | 0 | 0.0010413971 |
ABI
ABI objects
Getter at block 21311783
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
_bridgeAddress() view returns (address)
0x4d878e8fb90178588cda4cf1dccdc9a6d2757089
Read-only
_domainResourceIDToFeeHandlerAddress(uint8, bytes32) view returns (address)
_whitelist(address) view returns (bool)
calculateFee(address sender, uint8 fromDomainID, uint8 destinationDomainID, bytes32 resourceID, bytes depositData, bytes feeData) view returns (uint256 fee, address tokenAddress)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getRoleMemberIndex(bytes32 role, address account) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
State-modifying
Events adminSetResourceHandler(uint8 destinationDomainID, bytes32 resourceID, address handlerAddress)
adminSetWhitelist(address whitelistAddress, bool isWhitelisted)
collectFee(address sender, uint8 fromDomainID, uint8 destinationDomainID, bytes32 resourceID, bytes depositData, bytes feeData) payable
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
FeeCollected(address sender, uint8 fromDomainID, uint8 destinationDomainID, bytes32 resourceID, uint256 fee, address tokenAddress)
FeeDistributed(address tokenAddress, address recipient, uint256 amount)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
WhitelistChanged(address whitelistAddress, bool isWhitelisted)
constructor(address bridgeAddress)
This contract contains no fallback and receive objects.
IncorrectFeeSupplied(uint256 arg0)