Proposal Max Operations
The predefined number of functions a Onyx Improvement Proposal (OIP) may contain.
Function Implementation in CHNGovernance
CHNGovernanceFunction Signature
function proposalMaxOperations() public pure returns (uint)Example Solidity Implementation
CHNGovernance gov = CHNGovernance(0x123...); // Contract address of CHNGovernance
uint operations = gov.proposalMaxOperations();Web3.js Implementation (v1.2.6)
const operations = await gov.methods.proposalMaxOperations().call();Technical Considerations
Last updated
