Module cw_orch_core::contract

source ·

Modules§

Macros§

  • Creates an ArtifactsDir from the current workspace by searching the file tree for a directory named artifacts. It does this by reading the CARGO_MANIFEST_DIR environment variable and going up the file tree until it finds the artifacts directory.

Structs§

  • Points to a directory containing WASM files
  • An instance of a contract. Contains references to the execution environment (chain) and a local state (state) The state is used to store contract addresses/code-ids
  • Direct path to a .wasm file Stored as PathBuf to avoid lifetimes. Can be constructed from ArtifactsDir.

Traits§

  • Indicates the ability to deploy an application to a mock chain.