PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/assetConversion
Просмотр файла: createPool.d.ts
import { AnyJson } from '@polkadot/types/types';
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface CreatePoolArgs extends Args {
/**
* The identifier of the first asset of the pool.
*/
asset1: AnyJson;
/**
* The identifier of the second asset of the pool.
*/
asset2: AnyJson;
}
/**
* Creates an empty liquidity pool and an associated new `lpToken` asset.
*
* Once a pool is created, anyone may add liquidity to it.
*
* @param args - Arguments specific to this method.
* @param info - Information required to construct the transaction.
* @param options - Registry and metadata used for constructing the method.
*/
export declare function createPool(args: CreatePoolArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!