Governance

The Governance module manages the contracts that run Ubeswap.

Contracts

The Governance module contains several important contracts:

  • UbeToken: governance token; based on Uni

  • RomulusDelgate: This is a DAO governance contract similar to Compound Governance Alpha

  • Timelock: based on the Uniswap timelock contract; ensures a minimum of 2 days must pass between the time an admin transaction is created and posted and the time that the transaction is executed.

A diff between Uni governance contracts and Ubeswap is available herearrow-up-right.

UbeToken

The UbeToken is the governance token of Ubeswap, used to vote on the direction of the protocol.

The token is largely based on the Uni token; however, we have decomposed the contract into a series of contracts inherited from each other:

We were careful to preserve whitespace on VotingPower and TransferrableVotingToken, as the code was copy/pasted from Uniarrow-up-right.

Deployment (New)

There are 6 steps to the deployment (these are the deployment steps of new tokenomics)

Last updated