UNPKG

@taquito/taquito

Version:

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

16 lines (15 loc) 682 B
import { MichelsonV1Expression } from '@taquito/rpc'; import { Contract, ContractAbstraction, WalletContract } from './contract'; import { ContractProvider } from './interface'; import { Wallet } from '../wallet'; 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; }