⁉️Multipool Errors

IMultipoolErrors

Errors

InvalidForcePushAuthority

Thrown when force push signature verification fails

error InvalidForcePushAuthority();

InvalidTargetShareAuthority

Thrown when target share change initiator is invalid

error InvalidTargetShareAuthority();

ForcePushPriceExpired

Thrown when force push signature verification fails

error ForcePushPriceExpired(uint blockTimestamp, uint priceTimestamp);

Parameters

Name
Type
Description

blockTimestamp

uint256

current block timestamp

priceTimestamp

uint256

signed with price timestamp

ZeroAmountSupplied

Thrown when zero amount supplied for any asset token

error ZeroAmountSupplied();

InsufficientBalance

Thrown when supplied amount is less than required for swap

error InsufficientBalance(address asset);

Parameters

Name
Type
Description

asset

address

asset who's balance is invalid

SleepageExceeded

Thrown when sleepage check for some asset failed

error SleepageExceeded();

AssetsNotSortedOrNotUnique

Thrown when supplied assets have duplicates or are not sorted ascending

error AssetsNotSortedOrNotUnique();

IsPaused

Thrown when contract is paused

error IsPaused();

FeeExceeded

Thrown when supplied native token value for fee expired

error FeeExceeded();

DeviationExceedsLimit

Thrown when any asset's deviation after operation grows and exceeds deviation limit

error DeviationExceedsLimit();

NotEnoughQuantityToBurn

Thrown when contract has less balance of token than is requested for burn

error NotEnoughQuantityToBurn();

NoPriceOriginSet

Is thrown if price feed data is unset

error NoPriceOriginSet();

UniV3PriceFetchingReverted

Is thrown if uniswap v3 twap price fetching resulted in error that was not "OLD"

error UniV3PriceFetchingReverted();

InvalidForcePushSignatureNumber

Is thrown if the number of signatures is lower than threshold

error InvalidForcePushSignatureNumber();

SignaturesNotSortedOrNotUnique

Is thrown if same force push signature is passed twice

error SignaturesNotSortedOrNotUnique();

Last updated