UNPKG

@taquito/taquito

Version:

High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.

15 lines (14 loc) 1.67 kB
import { Context } from '../context'; import { OpKind } from '../operations/types'; import { WalletDelegateParams, WalletIncreasePaidStorageParams, WalletOriginateParams, WalletProvider, WalletTransferParams } from './interface'; import { WalletParamsWithKind } from './wallet'; export declare class LegacyWalletProvider implements WalletProvider { private context; constructor(context: Context); getPKH(): Promise<string>; mapTransferParamsToWalletParams(params: () => Promise<WalletTransferParams>): Promise<import("../operations/types").withKind<Pick<import("../operations/types").TransferParams, "to" | "amount" | "fee" | "parameter" | "gasLimit" | "storageLimit" | "mutez">, OpKind.TRANSACTION>>; mapOriginateParamsToWalletParams(params: () => Promise<WalletOriginateParams>): Promise<import("../operations/types").withKind<Pick<import("../operations/types").OriginateParams<any>, "fee" | "gasLimit" | "storageLimit" | "mutez" | "balance" | "code" | "delegate" | "init" | "storage">, OpKind.ORIGINATION>>; mapDelegateParamsToWalletParams(params: () => Promise<WalletDelegateParams>): Promise<import("../operations/types").withKind<Pick<import("../operations/types").DelegateParams, "fee" | "gasLimit" | "storageLimit" | "delegate">, OpKind.DELEGATION>>; mapIncreasePaidStorageWalletParams(params: () => Promise<WalletIncreasePaidStorageParams>): Promise<import("../operations/types").withKind<Pick<import("../operations/types").IncreasePaidStorageParams, "amount" | "fee" | "gasLimit" | "storageLimit" | "destination">, OpKind.INCREASE_PAID_STORAGE>>; sendOperations(params: WalletParamsWithKind[]): Promise<string>; }