SORA
subscan
Runtime Modules / LiquidityProxy
Spec Version:
Events
Name
Lookup
Attributes
Exchange1a00["AccountIdOf","DexIdOf","AssetIdOf","AssetIdOf","Balance","Balance","OutcomeFee<AssetIdOf, Balance>","Vec<LiquiditySourceIdOf>"]
LiquiditySourceEnabled1a01["LiquiditySourceType"]
LiquiditySourceDisabled1a02["LiquiditySourceType"]
BatchSwapExecuted1a03["Balance","Balance","Option<BoundedVec<u8, MaxAdditionalDataLengthSwapTransferBatch>>"]
XorlessTransfer1a04["AssetIdOf","AccountIdOf","AccountIdOf","Balance","Option<BoundedVec<u8, MaxAdditionalDataLengthXorlessTransfer>>"]
ADARFeeWithdrawn1a05["AssetIdOf","Balance"]
Error Types
Name
Docs
UnavailableExchangePathNo route exists in a given DEX for given parameters to carry out the swap
MaxFeeExceededMax fee exceeded
InvalidFeeValueFee value outside of the basis points range [0..10000]
InsufficientLiquidityNone of the sources has enough reserves to execute a trade
AggregationErrorPath exists but it's not possible to perform exchange with currently available liquidity on pools.
CalculationErrorSpecified parameters lead to arithmetic error
SlippageNotToleratedSlippage either exceeds minimum tolerated output or maximum tolerated input.
ForbiddenFilterSelected filtering request is not allowed.
FailedToCalculatePriceWithoutImpactFailure while calculating price ignoring non-linearity of liquidity source.
UnableToSwapIndivisibleAssetsUnable to swap indivisible assets
UnableToEnableLiquiditySourceUnable to enable liquidity source
LiquiditySourceAlreadyEnabledLiquidity source is already enabled
UnableToDisableLiquiditySourceUnable to disable liquidity source
LiquiditySourceAlreadyDisabledLiquidity source is already disabled
InvalidReceiversInfo
FailedToTransferAdarCommission
InvalidADARCommissionRatio
InsufficientBalance
TheSameSenderAndReceiver