PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/proxy
Просмотр файла: announce.d.ts
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
interface ProxyAnnounceArgs extends Args {
/**
* The account that the proxy will make a call on behalf of.
*/
real: string;
/**
* The hash of the call to be made by the `real` account.
*/
callHash: string;
}
/**
* Publish the hash of a proxy-call that will be made in the future.
*
* This must be called `ProxyDefinition.delay` blocks before the corresponding
* `proxy` is attempted if the delay associated with the proxy relationship is
* greater than zero. When a `ProxyDefinition.delay` is 0 `announce` is not neccesary
* and `proxy` can be called at any time.
*
* No more than `MaxPending` announcements may be made at any one time. On Kusama and Polkadot
* `MaxPending` is set to 32.
*
* This will take a deposit of `AnnouncementDepositFactor` as well as
* `AnnouncementDepositBase` if there are no other pending announcements.
*
* The dispatch origin for this call must be _Signed_ and a proxy of `real`.
*
* @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 announce(args: ProxyAnnounceArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
export {};
Выполнить команду
Для локальной разработки. Не используйте в интернете!