8 txs
10 calls
constructor
constructor()
functions
BALLOT_TYPEHASH
viewfunction BALLOT_TYPEHASH() view returns (bytes32)
COUNTING_MODE
purefunction COUNTING_MODE() pure returns (string)
getManager
viewfunction getManager() view returns (address)
getVotes
viewfunction getVotes(address account, uint256 blockNumber) 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)
isAllowedContracts
viewfunction isAllowedContracts(address[] targets) view returns (bool)
isManagerProposal
viewfunction isManagerProposal(uint256 proposalId) view returns (bool)
name
viewfunction name() view returns (string)
proposalDeadline
viewfunction proposalDeadline(uint256 proposalId) view returns (uint256)
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
viewfunction quorumDenominator() view returns (uint256)
quorumNumerator
viewfunction quorumNumerator() 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)
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)
castVote
nonpayablefunction castVote(uint256 proposalId, uint8 support) returns (uint256)
castVoteBySig
nonpayablefunction castVoteBySig(uint256 proposalId, uint8 support, uint8 v, bytes32 r, bytes32 s) returns (uint256)
castVoteWithReason
nonpayablefunction castVoteWithReason(uint256 proposalId, uint8 support, string reason) returns (uint256)
execute
payablefunction execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) payable returns (uint256)
initialize
nonpayablefunction initialize(address _token, address _firstManager, address[] _allowed, uint256 _votingPeriod, string _contractName)
propose
nonpayablefunction propose(address[] targets, uint256[] values, bytes[] calldatas, string description) returns (uint256)
relay
nonpayablefunction relay(address target, uint256 value, bytes data)
resignAsManager
nonpayablefunction resignAsManager()
setAllowContract
nonpayablefunction setAllowContract(address contractAddress, bool allow)
setManager
nonpayablefunction setManager(address _newManager)
setProposalThreshold
nonpayablefunction setProposalThreshold(uint256 newProposalThreshold)
setVotingDelay
nonpayablefunction setVotingDelay(uint256 newVotingDelay)
setVotingPeriod
nonpayablefunction setVotingPeriod(uint256 newVotingPeriod)
updateQuorumNumerator
nonpayablefunction updateQuorumNumerator(uint256 newQuorumNumerator)
events
Initialized
event Initialized(uint8 version)
ProposalCanceled
event ProposalCanceled(uint256 proposalId)
ProposalCreated
event ProposalCreated(uint256 proposalId, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 startBlock, uint256 endBlock, string description)
ProposalExecuted
event ProposalExecuted(uint256 proposalId)
ProposalThresholdSet
event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold)
QuorumNumeratorUpdated
event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator)
VoteCast
event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason)
VotingDelaySet
event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay)
VotingPeriodSet
event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod)
errors
No errors.
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d7306005fd505b752797a99392908efe67721c266835af43d82803e903d91602b57fd5bf3