Fortress
Search…
Voting Period
The duration of voting on a proposal, in BSC blocks.
1
function votingPeriod() returns (uint)
Copied!
  • RETURN: The duration of voting on a proposal, in BSC blocks.

Solidity

1
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
2
uint blocks = gov.votingPeriod();
Copied!

Web3 1.2.6

1
const blocks = await gov.methods.votingPeriod().call();
Copied!
Last modified 9mo ago
Copy link