avalancheAPI-AVM-Operations

Module: API-AVM-Operations

Index

Classes

Variables

Functions

Variables

Const bintools

bintools: BinTools‹› = BinTools.getInstance()

Defined in src/apis/avm/ops.ts:13

Functions

Const SelectOperationClass

SelectOperationClass(opid: number, …args: Array‹any›): Operation

Defined in src/apis/avm/ops.ts:22

Takes a buffer representing the output and returns the proper Operation instance.

Parameters:

Name Type Description
opid number A number representing the operation ID parsed prior to the bytes passed in
...args Array‹any› -

Returns: Operation

An instance of an Operation-extended class.