Voting

Verified contract

Active on Ethereum with 1,616 txns
Deployed by via 0xd8e5a15f at 10893080
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Voting"

0x4a5abce374cfda258c1489abd06251514c69703d2bc106e0f16096d0c54c7388
0xc4b421742170caa5847b7a7715fad412025ae27db4256567531cfe8b26a1a024
0x8037935e3600343148d2e49cf8b155db3c3d1d26c1e048c0243750520afc8bec
0xc3e125da0201d1eec7875a7cc5c3374f521895a1b00caabf7140a4abc87d88aa
0x52c942619cb7f203144016fda0560c5afe9fec763402cd9ed855da71b15ea676
0x59553f33c7be0dead5a95a9e2d3cbf31f152f19151607b39e5394b5bf1752117
0xfb2d1cbc991d3c04778204be277b51ac463aaa4136b278a8edc1fc494904e7fb
0x90e2715c22a1e06bd651c97bbb8596f12dbc78d836380852621b287e91f6a79c
0x2d6c281e82cd902e60d31edb41d37a9f29fce1c616c7cda96739a22f8f808cc2
0xe4f5f9aefa496baf122abe4673c01848060c75175add0bba4040867415617023

Functions
Getter at block 20889155
gatPercentage(view returns (uint256 rawValue)
50000000000000000
getCurrentRoundId(view returns (uint256)
10000
getCurrentTime(view returns (uint256)
1728008771
getPendingRequests(view returns (struct VotingInterfacePendingRequest[])
[]
getVotePhase(view returns (uint8)
0
inflationRate(view returns (uint256 rawValue)
500000000000000
migratedAddress(view returns (address)
0x2baaa41d155ad8a4126184950b31f50a1513ce25
owner(view returns (address)
0x592349f7dedb2b75f9d4f194d4b7c16d82e507dc
rewardsExpirationTimeout(view returns (uint256)
31536000000
snapshotMessageHash(view returns (bytes32)
0x38b5b145f0c2d3cca373598867950f7f33fe7f7f5dab3f239e2b31966f761859
timerAddress(view returns (address)
0x0000000000000000000000000000000000000000
voteTiming(view returns (uint256 phaseLength)
86400
votingToken(view returns (address)
0x04fa0d235c4abf4bcf4787af4cf447de572ef828
Read-only
getPrice(bytes32 identifieruint256 timeview returns (int256)
getPriceRequestStatuses(struct VotingInterfacePendingRequest[] requestsview returns (struct VotingRequestState[])
hasPrice(bytes32 identifieruint256 timeview returns (bool)
rounds(uint256view returns (uint256 snapshotIdstruct FixedPointUnsigned inflationRatestruct FixedPointUnsigned gatPercentageuint256 rewardsExpirationTime)
State-modifying
batchCommit(struct VotingInterfaceCommitment[] commits
batchReveal(struct VotingInterfaceReveal[] reveals
commitAndEmitEncryptedVote(bytes32 identifieruint256 timebytes32 hashbytes encryptedVote
commitVote(bytes32 identifieruint256 timebytes32 hash
renounceOwnership(
requestPrice(bytes32 identifieruint256 time
retrieveRewards(address voterAddressuint256 roundIdstruct VotingInterfacePendingRequest[] toRetrievereturns (struct FixedPointUnsigned totalRewardToIssue)
revealVote(bytes32 identifieruint256 timeint256 priceint256 salt
setCurrentTime(uint256 time
setGatPercentage(struct FixedPointUnsigned newGatPercentage
setInflationRate(struct FixedPointUnsigned newInflationRate
setMigrated(address newVotingAddress
setRewardsExpirationTimeout(uint256 NewRewardsExpirationTimeout
snapshotCurrentRound(bytes signature
transferOwnership(address newOwner
Events
EncryptedVote(address indexed voteruint256 indexed roundIdbytes32 indexed identifieruint256 timebytes encryptedVote
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PriceRequestAdded(uint256 indexed roundIdbytes32 indexed identifieruint256 time
PriceResolved(uint256 indexed roundIdbytes32 indexed identifieruint256 timeint256 price
RewardsRetrieved(address indexed voteruint256 indexed roundIdbytes32 indexed identifieruint256 timeuint256 numTokens
VoteCommitted(address indexed voteruint256 indexed roundIdbytes32 indexed identifieruint256 time
VoteRevealed(address indexed voteruint256 indexed roundIdbytes32 indexed identifieruint256 timeint256 priceuint256 numTokens
Constructor
constructor(uint256 _phaseLengthstruct FixedPointUnsigned _gatPercentagestruct FixedPointUnsigned _inflationRateuint256 _rewardsExpirationTimeoutaddress _votingTokenaddress _finderaddress _timerAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.