VotingV2

Verified contract

Active on Ethereum with 45,901 txns
Deployed by via 0xe864ed41 at 16697232
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $76,457,750.46
0xbbcd2eeb2b8c2ea9fb889514dba33d82722c3a687b2c39034a9f2765cb806177
0x82a084e5293c5f4ea031ffc06afa7d75dc8ccacc453fb09ef50f73771ee4280d
0xdc02aff0bf571b2c95c20623cddbbdbd87ad415c6a57bd9584d7424ec3511467
0x4d5623598ac21319ee54498cb4d05c2f8e79d70e194a1a28bf0f46c7c6f6623d
0x4715bced390a259928fe88337ccfa5cdfa171e316e9b11fbf3ae7e42ad606539
0xa135d3dfb49b89394ffd4583bdff210c4464d9d6e2ad8a1ad2590d2244b65996
0xe8ad496dd48c7e79eb8ade19533267091a8f081947812232989ee9c65eb52f4a
0x9a4338b2f5c687222571a39ee5a75e3a54aa4b30a20ae15730450a25adc6046c
0x1fb892997a5d83a655f27fec09745462ea2da561b6d0228698dfd956105713d6
0x721428522c685e84ed2047aec6bd9e4be8e740794a1aa0e38ba12c27cd55a175

Functions
Getter at block 21238701
ANCILLARY_BYTES_LIMIT(view returns (uint256)
8192
UINT64_MAX(view returns (uint64)
18446744073709551615
cumulativeStake(view returns (uint128)
18545548276946446412171850
currentActiveRequests(view returns (bool)
true
emissionRate(view returns (uint128)
180000000000000000
finder(view returns (address)
0x40f941e48a552bf496b154af6bf55725f18d77c3
gat(view returns (uint128)
5000000000000000000000000
getCurrentRoundId(view returns (uint32)
10024
getCurrentTime(view returns (uint256)
1732223375
getNumberOfPriceRequests(view returns (uint256 numberPendingPriceRequestsuint256 numberResolvedPriceRequests)
(numberPendingPriceRequests=7, numberResolvedPriceRequests=474)
 
getPendingRequests(view returns (struct VotingV2InterfacePendingRequestAncillaryAugmented[])
getVotePhase(view returns (uint8)
0
lastRoundIdProcessed(view returns (uint32)
10024
lastUpdateTime(view returns (uint64)
1732222739
maxRequestsPerRound(view returns (uint32)
1000
maxRolls(view returns (uint32)
4
migratedAddress(view returns (address)
0x0000000000000000000000000000000000000000
nextPendingIndexToProcess(view returns (uint64)
7
owner(view returns (address)
0x7b292034084a41b9d441b71b6e3557edd0463fa8
previousVotingContract(view returns (address)
0x8b1631ab830d11531ae83725fda4d86012eccd77
rewardPerToken(view returns (uint256)
496531020625518102
rewardPerTokenStored(view returns (uint128)
496524847715540439
slashingLibrary(view returns (address)
0x9a406ba5a99983250fd663947b3c968d387ce5cd
spat(view returns (uint64)
500000000000000000
unstakeCoolDown(view returns (uint64)
604800
voteTiming(view returns (uint256 phaseLength)
86400
votingToken(view returns (address)
0x04fa0d235c4abf4bcf4787af4cf447de572ef828
Read-only
delegateToStaker(addressview returns (address)
getPrice(bytes32 identifieruint256 timeview returns (int256)
getPrice(bytes32 identifieruint256 timebytes ancillaryDataview returns (int256)
getPriceRequestStatuses(struct VotingV2InterfacePendingRequestAncillary[] requestsview returns (struct VotingV2RequestState[])
getRoundEndTime(uint256 roundIdview returns (uint256)
getRoundIdToVoteOnRequest(uint32 targetRoundIdview returns (uint32)
getVoterFromDelegate(address callerview returns (address)
getVoterParticipation(uint256 requestIndexuint32 lastVotingRoundaddress voterview returns (uint8)
getVoterPendingStake(address voteruint32 roundIdview returns (uint128)
hasPrice(bytes32 identifieruint256 timeview returns (bool)
hasPrice(bytes32 identifieruint256 timebytes ancillaryDataview returns (bool)
outstandingRewards(address voterview returns (uint256)
pendingPriceRequestsIds(uint256view returns (bytes32)
priceRequests(bytes32view returns (uint32 lastVotingRoundbool isGovernanceuint64 timeuint32 rollCountbytes32 identifierbytes ancillaryData)
requestSlashingTrackers(uint256 requestIndexview returns (struct VotingV2SlashingTracker)
resolvedPriceRequestIds(uint256view returns (bytes32)
rounds(uint256view returns (address slashingLibraryuint128 minParticipationRequirementuint128 minAgreementRequirementuint128 cumulativeStakeAtRounduint32 numberOfRequestsToVote)
voterStakes(addressview returns (uint128 stakeuint128 pendingUnstakeuint128 rewardsPaidPerTokenuint128 outstandingRewardsint128 unappliedSlashuint64 nextIndexToProcessuint64 unstakeTimeaddress delegate)
State-modifying
commitAndEmitEncryptedVote(bytes32 identifieruint256 timebytes ancillaryDatabytes32 hashbytes encryptedVote
commitVote(bytes32 identifieruint256 timebytes ancillaryDatabytes32 hash
executeUnstake(
getNumberOfPriceRequestsPostUpdate(returns (uint256 numberPendingPriceRequestsuint256 numberResolvedPriceRequests)
getVoterStakePostUpdate(address voterreturns (uint128)
multicall(bytes[] datareturns (bytes[] results)
processResolvablePriceRequests(
processResolvablePriceRequestsRange(uint64 maxTraversals
renounceOwnership(
requestGovernanceAction(bytes32 identifieruint256 timebytes ancillaryData
requestPrice(bytes32 identifieruint256 time
requestPrice(bytes32 identifieruint256 timebytes ancillaryData
requestUnstake(uint128 amount
retrieveRewardsOnMigratedVotingContract(address voteruint256 roundIdstruct MinimumVotingAncillaryInterfacePendingRequestAncillary[] toRetrievereturns (uint256)
revealVote(bytes32 identifieruint256 timeint256 pricebytes ancillaryDataint256 salt
setDelegate(address delegate
setDelegator(address delegator
setEmissionRate(uint128 newEmissionRate
setGatAndSpat(uint128 newGatuint64 newSpat
setMaxRequestPerRound(uint32 newMaxRequestsPerRound
setMaxRolls(uint32 newMaxRolls
setMigrated(address newVotingAddress
setSlashingLibrary(address _newSlashingLibrary
setUnstakeCoolDown(uint64 newUnstakeCoolDown
stake(uint128 amount
stakeTo(address recipientuint128 amount
transferOwnership(address newOwner
updateTrackers(address voter
updateTrackersRange(address voteruint64 maxTraversals
withdrawAndRestake(returns (uint128)
withdrawRewards(returns (uint128)
Events
DelegateSet(address indexed delegatoraddress indexed delegate
DelegatorSet(address indexed delegateaddress indexed delegator
EncryptedVote(address indexed calleruint32 indexed roundIdbytes32 indexed identifieruint256 timebytes ancillaryDatabytes encryptedVote
ExecutedUnstake(address indexed voteruint128 tokensSentuint128 voterStake
GatAndSpatChanged(uint128 newGatuint64 newSpat
MaxRequestsPerRoundChanged(uint32 newMaxRequestsPerRound
MaxRollsChanged(uint32 newMaxRolls
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RequestAdded(address indexed requesteruint32 indexed roundIdbytes32 indexed identifieruint256 timebytes ancillaryDatabool isGovernance
RequestDeleted(bytes32 indexed identifieruint256 indexed timebytes ancillaryDatauint32 rollCount
RequestResolved(uint32 indexed roundIduint256 indexed resolvedPriceRequestIndexbytes32 indexed identifieruint256 timebytes ancillaryDataint256 price
RequestRolled(bytes32 indexed identifieruint256 indexed timebytes ancillaryDatauint32 rollCount
RequestedUnstake(address indexed voteruint128 amountuint64 unstakeTimeuint128 voterStake
SetNewEmissionRate(uint128 newEmissionRate
SetNewUnstakeCoolDown(uint64 newUnstakeCoolDown
SlashingLibraryChanged(address newAddress
Staked(address indexed voteraddress indexed fromuint128 amountuint128 voterStakeuint128 voterPendingUnstakeuint128 cumulativeStake
UpdatedReward(address indexed voteruint128 newRewarduint64 lastUpdateTime
VoteCommitted(address indexed voteraddress indexed calleruint32 roundIdbytes32 indexed identifieruint256 timebytes ancillaryData
VoteRevealed(address indexed voteraddress indexed calleruint32 roundIdbytes32 indexed identifieruint256 timebytes ancillaryDataint256 priceuint128 numTokens
VoterSlashApplied(address indexed voterint128 slashedTokensuint128 postStake
VoterSlashed(address indexed voteruint256 indexed requestIndexint128 slashedTokens
VotingContractMigrated(address newAddress
WithdrawnRewards(address indexed voteraddress indexed delegateuint128 tokensWithdrawn
Constructor
constructor(uint128 _emissionRateuint64 _unstakeCoolDownuint64 _phaseLengthuint32 _maxRollsuint32 _maxRequestsPerRounduint128 _gatuint64 _spataddress _votingTokenaddress _finderaddress _slashingLibraryaddress _previousVotingContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.