Rewarder

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x277813ca at 20311295
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 497 additional slots

No balances found for "Rewarder"

No transactions found for "Rewarder"


Functions
Getter at block 22748920
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(uint256view returns (bool openForSubmissionsuint64 uniqueIdbytes32 confirmDatauint64 assertionTimestampuint256 createdTimestampuint256 rewardAmountForClaimersuint256 numberOfEligibleClaimersuint256 amountClaimedByClaimers)
getChallenge(uint256 _challengeIdview returns (struct RewarderChallenge)
getOperatorAtIndex(address owneruint256 indexview returns (address)
getOperatorCount(address ownerview returns (uint256)
getOwnerCountForOperator(address operatorview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForOperator(address owneraddress operatorview returns (bool)
submissions(uint256uint256view returns (bool submittedbool claimeduint256 nodeLicenseIdbytes confirmData)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimRewards(uint256[] _nodeLicenseIdsuint256 _challengeId
createChallenge(uint64 _uniqueIdbytes32 _confirmDatauint64 _assertionTimestamp
grantRole(bytes32 roleaddress account
initialize(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setApprovalForOperator(address operatorbool approved
setMinChallengeInterval(uint256 _minChallengeInterval
setRewardPerSecond(uint256 _rewardPerSecond
setXKickAddress(address _xKickAddress
setXnodeAddress(address _xNodeAddress
submitAssertions(uint256[] _nodeLicenseIdsuint256 _challengeIdbytes _confirmData
Events
Approval(address indexed owneraddress indexed operatorbool approved
AssertionSubmitted(uint256 indexed challengeIduint256 indexed nodeLicenseId
ChallengeClosed(uint256 indexed challengeNumber
ChallengeCreated(uint256 indexed challengeNumberbytes32 confirmData
Initialized(uint64 version
InvalidSubmission(uint256 indexed challengeIdaddress operatoruint256 keysLength
RewardPerSecondUpdated(uint256 oldValueuint256 newValue
RewardsClaimed(uint256 indexed challengeIduint256 totalRewarduint256 keysLength
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
ChallengeDoesNotExist(
ChallengeNotClosed(
ChallengeNotOpen(
ChallengeTooSoon(
IndexOutOfBounds(
InvalidInitialization(
MaxAllocatedTokenExceeded(
NotInitializing(
XNodeAddressNotSet(