TokenVoting
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 46 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "TokenVoting"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TokenVoting"
ABI
ABI objects
Getter at block 22915174
UPDATE_VOTING_SETTINGS_PERMISSION_ID() view returns (bytes32)
0xbba35d41610b7d25c8e486006535c76bd423091563e694d206ae3d71ce949fe5
UPGRADE_PLUGIN_PERMISSION_ID() view returns (bytes32)
0x821b6e3a557148015a918c89e5d092e878a69854a2d1a410635f771bd5a8a3f5
dao() view returns (address)
0x0000000000000000000000000000000000000000
getVotingToken() view returns (address)
0x0000000000000000000000000000000000000000
implementation() view returns (address)
0x0000000000000000000000000000000000000000
minDuration() view returns (uint64)
0
minParticipation() view returns (uint32)
0
minProposerVotingPower() view returns (uint256)
0
pluginType() pure returns (uint8)
0
proposalCount() view returns (uint256)
0
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
supportThreshold() view returns (uint32)
0
votingMode() view returns (uint8)
0
Read-only
canExecute(uint256 _proposalId) view returns (bool)
canVote(uint256 _proposalId, address _voter, uint8 _voteOption) view returns (bool)
getProposal(uint256 _proposalId) view returns (bool open, bool executed, struct MajorityVotingBaseProposalParameters parameters, struct MajorityVotingBaseTally tally, struct IDAOAction[] actions, uint256 allowFailureMap)
getVoteOption(uint256 _proposalId, address _voter) view returns (uint8)
isMember(address _account) view returns (bool)
isMinParticipationReached(uint256 _proposalId) view returns (bool)
isSupportThresholdReached(uint256 _proposalId) view returns (bool)
isSupportThresholdReachedEarly(uint256 _proposalId) view returns (bool)
supportsInterface(bytes4 _interfaceId) view returns (bool)
totalVotingPower(uint256 _blockNumber) view returns (uint256)
State-modifying
Events createProposal(bytes _metadata, struct IDAOAction[] _actions, uint256 _allowFailureMap, uint64 _startDate, uint64 _endDate, uint8 _voteOption, bool _tryEarlyExecution) returns (uint256 proposalId)
execute(uint256 _proposalId)
initialize(address _dao, struct MajorityVotingBaseVotingSettings _votingSettings, address _token)
updateVotingSettings(struct MajorityVotingBaseVotingSettings _votingSettings)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
vote(uint256 _proposalId, uint8 _voteOption, bool _tryEarlyExecution)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
MembersAdded(address[] members)
MembersRemoved(address[] members)
MembershipContractAnnounced(address indexed definingContract)
ProposalCreated(uint256 indexed proposalId, address indexed creator, uint64 startDate, uint64 endDate, bytes metadata, struct IDAOAction[] actions, uint256 allowFailureMap)
ProposalExecuted(uint256 indexed proposalId)
Upgraded(address indexed implementation)
VoteCast(uint256 indexed proposalId, address indexed voter, uint8 voteOption, uint256 votingPower)
VotingSettingsUpdated(uint8 votingMode, uint32 supportThreshold, uint32 minParticipation, uint64 minDuration, uint256 minProposerVotingPower)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
DaoUnauthorized(address dao, address where, address who, bytes32 permissionId)
DateOutOfBounds(uint64 limit, uint64 actual)
MinDurationOutOfBounds(uint64 limit, uint64 actual)
NoVotingPower()
ProposalCreationForbidden(address sender)
ProposalExecutionForbidden(uint256 proposalId)
RatioOutOfBounds(uint256 limit, uint256 actual)
VoteCastForbidden(uint256 proposalId, address account, uint8 voteOption)