@aldea/sdk / Exports / instructions / DeployInstruction
Class: DeployInstruction
instructions.DeployInstruction
Deploy Instruction.
Deploys a code bundle. The code bundle must be a map of filename => content.
Hierarchy
↳
DeployInstruction
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new DeployInstruction(pkgBuf
): DeployInstruction
Parameters
Name | Type |
---|---|
pkgBuf | Uint8Array |
Returns
Overrides
Defined in
packages/core/dist/instructions/deploy.d.ts:9
Properties
opcode
• opcode: OpCode
Inherited from
Defined in
packages/core/dist/instruction.d.ts:26
pkgBuf
• pkgBuf: Uint8Array
Defined in
packages/core/dist/instructions/deploy.d.ts:8
Methods
toBytes
▸ toBytes(): Uint8Array
Returns
Uint8Array
Inherited from
Defined in
packages/core/dist/instruction.d.ts:29
fromBytes
▸ fromBytes(bytes
): Instruction
Parameters
Name | Type |
---|---|
bytes | Uint8Array |
Returns
Inherited from
Defined in
packages/core/dist/instruction.d.ts:28