basilisk
subscan
Runtime Modules / Exchange
Spec Version:
Call Functions
Name
Lookup
Parameters
sell20005
buy20015
Storage Functions
Name
Type
ExchangeAssetsIntentionCount{"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Blake2_128Concat","value":"u32","isLinked":false}}
ExchangeAssetsIntentions{"origin":"MapType","map_type":{"key":"(AssetId, AssetId)","hasher":"Blake2_128Concat","value":"Vec<Intention>","isLinked":false}}
Constants
Name
Type
Value
max_out_ratiou1280x03000000000000000000000000000000
Error Types
Name
Docs
TokenPoolNotFoundToken pool does not exist.
InsufficientAssetBalance Insufficient asset balance.
TradeAmountExceededLimit Given trading limit has been exceeded (buy).
TradeAmountNotReachedLimit Given trading limit has not been reached (sell).
ZeroSpotPrice Overflow
MinimumTradeLimitNotReached Trade amount is too low.