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.

Solidity

GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
uint blocks = gov.votingPeriod();

Web3 1.2.6

const blocks = await gov.methods.votingPeriod().call();

Last updated