Optional
addressAddress of this contract instance. Unique per chain.
Optional
agentThe Agent instance that will be used to upload and instantiate the contract.
Optional
artifactURL to the compiled code.
Optional
builderBuild procedure implementation.
Optional
builderBuilder implementation that produces a Contract from the Source.
Optional
chainID of chain on which this contract is uploaded.
Optional
clientThe Client subclass that exposes the contract's methods.
the base Client class.
Optional
codeCode hash uniquely identifying the compiled code.
Optional
codeCode ID representing the identity of the contract's code on a specific chain.
Optional
crateName of crate in workspace.
Optional
deploymentThe deployment that this template belongs to.
Optional
dirtyWhether there were any uncommitted changes at build time.
Optional
featuresList of crate features to enable during build.
Optional
initAddress of agent that performed the init tx.
Optional
initAddress of agent that performed the init tx.
Optional
initTXID of transaction that performed the init.
Optional
labelFull label of the instance. Unique for a given Chain.
Optional
nameProper name of the instance. Unique within the deployment. If the instance is not part of a Deployment, this is equal to the label. If the instance is part of a Deployment, this is used as storage key. You are encouraged to store application-specific versioning info in this field.
Optional
prefixPrefix of the instance label.
Identifies which Deployment the instance belongs to, if any.
Prepended to contract label with a /
: PREFIX/NAME...
Optional
repositoryURL pointing to Git repository containing the source code.
Optional
revisionBranch/tag pointing to the source commit.
Optional
suffixDeduplication suffix.
Appended to the contract label with a +
: ...NAME+SUFFIX
.
This field has sometimes been used to redeploy an new instance
within the same Deployment, taking the place of the old one.
TODO: implement this field's semantics: last result of alphanumeric sort of suffixes
is "the real one" (see https://stackoverflow.com/a/54427214.
Optional
uploadAddress of agent that performed the upload.
Optional
uploadTXID of transaction that performed the upload.
Optional
uploaderUpload procedure implementation.
Optional
uploaderObject containing upload logic.
Optional
workspacePath to root directory of crate or workspace.
One-shot deployment task. After the first call, deploy
redefines it
to return the self-same deploying promise. Call deploy
again to reset.
Generated using TypeDoc
Callable object: contract. Can build and upload, and instantiate itself.