PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools

Просмотр файла: create.d.ts

import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface NominationPoolsCreate extends Args {
    /**
     * The amount of funds to delegate to the pool. This also acts of a sort of
     * deposit since the pools creator cannot fully unbond funds until the pool is being
     * destroyed.
     */
    amount: string;
    /**
     * The account to set as [`PoolRoles::root`].
     */
    root: string;
    /**
     * The account to set as the [`PoolRoles::nominator`].
     */
    nominator: string;
    /**
     * The account to set as the [`PoolRoles::bouncer`].
     */
    bouncer: string;
}
/**
 * Create a new delegation pool.
 *
 * # Note
 *
 * In addition to `amount`, the caller will transfer the existential deposit; so the caller
 * needs at have at least `amount + existential_deposit` transferrable.
 *
 * @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 create(args: NominationPoolsCreate, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;

Выполнить команду


Для локальной разработки. Не используйте в интернете!