SORA
subscan
Runtime Modules / TradingPair
Spec Version:
Call Functions
Name
Lookup
Parameters
register14003
Events
Name
Lookup
Attributes
TradingPairStored1400["DexIdOf","TradingPair"]
Storage Functions
Name
Type
EnabledSources{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["U32","common:primitives:TradingPair@71"],"value":"Vec<common:primitives:LiquiditySourceType>","keys_id":625,"value_id":626}}
LockedLiquiditySources{"origin":"PlainType","plain_type":"Vec<common:primitives:LiquiditySourceType>","PlainTypeValue":330}
Error Types
Name
Docs
TradingPairExistsRegistering trading pair already exists.
ForbiddenBaseAssetIdThe specified base asset ID for the trading pair is not allowed.
IdenticalAssetIdsThe specified base asset ID is the same as target asset ID.
TradingPairDoesntExistTrading pair is not registered for given DEXId.