PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools
Просмотр файла: setCommissionMax.d.ts
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface NominationPoolsSetCommissionMax extends Args {
/**
* A valid PoolId.
*/
poolId: number | string;
/**
* Value to set the max commission too.
*/
maxCommission: string;
}
/**
* Set the maximum commission of a pool.
*
* - Initial max can be set to any `Perbill`, and only smaller values thereafter.
* - Current commission will be lowered in the event it is higher than a new max
* commission.
*
* @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 setCommissionMax(args: NominationPoolsSetCommissionMax, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!