Class ContractRepository

Contract repository to interact with smart contracts on Partisia

Hierarchy

Implements

Constructors

Properties

avlClient: AvlClient
contractRegistry: Map<string, ContractEntry>
environment: Enviroment
hasProxyContract: boolean
hostUrl: string
rpc: PartisiaAccountClass
secrets: SecretsProvider
ttl: number

Methods

  • Parameters

    • contractAddress: string
    • options: {
          partial?: boolean;
          withState?: boolean;
      } = {}
      • Optional partial?: boolean
      • Optional withState?: boolean

    Returns Promise<undefined | ContractData>

Generated using TypeDoc