RelayHub

Verified contract

Active on Ethereum with 389 txns
Deployed by via 0x8056b7ad at 16814545
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
Native
Value $15,623.97
0xc0f35fdeb1d821bbcfe9609f39bb802f7be81184e19f1e3b899049ab4dbb6c0f
0xa472c5342b33700a98b6161b174aa8f18c52986d94134ceea4933d586d8b1862
0xcba32c9b85495d8ec2fece73bf3e1014348a75c660421a1642d9228c935a44ee
0xa1982fadeb73d316c398c450a6ece670d1dc818679dbf29079259c19b6ad0d61
0x223c7797f3c003dd9ae8b52964cfabb7acd6d8bee56b1a9a3fd164ab534522c9
0x755fb18f7a0472380c3c676afc035c9fdb02dd6fb4fa71b90d40c859eae726b1
0xe05f75b083e24c55d54e7f153f0ee0deb9d92016422b14e4a1d07710d0fe4a67
0x6c88cfde49dd00b22c92d7b62f01aeee30ec24e6d7af9df70fbda9c0d2bbf7bd
0xb89abe6d64a712299bcf984fe79ee56827465e9f2d9637ad105064d3aac649fc
0xd9d4d34d65c683f47a5a833ae78b8efbff6096d4241dbd50a1eaa05a52c1d9d4

Functions
Getter at block 21172539
aggregateGasleft(view returns (uint256)
29814
getBatchGateway(view returns (address)
0x0000000000000000000000000000000000000000
getConfiguration(view returns (struct IRelayHubRelayHubConfig)
(10, 100000, 38516, 34909, 15000, 0x8c1fd2de219c98f5f88620422e36a8a32f83324e, 10, 0, 30)
getCreationBlock(view returns (uint256)
16814545
getDeprecationTime(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
getPenalizer(view returns (address)
0x28e036db9727a9d5ee9373dbaae14b422d83a017
getRelayRegistrar(view returns (address)
0x6e4c4cf115c35af85a8d8ddafc1b84a6c3245bd0
getStakeManager(view returns (address)
0x7a79f5f70a91d2deea263d9d1e6d33c8209fdf3b
isDeprecated(view returns (bool)
false
owner(view returns (address)
0x8c1fd2de219c98f5f88620422e36a8a32f83324e
versionHub(pure returns (string)
3.0.0-beta.3+opengsn.hub.irelayhub
Read-only
balanceOf(address targetview returns (uint256)
calculateCharge(uint256 gasUsedstruct GsnTypesRelayData relayDataview returns (uint256)
calculateDevCharge(uint256 chargeview returns (uint256)
getMinimumStakePerToken(address tokenview returns (uint256)
getWorkerCount(address managerview returns (uint256)
getWorkerManager(address workerview returns (address)
isRelayEscheatable(address relayManagerview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
verifyRelayManagerStaked(address relayManagerview 
State-modifying
addRelayWorkers(address[] newRelayWorkers
depositFor(address targetpayable 
deprecateHub(uint256 _deprecationTime
escheatAbandonedRelayBalance(address relayManager
innerRelayCall(string domainSeparatorNamestruct GsnTypesRelayRequest relayRequestbytes signaturebytes approvalDatastruct IPaymasterGasAndDataLimits gasAndDataLimitsuint256 totalInitialGasuint256 maxPossibleGasreturns (uint8bytes)
onRelayServerRegistered(address relayManager
penalize(address relayWorkeraddress beneficiary
relayCall(string domainSeparatorNameuint256 maxAcceptanceBudgetstruct GsnTypesRelayRequest relayRequestbytes signaturebytes approvalDatareturns (bool paymasterAccepteduint256 chargeuint8 statusbytes returnValue)
renounceOwnership(
setConfiguration(struct IRelayHubRelayHubConfig _config
setMinimumStakes(address[] tokenuint256[] minimumStake
transferOwnership(address newOwner
withdraw(address destuint256 amount
withdrawMultiple(address[] destuint256[] amount
Events
AbandonedRelayManagerBalanceEscheated(address indexed relayManageruint256 balance
Deposited(address indexed paymasteraddress indexed fromuint256 amount
HubDeprecated(uint256 deprecationTime
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RelayHubConfigured(struct IRelayHubRelayHubConfig config
RelayWorkersAdded(address indexed relayManageraddress[] newRelayWorkersuint256 workersCount
StakingTokenDataChanged(address tokenuint256 minimumStake
TransactionRejectedByPaymaster(address indexed relayManageraddress indexed paymasterbytes32 indexed relayRequestIDaddress fromaddress toaddress relayWorkerbytes4 selectoruint256 innerGasUsedbytes reason
TransactionRelayed(address indexed relayManageraddress indexed relayWorkerbytes32 indexed relayRequestIDaddress fromaddress toaddress paymasterbytes4 selectoruint8 statusuint256 charge
TransactionResult(uint8 statusbytes returnValue
Withdrawn(address indexed accountaddress indexed destuint256 amount
Constructor
constructor(address _stakeManageraddress _penalizeraddress _batchGatewayaddress _relayRegistrarstruct IRelayHubRelayHubConfig _config
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.