Skip to content

New Proposals API

Fabian Chawin Cedrati edited this page Jul 20, 2022 · 16 revisions

ProposeQuorum(uint val, uint groupid)

write

Propose a new quorum:

  • 0 < val < 10
  • groupid: the group id of the proposal

getQuorumProposals(uint groupid)

read, returns:

  • uint proposalId
  • address proposer
  • uint votes
  • bool voted
  • uint timestamp
  • uint quorum

now you can use instance to call the contract methods.

Clone this wiki locally