SORA
subscan
Runtime Modules / XSTPool
Spec Version:
Events
Name
Lookup
Attributes
ReferenceAssetChanged2b00["AssetIdOf"]
SyntheticAssetEnabled2b01["AssetIdOf","Symbol"]
SyntheticAssetDisabled2b02["AssetIdOf"]
SyntheticAssetFeeChanged2b03["AssetIdOf","Fixed"]
SyntheticBaseAssetFloorPriceChanged2b04["Balance"]
SyntheticAssetRemoved2b05["AssetIdOf","Symbol"]
Storage Functions
Name
Type
EnabledSynthetics{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"xst:SyntheticInfo","keys_id":67,"value_id":723}}
EnabledSymbols{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"[U8; 32]","keys_id":124,"value_id":67}}
ReferenceAssetId{"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":67}
CollateralReserves{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"U128","keys_id":67,"value_id":6}}
SyntheticBaseAssetFloorPrice{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Constants
Name
Type
Value
GetSyntheticBaseBuySellLimitU128ffffffffffffffffffffffffffffffff
Error Types
Name
Docs
PriceCalculationFailedAn error occurred while calculating the price.
SlippageLimitExceededIndicated limits for slippage has not been met during transaction execution.
CantExchangeLiquidity source can't exchange assets with the given IDs on the given DEXId.
SyntheticDoesNotExistSynthetic asset does not exist.
SymbolDoesNotExistAttempt to enable synthetic asset with inexistent symbol.
SymbolAlreadyReferencedToSyntheticAttempt to enable synthetic asset with symbolthat is already referenced to another synthetic.
SyntheticIsNotEnabledAttempt to disable synthetic asset that is not enabled.
OracleQuoteErrorError quoting price from oracle.
InvalidFeeRatioInvalid fee ratio value.
IndivisibleReferenceAssetReference asset must be divisible
CantEnableIndivisibleAssetSynthetic asset must be divisible
SyntheticBaseBuySellLimitExceededInput/output amount of synthetic base asset exceeds the limit