Represents a crate containing a contract.

Hierarchy

  • ContractCrate

Constructors

Properties

Methods

Constructors

  • Parameters

    • project: default
    • name: string

      Name of crate

    • fadromaFeatures: string[] = ...

      Features of the 'fadroma' dependency to enable.

    • dir: OpaqueDirectory = ...

      Root directory of crate.

    • cargoToml: TextFile = ...

      Crate manifest.

    • src: OpaqueDirectory = ...

      Directory containing crate sources.

    • libRs: TextFile = ...

      Root module of Rust crate.

    Returns ContractCrate

Properties

cargoToml: TextFile = ...

Crate manifest.

dir: OpaqueDirectory = ...

Root directory of crate.

fadromaFeatures: string[] = ...

Features of the 'fadroma' dependency to enable.

libRs: TextFile = ...

Root module of Rust crate.

name: string

Name of crate

project: default
src: OpaqueDirectory = ...

Directory containing crate sources.

Methods

Generated using TypeDoc