VotingCheckpoint.sol

View Source: contracts/modules/Checkpoint/Voting/VotingCheckpoint.sol

↗ Extends: VotingCheckpointStorage, ICheckpoint, IVoting, Module ↘ Derived Contracts: PLCRVotingCheckpoint, WeightedVoteCheckpoint

VotingCheckpoint

Events

event ChangedDefaultExemptedVotersList(address indexed _voter, bool  _exempt);

Functions

changeDefaultExemptedVotersList

function changeDefaultExemptedVotersList(address _voter, bool _exempt) external nonpayable withPerm

Arguments

Name

Type

Description

_voter

address

Address of the voter

_exempt

bool

Whether it is exempted or not

changeDefaultExemptedVotersListMulti

function changeDefaultExemptedVotersListMulti(address[] _voters, bool[] _exempts) external nonpayable withPerm

Arguments

Name

Type

Description

_voters

address[]

Address of the voter

_exempts

bool[]

Whether it is exempted or not

_changeDefaultExemptedVotersList

function _changeDefaultExemptedVotersList(address _voter, bool _exempt) internal nonpayable

Arguments

Name

Type

Description

_voter

address

_exempt

bool

getDefaultExemptionVotersList

function getDefaultExemptionVotersList() external view
returns(address[])

Arguments

Name

Type

Description

Last updated