Last updated
Last updated
Inherits: IAUT_EXT_VotingRoles_v1, Module_v1
Author: Inverter Network
Facilitates voting and motion management within the Inverter Network, allowing designated voters to participate in governance through proposals, voting, and execution of decisions.
Supports setting thresholds for decision-making, managing voter lists, creating motions, casting votes, and executing actions based on collective decisions. This structure enhances governance transparency and efficacy.
The maximum voting duration.
The minimum voting duration.
Checks whether an address is a voter.
Gets the motion data.
Gets the number of motions.
Gets the number of voters.
Gets the threshold.
Gets the voting duration.
Storage gap for future upgrades.
See {IERC165-supportsInterface}.
Reverts if caller is not the module itself.
Reverts if caller is not a voter.
Reverts if voter address is invalid.
Parameters
Gets the receipt of a voter for a motion.
Parameters
Returns
Sets the threshold.
Parameters
Sets the voting duration.
Parameters
Adds a voter.
Parameters
Adds a voter and updates the threshold.
Parameters
Removes a voter.
Parameters
Removes a voter and updates the threshold.
Parameters
Removes a voter from the list of voters.
Parameters
Creates a motion.
Parameters
Returns
Casts a vote for a motion.
Parameters
Executes a motion.
Parameters
Internal function to validate the threshold.
Parameters