Skip to main content

Design

The main design principle for x/dgov module is to keep the well tested and wildly usedx/gov module as is and add D-Chain's unique Oversight Committee functionality on top of it.

Main differences:

  • Introduce additional period after an original gov proposal has passed (by votes from native token stakers) that allows the Oversight Committee to decline the execution of the passed proposal. By default, all passed proposals are executed if Oversight Committee do not interfere.

  • Introduce a state where a list of disallowed message types are stored, only message types NOT on this list can be performed by the Oversight Committee in case of emergency proposal execution

  • Introduce new emergency proposal execution path that allows the Oversight Committee to make an emergency decision without voting from the native token staker, i.e. does not follow the normal gov proposal process.

Interaction of OversightCommittee with x/dgov (wrapped x/gov)

State Diagram of a Proposal on D-Chain