Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
InstructionSet

Icon LinkClass: InstructionSet

@fuel-ts/program .InstructionSet

A wrapper around fuel-asm to make dynamic instructions and convert to different formats

Icon LinkConstructors

Icon Linkconstructor

new InstructionSet(...args): InstructionSet

Icon LinkParameters

NameType
...argsInstruction[]

Icon LinkReturns

InstructionSet

Icon LinkDefined in

packages/program/src/instruction-set.ts:11 Icon Link

Icon LinkProperties

Icon Link#operations

Private #operations: Instruction[]

Icon LinkDefined in

packages/program/src/instruction-set.ts:9 Icon Link

Icon LinkMethods

Icon LinkbyteLength

byteLength(): number

Icon LinkReturns

number

Icon LinkDefined in

packages/program/src/instruction-set.ts:48 Icon Link


Icon Linkconcat

concat(ops): Instruction[]

Icon LinkParameters

NameType
opsInstruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

packages/program/src/instruction-set.ts:23 Icon Link


Icon Linkentries

entries(): Instruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

packages/program/src/instruction-set.ts:15 Icon Link


Icon Linkextend

extend(ops): void

Icon LinkParameters

NameType
opsInstruction[]

Icon LinkReturns

void

Icon LinkDefined in

packages/program/src/instruction-set.ts:27 Icon Link


Icon Linkpush

push(...args): void

Icon LinkParameters

NameType
...argsInstruction[]

Icon LinkReturns

void

Icon LinkDefined in

packages/program/src/instruction-set.ts:19 Icon Link


Icon LinktoBytes

toBytes(): Uint8Array

Icon LinkReturns

Uint8Array

Icon LinkDefined in

packages/program/src/instruction-set.ts:31 Icon Link


Icon LinktoHex

toHex(): string

Icon LinkReturns

string

Icon LinkDefined in

packages/program/src/instruction-set.ts:40 Icon Link


Icon LinktoString

toString(): string

Icon LinkReturns

string

Icon LinkDefined in

packages/program/src/instruction-set.ts:44 Icon Link