AUT_EXT_VotingRoles_v1.sol
State Variables
MAX_VOTING_DURATION
uint public constant MAX_VOTING_DURATION = 2 weeks;MIN_VOTING_DURATION
uint public constant MIN_VOTING_DURATION = 1 days;isVoter
mapping(address => bool) public isVoter;motions
motionCount
voterCount
threshold
voteDuration
__gap
Functions
supportsInterface
onlySelf
onlyVoter
isValidVoterAddress
Name
Type
Description
init
getReceipt
Name
Type
Description
Name
Type
Description
setThreshold
Name
Type
Description
setVotingDuration
Name
Type
Description
addVoter
Name
Type
Description
addVoterAndUpdateThreshold
Name
Type
Description
removeVoter
Name
Type
Description
removeVoterAndUpdateThreshold
Name
Type
Description
_removeVoter
Name
Type
Description
createMotion
Name
Type
Description
Name
Type
Description
castVote
Name
Type
Description
executeMotion
Name
Type
Description
_validateThreshold
Name
Type
Description
Last updated