Optional
agentAgent to use when deploying contracts.
Optional
builderBuild implementation. Contracts can't be built from source if this is missing.
Optional
chainChain on which operations are executed.
Mapping of contract names to contract instances.
Name of deployment. Used as label prefix of deployed contracts.
Optional
repositoryDefault Git ref from which contracts will be built if needed.
Optional
revisionDefault Git ref from which contracts will be built if needed.
Optional
storeDefault state store to which updates to this deployment's state will be saved.
Optional
uploaderUpload implementation. Contracts can't be uploaded if this is missing --
except by using agent.upload
directly, which does not cache or log uploads.
Optional
workspaceDefault Cargo workspace from which contracts will be built if needed.
true if the chain is a devnet or mocknet
true if the chain is a devnet
true if the chain is a mainnet
true if the chain is a mocknet
true if the chain is a testnet
the number of contracts in this deployment
a snapshot of the contracts state of this deployment
Compile multiple contracts.
Specify a contract.
a callable instance of Contract
bearing the specified parameters.
Calling it will deploy the contract, or retrieve it if already deployed.
Find the first contract that matches the passed filter function.
Contract or null
Find all contracts that match the passed filter function.
Array
Get the Contract corresponding to a given name. If the data is not a Contract instance, converts it internally to a Contract
Contract
Optional
client: ClientClass<C>Save current deployment state to deploy store.
Specify a contract template.
a callable instance of Template
bearing the specified parameters.
Calling it will build and upload the template.
Upload multiple contracts.
Generated using TypeDoc
A set of interrelated contracts, deployed under the same prefix.