Technical ReferenceContract Functions
Contract Functions
Use these references for the interfaces and constraints of Spectra's contracts.
Governance contracts
| Contract | Purpose |
|---|---|
| VotingEscrow | Holds locked SPECTRA and represents each lock as an NFT. |
| Voting Escrow Aggregator | Reads weighted voting power across registered escrows and wallet-owned NFTs. |
| GovernanceRegistry | Registers escrows, escrow weights, pools, and governance contract addresses. |
| Voter | Manages pool voting and claims of pool voting fees and bribes. |
| VotingReward | Accounts for voting rewards for an escrow and NFT token ID. |
| RewardsDistributor | Records and distributes rebases for lock NFTs. |
Protocol proposal voting and the current emissions policy are described in the governance guide.