@aldea/sdk / Exports / instructions / ExecInstruction
Class: ExecInstruction
instructions.ExecInstruction
Exec Instruction.
Calls a static function. Args are passed to the constructor.
Hierarchy
↳
ExecInstruction
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ExecInstruction(idx
, exportIdx
, argsBuf
): ExecInstruction
Parameters
Name | Type |
---|---|
idx | number |
exportIdx | number |
argsBuf | Uint8Array |
Returns
Overrides
Defined in
packages/core/dist/instructions/exec.d.ts:11
Properties
argsBuf
• argsBuf: Uint8Array
Defined in
packages/core/dist/instructions/exec.d.ts:10
exportIdx
• exportIdx: number
Defined in
packages/core/dist/instructions/exec.d.ts:9
idx
• idx: number
Defined in
packages/core/dist/instructions/exec.d.ts:8
opcode
• opcode: OpCode
Inherited from
Defined in
packages/core/dist/instruction.d.ts:26
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