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 for this type is defined by the following ABNF:
move-location = object-id identifier u16 u16 (option identifier)
Properties
function
function: number;
The function index
functionName?
optional 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