Rewarder
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 497 additional slots
Balances ($0.00)
No balances found for "Rewarder"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Rewarder"
ABI
ABI objects
Getter at block 22922401
CHALLENGER_ROLE() view returns (bytes32)
0xe752add323323eb13e36c71ee508dfd16d74e9e4c4fd78786ba97989e5e13818
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_ALLOCATED_TOKEN() view returns (uint256)
1600000000000000000000000000
challengeCounter() view returns (uint256)
0
getAllocatedTokens() view returns (uint256)
0
minChallengeInterval() view returns (uint256)
0
rewardPerSecond() view returns (uint256)
0
xKickAddress() view returns (address)
0x0000000000000000000000000000000000000000
xNodeAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
challenges(uint256) view returns (bool openForSubmissions, uint64 uniqueId, bytes32 confirmData, uint64 assertionTimestamp, uint256 createdTimestamp, uint256 rewardAmountForClaimers, uint256 numberOfEligibleClaimers, uint256 amountClaimedByClaimers)
getChallenge(uint256 _challengeId) view returns (struct RewarderChallenge)
getOperatorAtIndex(address owner, uint256 index) view returns (address)
getOperatorCount(address owner) view returns (uint256)
getOwnerCountForOperator(address operator) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForOperator(address owner, address operator) view returns (bool)
submissions(uint256, uint256) view returns (bool submitted, bool claimed, uint256 nodeLicenseId, bytes confirmData)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events claimRewards(uint256[] _nodeLicenseIds, uint256 _challengeId)
createChallenge(uint64 _uniqueId, bytes32 _confirmData, uint64 _assertionTimestamp)
grantRole(bytes32 role, address account)
initialize()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setApprovalForOperator(address operator, bool approved)
setMinChallengeInterval(uint256 _minChallengeInterval)
setRewardPerSecond(uint256 _rewardPerSecond)
setXKickAddress(address _xKickAddress)
setXnodeAddress(address _xNodeAddress)
submitAssertions(uint256[] _nodeLicenseIds, uint256 _challengeId, bytes _confirmData)
Approval(address indexed owner, address indexed operator, bool approved)
AssertionSubmitted(uint256 indexed challengeId, uint256 indexed nodeLicenseId)
ChallengeClosed(uint256 indexed challengeNumber)
ChallengeCreated(uint256 indexed challengeNumber, bytes32 confirmData)
Initialized(uint64 version)
InvalidSubmission(uint256 indexed challengeId, address operator, uint256 keysLength)
RewardPerSecondUpdated(uint256 oldValue, uint256 newValue)
RewardsClaimed(uint256 indexed challengeId, uint256 totalReward, uint256 keysLength)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
ChallengeDoesNotExist()
ChallengeNotClosed()
ChallengeNotOpen()
ChallengeTooSoon()
IndexOutOfBounds()
InvalidInitialization()
MaxAllocatedTokenExceeded()
NotInitializing()
XNodeAddressNotSet()