SORA
subscan
Runtime Modules / XSTPool
Spec Version:
Events
Name
Lookup
Attributes
PoolInitialized2b00["DexIdOf","AssetIdOf"]
ReferenceAssetChanged2b01["AssetIdOf"]
SyntheticAssetEnabled2b02["AssetIdOf"]
SyntheticBaseAssetFloorPriceChanged2b03["Balance"]
Storage Functions
Name
Type
PermissionedTechAccount{"origin":"PlainType","plain_type":"common:primitives:TechAccountId","PlainTypeValue":75}
BaseFee{"origin":"PlainType","plain_type":"I128","PlainTypeValue":71}
EnabledSynthetics{"origin":"PlainType","plain_type":"Vec<[U8; 32]>","PlainTypeValue":539}
ReferenceAssetId{"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":63}
CollateralReserves{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"U128","keys_id":63,"value_id":6}}
SyntheticBaseAssetFloorPrice{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Error Types
Name
Docs
PriceCalculationFailedAn error occurred while calculating the price.
FailedToCalculatePriceWithoutImpactFailure while calculating price ignoring non-linearity of liquidity source.
CannotExchangeWithSelfThe pool can't perform exchange on itself.
PoolAlreadyInitializedForPairAttempt to initialize pool for pair that already exists.
PoolNotInitializedAttempt to get info for uninitialized pool.
SlippageLimitExceededIndicated limits for slippage has not been met during transaction execution.
UnsupportedCollateralAssetIdIndicated collateral asset is not enabled for pool.
FeeCalculationFailedCould not calculate fee.
CantExchangeLiquidity source can't exchange assets with the given IDs on the given DEXId.
IncRefErrorIncrement account reference error.