PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/nominationPools
Просмотр файла: setConfigs.d.ts
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export type ConfigOp<T> = {
Noop?: null;
Remove?: null;
Set: T;
};
export interface NominationPoolsSetConfigs extends Args {
/**
* Set [`MinJoinBond`].
*/
minJoinBond: ConfigOp<string>;
/**
* Set [`MinCreateBond`].
*/
minCreateBond: ConfigOp<string>;
/**
* Set [`MaxPools`].
*/
maxPools: ConfigOp<string | number>;
/**
* Set [`MaxPoolMembers`].
*/
maxMembers: ConfigOp<string | number>;
/**
* Set [`MaxPoolMembersPerPool`].
*/
maxMembersPerPool: ConfigOp<string | number>;
/**
* Set [`GlobalMaxCommission`].
*/
globalMaxCommission: ConfigOp<string>;
}
/**
* Update configurations for the nomination pools. The origin for this call must be
* Root.
*
* @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 setConfigs(args: NominationPoolsSetConfigs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!