VoteERC20

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x8195e214 at 15590615
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 1 additional slot
-
variable spans 45 additional slots
-
variable spans 46 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
4 additional variables

No balances found for "VoteERC20"

No transactions found for "VoteERC20"


Functions
Getter at block 21385651
BALLOT_TYPEHASH(view returns (bytes32)
0x150214d74d59b7d1e90c73fc22ef3d991dd0a76b046543d4d80ab92d2a50328f
COUNTING_MODE(pure returns (string)
support=bravo&quorum=for,abstain
EXTENDED_BALLOT_TYPEHASH(view returns (bytes32)
0xb3b3f3b703cd84ce352197dcff232b1b5d3cfb2025ce47cf04742d0651f1af88
contractType(pure returns (bytes32)
0x566f746545524332300000000000000000000000000000000000000000000000
contractURI(view returns (string)
contractVersion(pure returns (uint8)
1
getAllProposals(view returns (struct VoteERC20Proposal[] allProposals)
[]
name(view returns (string)
proposalIndex(view returns (uint256)
0
proposalThreshold(view returns (uint256)
0
quorumDenominator(view returns (uint256)
100
quorumNumerator(view returns (uint256)
0
token(view returns (address)
0x0000000000000000000000000000000000000000
version(view returns (string)
1
votingDelay(view returns (uint256)
0
votingPeriod(view returns (uint256)
0
Read-only
getVotes(address accountuint256 blockNumberview returns (uint256)
getVotesWithParams(address accountuint256 blockNumberbytes paramsview returns (uint256)
hasVoted(uint256 proposalIdaddress accountview returns (bool)
hashProposal(address[] targetsuint256[] valuesbytes[] calldatasbytes32 descriptionHashpure returns (uint256)
isTrustedForwarder(address forwarderview returns (bool)
proposalDeadline(uint256 proposalIdview returns (uint256)
proposalSnapshot(uint256 proposalIdview returns (uint256)
proposalVotes(uint256 proposalIdview returns (uint256 againstVotesuint256 forVotesuint256 abstainVotes)
proposals(uint256view returns (uint256 proposalIdaddress proposeruint256 startBlockuint256 endBlockstring description)
quorum(uint256 blockNumberview returns (uint256)
quorumNumerator(uint256 blockNumberview returns (uint256)
state(uint256 proposalIdview returns (uint8)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
castVote(uint256 proposalIduint8 supportreturns (uint256)
castVoteBySig(uint256 proposalIduint8 supportuint8 vbytes32 rbytes32 sreturns (uint256)
castVoteWithReason(uint256 proposalIduint8 supportstring reasonreturns (uint256)
castVoteWithReasonAndParams(uint256 proposalIduint8 supportstring reasonbytes paramsreturns (uint256)
castVoteWithReasonAndParamsBySig(uint256 proposalIduint8 supportstring reasonbytes paramsuint8 vbytes32 rbytes32 sreturns (uint256)
execute(address[] targetsuint256[] valuesbytes[] calldatasbytes32 descriptionHashpayable returns (uint256)
initialize(string _namestring _contractURIaddress[] _trustedForwardersaddress _tokenuint256 _initialVotingDelayuint256 _initialVotingPerioduint256 _initialProposalThresholduint256 _initialVoteQuorumFraction
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
propose(address[] targetsuint256[] valuesbytes[] calldatasstring descriptionreturns (uint256 proposalId)
relay(address targetuint256 valuebytes data
setContractURI(string uri
setProposalThreshold(uint256 newProposalThreshold
setVotingDelay(uint256 newVotingDelay
setVotingPeriod(uint256 newVotingPeriod
updateQuorumNumerator(uint256 newQuorumNumerator
Events
Initialized(uint8 version
ProposalCanceled(uint256 proposalId
ProposalCreated(uint256 proposalIdaddress proposeraddress[] targetsuint256[] valuesstring[] signaturesbytes[] calldatasuint256 startBlockuint256 endBlockstring description
ProposalExecuted(uint256 proposalId
ProposalThresholdSet(uint256 oldProposalThresholduint256 newProposalThreshold
QuorumNumeratorUpdated(uint256 oldQuorumNumeratoruint256 newQuorumNumerator
VoteCast(address indexed voteruint256 proposalIduint8 supportuint256 weightstring reason
VoteCastWithParams(address indexed voteruint256 proposalIduint8 supportuint256 weightstring reasonbytes params
VotingDelaySet(uint256 oldVotingDelayuint256 newVotingDelay
VotingPeriodSet(uint256 oldVotingPerioduint256 newVotingPeriod
Constructor
constructor(
Fallback and receive
receive(
Errors
Empty(