GateKeeper

Verified contract

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

No balances found for "GateKeeper"

0x43222630910549c1873fa8b60c5afc04f32316d2f1e6398155d87e449e177ff0
0xf4b0403c68d0ace3b2b4b964d6375a03ad3eb8f8af4bd2bf981276f79e86531f
0xad88c0f8cce1a2d7992193e318ff9deeb2b68d3c0432bddd6cc7338220c65935
0xba37ccf3a481c2a80ca3b3a18da724d3770f53f6250129b0e43bb99af34d46ee
0x99335045127406cd5e98c11fb46a1b95fe61aa3e7b4debdbc22cd8e72ecef8f5
0xd1a6c1089be5be31ee007ead6eee7e847e7c381d63c859477805b766b7a97c47
0x412af92ba1a1c4b2f5efd782cc528a992177952b75135ca626d92fdc50a8a62f
0xf8f7c26cf02bf6af828d644da0ff60c465ac5ace2b358efb36c1bd15a193ce22
0xf92fc5686ec2cb6396fa0e388f53331bb86776cce19833514510be7de5db49fa
0x978f0006d8dc6b6c0b75329f3c7074811890fd6f15f40a87e20422e354b1dc96

Functions
Getter at block 21273257
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
bridge(view returns (address)
0xece9cf6a8f2768a3b8b65060925b646afeaa5167
getNonce(view returns (uint256 nonce)
0
treasury(view returns (address)
0x83774fcd4dd3b00a2edbfe9a55cecda68f2a1ada
Read-only
baseFees(uint64addressview returns (uint256)
calculateCost(address payTokenuint256 dataLengthuint64 chainIdToaddress senderview returns (uint256 amountToPay)
castToAddress(bytes32 xpure returns (address)
castToBytes32(address apure returns (bytes32)
discounts(addressview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
rates(uint64addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sendData(bytes dataaddress touint64 chainIdToaddress payTokenpayable 
setBaseFee(struct GateKeeperBaseFee[] baseFees_
setBridge(address bridge_
setDiscount(address calleruint256 discount
setRate(struct GateKeeperRate[] rates_
setTreasury(address treasury_
withdrawFees(address tokenuint256 amount
Events
BaseFeeSet(uint64 chainIdaddress payTokenuint256 fee
BridgeSet(address bridge
CrossChainCallPaid(address indexed senderaddress indexed tokenuint256 transactionCost
DiscountSet(address calleruint256 discount
FeesWithdrawn(address tokenuint256 amountaddress to
RateSet(uint64 chainIdaddress payTokenuint256 rate
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TreasurySet(address treasury
Constructor
constructor(address bridge_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.