SORA
subscan
Runtime Modules / TradingPair
Spec Version:
Call Functions
Name
Lookup
Parameters
register13003
Events
Name
Lookup
Attributes
TradingPairStored1300
Storage Functions
Name
Type
EnabledSources{"origin":"DoubleMapType","double_map_type":{"key":"DEXId","key2":"TradingPair","hasher":"Twox64Concat","key2Hasher":"Blake2_128Concat","value":"BTreeSet<LiquiditySourceType>","isLinked":false}}
Error Types
Name
Docs
TradingPairExists Registering trading pair already exists.
ForbiddenBaseAssetId The specified base asset ID for the trading pair is not allowed.
IdenticalAssetIds The specified base asset ID is the same as target asset ID.
TradingPairDoesntExist Trading pair is not registered for given DEXId.