PLCRVotingCheckpoint.sol
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ,
PLCRVotingCheckpoint
Events
Arguments
Name
Type
Description
_securityToken
address
_polyAddress
address
Use to create the ballot
Arguments
Name
Type
Description
_commitDuration
uint256
Unix time period till the voters commit there vote
_revealDuration
uint256
Unix time period till the voters reveal there vote starts when commit duration ends
_noOfProposals
uint256
Total number of proposal used in the ballot. In general it is 2 (For & Against)
_quorumPercentage
uint256
Minimum number of weight vote percentage requires to win a election.
Use to create the ballot
Arguments
Name
Type
Description
_commitDuration
uint256
Unix time period till the voters commit there vote
_revealDuration
uint256
Unix time period till the voters reveal there vote starts when commit duration ends
_noOfProposals
uint256
Total number of proposal used in the ballot. In general it is 2 (For & Against)
_quorumPercentage
uint256
Minimum number of weight vote percentage requires to win a election.
_checkpointId
uint256
Valid checkpoint Id
_startTime
uint256
startTime of the ballot
Arguments
Name
Type
Description
_commitDuration
uint256
_revealDuration
uint256
_noOfProposals
uint256
_quorumPercentage
uint256
_checkpointId
uint256
_startTime
uint256
Used to commit the vote
Arguments
Name
Type
Description
_ballotId
uint256
Given ballot Id
_secretVote
bytes32
It is secret hash value (hashed offchain)
Used to reveal the vote
Arguments
Name
Type
Description
_ballotId
uint256
Given ballot Id
_choiceOfProposal
uint256
Proposal chossed by the voter. It varies from (1 to totalProposals)
_salt
uint256
used salt for hashing (unique for each user)
Arguments
Name
Type
Description
_ballotId
uint256
Given ballot Id
_voter
address
Address of the voter
_exempt
bool
Whether it is exempted or not
Arguments
Name
Type
Description
_ballotId
uint256
Given ballot Id
_voters
address[]
Address of the voter
_exempts
bool[]
Whether it is exempted or not
Arguments
Name
Type
Description
_ballotId
uint256
_voter
address
_exempt
bool
Returns
bool
Arguments
Name
Type
Description
_ballotId
uint256
The index of the target ballot
_voter
address
Address of the voter
Allows the token issuer to set the active stats of a ballot
Arguments
Name
Type
Description
_ballotId
uint256
The index of the target ballot
_isActive
bool
The bool value of the active stats of the ballot
Used to get the current stage of the ballot
Arguments
Name
Type
Description
_ballotId
uint256
Given ballot Id
Queries the result of a given ballot
Returns
uint256 voteWeighting
Arguments
Name
Type
Description
_ballotId
uint256
Id of the target ballot
Get the voted proposal
Arguments
Name
Type
Description
_ballotId
uint256
Id of the ballot
_voter
address
Address of the voter
Get the details of the ballot
Returns
uint256 quorum
Arguments
Name
Type
Description
_ballotId
uint256
The index of the target ballot
Arguments
Name
Type
Description
_ballotId
uint256
Id of a ballot
This function returns the signature of configure function
Arguments
Name
Type
Description
Return the permissions flag that are associated with CountTransferManager
Arguments
Name
Type
Description
Arguments
Name
Type
Description
_value
uint256
Arguments
Name
Type
Description
_ballotId
uint256
Arguments
Name
Type
Description
_ballotId
uint256
_stage
enum PLCRVotingCheckpointStorage.Stage
⤾ overrides
⤾ overrides
⤾ overrides
⤾ overrides
⤾ overrides
⤾ overrides