Proposal Threshold
Onyx Governance Proposal Threshold for XCN Stakers.
Function Implementation in CHNGovernance
CHNGovernanceFunction Signature
function proposalThreshold() public view returns (uint)Example Solidity Implementation
CHNGovernance gov = CHNGovernance(0x123...); // Contract address of CHNGovernance
uint threshold = gov.proposalThreshold();Web3.js Implementation (v1.2.6)
const threshold = await gov.methods.proposalThreshold().call();Technical Considerations
Last updated
