UNPKG

@taquito/taquito

Version:

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

20 lines (19 loc) 824 B
import { MichelsonV1Expression } from '@taquito/rpc'; import { Contract, ContractAbstraction, WalletContract } from './contract'; import { ContractProvider } from './interface'; import { Wallet } from '../wallet'; /** * * @deprecated LambdaView has been deprecated in favor of rpc.runView to simulate calls to views following the TZIP-4 standard */ export default class LambdaView { private lambdaContract; private viewContract; readonly viewMethod: string; private contractParameter; readonly voidLambda: object; constructor(lambdaContract: Contract | WalletContract, viewContract: ContractAbstraction<ContractProvider | Wallet>, viewMethod?: string, contractParameter?: MichelsonV1Expression); execute(): Promise<any>; private createVoidLambda; private getView; }