Voting Delay

The number of BSC blocks to wait before voting on a proposal may begin. This value is added to the current block number when a proposal is created.

function votingDelay() returns (uint)
  • RETURN: Number of blocks to wait before voting on a proposal may begin.

Solidity

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

Web3 1.2.6

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

Last updated