IAUT_EXT_VotingRoles_v1.sol
Functions
MAX_VOTING_DURATION
function MAX_VOTING_DURATION() external view returns (uint);Name
Type
Description
MIN_VOTING_DURATION
function MIN_VOTING_DURATION() external view returns (uint);Name
Type
Description
isVoter
function isVoter(address who) external view returns (bool);Name
Type
Description
Name
Type
Description
addVoter
Name
Type
Description
addVoterAndUpdateThreshold
Name
Type
Description
removeVoter
Name
Type
Description
removeVoterAndUpdateThreshold
Name
Type
Description
motions
Name
Type
Description
Name
Type
Description
motionCount
Name
Type
Description
voterCount
Name
Type
Description
threshold
Name
Type
Description
getReceipt
Name
Type
Description
Name
Type
Description
voteDuration
Name
Type
Description
setThreshold
Name
Type
Description
setVotingDuration
Name
Type
Description
createMotion
Name
Type
Description
Name
Type
Description
castVote
Name
Type
Description
executeMotion
Name
Type
Description
Events
VoterAdded
Name
Type
Description
VoterRemoved
Name
Type
Description
ThresholdUpdated
Name
Type
Description
VoteDurationUpdated
Name
Type
Description
MotionCreated
Name
Type
Description
VoteCast
Name
Type
Description
MotionExecuted
Name
Type
Description
Errors
Module__VotingRoleManager__EmptyVoters
Module__VotingRoleManager__InvalidVoterAddress
Module__VotingRoleManager__InvalidThreshold
Module__VotingRoleManager__InvalidVotingDuration
Module__VotingRoleManager__CallerNotVoter
Module__VotingRoleManager__IsAlreadyVoter
Module__VotingRoleManager__InvalidSupport
Module__VotingRoleManager__InvalidMotionId
Module__VotingRoleManager__AttemptedDoubleVote
Module__VotingRoleManager__MotionInVotingPhase
Module__VotingRoleManager__MotionVotingPhaseClosed
Module__VotingRoleManager__MotionAlreadyExecuted
Module__VotingRoleManager__ThresholdNotReached
Structs
Motion
Name
Type
Description
Receipt
Name
Type
Description
Last updated