Class MoonwellContractWithProxy<ContractInterface, ProxyInterface>

A contract with a proxy in the Moonwell ecosystem.

Type Parameters

  • ContractInterface

  • ProxyInterface

Hierarchy

Constructors

  • Type Parameters

    • ContractInterface

    • ProxyInterface

    Parameters

    • proxyAddress: string

      The address of the contract.

    • implementationArtifact: DeployArtifact

      A path to the artifact to load when calls are passing through the proxy.

    • proxyArtifact: DeployArtifact

      A path to the artifact to load when working with tthe proxy directly.

    • Optional signerOrProvider: Provider | Signer

      An optional signer that will be attached to all contract instances.

    Returns MoonwellContractWithProxy<ContractInterface, ProxyInterface>

Properties

address: string
artifact: DeployArtifact
contract: ContractInterface
implementationArtifact: DeployArtifact
proxyAddress: string
proxyArtifact: DeployArtifact
proxyContract: ProxyInterface
signerOrProvider?: Provider | Signer

Generated using TypeDoc