Annex Docs
Search…
Voting Delay
The number of Ethereum blocks to wait before voting on a proposal may begin. This value is added to the current block number when a proposal is created.
Governor Alpha
1
function votingDelay() returns (uint)
Copied!
  • RETURN: Number of blocks to wait before voting on a proposal may begin.
Solidity
1
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
2
uint blocks = gov.votingDelay();
Copied!
Web3 1.2.6
1
const blocks = await gov.methods.votingDelay().call();
Copied!
Last modified 4mo ago
Copy link