Skip to content

Error ​

Git Source

Errors ​

FluidDexError ​

solidity
error FluidDexError(uint256 errorId_);

FluidDexFactoryError ​

solidity
error FluidDexFactoryError(uint256 errorId);

FluidDexSwapResult ​

used to simulate swap to find the output amount

solidity
error FluidDexSwapResult(uint256 amountOut);

FluidDexPerfectLiquidityOutput ​

solidity
error FluidDexPerfectLiquidityOutput(uint256 token0Amt, uint256 token1Amt);

FluidDexSingleTokenOutput ​

solidity
error FluidDexSingleTokenOutput(uint256 tokenAmt);

FluidDexLiquidityOutput ​

solidity
error FluidDexLiquidityOutput(uint256 shares_);

FluidDexPricesAndExchangeRates ​

solidity
error FluidDexPricesAndExchangeRates(Structs.PricesAndExchangePrice pex_);