Quantillon Protocol

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GovernanceErrorLibrary

Git Source

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

Errors

InsufficientVotingPower

error InsufficientVotingPower();

VotingPeriodTooShort

error VotingPeriodTooShort();

VotingPeriodTooLong

error VotingPeriodTooLong();

ProposalNotFound

error ProposalNotFound();

ProposalAlreadyExecuted

error ProposalAlreadyExecuted();

ProposalAlreadyCanceled

error ProposalAlreadyCanceled();

VotingNotActive

error VotingNotActive();

AlreadyVoted

error AlreadyVoted();

QuorumNotMet

error QuorumNotMet();

ProposalThresholdNotMet

error ProposalThresholdNotMet();

VotingNotStarted

error VotingNotStarted();

VotingEnded

error VotingEnded();

NoVotingPower

error NoVotingPower();

VotingNotEnded

error VotingNotEnded();

ProposalFailed

error ProposalFailed();

ProposalExecutionFailed

error ProposalExecutionFailed();

ProposalCanceled

error ProposalCanceled();

ProposalAlreadyScheduled

error ProposalAlreadyScheduled();

ProposalNotScheduled

error ProposalNotScheduled();

InvalidExecutionHash

error InvalidExecutionHash();

ExecutionTimeNotReached

error ExecutionTimeNotReached();

InvalidDescription

error InvalidDescription();

ExpiredDeadline

error ExpiredDeadline();

InvalidRebalancing

error InvalidRebalancing();

RateLimitTooHigh

error RateLimitTooHigh();

InvalidAmount

error InvalidAmount();

InvalidTime

error InvalidTime();

LockTimeTooShort

error LockTimeTooShort();

LockTimeTooLong

error LockTimeTooLong();