0 txs
0 calls
constructor
constructor()
functions
BALLOT_TYPEHASH
viewfunction BALLOT_TYPEHASH() view returns (bytes32)
CLOCK_MODE
viewfunction CLOCK_MODE() view returns (string)
clock
viewfunction clock() view returns (uint48)
COUNTING_MODE
purefunction COUNTING_MODE() pure returns (string)
eip712Domain
viewfunction eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
EXTENDED_BALLOT_TYPEHASH
viewfunction EXTENDED_BALLOT_TYPEHASH() view returns (bytes32)
getMaturity
viewfunction getMaturity(uint256 proposalId) view returns (uint256)
getPastScore
viewfunction getPastScore(address account, uint256 timepoint) view returns (uint256)
getVotes
viewfunction getVotes(address account, uint256 timepoint) view returns (uint256)
getVotesWithParams
viewfunction getVotesWithParams(address account, uint256 timepoint, bytes params) view returns (uint256)
hashProposal
purefunction hashProposal(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) pure returns (uint256)
hasVoted
viewfunction hasVoted(uint256 proposalId, address account) view returns (bool)
name
viewfunction name() view returns (string)
nonces
viewfunction nonces(address owner) view returns (uint256)
proposalCount
viewfunction proposalCount() view returns (uint256)
proposalDeadline
viewfunction proposalDeadline(uint256 proposalId) view returns (uint256)
proposalDetails
viewfunction proposalDetails(uint256 proposalId) view returns (address[], uint256[], bytes[], bytes32)
proposalDetailsAt
viewfunction proposalDetailsAt(uint256 index) view returns (uint256, address[], uint256[], bytes[], bytes32)
proposalEta
viewfunction proposalEta(uint256 proposalId) view returns (uint256)
proposalNeedsQueuing
viewfunction proposalNeedsQueuing(uint256) view returns (bool)
proposalProposer
viewfunction proposalProposer(uint256 proposalId) view returns (address)
proposalSnapshot
viewfunction proposalSnapshot(uint256 proposalId) view returns (uint256)
proposalThreshold
viewfunction proposalThreshold() view returns (uint256)
proposalVotes
viewfunction proposalVotes(uint256 proposalId) view returns (uint256 againstVotes, uint256 forVotes, uint256 abstainVotes)
quorum
viewfunction quorum(uint256 blockNumber) view returns (uint256)
quorumDenominator
purefunction quorumDenominator() pure returns (uint256)
quorumNumerator
viewfunction quorumNumerator() view returns (uint256)
quorumNumerator
viewfunction quorumNumerator(uint256 timepoint) view returns (uint256)
scoreOf
viewfunction scoreOf(address account) view returns (uint256)
state
viewfunction state(uint256 proposalId) view returns (uint8)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
token
viewfunction token() view returns (address)
totalScore
viewfunction totalScore() view returns (uint256)
version
viewfunction version() view returns (string)
votingDelay
viewfunction votingDelay() view returns (uint256)
votingPeriod
viewfunction votingPeriod() view returns (uint256)
cancel
nonpayablefunction cancel(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns (uint256)
cancel
nonpayablefunction cancel(uint256 proposalId)
castVote
nonpayablefunction castVote(uint256 proposalId, uint8 support) returns (uint256)
castVoteBySig
nonpayablefunction castVoteBySig(uint256 proposalId, uint8 support, address voter, bytes signature) returns (uint256)
castVoteWithReason
nonpayablefunction castVoteWithReason(uint256 proposalId, uint8 support, string reason) returns (uint256)
castVoteWithReasonAndParams
nonpayablefunction castVoteWithReasonAndParams(uint256 proposalId, uint8 support, string reason, bytes params) returns (uint256)
castVoteWithReasonAndParamsBySig
nonpayablefunction castVoteWithReasonAndParamsBySig(uint256 proposalId, uint8 support, address voter, string reason, bytes params, bytes signature) returns (uint256)
execute
payablefunction execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) payable returns (uint256)
execute
payablefunction execute(uint256 proposalId) payable
initialize
nonpayablefunction initialize(string name, address token, address agentNft, uint256 threshold, uint32 votingPeriod_)
onERC1155BatchReceived
nonpayablefunction onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received
nonpayablefunction onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received
nonpayablefunction onERC721Received(address, address, uint256, bytes) returns (bytes4)
propose
nonpayablefunction propose(address[] targets, uint256[] values, bytes[] calldatas, string description) returns (uint256)
queue
nonpayablefunction queue(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns (uint256)
queue
nonpayablefunction queue(uint256 proposalId)
relay
payablefunction relay(address target, uint256 value, bytes data) payable
setProposalThreshold
nonpayablefunction setProposalThreshold(uint256 newProposalThreshold)
setVotingDelay
nonpayablefunction setVotingDelay(uint48 newVotingDelay)
setVotingPeriod
nonpayablefunction setVotingPeriod(uint32 newVotingPeriod)
updateQuorumNumerator
nonpayablefunction updateQuorumNumerator(uint256 newQuorumNumerator)
events
EIP712DomainChanged
event EIP712DomainChanged()
Initialized
event Initialized(uint64 version)
ProposalCanceled
event ProposalCanceled(uint256 proposalId)
ProposalCreated
event ProposalCreated(uint256 proposalId, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 voteStart, uint256 voteEnd, string description)
ProposalExecuted
event ProposalExecuted(uint256 proposalId)
ProposalQueued
event ProposalQueued(uint256 proposalId, uint256 etaSeconds)
ProposalThresholdSet
event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold)
QuorumNumeratorUpdated
event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator)
ValidatorEloRating
event ValidatorEloRating(uint256 proposalId, address voter, uint256 score, uint8[] votes)
VoteCast
event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason)
VoteCastWithParams
event VoteCastWithParams(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason, bytes params)
VotingDelaySet
event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay)
VotingPeriodSet
event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod)
errors
CheckpointUnorderedInsertion
error CheckpointUnorderedInsertion()
ERC5805FutureLookup
error ERC5805FutureLookup(uint256 timepoint, uint48 clock)
FailedInnerCall
error FailedInnerCall()
GovernorAlreadyCastVote
error GovernorAlreadyCastVote(address voter)
GovernorAlreadyQueuedProposal
error GovernorAlreadyQueuedProposal(uint256 proposalId)
GovernorDisabledDeposit
error GovernorDisabledDeposit()
GovernorInsufficientProposerVotes
error GovernorInsufficientProposerVotes(address proposer, uint256 votes, uint256 threshold)
GovernorInvalidProposalLength
error GovernorInvalidProposalLength(uint256 targets, uint256 calldatas, uint256 values)
GovernorInvalidQuorumFraction
error GovernorInvalidQuorumFraction(uint256 quorumNumerator, uint256 quorumDenominator)
GovernorInvalidSignature
error GovernorInvalidSignature(address voter)
GovernorInvalidVoteType
error GovernorInvalidVoteType()
GovernorInvalidVotingPeriod
error GovernorInvalidVotingPeriod(uint256 votingPeriod)
GovernorNonexistentProposal
error GovernorNonexistentProposal(uint256 proposalId)
GovernorNotQueuedProposal
error GovernorNotQueuedProposal(uint256 proposalId)
GovernorOnlyExecutor
error GovernorOnlyExecutor(address account)
GovernorOnlyProposer
error GovernorOnlyProposer(address account)
GovernorQueueNotImplemented
error GovernorQueueNotImplemented()
GovernorRestrictedProposer
error GovernorRestrictedProposer(address proposer)
GovernorUnexpectedProposalState
error GovernorUnexpectedProposalState(uint256 proposalId, uint8 current, bytes32 expectedStates)
InvalidAccountNonce
error InvalidAccountNonce(address account, uint256 currentNonce)
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
QueueEmpty
error QueueEmpty()
QueueFull
error QueueFull()
SafeCastOverflowedUintDowncast
error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value)
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d7329dd6413b7a0b6a380326894ff839903c73cd53c5af43d82803e903d91602b57fd5bf3