VotingV2

Verified contract

Active on Ethereum with 31,731 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 $63,238,893.52
0x6914afaa543be5c07525828bba4121b04b3f6afbfb19f70ad70f993554d1de61
0xcf739141da3b540ef1d86e749468391a20b039f3db86db1d86fdd849322b961f
0x93d45f291ecda85a985a9a14e6fb853361a8cf0b73897b83ef4549d488589fbc
0x345cd9cb639652b245afee8e552845bb3afb1ad17699e5839d9db37727765605
0xe659237b4a1af71bb533dcd113ad797c39ec13db4e667939cd79bf82bf09a60d
0x02b969cf4d9b6298f3bce16ebe39a40cfceb99bb6248eb070d1bd2b0da96b318
0x55fd997d173250a17ef7577edcd36f9a6956a1e8bc156d231d460f757550ba16
0x5f3ffba05bf1730ddfc352004b538ee381cb769ad329188925ebe2411f9e70eb
0x0a993e522dccc6d84f9dbb8a6d2647d58f7ea13269b0a6fb1f863c4f6e64c481
0xeb305d6483ad7e1242c892135eeddabede684e10b8b6aeaa749b0d9dd470127b

Functions
Getter at block 20791608
ANCILLARY_BYTES_LIMIT(view returns (uint256)
8192
UINT64_MAX(view returns (uint64)
18446744073709551615
cumulativeStake(view returns (uint128)
19195328049129173334687716
currentActiveRequests(view returns (bool)
true
emissionRate(view returns (uint128)
180000000000000000
finder(view returns (address)
0x40f941e48a552bf496b154af6bf55725f18d77c3
gat(view returns (uint128)
5000000000000000000000000
getCurrentRoundId(view returns (uint32)
9993
getCurrentTime(view returns (uint256)
1726832999
getNumberOfPriceRequests(view returns (uint256 numberPendingPriceRequestsuint256 numberResolvedPriceRequests)
(numberPendingPriceRequests=4, numberResolvedPriceRequests=336)
 
getPendingRequests(view returns (struct VotingV2InterfacePendingRequestAncillaryAugmented[])
getVotePhase(view returns (uint8)
0
lastRoundIdProcessed(view returns (uint32)
9993
lastUpdateTime(view returns (uint64)
1726830635
maxRequestsPerRound(view returns (uint32)
1000
maxRolls(view returns (uint32)
4
migratedAddress(view returns (address)
0x0000000000000000000000000000000000000000
nextPendingIndexToProcess(view returns (uint64)
4
owner(view returns (address)
0x7b292034084a41b9d441b71b6e3557edd0463fa8
previousVotingContract(view returns (address)
0x8b1631ab830d11531ae83725fda4d86012eccd77
rewardPerToken(view returns (uint256)
446267639776098858
rewardPerTokenStored(view returns (uint128)
446245471881968010
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.