PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/ic0/lib/canister

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

import { HttpAgent } from '@dfinity/agent';
import { Canister } from '../types';
export declare class AgentCanister implements Canister {
    readonly agent: HttpAgent;
    readonly id: string;
    private _actor;
    constructor(agent: HttpAgent, id: string);
    private _fetchActor;
    call(method: string, ...args: any[]): Promise<any>;
}
export declare function agentCanister(agent: HttpAgent, id: string): AgentCanister;
//# sourceMappingURL=agentCanister.d.ts.map

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


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