Skip to main content

Type Alias: MoveLocation

type MoveLocation = {
function: number;
functionName?: string;
instruction: number;
module: string;
package: ObjectIdLike;
};

Location in move bytecode where an error occurred

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Properties​

function​

function: number;

The function index


functionName?​

functionName?: string;

The name of the function if available


instruction​

instruction: number;

Index into the code stream for a jump. The offset is relative to the beginning of the instruction stream.


module​

module: string;

The module name


package​

package: ObjectIdLike;

The package id