Name | Lookup | Parameters | |
---|---|---|---|
set_reference_asset | 2b00 | 1 | |
enable_synthetic_asset | 2b01 | 3 | |
register_synthetic_asset | 2b02 | 4 | |
disable_synthetic_asset | 2b03 | 1 | |
remove_synthetic_asset | 2b04 | 1 | |
set_synthetic_asset_fee | 2b05 | 2 | |
set_synthetic_base_asset_floor_price | 2b06 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ReferenceAssetChanged | 2b00 | ["AssetIdOf"] | |
SyntheticAssetEnabled | 2b01 | ["AssetIdOf","Symbol"] | |
SyntheticAssetDisabled | 2b02 | ["AssetIdOf"] | |
SyntheticAssetFeeChanged | 2b03 | ["AssetIdOf","Fixed"] | |
SyntheticBaseAssetFloorPriceChanged | 2b04 | ["Balance"] | |
SyntheticAssetRemoved | 2b05 | ["AssetIdOf","Symbol"] |
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} |
Name | Type | Value | |
---|---|---|---|
GetSyntheticBaseBuySellLimit | U128 | ffffffffffffffffffffffffffffffff |
Name | Docs |
---|---|
PriceCalculationFailed | An error occurred while calculating the price. |
SlippageLimitExceeded | Indicated limits for slippage has not been met during transaction execution. |
CantExchange | Liquidity source can't exchange assets with the given IDs on the given DEXId. |
SyntheticDoesNotExist | Synthetic asset does not exist. |
SymbolDoesNotExist | Attempt to enable synthetic asset with inexistent symbol. |
SymbolAlreadyReferencedToSynthetic | Attempt to enable synthetic asset with symbolthat is already referenced to another synthetic. |
SyntheticIsNotEnabled | Attempt to disable synthetic asset that is not enabled. |
OracleQuoteError | Error quoting price from oracle. |
InvalidFeeRatio | Invalid fee ratio value. |
IndivisibleReferenceAsset | Reference asset must be divisible |
CantEnableIndivisibleAsset | Synthetic asset must be divisible |
SyntheticBaseBuySellLimitExceeded | Input/output amount of synthetic base asset exceeds the limit |