Module cw_orch_core::contract
source · Modules§
Macros§
- Creates an
ArtifactsDir
from the current workspace by searching the file tree for a directory namedartifacts
. It does this by reading the CARGO_MANIFEST_DIR environment variable and going up the file tree until it finds theartifacts
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 asPathBuf
to avoid lifetimes. Can be constructed fromArtifactsDir
.
Traits§
- Indicates the ability to deploy an application to a mock chain.