// Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 // @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck // @generated from protobuf file "sui/rpc/v2/execution_status.proto" (package "sui.rpc.v2", syntax proto3) // tslint:disable // @ts-nocheck // // Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 // import { MessageType } from '@protobuf-ts/runtime'; /** * The status of an executed transaction. * * @generated from protobuf message sui.rpc.v2.ExecutionStatus */ export interface ExecutionStatus { /** * Indicates if the transaction was successful or not. * * @generated from protobuf field: optional bool success = 1; */ success?: boolean; /** * The error if `success` is false. * * @generated from protobuf field: optional sui.rpc.v2.ExecutionError error = 2; */ error?: ExecutionError; } /** * An error that can occur during the execution of a transaction. * * @generated from protobuf message sui.rpc.v2.ExecutionError */ export interface ExecutionError { /** * A human readable description of the error * * @generated from protobuf field: optional string description = 1; */ description?: string; /** * The command, if any, during which the error occurred. * * @generated from protobuf field: optional uint64 command = 2; */ command?: bigint; /** * @generated from protobuf field: optional sui.rpc.v2.ExecutionError.ExecutionErrorKind kind = 3; */ kind?: ExecutionError_ExecutionErrorKind; /** * @generated from protobuf oneof: error_details */ errorDetails: | { oneofKind: 'abort'; /** * @generated from protobuf field: sui.rpc.v2.MoveAbort abort = 4; */ abort: MoveAbort; } | { oneofKind: 'sizeError'; /** * @generated from protobuf field: sui.rpc.v2.SizeError size_error = 5; */ sizeError: SizeError; } | { oneofKind: 'commandArgumentError'; /** * @generated from protobuf field: sui.rpc.v2.CommandArgumentError command_argument_error = 6; */ commandArgumentError: CommandArgumentError; } | { oneofKind: 'typeArgumentError'; /** * @generated from protobuf field: sui.rpc.v2.TypeArgumentError type_argument_error = 7; */ typeArgumentError: TypeArgumentError; } | { oneofKind: 'packageUpgradeError'; /** * @generated from protobuf field: sui.rpc.v2.PackageUpgradeError package_upgrade_error = 8; */ packageUpgradeError: PackageUpgradeError; } | { oneofKind: 'indexError'; /** * @generated from protobuf field: sui.rpc.v2.IndexError index_error = 9; */ indexError: IndexError; } | { oneofKind: 'objectId'; /** * @generated from protobuf field: string object_id = 10; */ objectId: string; } | { oneofKind: 'coinDenyListError'; /** * @generated from protobuf field: sui.rpc.v2.CoinDenyListError coin_deny_list_error = 11; */ coinDenyListError: CoinDenyListError; } | { oneofKind: 'congestedObjects'; /** * Set of objects that were congested, leading to the transaction's cancellation. * * @generated from protobuf field: sui.rpc.v2.CongestedObjects congested_objects = 12; */ congestedObjects: CongestedObjects; } | { oneofKind: undefined; }; } /** * @generated from protobuf enum sui.rpc.v2.ExecutionError.ExecutionErrorKind */ export enum ExecutionError_ExecutionErrorKind { /** * @generated from protobuf enum value: EXECUTION_ERROR_KIND_UNKNOWN = 0; */ EXECUTION_ERROR_KIND_UNKNOWN = 0, /** * Insufficient gas. * * @generated from protobuf enum value: INSUFFICIENT_GAS = 1; */ INSUFFICIENT_GAS = 1, /** * Invalid `Gas` object. * * @generated from protobuf enum value: INVALID_GAS_OBJECT = 2; */ INVALID_GAS_OBJECT = 2, /** * Invariant violation. * * @generated from protobuf enum value: INVARIANT_VIOLATION = 3; */ INVARIANT_VIOLATION = 3, /** * Attempted to use feature that is not supported yet. * * @generated from protobuf enum value: FEATURE_NOT_YET_SUPPORTED = 4; */ FEATURE_NOT_YET_SUPPORTED = 4, /** * Move object is larger than the maximum allowed size. * * @generated from protobuf enum value: OBJECT_TOO_BIG = 5; */ OBJECT_TOO_BIG = 5, /** * Package is larger than the maximum allowed size. * * @generated from protobuf enum value: PACKAGE_TOO_BIG = 6; */ PACKAGE_TOO_BIG = 6, /** * Circular object ownership. * * @generated from protobuf enum value: CIRCULAR_OBJECT_OWNERSHIP = 7; */ CIRCULAR_OBJECT_OWNERSHIP = 7, /** * Insufficient coin balance for requested operation. * * @generated from protobuf enum value: INSUFFICIENT_COIN_BALANCE = 8; */ INSUFFICIENT_COIN_BALANCE = 8, /** * Coin balance overflowed an u64. * * @generated from protobuf enum value: COIN_BALANCE_OVERFLOW = 9; */ COIN_BALANCE_OVERFLOW = 9, /** * Publish error, non-zero address. * The modules in the package must have their self-addresses set to zero. * * @generated from protobuf enum value: PUBLISH_ERROR_NON_ZERO_ADDRESS = 10; */ PUBLISH_ERROR_NON_ZERO_ADDRESS = 10, /** * Sui Move bytecode verification error. * * @generated from protobuf enum value: SUI_MOVE_VERIFICATION_ERROR = 11; */ SUI_MOVE_VERIFICATION_ERROR = 11, /** * Error from a non-abort instruction. * Possible causes: * Arithmetic error, stack overflow, max value depth, or similar. * * @generated from protobuf enum value: MOVE_PRIMITIVE_RUNTIME_ERROR = 12; */ MOVE_PRIMITIVE_RUNTIME_ERROR = 12, /** * Move runtime abort. * * @generated from protobuf enum value: MOVE_ABORT = 13; */ MOVE_ABORT = 13, /** * Bytecode verification error. * * @generated from protobuf enum value: VM_VERIFICATION_OR_DESERIALIZATION_ERROR = 14; */ VM_VERIFICATION_OR_DESERIALIZATION_ERROR = 14, /** * MoveVm invariant violation. * * @generated from protobuf enum value: VM_INVARIANT_VIOLATION = 15; */ VM_INVARIANT_VIOLATION = 15, /** * Function not found. * * @generated from protobuf enum value: FUNCTION_NOT_FOUND = 16; */ FUNCTION_NOT_FOUND = 16, /** * Parity mismatch for Move function. * The number of arguments does not match the number of parameters. * * @generated from protobuf enum value: ARITY_MISMATCH = 17; */ ARITY_MISMATCH = 17, /** * Type parity mismatch for Move function. * Mismatch between the number of actual versus expected type arguments. * * @generated from protobuf enum value: TYPE_ARITY_MISMATCH = 18; */ TYPE_ARITY_MISMATCH = 18, /** * Non-entry function invoked. Move Call must start with an entry function. * * @generated from protobuf enum value: NON_ENTRY_FUNCTION_INVOKED = 19; */ NON_ENTRY_FUNCTION_INVOKED = 19, /** * Invalid command argument. * * @generated from protobuf enum value: COMMAND_ARGUMENT_ERROR = 20; */ COMMAND_ARGUMENT_ERROR = 20, /** * Type argument error. * * @generated from protobuf enum value: TYPE_ARGUMENT_ERROR = 21; */ TYPE_ARGUMENT_ERROR = 21, /** * Unused result without the drop ability. * * @generated from protobuf enum value: UNUSED_VALUE_WITHOUT_DROP = 22; */ UNUSED_VALUE_WITHOUT_DROP = 22, /** * Invalid public Move function signature. * Unsupported return type for return value. * * @generated from protobuf enum value: INVALID_PUBLIC_FUNCTION_RETURN_TYPE = 23; */ INVALID_PUBLIC_FUNCTION_RETURN_TYPE = 23, /** * Invalid transfer object, object does not have public transfer. * * @generated from protobuf enum value: INVALID_TRANSFER_OBJECT = 24; */ INVALID_TRANSFER_OBJECT = 24, /** * Effects from the transaction are too large. * * @generated from protobuf enum value: EFFECTS_TOO_LARGE = 25; */ EFFECTS_TOO_LARGE = 25, /** * Publish or Upgrade is missing dependency. * * @generated from protobuf enum value: PUBLISH_UPGRADE_MISSING_DEPENDENCY = 26; */ PUBLISH_UPGRADE_MISSING_DEPENDENCY = 26, /** * Publish or upgrade dependency downgrade. * * Indirect (transitive) dependency of published or upgraded package has been assigned an * on-chain version that is less than the version required by one of the package's * transitive dependencies. * * @generated from protobuf enum value: PUBLISH_UPGRADE_DEPENDENCY_DOWNGRADE = 27; */ PUBLISH_UPGRADE_DEPENDENCY_DOWNGRADE = 27, /** * Invalid package upgrade. * * @generated from protobuf enum value: PACKAGE_UPGRADE_ERROR = 28; */ PACKAGE_UPGRADE_ERROR = 28, /** * Indicates the transaction tried to write objects too large to storage. * * @generated from protobuf enum value: WRITTEN_OBJECTS_TOO_LARGE = 29; */ WRITTEN_OBJECTS_TOO_LARGE = 29, /** * Certificate is on the deny list. * * @generated from protobuf enum value: CERTIFICATE_DENIED = 30; */ CERTIFICATE_DENIED = 30, /** * Sui Move bytecode verification timed out. * * @generated from protobuf enum value: SUI_MOVE_VERIFICATION_TIMEDOUT = 31; */ SUI_MOVE_VERIFICATION_TIMEDOUT = 31, /** * The requested consensus object operation is not allowed. * * @generated from protobuf enum value: CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 32; */ CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 32, /** * Requested consensus object has been deleted. * * @generated from protobuf enum value: INPUT_OBJECT_DELETED = 33; */ INPUT_OBJECT_DELETED = 33, /** * Certificate is canceled due to congestion on consensus objects. * * @generated from protobuf enum value: EXECUTION_CANCELED_DUE_TO_CONSENSUS_OBJECT_CONGESTION = 34; */ EXECUTION_CANCELED_DUE_TO_CONSENSUS_OBJECT_CONGESTION = 34, /** * Address is denied for this coin type. * * @generated from protobuf enum value: ADDRESS_DENIED_FOR_COIN = 35; */ ADDRESS_DENIED_FOR_COIN = 35, /** * Coin type is globally paused for use. * * @generated from protobuf enum value: COIN_TYPE_GLOBAL_PAUSE = 36; */ COIN_TYPE_GLOBAL_PAUSE = 36, /** * Certificate is canceled because randomness could not be generated this epoch. * * @generated from protobuf enum value: EXECUTION_CANCELED_DUE_TO_RANDOMNESS_UNAVAILABLE = 37; */ EXECUTION_CANCELED_DUE_TO_RANDOMNESS_UNAVAILABLE = 37, /** * Move vector element (passed to MakeMoveVec) with size {value_size} is larger \ * than the maximum size {max_scaled_size}. Note that this maximum is scaled based on the \ * type of the vector element. * * @generated from protobuf enum value: MOVE_VECTOR_ELEM_TOO_BIG = 38; */ MOVE_VECTOR_ELEM_TOO_BIG = 38, /** * Move value (possibly an upgrade ticket or a dev-inspect value) with size {value_size} \ * is larger than the maximum size {max_scaled_size}. Note that this maximum is scaled based \ * on the type of the value. * * @generated from protobuf enum value: MOVE_RAW_VALUE_TOO_BIG = 39; */ MOVE_RAW_VALUE_TOO_BIG = 39, /** * A valid linkage was unable to be determined for the transaction or one of its commands. * * @generated from protobuf enum value: INVALID_LINKAGE = 40; */ INVALID_LINKAGE = 40, /** * Insufficient funds for transaction withdrawal * * @generated from protobuf enum value: INSUFFICIENT_FUNDS_FOR_WITHDRAW = 41; */ INSUFFICIENT_FUNDS_FOR_WITHDRAW = 41, /** * An input object with non-exclusive write mutability was modified * * @generated from protobuf enum value: NON_EXCLUSIVE_WRITE_INPUT_OBJECT_MODIFIED = 42; */ NON_EXCLUSIVE_WRITE_INPUT_OBJECT_MODIFIED = 42, } /** * @generated from protobuf message sui.rpc.v2.MoveAbort */ export interface MoveAbort { /** * @generated from protobuf field: optional uint64 abort_code = 1; */ abortCode?: bigint; /** * Location in Move where the error occurred. * * @generated from protobuf field: optional sui.rpc.v2.MoveLocation location = 2; */ location?: MoveLocation; /** * Extra error information if abort code is a "Clever Error" * * @generated from protobuf field: optional sui.rpc.v2.CleverError clever_error = 3; */ cleverError?: CleverError; } /** * Location in Move bytecode where an error occurred. * * @generated from protobuf message sui.rpc.v2.MoveLocation */ export interface MoveLocation { /** * The package ID. * * @generated from protobuf field: optional string package = 1; */ package?: string; /** * The module name. * * @generated from protobuf field: optional string module = 2; */ module?: string; /** * The function index. * * @generated from protobuf field: optional uint32 function = 3; */ function?: number; /** * Offset of the instruction where the error occurred. * * @generated from protobuf field: optional uint32 instruction = 4; */ instruction?: number; /** * The name of the function, if available. * * @generated from protobuf field: optional string function_name = 5; */ functionName?: string; } /** * @generated from protobuf message sui.rpc.v2.CleverError */ export interface CleverError { /** * @generated from protobuf field: optional uint64 error_code = 1; */ errorCode?: bigint; /** * @generated from protobuf field: optional uint64 line_number = 2; */ lineNumber?: bigint; /** * @generated from protobuf field: optional string constant_name = 3; */ constantName?: string; /** * @generated from protobuf field: optional string constant_type = 4; */ constantType?: string; /** * @generated from protobuf oneof: value */ value: | { oneofKind: 'rendered'; /** * @generated from protobuf field: string rendered = 5; */ rendered: string; } | { oneofKind: 'raw'; /** * @generated from protobuf field: bytes raw = 6; */ raw: Uint8Array; } | { oneofKind: undefined; }; } /** * A size error. * * @generated from protobuf message sui.rpc.v2.SizeError */ export interface SizeError { /** * The offending size. * * @generated from protobuf field: optional uint64 size = 1; */ size?: bigint; /** * The maximum allowable size. * * @generated from protobuf field: optional uint64 max_size = 2; */ maxSize?: bigint; } /** * @generated from protobuf message sui.rpc.v2.IndexError */ export interface IndexError { /** * Index of an input or result. * * @generated from protobuf field: optional uint32 index = 1; */ index?: number; /** * Index of a subresult. * * @generated from protobuf field: optional uint32 subresult = 2; */ subresult?: number; } /** * @generated from protobuf message sui.rpc.v2.CoinDenyListError */ export interface CoinDenyListError { /** * Denied address. * * @generated from protobuf field: optional string address = 1; */ address?: string; /** * Coin type. * * @generated from protobuf field: optional string coin_type = 2; */ coinType?: string; } /** * Set of objects that were congested, leading to the transaction's cancellation. * * @generated from protobuf message sui.rpc.v2.CongestedObjects */ export interface CongestedObjects { /** * @generated from protobuf field: repeated string objects = 1; */ objects: string[]; } /** * An error with an argument to a command. * * @generated from protobuf message sui.rpc.v2.CommandArgumentError */ export interface CommandArgumentError { /** * Position of the problematic argument. * * @generated from protobuf field: optional uint32 argument = 1; */ argument?: number; /** * @generated from protobuf field: optional sui.rpc.v2.CommandArgumentError.CommandArgumentErrorKind kind = 2; */ kind?: CommandArgumentError_CommandArgumentErrorKind; /** * @generated from protobuf field: optional sui.rpc.v2.IndexError index_error = 3; */ indexError?: IndexError; } /** * @generated from protobuf enum sui.rpc.v2.CommandArgumentError.CommandArgumentErrorKind */ export enum CommandArgumentError_CommandArgumentErrorKind { /** * @generated from protobuf enum value: COMMAND_ARGUMENT_ERROR_KIND_UNKNOWN = 0; */ COMMAND_ARGUMENT_ERROR_KIND_UNKNOWN = 0, /** * The type of the value does not match the expected type. * * @generated from protobuf enum value: TYPE_MISMATCH = 1; */ TYPE_MISMATCH = 1, /** * The argument cannot be deserialized into a value of the specified type. * * @generated from protobuf enum value: INVALID_BCS_BYTES = 2; */ INVALID_BCS_BYTES = 2, /** * The argument cannot be instantiated from raw bytes. * * @generated from protobuf enum value: INVALID_USAGE_OF_PURE_ARGUMENT = 3; */ INVALID_USAGE_OF_PURE_ARGUMENT = 3, /** * Invalid argument to private entry function. * Private entry functions cannot take arguments from other Move functions. * * @generated from protobuf enum value: INVALID_ARGUMENT_TO_PRIVATE_ENTRY_FUNCTION = 4; */ INVALID_ARGUMENT_TO_PRIVATE_ENTRY_FUNCTION = 4, /** * Out of bounds access to input or results. * * `index` field will be set indicating the invalid index value. * * @generated from protobuf enum value: INDEX_OUT_OF_BOUNDS = 5; */ INDEX_OUT_OF_BOUNDS = 5, /** * Out of bounds access to subresult. * * `index` and `subresult` fields will be set indicating the invalid index value. * * @generated from protobuf enum value: SECONDARY_INDEX_OUT_OF_BOUNDS = 6; */ SECONDARY_INDEX_OUT_OF_BOUNDS = 6, /** * Invalid usage of result. * Expected a single result but found either no return value or multiple. * `index` field will be set indicating the invalid index value. * * @generated from protobuf enum value: INVALID_RESULT_ARITY = 7; */ INVALID_RESULT_ARITY = 7, /** * Invalid usage of gas coin. * The gas coin can only be used by-value with a `TransferObject` command. * * @generated from protobuf enum value: INVALID_GAS_COIN_USAGE = 8; */ INVALID_GAS_COIN_USAGE = 8, /** * Invalid usage of Move value. * - Mutably borrowed values require unique usage. * - Immutably borrowed values cannot be taken or borrowed mutably. * - Taken values cannot be used again. * * @generated from protobuf enum value: INVALID_VALUE_USAGE = 9; */ INVALID_VALUE_USAGE = 9, /** * Immutable objects cannot be passed by-value. * * @generated from protobuf enum value: INVALID_OBJECT_BY_VALUE = 10; */ INVALID_OBJECT_BY_VALUE = 10, /** * Immutable objects cannot be passed by mutable reference, `&mut`. * * @generated from protobuf enum value: INVALID_OBJECT_BY_MUT_REF = 11; */ INVALID_OBJECT_BY_MUT_REF = 11, /** * Consensus object operations such as wrapping, freezing, or converting to owned are not * allowed. * * @generated from protobuf enum value: CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 12; */ CONSENSUS_OBJECT_OPERATION_NOT_ALLOWED = 12, /** * Invalid argument arity. Expected a single argument but found a result that expanded to * multiple arguments. * * @generated from protobuf enum value: INVALID_ARGUMENT_ARITY = 13; */ INVALID_ARGUMENT_ARITY = 13, /** * Object passed to TransferObject does not have public transfer, i.e. the `store` ability * * @generated from protobuf enum value: INVALID_TRANSFER_OBJECT = 14; */ INVALID_TRANSFER_OBJECT = 14, /** * First argument to MakeMoveVec is not an object. If no type is specified for MakeMoveVec, * all arguments must be the same object type. * * @generated from protobuf enum value: INVALID_MAKE_MOVE_VEC_NON_OBJECT_ARGUMENT = 15; */ INVALID_MAKE_MOVE_VEC_NON_OBJECT_ARGUMENT = 15, /** * Specified argument location does not have a value and cannot be used * * @generated from protobuf enum value: ARGUMENT_WITHOUT_VALUE = 16; */ ARGUMENT_WITHOUT_VALUE = 16, /** * Cannot move a borrowed value. The value's type does resulted in this argument usage being * inferred as a move. This is likely due to the type not having the `copy` ability; although * in rare cases, it could also be this is the last usage of a value without the `drop` * ability. * * @generated from protobuf enum value: CANNOT_MOVE_BORROWED_VALUE = 17; */ CANNOT_MOVE_BORROWED_VALUE = 17, /** * Cannot write to an argument location that is still borrowed, and where that borrow is an * extension of that reference. This is likely due to this argument being used in a Move call * that returns a reference, and that reference is used in a later command. * * @generated from protobuf enum value: CANNOT_WRITE_TO_EXTENDED_REFERENCE = 18; */ CANNOT_WRITE_TO_EXTENDED_REFERENCE = 18, /** * The argument specified cannot be used as a reference argument in the Move call. Either the * argument is a mutable reference and it conflicts with another argument to the call, or the * argument is mutable and another reference extends it and will be used in a later command. * * @generated from protobuf enum value: INVALID_REFERENCE_ARGUMENT = 19; */ INVALID_REFERENCE_ARGUMENT = 19, } /** * An error with upgrading a package. * * @generated from protobuf message sui.rpc.v2.PackageUpgradeError */ export interface PackageUpgradeError { /** * @generated from protobuf field: optional sui.rpc.v2.PackageUpgradeError.PackageUpgradeErrorKind kind = 1; */ kind?: PackageUpgradeError_PackageUpgradeErrorKind; /** * The Package Id. * * @generated from protobuf field: optional string package_id = 2; */ packageId?: string; /** * A digest. * * @generated from protobuf field: optional string digest = 3; */ digest?: string; /** * The policy. * * @generated from protobuf field: optional uint32 policy = 4; */ policy?: number; /** * The ticket Id. * * @generated from protobuf field: optional string ticket_id = 5; */ ticketId?: string; } /** * @generated from protobuf enum sui.rpc.v2.PackageUpgradeError.PackageUpgradeErrorKind */ export enum PackageUpgradeError_PackageUpgradeErrorKind { /** * @generated from protobuf enum value: PACKAGE_UPGRADE_ERROR_KIND_UNKNOWN = 0; */ PACKAGE_UPGRADE_ERROR_KIND_UNKNOWN = 0, /** * Unable to fetch package. * * @generated from protobuf enum value: UNABLE_TO_FETCH_PACKAGE = 1; */ UNABLE_TO_FETCH_PACKAGE = 1, /** * Object is not a package. * * @generated from protobuf enum value: NOT_A_PACKAGE = 2; */ NOT_A_PACKAGE = 2, /** * Package upgrade is incompatible with previous version. * * @generated from protobuf enum value: INCOMPATIBLE_UPGRADE = 3; */ INCOMPATIBLE_UPGRADE = 3, /** * Digest in upgrade ticket and computed digest differ. * * @generated from protobuf enum value: DIGEST_DOES_NOT_MATCH = 4; */ DIGEST_DOES_NOT_MATCH = 4, /** * Upgrade policy is not valid. * * @generated from protobuf enum value: UNKNOWN_UPGRADE_POLICY = 5; */ UNKNOWN_UPGRADE_POLICY = 5, /** * Package ID does not match `PackageId` in upgrade ticket. * * @generated from protobuf enum value: PACKAGE_ID_DOES_NOT_MATCH = 6; */ PACKAGE_ID_DOES_NOT_MATCH = 6, } /** * Type argument error. * * @generated from protobuf message sui.rpc.v2.TypeArgumentError */ export interface TypeArgumentError { /** * Index of the problematic type argument. * * @generated from protobuf field: optional uint32 type_argument = 1; */ typeArgument?: number; /** * @generated from protobuf field: optional sui.rpc.v2.TypeArgumentError.TypeArgumentErrorKind kind = 2; */ kind?: TypeArgumentError_TypeArgumentErrorKind; } /** * @generated from protobuf enum sui.rpc.v2.TypeArgumentError.TypeArgumentErrorKind */ export enum TypeArgumentError_TypeArgumentErrorKind { /** * @generated from protobuf enum value: TYPE_ARGUMENT_ERROR_KIND_UNKNOWN = 0; */ TYPE_ARGUMENT_ERROR_KIND_UNKNOWN = 0, /** * A type was not found in the module specified. * * @generated from protobuf enum value: TYPE_NOT_FOUND = 1; */ TYPE_NOT_FOUND = 1, /** * A type provided did not match the specified constraint. * * @generated from protobuf enum value: CONSTRAINT_NOT_SATISFIED = 2; */ CONSTRAINT_NOT_SATISFIED = 2, } // @generated message type with reflection information, may provide speed optimized methods class ExecutionStatus$Type extends MessageType { constructor() { super('sui.rpc.v2.ExecutionStatus', [ { no: 1, name: 'success', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ }, { no: 2, name: 'error', kind: 'message', T: () => ExecutionError }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.ExecutionStatus */ export const ExecutionStatus = new ExecutionStatus$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionError$Type extends MessageType { constructor() { super('sui.rpc.v2.ExecutionError', [ { no: 1, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 2, name: 'command', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 3, name: 'kind', kind: 'enum', opt: true, T: () => [ 'sui.rpc.v2.ExecutionError.ExecutionErrorKind', ExecutionError_ExecutionErrorKind, ], }, { no: 4, name: 'abort', kind: 'message', oneof: 'errorDetails', T: () => MoveAbort }, { no: 5, name: 'size_error', kind: 'message', oneof: 'errorDetails', T: () => SizeError }, { no: 6, name: 'command_argument_error', kind: 'message', oneof: 'errorDetails', T: () => CommandArgumentError, }, { no: 7, name: 'type_argument_error', kind: 'message', oneof: 'errorDetails', T: () => TypeArgumentError, }, { no: 8, name: 'package_upgrade_error', kind: 'message', oneof: 'errorDetails', T: () => PackageUpgradeError, }, { no: 9, name: 'index_error', kind: 'message', oneof: 'errorDetails', T: () => IndexError }, { no: 10, name: 'object_id', kind: 'scalar', oneof: 'errorDetails', T: 9 /*ScalarType.STRING*/, }, { no: 11, name: 'coin_deny_list_error', kind: 'message', oneof: 'errorDetails', T: () => CoinDenyListError, }, { no: 12, name: 'congested_objects', kind: 'message', oneof: 'errorDetails', T: () => CongestedObjects, }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.ExecutionError */ export const ExecutionError = new ExecutionError$Type(); // @generated message type with reflection information, may provide speed optimized methods class MoveAbort$Type extends MessageType { constructor() { super('sui.rpc.v2.MoveAbort', [ { no: 1, name: 'abort_code', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 2, name: 'location', kind: 'message', T: () => MoveLocation }, { no: 3, name: 'clever_error', kind: 'message', T: () => CleverError }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.MoveAbort */ export const MoveAbort = new MoveAbort$Type(); // @generated message type with reflection information, may provide speed optimized methods class MoveLocation$Type extends MessageType { constructor() { super('sui.rpc.v2.MoveLocation', [ { no: 1, name: 'package', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 2, name: 'module', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 3, name: 'function', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 4, name: 'instruction', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 5, name: 'function_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.MoveLocation */ export const MoveLocation = new MoveLocation$Type(); // @generated message type with reflection information, may provide speed optimized methods class CleverError$Type extends MessageType { constructor() { super('sui.rpc.v2.CleverError', [ { no: 1, name: 'error_code', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 2, name: 'line_number', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 3, name: 'constant_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 4, name: 'constant_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 5, name: 'rendered', kind: 'scalar', oneof: 'value', T: 9 /*ScalarType.STRING*/ }, { no: 6, name: 'raw', kind: 'scalar', oneof: 'value', T: 12 /*ScalarType.BYTES*/ }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.CleverError */ export const CleverError = new CleverError$Type(); // @generated message type with reflection information, may provide speed optimized methods class SizeError$Type extends MessageType { constructor() { super('sui.rpc.v2.SizeError', [ { no: 1, name: 'size', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 2, name: 'max_size', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.SizeError */ export const SizeError = new SizeError$Type(); // @generated message type with reflection information, may provide speed optimized methods class IndexError$Type extends MessageType { constructor() { super('sui.rpc.v2.IndexError', [ { no: 1, name: 'index', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 2, name: 'subresult', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.IndexError */ export const IndexError = new IndexError$Type(); // @generated message type with reflection information, may provide speed optimized methods class CoinDenyListError$Type extends MessageType { constructor() { super('sui.rpc.v2.CoinDenyListError', [ { no: 1, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.CoinDenyListError */ export const CoinDenyListError = new CoinDenyListError$Type(); // @generated message type with reflection information, may provide speed optimized methods class CongestedObjects$Type extends MessageType { constructor() { super('sui.rpc.v2.CongestedObjects', [ { no: 1, name: 'objects', kind: 'scalar', repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.CongestedObjects */ export const CongestedObjects = new CongestedObjects$Type(); // @generated message type with reflection information, may provide speed optimized methods class CommandArgumentError$Type extends MessageType { constructor() { super('sui.rpc.v2.CommandArgumentError', [ { no: 1, name: 'argument', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 2, name: 'kind', kind: 'enum', opt: true, T: () => [ 'sui.rpc.v2.CommandArgumentError.CommandArgumentErrorKind', CommandArgumentError_CommandArgumentErrorKind, ], }, { no: 3, name: 'index_error', kind: 'message', T: () => IndexError }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.CommandArgumentError */ export const CommandArgumentError = new CommandArgumentError$Type(); // @generated message type with reflection information, may provide speed optimized methods class PackageUpgradeError$Type extends MessageType { constructor() { super('sui.rpc.v2.PackageUpgradeError', [ { no: 1, name: 'kind', kind: 'enum', opt: true, T: () => [ 'sui.rpc.v2.PackageUpgradeError.PackageUpgradeErrorKind', PackageUpgradeError_PackageUpgradeErrorKind, ], }, { no: 2, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 3, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, { no: 4, name: 'policy', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 5, name: 'ticket_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.PackageUpgradeError */ export const PackageUpgradeError = new PackageUpgradeError$Type(); // @generated message type with reflection information, may provide speed optimized methods class TypeArgumentError$Type extends MessageType { constructor() { super('sui.rpc.v2.TypeArgumentError', [ { no: 1, name: 'type_argument', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ }, { no: 2, name: 'kind', kind: 'enum', opt: true, T: () => [ 'sui.rpc.v2.TypeArgumentError.TypeArgumentErrorKind', TypeArgumentError_TypeArgumentErrorKind, ], }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.TypeArgumentError */ export const TypeArgumentError = new TypeArgumentError$Type();