PHP WebShell

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

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

import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
import type { ConfigOp } from './setConfigs';
export interface NominationPoolsUpdateRoles extends Args {
    /**
     * A valid PoolId.
     */
    poolId: number | string;
    /**
     * New root account.
     */
    newRoot: ConfigOp<string>;
    /**
     * New nominator account.
     */
    newNominator: ConfigOp<string>;
    /**
     * New bouncer account.
     */
    newBouncer: ConfigOp<string>;
}
/**
 * Update the roles of the pool.
 *
 * The root is the only entity that can change any of the roles, including itself,
 * excluding the depositor, who can never change.
 *
 * It emits an event, notifying UIs of the role change. This event is quite relevant to
 * most pool members and they should be informed of changes to pool roles.
 *
 * @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 updateRoles(args: NominationPoolsUpdateRoles, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;

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


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