Voting Period
The duration of voting on a proposal, in BSC blocks.
function votingPeriod() returns (uint)
- RETURN: The duration of voting on a proposal, in BSC blocks.
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
uint blocks = gov.votingPeriod();
const blocks = await gov.methods.votingPeriod().call();
Last modified 2yr ago