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

TokenErrorLibrary

Git Source

Author: Quantillon Labs - Nicolas Bellengé - @chewbaccoin

Token-specific errors for QEURO, QTI, and stQEURO tokens

Main characteristics:

  • Errors specific to token operations
  • Minting and burning errors
  • Blacklist and whitelist errors
  • Supply and cap management errors

Note: security-contact: team@quantillon.money

Errors

MintingDisabled

error MintingDisabled();

BlacklistedAddress

error BlacklistedAddress();

NotWhitelisted

error NotWhitelisted();

WouldExceedLimit

error WouldExceedLimit();

CannotRecoverQEURO

error CannotRecoverQEURO();

CannotRecoverQTI

error CannotRecoverQTI();

NewCapBelowCurrentSupply

error NewCapBelowCurrentSupply();

LockTimeTooShort

error LockTimeTooShort();

LockTimeTooLong

error LockTimeTooLong();

LockNotExpired

error LockNotExpired();

NothingToUnlock

error NothingToUnlock();

InsufficientBalance

error InsufficientBalance();

InvalidAmount

error InvalidAmount();

InvalidTime

error InvalidTime();

RateLimitExceeded

error RateLimitExceeded();

AlreadyBlacklisted

error AlreadyBlacklisted();

NotBlacklisted

error NotBlacklisted();

AlreadyWhitelisted

error AlreadyWhitelisted();

PrecisionTooHigh

error PrecisionTooHigh();

TooManyDecimals

error TooManyDecimals();

InvalidAddress

error InvalidAddress();

TokenTransferFailed

error TokenTransferFailed();

ArrayLengthMismatch

error ArrayLengthMismatch();

BatchSizeTooLarge

error BatchSizeTooLarge();

RateLimitTooHigh

error RateLimitTooHigh();

InsufficientVotingPower

error InsufficientVotingPower();

VotingPeriodTooShort

error VotingPeriodTooShort();

VotingPeriodTooLong

error VotingPeriodTooLong();

VotingNotStarted

error VotingNotStarted();

VotingEnded

error VotingEnded();

AlreadyVoted

error AlreadyVoted();

NoVotingPower

error NoVotingPower();

VotingNotEnded

error VotingNotEnded();

ProposalAlreadyExecuted

error ProposalAlreadyExecuted();

ProposalCanceled

error ProposalCanceled();

ProposalFailed

error ProposalFailed();

QuorumNotMet

error QuorumNotMet();

NotAuthorized

error NotAuthorized();

ProposalAlreadyCanceled

error ProposalAlreadyCanceled();

ZeroAddress

error ZeroAddress();

CannotRecoverOwnToken

error CannotRecoverOwnToken();

NoETHToRecover

error NoETHToRecover();

InvalidAdmin

error InvalidAdmin();

InvalidToken

error InvalidToken();

InvalidTreasury

error InvalidTreasury();

AboveLimit

error AboveLimit();