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

instruction-set.ts:10 Icon Link

Icon LinkProperties

Icon Link#operations

Private #operations: Instruction[]

Icon LinkDefined in

instruction-set.ts:8 Icon Link

Icon LinkMethods

Icon LinkbyteLength

byteLength(): number

Icon LinkReturns

number

Icon LinkDefined in

instruction-set.ts:47 Icon Link


Icon Linkconcat

concat(ops): Instruction[]

Icon LinkParameters

NameType
opsInstruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

instruction-set.ts:22 Icon Link


Icon Linkentries

entries(): Instruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

instruction-set.ts:14 Icon Link


Icon Linkextend

extend(ops): void

Icon LinkParameters

NameType
opsInstruction[]

Icon LinkReturns

void

Icon LinkDefined in

instruction-set.ts:26 Icon Link


Icon Linkpush

push(...args): void

Icon LinkParameters

NameType
...argsInstruction[]

Icon LinkReturns

void

Icon LinkDefined in

instruction-set.ts:18 Icon Link


Icon LinktoBytes

toBytes(): Uint8Array

Icon LinkReturns

Uint8Array

Icon LinkDefined in

instruction-set.ts:30 Icon Link


Icon LinktoHex

toHex(): string

Icon LinkReturns

string

Icon LinkDefined in

instruction-set.ts:39 Icon Link


Icon LinktoString

toString(): string

Icon LinkReturns

string

Icon LinkDefined in

instruction-set.ts:43 Icon Link