Module pallet_xyk::pallet::dispatchables
source · Expand description
Auto-generated docs-only module listing all defined dispatchables for this pallet.
Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation
purposes. To see the real version of each dispatchable, look for them in Pallet
or
Call
.
Functions
- Warning: Doc-Only
- Executes buy_asset swap. First the swap is prevalidated, if it is successful then the extrinsic is accepted. Beyond this point the exchange commission will be charged. The bought of the bought asset is used to determine the sold asset amount. If the sold asset amount is higher than the max_amount_in then it will fail on slippage. The percentage exchange commission is still charged even if the swap fails on slippage. Though the swap itself will be a no-op. The slippage is calculated based upon the sold asset amount. Upon slippage failure, the extrinsic is marked “successful”, but an event for the failure is emitted
- Warning: Doc-Only
- Warning: Doc-Only
- Warning: Doc-Only
- Warning: Doc-Only
- Warning: Doc-Only
- Executes a multiswap buy asset in a series of buy asset atomic swaps.
- Executes a multiswap sell asset in a series of sell asset atomic swaps.
- Warning: Doc-Only
- Executes sell_asset swap. First the swap is prevalidated, if it is successful then the extrinsic is accepted. Beyond this point the exchange commission will be charged. The sold amount of the sold asset is used to determine the bought asset amount. If the bought asset amount is lower than the min_amount_out then it will fail on slippage. The percentage exchange commission is still charged even if the swap fails on slippage. Though the swap itself will be a no-op. The slippage is calculated based upon the sold_asset_amount. Upon slippage failure, the extrinsic is marked “successful”, but an event for the failure is emitted