TokenVoting

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x39ad5cfe at 18690783
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 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

No balances found for "TokenVoting"

No transactions found for "TokenVoting"


Functions
Getter at block 21285692
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 _proposalIdview returns (bool)
canVote(uint256 _proposalIdaddress _voteruint8 _voteOptionview returns (bool)
getProposal(uint256 _proposalIdview returns (bool openbool executedstruct MajorityVotingBaseProposalParameters parametersstruct MajorityVotingBaseTally tallystruct IDAOAction[] actionsuint256 allowFailureMap)
getVoteOption(uint256 _proposalIdaddress _voterview returns (uint8)
isMember(address _accountview returns (bool)
isMinParticipationReached(uint256 _proposalIdview returns (bool)
isSupportThresholdReached(uint256 _proposalIdview returns (bool)
isSupportThresholdReachedEarly(uint256 _proposalIdview returns (bool)
supportsInterface(bytes4 _interfaceIdview returns (bool)
totalVotingPower(uint256 _blockNumberview returns (uint256)
State-modifying
createProposal(bytes _metadatastruct IDAOAction[] _actionsuint256 _allowFailureMapuint64 _startDateuint64 _endDateuint8 _voteOptionbool _tryEarlyExecutionreturns (uint256 proposalId)
execute(uint256 _proposalId
initialize(address _daostruct MajorityVotingBaseVotingSettings _votingSettingsaddress _token
updateVotingSettings(struct MajorityVotingBaseVotingSettings _votingSettings
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
vote(uint256 _proposalIduint8 _voteOptionbool _tryEarlyExecution
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Initialized(uint8 version
MembersAdded(address[] members
MembersRemoved(address[] members
MembershipContractAnnounced(address indexed definingContract
ProposalCreated(uint256 indexed proposalIdaddress indexed creatoruint64 startDateuint64 endDatebytes metadatastruct IDAOAction[] actionsuint256 allowFailureMap
ProposalExecuted(uint256 indexed proposalId
Upgraded(address indexed implementation
VoteCast(uint256 indexed proposalIdaddress indexed voteruint8 voteOptionuint256 votingPower
VotingSettingsUpdated(uint8 votingModeuint32 supportThresholduint32 minParticipationuint64 minDurationuint256 minProposerVotingPower
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
DaoUnauthorized(address daoaddress whereaddress whobytes32 permissionId
DateOutOfBounds(uint64 limituint64 actual
MinDurationOutOfBounds(uint64 limituint64 actual
NoVotingPower(
ProposalCreationForbidden(address sender
ProposalExecutionForbidden(uint256 proposalId
RatioOutOfBounds(uint256 limituint256 actual
VoteCastForbidden(uint256 proposalIdaddress accountuint8 voteOption