Type for a contract resolver instance which will be used In place of LitContractContext for loading addresses of lit contracts an instance of LitContractContext can still be provided. which will be used for abi data.

interface LitContractResolverContext {
    abi: any;
    contractContext?: LitContractContext;
    environment: number;
    provider?: JsonRpcProvider;
    resolverAddress: string;
    [index: string]:
        | string
        | LitContractContext
        | ethers.providers.JsonRpcProvider
        | undefined
        | number;
}

Indexable

  • [index: string]:
        | string
        | LitContractContext
        | ethers.providers.JsonRpcProvider
        | undefined
        | number

Properties

abi: any
contractContext?: LitContractContext
environment: number
provider?: JsonRpcProvider
resolverAddress: string