Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewFactory

Hierarchy

  • ViewFactory

Index

Constructors

constructor

Methods

getImplementationType

getView

  • getView(viewName: string, rpc: RpcClientInterface, readProvider: TzReadProvider, contract: ContractAbstraction<ContractProvider | Wallet, Record<string, (...args: any[]) => ContractMethod<ContractProvider | Wallet>>, Record<string, (args?: any) => ContractMethodObject<ContractProvider | Wallet>>, Record<string, (...args: any[]) => ContractView>, Record<string, (args?: any) => OnChainView>, unknown>, viewImplementation: ViewImplementation): undefined | (() => MichelsonStorageView)
  • Parameters

    • viewName: string
    • rpc: RpcClientInterface
    • readProvider: TzReadProvider
    • contract: ContractAbstraction<ContractProvider | Wallet, Record<string, (...args: any[]) => ContractMethod<ContractProvider | Wallet>>, Record<string, (args?: any) => ContractMethodObject<ContractProvider | Wallet>>, Record<string, (...args: any[]) => ContractView>, Record<string, (args?: any) => OnChainView>, unknown>
    • viewImplementation: ViewImplementation

    Returns undefined | (() => MichelsonStorageView)

Generated using TypeDoc