PHP WebShell

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

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

import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface ProxyProxy extends Args {
    /**
     * Dispatch the given `call` from an account that the sender is authorized for
     * through, `add_proxy`.
     */
    real: string;
    /**
     * Specify the exact proxy type to be used and checked for this call.
     */
    forceProxyType: string;
    /**
     * The call to be made by the `real` account.
     * To take advantage of txwrapper methods, this could be UnsignedTransaction.method.
     */
    call: {
        callIndex?: string;
        args?: string;
    } | string;
}
/**
 * Dispatch the given `call` from an account for which the sender is authorized.
 *
 * @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 proxy(args: ProxyProxy, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;

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


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