Skip to main content

Governance contracts

Smart contract documentation for the ve(3,3) governance system.

For user-facing documentation, see Governance.


Contracts

ContractPurpose
CreatorGaugeControllerFee collection and distribution
VaultGaugeVotingWeekly epoch voting
ve4626Vote-escrowed token
VoterRewardsDistributorEpoch reward claims
BribeDepotExternal vote incentives

Contract relationships

ve4626 holders

│ Vote for vaults

┌─────────────────┐
│ VaultGaugeVoting│
│ (weekly epochs) │
└─────────────────┘

│ Directs probability

┌─────────────────┐ ┌─────────────────┐
│ LotteryManager │ │ GaugeController │
│ (jackpot draws) │◄─────│ (fee routing) │
└─────────────────┘ └─────────────────┘


┌─────────────────┐
│ VoterRewards │
│ Distributor │
└─────────────────┘