StandardGovernor

Verified contract

Active on Ethereum with 411 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $6,026.92
0x6e4b504eaa103740777b1da5e347784df9aef57f155cee2c706687d7e8912fc5
0x1af53b17d75d127d6d3d32a2440f7c9f1232f87396804d5c297013a68387d0bd
0x834eb01eb2bf44f6b48e48cfc7224d2d9060938759e4b4769ef97447de46c7ff
0x37506bb8d52fb0208f8cdb6466e667c8506d07dd808a471e1920dd434c7c5ba8
0x70cecdf05ae20bf29bc3333401ab3b136d97c1444f6963405cd7c7e8baa869f9
0x9a71b06825f7141d8c13e75d64bc139082af36c11c65e9aafff51461b8772737
0x503067dd99dc38fe2796211aa5d7e7b65d804d34932ce013060be14fe67dd69a
0x3a6a0d9a9424834438bfd92c8ca73e8db8c3e9bd568ba8121d692a43b0a395cc
0xb73409e7d51e4b8b577d50187712b1a22b5f54dbfa61d646bde8c57d709b6fde
0x95b924924b9fca02a650b4e061e8ff0c46dec6a8407e0bbfcdc4f0e43ecdbcd8

Functions
Getter at block 21261806
BALLOTS_TYPEHASH(view returns (bytes32)
0x9a121fc10d6025acfc09275f9709796b68831733b5bbac0d510d13f85b1b730f
BALLOTS_WITH_REASON_TYPEHASH(view returns (bytes32)
0xa891f76027ef63a24501b9dd3b0c779b49ad26d2328e9d423640209d1ad4fcc4
BALLOT_TYPEHASH(view returns (bytes32)
0x150214d74d59b7d1e90c73fc22ef3d991dd0a76b046543d4d80ab92d2a50328f
BALLOT_WITH_REASON_TYPEHASH(view returns (bytes32)
0x7949bd92105c02f48ca245aa185f4a7a4d7185641d59b186ac64abeb44964f0c
CLOCK_MODE(pure returns (string)
mode=epoch&epochUnderlyingSource=blockTimestamp&epochStartingTimestamp=1713099600&epochPeriod=1296000
COUNTING_MODE(pure returns (string)
support=against,for&quorum=for&success=majority
DOMAIN_SEPARATOR(view returns (bytes32)
0x3b4f31285744c1c4f8315255017bc616861aaab35cbd1671c0a0be680418551e
cashToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
clock(view returns (uint48)
15
eip712Domain(view returns (bytes1 fields_string name_string version_uint256 chainId_address verifyingContract_bytes32 salt_uint256[] extensions_)
(fields_=0x0f, name_=StandardGovernor, version_=1, chainId_=1, verifyingContract_=0xb024ac5a7c6bc92fbacc8c3387e628a07e1da016, salt_=0x0000000000000000000000000000000000000000000000000000000000000000, extensions_=[])
emergencyGovernor(view returns (address)
0x886d405949f709bc3f4451491bdd07ff51cdf90a
maxTotalZeroRewardPerActiveEpoch(view returns (uint256)
5000000000000
name(view returns (string)
StandardGovernor
proposalFee(view returns (uint256)
200000000000000000
proposalThreshold(pure returns (uint256)
0
quorum(pure returns (uint256)
1
registrar(view returns (address)
0x119fbeedd4f4f4298fb59b720d5654442b81ae2c
token(view returns (address)
0x5983b89fa184f14917013b9c3062afd9434c5b03
vault(view returns (address)
0xd7298f620b0f752cf41bd818a16c756d9dcaa34f
voteToken(view returns (address)
0x5983b89fa184f14917013b9c3062afd9434c5b03
votingDelay(view returns (uint256)
2
votingPeriod(view returns (uint256)
0
zeroGovernor(view returns (address)
0xa0dafaeea4a1d44534e1b9227e19cae6358b80fe
zeroToken(view returns (address)
0x988567fe094570cce1ffda29d1f2d842b70492be
Read-only
getBallotDigest(uint256 proposalId_uint8 support_view returns (bytes32)
getBallotWithReasonDigest(uint256 proposalId_uint8 support_string reason_view returns (bytes32)
getBallotsDigest(uint256[] proposalIds_uint8[] supportList_view returns (bytes32)
getBallotsWithReasonDigest(uint256[] proposalIds_uint8[] supportList_string[] reasonList_view returns (bytes32)
getProposal(uint256 proposalId_view returns (uint48 voteStart_uint48 voteEnd_uint8 state_uint256 noVotes_uint256 yesVotes_address proposer_uint256 quorum_)
getProposalFee(uint256 proposalId_view returns (address cashToken_uint256 fee_)
getVotes(address account_uint256 timepoint_view returns (uint256)
hasVoted(uint256 proposalIdaddress voterview returns (bool hasVoted)
hasVotedOnAllProposals(address voter_uint256 epoch_view returns (bool)
hashProposal(address[]uint256[]bytes[] callDatas_bytes32view returns (uint256)
hashProposal(bytes callData_view returns (uint256)
numberOfProposalsAt(uint256 epochview returns (uint256 count)
numberOfProposalsVotedOnAt(address voteruint256 epochview returns (uint256 count)
proposalDeadline(uint256 proposalId_view returns (uint256)
proposalProposer(uint256 proposalId_view returns (address)
proposalSnapshot(uint256 proposalId_view returns (uint256)
proposalVotes(uint256 proposalId_view returns (uint256uint256uint256)
state(uint256 proposalId_view returns (uint8)
State-modifying
addToList(bytes32 list_address account_
castVote(uint256 proposalId_uint8 support_returns (uint256 weight_)
castVoteBySig(address voter_uint256 proposalId_uint8 support_bytes signature_returns (uint256 weight_)
castVoteBySig(uint256 proposalId_uint8 support_uint8 v_bytes32 r_bytes32 s_returns (uint256 weight_)
castVoteWithReason(uint256 proposalId_uint8 support_string reason_returns (uint256 weight_)
castVoteWithReasonBySig(address voter_uint256 proposalId_uint8 support_string reason_bytes signature_returns (uint256 weight_)
castVoteWithReasonBySig(uint256 proposalId_uint8 support_string reason_uint8 v_bytes32 r_bytes32 s_returns (uint256 weight_)
castVotes(uint256[] proposalIds_uint8[] supportList_returns (uint256 weight_)
castVotesBySig(address voter_uint256[] proposalIds_uint8[] supportList_bytes signature_returns (uint256 weight_)
castVotesBySig(uint256[] proposalIds_uint8[] supportList_uint8 v_bytes32 r_bytes32 s_returns (uint256 weight_)
castVotesWithReason(uint256[] proposalIds_uint8[] supportList_string[] reasonList_returns (uint256 weight_)
castVotesWithReasonBySig(address voter_uint256[] proposalIds_uint8[] supportList_string[] reasonList_bytes signature_returns (uint256 weight_)
castVotesWithReasonBySig(uint256[] proposalIds_uint8[] supportList_string[] reasonList_uint8 v_bytes32 r_bytes32 s_returns (uint256 weight_)
execute(address[] targets_uint256[] values_bytes[] callDatas_bytes32payable returns (uint256 proposalId_)
propose(address[] targets_uint256[] values_bytes[] callDatas_string description_returns (uint256 proposalId_)
removeFromAndAddToList(bytes32 list_address accountToRemove_address accountToAdd_
removeFromList(bytes32 list_address account_
sendProposalFeeToVault(uint256 proposalId_
setCashToken(address newCashToken_uint256 newProposalFee_
setKey(bytes32 key_bytes32 value_
setProposalFee(uint256 newProposalFee_
Events
CashTokenSet(address indexed cashToken
EIP712DomainChanged(
HasVotedOnAllProposals(address indexed voteruint256 indexed currentEpoch
ProposalCreated(uint256 proposalIdaddress proposeraddress[] targetsuint256[] valuesstring[] signaturesbytes[] callDatasuint256 voteStartuint256 voteEndstring description
ProposalExecuted(uint256 proposalId
ProposalFeeSentToVault(uint256 indexed proposalIdaddress indexed cashTokenuint256 amount
ProposalFeeSet(uint256 proposalFee
VoteCast(address indexed voteruint256 proposalIduint8 supportuint256 weightstring reason
Constructor
constructor(address voteToken_address emergencyGovernor_address zeroGovernor_address cashToken_address registrar_address vault_address zeroToken_uint256 proposalFee_uint256 maxTotalZeroRewardPerActiveEpoch_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyVoted(
ArrayLengthMismatch(uint256 length1uint256 length2
EmptyProposalIdsArray(
ExecutionFailed(bytes data
FeeNotDestinedForVault(uint8 state
InvalidCallData(
InvalidCallDatasLength(
InvalidCashTokenAddress(
InvalidEmergencyGovernorAddress(
InvalidRegistrarAddress(
InvalidSignature(
InvalidSignatureLength(
InvalidSignatureS(
InvalidSignatureV(
InvalidTarget(
InvalidTargetsLength(
InvalidValue(
InvalidValuesLength(
InvalidVaultAddress(
InvalidVoteStart(
InvalidVoteTokenAddress(
InvalidZeroGovernorAddress(
InvalidZeroTokenAddress(
NoFeeToSend(
NotSelf(
NotSelfOrEmergencyGovernor(
NotZeroGovernor(
ProposalCannotBeExecuted(
ProposalDoesNotExist(
ProposalExists(
ProposalInactive(uint8 state
SignatureExpired(uint256 deadlineuint256 timestamp
SignerMismatch(
TransferFailed(
TransferFromFailed(
ZeroVotingPower(