Name | Lookup | Parameters | |
---|---|---|---|
initialize_pool | 2b00 | 1 | |
set_reference_asset | 2b01 | 1 | |
enable_synthetic_asset | 2b02 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
PoolInitialized | 2b00 | ||
ReferenceAssetChanged | 2b01 |
Name | Type | |
---|---|---|
PermissionedTechAccount | {"origin":"PlainType","plain_type":"TechAccountId"} | |
BaseFee | {"origin":"PlainType","plain_type":"Fixed"} | |
EnabledSynthetics | {"origin":"PlainType","plain_type":"BTreeSet<AssetId>"} | |
ReferenceAssetId | {"origin":"PlainType","plain_type":"AssetId"} | |
CollateralReserves | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"Balance","isLinked":false}} |
Name | Docs |
---|---|
PriceCalculationFailed | An error occurred while calculating the price. |
FailedToCalculatePriceWithoutImpact | Failure while calculating price ignoring non-linearity of liquidity source. |
CannotExchangeWithSelf | The pool can't perform exchange on itself. |
PoolAlreadyInitializedForPair | Attempt to initialize pool for pair that already exists. |
PoolNotInitialized | Attempt to get info for uninitialized pool. |
SlippageLimitExceeded | Indicated limits for slippage has not been met during transaction execution. |
UnsupportedCollateralAssetId | Indicated collateral asset is not enabled for pool. |
FeeCalculationFailed | Could not calculate fee. |
CantExchange | Liquidity source can't exchange assets with the given IDs on the given DEXId. |
IncRefError | Increment account reference error. |