Core Functions

  • Creates a new unique proposal

  • Marks next voting epoch as active if it is the first submitted proposal for the next voting epoch

  • Charges proposal fee

  • Reverts if proposal is not Active

  • Reverts if the current epoch is 0

  • Executes governance action

  • Returns

    • start epoch;

    • end epoch;

    • state;

    • number of NO votes;

    • number of YES votes;

    • proposer address;

    • quorum, number of votes required to meet quorum.

  • Returns one of states:

    • Pending

    • Active

    • Executed

    • Defeated

    • Succeeded

    • Expired

Last updated

Copyright 2024 M^0 Foundation