Skip to content

Error ​

FluidDexError ​

solidity
error FluidDexError(uint256 errorId_)

FluidDexFactoryError ​

solidity
error FluidDexFactoryError(uint256 errorId)

FluidDexSwapResult ​

solidity
error FluidDexSwapResult(uint256 amountOut)

used to simulate swap to find the output amount

FluidDexPerfectLiquidityOutput ​

solidity
error FluidDexPerfectLiquidityOutput(uint256 token0Amt, uint256 token1Amt)

FluidDexSingleTokenOutput ​

solidity
error FluidDexSingleTokenOutput(uint256 tokenAmt)

FluidDexLiquidityOutput ​

solidity
error FluidDexLiquidityOutput(uint256 shares_)

FluidDexPricesAndExchangeRates ​

solidity
error FluidDexPricesAndExchangeRates(struct Structs.PricesAndExchangePrice pex_)