Quantillon Protocol

GovernanceErrorLibrary

Git Source

Title: GovernanceErrorLibrary

Author: Quantillon Labs - Nicolas Bellengé - @chewbaccoin

Governance-specific errors for QTIToken governance system

Main characteristics:

  • Errors specific to governance operations
  • Voting and proposal management errors
  • Timelock and execution errors
  • MEV protection errors

Note: security-contact: team@quantillon.money

Constants

VERSION

Library version (semver); see deployments/{chainId}/versions.json for provenance.

string internal constant VERSION = "1.0.0"

Errors

InsufficientVotingPower

error InsufficientVotingPower();

ProposalNotFound

error ProposalNotFound();

VotingNotActive

error VotingNotActive();

ProposalThresholdNotMet

error ProposalThresholdNotMet();

ProposalExecutionFailed

error ProposalExecutionFailed();

ProposalAlreadyScheduled

error ProposalAlreadyScheduled();

ProposalNotScheduled

error ProposalNotScheduled();

InvalidExecutionHash

error InvalidExecutionHash();

ExecutionTimeNotReached

error ExecutionTimeNotReached();

InvalidDescription

error InvalidDescription();

ExpiredDeadline

error ExpiredDeadline();

InvalidRebalancing

error InvalidRebalancing();