Readonly
[toReadonly
sizethe number of elements in the Map.
Static
Readonly
[species]Returns an iterable of entries in the map.
Rest
...args: [name: string, properties?: { Rest
...args: [name: string, properties?: { Define a contract that will be automatically compiled, uploaded, and instantiated as part of this deployment.
Optional
properties: { Optional
address?: stringAddress of this contract instance. Unique per chain.
Optional
chainID of chain on which this contract is uploaded.
Optional
codeThe compiled code.
Optional
codeCode hash uniquely identifying the compiled code.
Optional
codeCode ID representing the identity of the contract's code on a specific chain.
Optional
codeLocation of the compiled code.
Optional
compiled?: CompiledCodeOptional
compiler?: CompilerOptional
deployer?: string | ConnectionOptional
deployment?: DeploymentDeployment to which this unit belongs.
Optional
initAddress of agent that performed the init tx.
Optional
initFee to use for init.
Optional
initContents of init message.
Optional
initInstantiation memo.
Optional
initContents of init message.
Optional
initNative tokens to send to the new contract.
Optional
initID of transaction that performed the init.
Optional
Readonly
isOptional
label?: stringFull label of the instance. Unique for a given chain.
Optional
language?: "rust"Optional
log?: ConsoleOptional
name?: stringName of this unit.
Optional
source?: SourceCodeOptional
sourceWhether the code contains uncommitted changes.
Optional
sourceURL pointing to Git upstream containing the canonical source code.
Optional
sourcePath to local checkout of the source code (with .git directory if sourceRef is set).
Optional
sourcePointer to the source commit.
Optional
uploadaddress of agent that performed the upload.
Optional
uploadaddress of agent that performed the upload.
Optional
uploadTXID of transaction that performed the upload.
Optional
uploaded?: UploadedCodeOptional
uploader?: string | ConnectionCompile this contract, unless a valid binary is present and a rebuild is not requested.
Compute the code hash if missing; throw if different.
Returns a client to this contract instance.
Optional
agent: ConnectionOptional
sourceOptional
sourceOptional
sourceOptional
sourceUpload this contract, unless a valid upload is present and a rebuild is not requested.
Returns an iterable of key, value pairs for every entry in the map.
Executes a provided function once per each key/value pair in the Map, in insertion order.
Optional
thisArg: anyReturns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
Define a template, representing code that can be compiled and uploaded, but will not be automatically instantiated. This can then be used to define multiple instances of the same code.
Optional
properties: { Optional
chainID of chain on which this contract is uploaded.
Optional
codeThe compiled code.
Optional
codeCode hash uniquely identifying the compiled code.
Optional
codeCode ID representing the identity of the contract's code on a specific chain.
Optional
codeLocation of the compiled code.
Optional
language?: "rust"Optional
log?: ConsoleOptional
sourceWhether the code contains uncommitted changes.
Optional
sourceURL pointing to Git upstream containing the canonical source code.
Optional
sourcePath to local checkout of the source code (with .git directory if sourceRef is set).
Optional
sourcePointer to the source commit.
Optional
uploadaddress of agent that performed the upload.
Optional
uploadaddress of agent that performed the upload.
Optional
uploadTXID of transaction that performed the upload.
Compute the code hash if missing; throw if different.
Optional
sourceOptional
sourceOptional
sourceOptional
sourceReturns an iterable of values in the map
Static
fromGenerated using TypeDoc
A collection of contracts.