Annex Docs
Search…
Proposal Max Operations
The maximum number of actions that can be included in a proposal. Actions are functions calls that will be made when a proposal succeeds and executes.
Governor Alpha
1
function proposalMaxOperations() returns (uint)
Copied!
  • RETURN: The maximum number of actions that can be included in a proposal.
Solidity
1
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
2
uint operations = gov.proposalMaxOperations();
Copied!
Web3 1.2.6
1
const operations = await gov.methods.proposalMaxOperations().call();
Copied!
Last modified 4mo ago
Copy link