{"version":3,"file":"checkpoint_contents.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/checkpoint_contents.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * The committed to contents of a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointContents\n */\nexport interface CheckpointContents {\n\t/**\n\t * This CheckpointContents serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * The digest of this CheckpointContents.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * Version of this CheckpointContents\n\t *\n\t * @generated from protobuf field: optional int32 version = 3;\n\t */\n\tversion?: number;\n\t/**\n\t * Set of transactions committed to in this checkpoint.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointedTransactionInfo transactions = 4;\n\t */\n\ttransactions: CheckpointedTransactionInfo[];\n}\n/**\n * Transaction information committed to in a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointedTransactionInfo\n */\nexport interface CheckpointedTransactionInfo {\n\t/**\n\t * Digest of the transaction.\n\t *\n\t * @generated from protobuf field: optional string transaction = 1;\n\t */\n\ttransaction?: string;\n\t/**\n\t * Digest of the effects.\n\t *\n\t * @generated from protobuf field: optional string effects = 2;\n\t */\n\teffects?: string;\n\t/**\n\t * Set of user signatures that authorized the transaction.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.UserSignature signatures = 3;\n\t */\n\tsignatures: UserSignature[];\n\t/**\n\t * The `AddressAliases` object version, if any, that was used to verify the\n\t * UserSignature at the same position in `signatures`.\n\t *\n\t * This field is present when CheckpointContents.version is >= 2.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.AddressAliasesVersion address_aliases_versions = 4;\n\t */\n\taddressAliasesVersions: AddressAliasesVersion[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.AddressAliasesVersion\n */\nexport interface AddressAliasesVersion {\n\t/**\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointContents$Type extends MessageType<CheckpointContents> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointContents', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'version', kind: 'scalar', opt: true, T: 5 /*ScalarType.INT32*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CheckpointedTransactionInfo,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointContents\n */\nexport const CheckpointContents = new CheckpointContents$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointedTransactionInfo$Type extends MessageType<CheckpointedTransactionInfo> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointedTransactionInfo', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'effects', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => UserSignature,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'address_aliases_versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => AddressAliasesVersion,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointedTransactionInfo\n */\nexport const CheckpointedTransactionInfo = new CheckpointedTransactionInfo$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AddressAliasesVersion$Type extends MessageType<AddressAliasesVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.AddressAliasesVersion', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.AddressAliasesVersion\n */\nexport const AddressAliasesVersion = new AddressAliasesVersion$Type();\n"],"mappings":";;;;;AAyFA,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC;GACtC;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAK;GACrD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,KAAK;IAAM,GAAG;IAAwB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D,IAAM,mCAAN,cAA+C,YAAyC;CACvF,cAAc;AACb,QAAM,0CAA0C;GAC/C;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACrF;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACjF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD,CAAC;;;;;;AAMJ,MAAa,8BAA8B,IAAI,kCAAkC;AAEjF,IAAM,6BAAN,cAAyC,YAAmC;CAC3E,cAAc;AACb,QAAM,oCAAoC,CACzC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,wBAAwB,IAAI,4BAA4B"}