• This function is asynchronous.

    Constructs a contract instance decoder for a deployed contract instance.

    Parameters

    • artifact: ContractObject

      The artifact corresponding to the type of the contract.

      A contract constructor object may be substituted for the artifact, so if you're not sure which you're dealing with, it's OK.

    • settings: DecoderSettings

      The [[DecoderSettings]] to use, including the provider; see the documentation for that type for more information.

    Returns Promise<ContractInstanceDecoder>

Generated using TypeDoc