MinerPoolAndGCA

Verified contract

Active on Ethereum
Deployed by via 0x2d7aea7c at 18809234
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x05b80931555b2e19d78fd6e5c50ae3e7e85c0732a603c49ee9e52fb68ab3cd02
0x726c7ff12017cb785ec10615f601c8a65bb81391bb80b91d84ccd23fba21669c
0x979dcf0d3fa85afcfe6f664e5d77eab1b687b0c3ca0930c806a617c3215e6cb3
0xad8ccf4a1e7f41d0d472834f1c11880a9edb94ed7ac76669b9eca2606ec9e121
0x0f500a6e21285bdccbca800b1cf536febe66be0d86fec1caa1e9280940cf5535
0x5c035e18941a207832a776779525240a04b3784b073ffd6c131b2d3e45e3aecb
0x59679cc4ad5d2960589377a0dfbdaafe42902f4a12b8d6675a3225b829edf930
0xa563e2bfb9425bd733066c66508717bcc82861c92f5efb9020ba8dafdf50a8a0
0x40d860f1a4a68014a079b72de61007009b44ae674b5fb7eaeebe4821d64d499d
0x0bd26cdcd864598e06115029febb53ae9ac165173fef95e8317a5f1f51e063b4

Functions
Getter at block 21221683
CLAIM_PAYOUT_RELAY_PERMIT_TYPEHASH(view returns (bytes32)
0x5c1edfbd8d37c567a5ff069ded6de286a7c1eb363cb354e0177a53c24fab88e9
GCC(view returns (address)
0x21c46173591f39afc1d2b634b74c98f0576a272b
GENESIS_TIMESTAMP(view returns (uint256)
1700352000
GLOW_REWARDS_PER_BUCKET(view returns (uint256)
175000000000000000000000
GLOW_TOKEN(view returns (address)
0xf4fbc617a5733eaaf9af08e1ab816b103388d8b6
GOVERNANCE(view returns (address)
0x8d01a258bc1adb728322499e5d84173ea971d665
HOLDING_CONTRACT(view returns (address)
0xd5970622b740a2ea5a5574616c193968b10e1297
OFFSET_LEFT(view returns (uint256)
16
OFFSET_RIGHT(view returns (uint256)
208
REWARDS_PER_SECOND_FOR_ALL(view returns (uint256)
16534391534391534
SHARES_REQUIRED_PER_COMP_PLAN(view returns (uint256)
100000
TOTAL_VESTING_PERIODS(view returns (uint256)
192
USDC(view returns (address)
0xe010ec500720be9ef3f82129e7ed2ee1fb7955f2
allGcas(view returns (address[])
[0xB2d687b199ee40e6113CD490455cC81eC325C496, 0x63a74612274FbC6ca3f7096586aF01Fd986d69cE]
bucketDelayDuration(pure returns (uint256)
7862400
currentBucket(view returns (uint256)
52
earlyLiquidity(view returns (address)
0xd5abe236d2f2f5d10231c054e078788ea3447dfc
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=GCA and MinerPool, version=1, chainId=1, verifyingContract=0x6fa8c7a89b22bf3212392b778905b12f3dbaf5c4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getBucketTracker(view returns (struct BucketSubmissionBucketTracker)
(67, 258, 0)
getProposalHashes(view returns (bytes32[])
[0xe2f1e881dd78f3ddeb468269e82e2be352e4d211c1219ecd8f3ddfed628e979e, 0x93c4d07a4c47058c0c22e57292ab79494651b4d2ebe4d48ed3d73f74158d15d3]
nextProposalIndexToUpdate(view returns (uint256)
2
paymentNonce(view returns (uint256)
2
requirementsHash(view returns (bytes32)
0xf5cb16305601517126308ab9ffddf32fafc7c2f01d62c39d72db95f312abd1af
slashNonce(view returns (uint256)
0
Read-only
amountWithdrawnAtPaymentNonce(addressuint256view returns (uint256)
bucket(uint256 bucketIdview returns (struct IGCABucket bucket)
bucketClaimBitmap(uint256 bucketIdaddress userview returns (uint256)
bucketEndSubmissionTimestampNotReinstated(uint256 bucketIdview returns (uint128)
bucketFinalizationTimestampNotReinstated(uint256 bucketIdview returns (uint128)
bucketGlobalState(uint256 bucketIdview returns (struct IGCABucketGlobalState)
bucketStartSubmissionTimestampNotReinstated(uint256 bucketIdview returns (uint128)
createClaimRewardFromBucketDigest(uint256 bucketIduint256 glwWeightuint256 usdcWeightuint256 indexbool claimFromInflationview returns (bytes32)
createRelayDigest(address relayeruint256 paymentNonceuint256 relayNonceview returns (bytes32)
gcaAgents(uint256view returns (address)
gcaPayoutData(address gcaview returns (struct IGCAGCAPayout)
getPayoutData(address useruint256 paymentNonceaddress[] activeGCAsAtPaymentNonceuint256 userIndexview returns (uint256 withdrawableAmountuint256 slashableAmountuint256 amountAlreadyWithdrawn)
getProposalHashes(uint256 startuint256 endview returns (bytes32[])
hasBucketBeenDelayed(uint256 bucketIdview returns (bool)
isBucketFinalized(uint256 bucketIdview returns (bool)
isGCA(address accountview returns (bool)
isGCA(address accountuint256 indexview returns (bool)
isSlashed(addressview returns (bool)
nextRelayNonce(addressview returns (uint256)
paymentNonceToCompensationPlan(uint256 nonceuint256 indexview returns (uint32[5])
paymentNonceToShiftStartTimestamp(uint256 nonceview returns (uint256)
payoutNonceToGCAHash(uint256 nonceview returns (bytes32)
proposalHashes(uint256view returns (bytes32)
reward(uint256 idview returns (struct BucketSubmissionWeeklyReward)
slashNonceToSlashTimestamp(uint256view returns (uint256)
State-modifying
claimGlowFromInflation(
claimPayout(address useruint256 paymentNonceaddress[] activeGCAsAtPaymentNonceuint256 userIndexbool claimFromInflationbytes sig
claimRewardFromBucket(uint256 bucketIduint256 glwWeightuint256 usdcWeightbytes32[] proofuint256 indexaddress userbool claimFromInflationbytes signature
delayBucketFinalization(uint256 bucketId
donateToUSDCMinerRewardsPool(uint256 amount
donateToUSDCMinerRewardsPoolEarlyLiquidity(uint256 amount
executeAgainstHash(address[] gcasToSlashaddress[] newGCAsuint256 proposalCreationTimestamp
handleMintToCarbonCreditAuction(uint256 bucketId
pushHash(bytes32 hashbool incrementSlashNonce
setRequirementsHash(bytes32 _requirementsHash
submitCompensationPlan(uint32[5] planuint256 indexOfGCA
submitWeeklyReport(uint256 bucketIduint256 totalNewGCCuint256 totalGlwRewardsWeightuint256 totalGRCRewardsWeightbytes32 root
submitWeeklyReportWithBytes(uint256 bucketIduint256 totalNewGCCuint256 totalGlwRewardsWeightuint256 totalGRCRewardsWeightbytes32 rootbytes data
Events
AmountDonatedToBucket(uint256 indexed bucketIduint256 totalAmountDonated
BucketSubmissionEvent(uint256 indexed bucketIdaddress gcauint256 slashNonceuint256 totalNewGCCuint256 totalGlwRewardsWeightuint256 totalGRCRewardsWeightbytes32 rootbytes extraData
CompensationPlanSubmitted(address indexed agentuint32[5] plan
EIP712DomainChanged(
GCAPayoutClaimed(address indexed agentuint256 amountuint256 totalSlashableBalance
GCAsSlashed(address[] slashedGcas
NewGCAsAppointed(address[] newGcas
ProposalHashPushed(bytes32 proposalHash
ProposalHashUpdate(uint256 indexed indexbytes32 proposalHash
RequirementsHashUpdated(bytes32 requirementsHash
Constructor
constructor(address[] _gcaAgentsaddress _glowTokenaddress _governancebytes32 _requirementsHashaddress _earlyLiquidityaddress _usdcTokenaddress _vetoCounciladdress _holdingContractaddress _gcc
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AlreadyMintedToCarbonCreditAuction(
BucketAlreadyDelayed(
BucketAlreadyFinalized(
BucketIndexOutOfBounds(
BucketNotFinalized(
BucketSubmissionEnded(
BucketSubmissionNotOpen(
CallerNotEarlyLiquidity(
CallerNotGCA(
CallerNotGCAAtIndex(
CallerNotGovernance(
CallerNotVetoCouncilMember(
CannotDelayBucketThatNeedsToUpdateSlashNonce(
CannotDelayEmptyBucket(
CannotSetNonceToZero(
CompensationPlanLengthMustBeGreaterThanZero(
ElectricityFutureAuctionBidMustBeGreaterThanMinimumBid(
ElectricityFuturesAuctionAuthorizationTooLong(
ElectricityFuturesAuctionBidTooLow(
ElectricityFuturesAuctionEnded(
ElectricityFuturesAuctionInvalidSignature(
ElectricityFuturesSignatureExpired(
EmptyRoot(
FailedInnerCall(
GCCAlreadySet(
GlowWeightGreaterThanTotalWeight(
GlowWeightOverflow(
HashesNotUpdated(
IndexDoesNotMatchNextProposalIndex(
InsufficientShares(
InvalidGCAHash(
InvalidProof(
InvalidRelaySignature(
InvalidShares(
InvalidShortString(
InvalidUserIndex(
NoBalanceToPayout(
NotGCA(
NotUSDCToken(
ProposalAlreadyUpdated(
ProposalHashDoesNotMatch(
ProposalHashesEmpty(
ProposalHashesNotUpdated(
ReportGCCMustBeLT200Billion(
ReportWeightMustBeLTUint64MaxDiv5(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
SignatureDoesNotMatchUser(
SignerNotGCA(
SlashedAgentCannotClaimReward(
StringTooLong(string str
USDCWeightGreaterThanTotalWeight(
USDCWeightOverflow(
UserAlreadyClaimed(