Skip to main content

IButtonswapPairErrors

Inherits: IButtonswapERC20Errors

Errors

Locked

Re-entrancy guard prevented method call

error Locked();

Forbidden

User does not have permission for the attempted operation

error Forbidden();

Overflow

Integer maximums exceeded

error Overflow();

Uninitialized

Initial deposit not yet made

error Uninitialized();

InsufficientReservoir

There was not enough liquidity in the reservoir

error InsufficientReservoir();

InsufficientLiquidityMinted

Not enough liquidity was created during mint

error InsufficientLiquidityMinted();

InsufficientLiquidityAdded

Not enough funds added to mint new liquidity

error InsufficientLiquidityAdded();

InsufficientLiquidityBurned

More liquidity must be burned to be redeemed for non-zero amounts

error InsufficientLiquidityBurned();

InsufficientInputAmount

Swap was attempted with zero input

error InsufficientInputAmount();

InsufficientOutputAmount

Swap was attempted with zero output

error InsufficientOutputAmount();

InsufficientLiquidity

Pool doesn't have the liquidity to service the swap

error InsufficientLiquidity();

InvalidRecipient

The specified "to" address is invalid

error InvalidRecipient();

KInvariant

The product of pool balances must not change during a swap (save for accounting for fees)

error KInvariant();

InvalidFinalPrice

The new price ratio after a swap is invalid (one or more of the price terms are zero)

error InvalidFinalPrice();

SingleSidedTimelock

Single sided operations are not executable at this point in time

error SingleSidedTimelock();

SwappableReservoirExceeded

The attempted operation would have swapped reservoir tokens above the current limit

error SwappableReservoirExceeded();

Paused

All operations on the pair other than dual-sided burning are currently paused

error Paused();