Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
InstructionSet

@fuel-ts/program v0.97.0 Docs


Icon LinkClass: InstructionSet

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

Icon LinkConstructors

Icon Linknew InstructionSet()

Icon InfoCircle

new InstructionSet(...args): InstructionSet

Icon LinkParameters

• ...args: Instruction[]

Icon LinkReturns

InstructionSet

Icon LinkDefined in

instruction-set.ts:10 Icon Link

Icon LinkMethods

Icon LinkbyteLength()

Icon InfoCircle

byteLength(): number

Icon LinkReturns

number

Icon LinkDefined in

instruction-set.ts:47 Icon Link


Icon Linkconcat()

Icon InfoCircle

concat(ops): Instruction[]

Icon LinkParameters

ops: Instruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

instruction-set.ts:22 Icon Link


Icon Linkentries()

Icon InfoCircle

entries(): Instruction[]

Icon LinkReturns

Instruction[]

Icon LinkDefined in

instruction-set.ts:14 Icon Link


Icon Linkextend()

Icon InfoCircle

extend(ops): void

Icon LinkParameters

ops: Instruction[]

Icon LinkReturns

void

Icon LinkDefined in

instruction-set.ts:26 Icon Link


Icon Linkpush()

Icon InfoCircle

push(...args): void

Icon LinkParameters

• ...args: Instruction[]

Icon LinkReturns

void

Icon LinkDefined in

instruction-set.ts:18 Icon Link


Icon LinktoBytes()

Icon InfoCircle

toBytes(): Uint8Array

Icon LinkReturns

Uint8Array

Icon LinkDefined in

instruction-set.ts:30 Icon Link


Icon LinktoHex()

Icon InfoCircle

toHex(): string

Icon LinkReturns

string

Icon LinkDefined in

instruction-set.ts:39 Icon Link


Icon LinktoString()

Icon InfoCircle

toString(): string

Icon LinkReturns

string

Icon LinkDefined in

instruction-set.ts:43 Icon Link