Strike Docs
Search…
Proposal Threshold
The minimum number of votes required for an account to create a proposal.
Governor Alpha
1
function proposalThreshold() returns (uint)
Copied!
    RETURN: The minimum number of votes required for an account to create a proposal.
Solidity
1
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
2
uint threshold = gov.proposalThreshold();
Copied!
Web3 1.2.6
1
const threshold = await gov.methods.proposalThreshold().call();
Copied!
Last modified 8mo ago
Copy link