@mysten/sui 2.16.3 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/bcs/index.d.mts +20 -20
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +82 -1
- package/dist/grpc/client.d.mts +2 -0
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +2 -0
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/proto/google/protobuf/struct.mjs +1 -1
- package/dist/grpc/proto/google/protobuf/struct.mjs.map +1 -1
- package/dist/grpc/proto/google/rpc/status.mjs +1 -1
- package/dist/grpc/proto/google/rpc/status.mjs.map +1 -1
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +66 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs +48 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts +135 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs +144 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/effects.d.mts +71 -3
- package/dist/grpc/proto/sui/rpc/v2/effects.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/effects.mjs +71 -5
- package/dist/grpc/proto/sui/rpc/v2/effects.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/event.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/event.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs +2 -2
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package.mjs +13 -13
- package/dist/grpc/proto/sui/rpc/v2/move_package.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/object.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/state_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/state_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/system_state.mjs +2 -2
- package/dist/grpc/proto/sui/rpc/v2/system_state.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +16 -16
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs +4 -4
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +3 -2
- package/dist/grpc/proto/types.mjs +11 -1
- package/dist/grpc/proto/types.mjs.map +1 -1
- package/dist/jsonRpc/types/params.d.mts +5 -5
- package/dist/transactions/Transaction.d.mts +25 -11
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/Transaction.mjs +8 -3
- package/dist/transactions/Transaction.mjs.map +1 -1
- package/dist/transactions/index.d.mts +2 -2
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/jwt-utils.d.mts.map +1 -1
- package/dist/zklogin/jwt-utils.mjs.map +1 -1
- package/dist/zklogin/utils.d.mts.map +1 -1
- package/dist/zklogin/utils.mjs +9 -0
- package/dist/zklogin/utils.mjs.map +1 -1
- package/docs/bcs.md +11 -6
- package/docs/clients/core.md +10 -9
- package/docs/clients/grpc.md +1 -1
- package/docs/index.md +176 -22
- package/docs/llms-index.md +6 -9
- package/docs/migrations/0.38.md +2 -2
- package/docs/migrations/sui-1.0.md +2 -2
- package/docs/migrations/sui-2.0/json-rpc-migration.md +76 -33
- package/docs/plugins.md +29 -5
- package/docs/transactions/basics.md +279 -0
- package/docs/transactions/coins-and-balances.md +293 -0
- package/docs/transactions/offline.md +192 -0
- package/docs/transactions/reference.md +380 -0
- package/docs/transactions/signing-and-execution.md +401 -0
- package/package.json +27 -27
- package/src/graphql/generated/queries.ts +46 -1
- package/src/graphql/generated/schema.graphql +49 -3
- package/src/graphql/generated/tada-env.ts +97 -1
- package/src/grpc/client.ts +3 -0
- package/src/grpc/proto/google/protobuf/struct.ts +1 -1
- package/src/grpc/proto/google/rpc/error_details.ts +4 -4
- package/src/grpc/proto/google/rpc/status.ts +1 -1
- package/src/grpc/proto/sui/forking/v1alpha/forking_service.client.ts +125 -0
- package/src/grpc/proto/sui/forking/v1alpha/forking_service.ts +230 -0
- package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/effects.ts +112 -6
- package/src/grpc/proto/sui/rpc/v2/event.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +2 -2
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/move_package.ts +19 -13
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/object.ts +7 -1
- package/src/grpc/proto/sui/rpc/v2/signature.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +7 -1
- package/src/grpc/proto/sui/rpc/v2/state_service.ts +9 -3
- package/src/grpc/proto/sui/rpc/v2/system_state.ts +2 -2
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +22 -16
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +4 -4
- package/src/grpc/proto/types.ts +1 -0
- package/src/jsonRpc/types/params.ts +5 -5
- package/src/transactions/Transaction.ts +36 -5
- package/src/transactions/index.ts +1 -0
- package/src/version.ts +1 -1
- package/src/zklogin/jwt-utils.ts +3 -0
- package/src/zklogin/utils.ts +17 -0
- package/docs/faucet.md +0 -26
- package/docs/hello-sui.md +0 -115
- package/docs/install.md +0 -61
- package/docs/transaction-building/basics.md +0 -299
- package/docs/transaction-building/gas.md +0 -61
- package/docs/transaction-building/intents.md +0 -62
- package/docs/transaction-building/offline.md +0 -73
- package/docs/transaction-building/sponsored-transactions.md +0 -22
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
2
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
|
|
4
|
+
//#region src/grpc/proto/sui/forking/v1alpha/forking_service.ts
|
|
5
|
+
var AdvanceClockRequest$Type = class extends MessageType {
|
|
6
|
+
constructor() {
|
|
7
|
+
super("sui.forking.v1alpha.AdvanceClockRequest", [{
|
|
8
|
+
no: 1,
|
|
9
|
+
name: "duration_ms",
|
|
10
|
+
kind: "scalar",
|
|
11
|
+
opt: true,
|
|
12
|
+
T: 4,
|
|
13
|
+
L: 0
|
|
14
|
+
}]);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockRequest
|
|
19
|
+
*/
|
|
20
|
+
const AdvanceClockRequest = new AdvanceClockRequest$Type();
|
|
21
|
+
var AdvanceClockResponse$Type = class extends MessageType {
|
|
22
|
+
constructor() {
|
|
23
|
+
super("sui.forking.v1alpha.AdvanceClockResponse", [{
|
|
24
|
+
no: 1,
|
|
25
|
+
name: "timestamp_ms",
|
|
26
|
+
kind: "scalar",
|
|
27
|
+
T: 4,
|
|
28
|
+
L: 0
|
|
29
|
+
}, {
|
|
30
|
+
no: 2,
|
|
31
|
+
name: "tx_digest",
|
|
32
|
+
kind: "scalar",
|
|
33
|
+
T: 9
|
|
34
|
+
}]);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockResponse
|
|
39
|
+
*/
|
|
40
|
+
const AdvanceClockResponse = new AdvanceClockResponse$Type();
|
|
41
|
+
var AdvanceCheckpointRequest$Type = class extends MessageType {
|
|
42
|
+
constructor() {
|
|
43
|
+
super("sui.forking.v1alpha.AdvanceCheckpointRequest", []);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest
|
|
48
|
+
*/
|
|
49
|
+
const AdvanceCheckpointRequest = new AdvanceCheckpointRequest$Type();
|
|
50
|
+
var AdvanceCheckpointResponse$Type = class extends MessageType {
|
|
51
|
+
constructor() {
|
|
52
|
+
super("sui.forking.v1alpha.AdvanceCheckpointResponse", [{
|
|
53
|
+
no: 1,
|
|
54
|
+
name: "checkpoint_sequence_number",
|
|
55
|
+
kind: "scalar",
|
|
56
|
+
T: 4,
|
|
57
|
+
L: 0
|
|
58
|
+
}, {
|
|
59
|
+
no: 2,
|
|
60
|
+
name: "timestamp_ms",
|
|
61
|
+
kind: "scalar",
|
|
62
|
+
T: 4,
|
|
63
|
+
L: 0
|
|
64
|
+
}]);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointResponse
|
|
69
|
+
*/
|
|
70
|
+
const AdvanceCheckpointResponse = new AdvanceCheckpointResponse$Type();
|
|
71
|
+
var GetStatusRequest$Type = class extends MessageType {
|
|
72
|
+
constructor() {
|
|
73
|
+
super("sui.forking.v1alpha.GetStatusRequest", []);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusRequest
|
|
78
|
+
*/
|
|
79
|
+
const GetStatusRequest = new GetStatusRequest$Type();
|
|
80
|
+
var GetStatusResponse$Type = class extends MessageType {
|
|
81
|
+
constructor() {
|
|
82
|
+
super("sui.forking.v1alpha.GetStatusResponse", [
|
|
83
|
+
{
|
|
84
|
+
no: 1,
|
|
85
|
+
name: "epoch",
|
|
86
|
+
kind: "scalar",
|
|
87
|
+
T: 4,
|
|
88
|
+
L: 0
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
no: 2,
|
|
92
|
+
name: "checkpoint_sequence_number",
|
|
93
|
+
kind: "scalar",
|
|
94
|
+
T: 4,
|
|
95
|
+
L: 0
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
no: 3,
|
|
99
|
+
name: "timestamp_ms",
|
|
100
|
+
kind: "scalar",
|
|
101
|
+
T: 4,
|
|
102
|
+
L: 0
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
no: 4,
|
|
106
|
+
name: "forked_at_checkpoint",
|
|
107
|
+
kind: "scalar",
|
|
108
|
+
T: 4,
|
|
109
|
+
L: 0
|
|
110
|
+
}
|
|
111
|
+
]);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusResponse
|
|
116
|
+
*/
|
|
117
|
+
const GetStatusResponse = new GetStatusResponse$Type();
|
|
118
|
+
/**
|
|
119
|
+
* @generated ServiceType for protobuf service sui.forking.v1alpha.ForkingService
|
|
120
|
+
*/
|
|
121
|
+
const ForkingService = new ServiceType("sui.forking.v1alpha.ForkingService", [
|
|
122
|
+
{
|
|
123
|
+
name: "AdvanceClock",
|
|
124
|
+
options: {},
|
|
125
|
+
I: AdvanceClockRequest,
|
|
126
|
+
O: AdvanceClockResponse
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: "AdvanceCheckpoint",
|
|
130
|
+
options: {},
|
|
131
|
+
I: AdvanceCheckpointRequest,
|
|
132
|
+
O: AdvanceCheckpointResponse
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: "GetStatus",
|
|
136
|
+
options: {},
|
|
137
|
+
I: GetStatusRequest,
|
|
138
|
+
O: GetStatusResponse
|
|
139
|
+
}
|
|
140
|
+
]);
|
|
141
|
+
|
|
142
|
+
//#endregion
|
|
143
|
+
export { AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, ForkingService, GetStatusRequest, GetStatusResponse };
|
|
144
|
+
//# sourceMappingURL=forking_service.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forking_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/forking/v1alpha/forking_service.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/forking/v1alpha/forking_service.proto\" (package \"sui.forking.v1alpha\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceClockRequest\n */\nexport interface AdvanceClockRequest {\n\t/**\n\t * Duration in milliseconds to advance the clock. Defaults to 1 if unset.\n\t *\n\t * @generated from protobuf field: optional uint64 duration_ms = 1;\n\t */\n\tdurationMs?: bigint;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceClockResponse\n */\nexport interface AdvanceClockResponse {\n\t/**\n\t * Clock timestamp after advancing (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 1;\n\t */\n\ttimestampMs: bigint;\n\t/**\n\t * Digest of the ConsensusCommitPrologue transaction that advanced the clock.\n\t *\n\t * @generated from protobuf field: string tx_digest = 2;\n\t */\n\ttxDigest: string;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest\n */\nexport interface AdvanceCheckpointRequest {}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceCheckpointResponse\n */\nexport interface AdvanceCheckpointResponse {\n\t/**\n\t * Sequence number of the newly created checkpoint.\n\t *\n\t * @generated from protobuf field: uint64 checkpoint_sequence_number = 1;\n\t */\n\tcheckpointSequenceNumber: bigint;\n\t/**\n\t * Timestamp embedded in the checkpoint (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 2;\n\t */\n\ttimestampMs: bigint;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.GetStatusRequest\n */\nexport interface GetStatusRequest {}\n/**\n * @generated from protobuf message sui.forking.v1alpha.GetStatusResponse\n */\nexport interface GetStatusResponse {\n\t/**\n\t * Current epoch of the forked network.\n\t *\n\t * @generated from protobuf field: uint64 epoch = 1;\n\t */\n\tepoch: bigint;\n\t/**\n\t * Latest checkpoint sequence number.\n\t *\n\t * @generated from protobuf field: uint64 checkpoint_sequence_number = 2;\n\t */\n\tcheckpointSequenceNumber: bigint;\n\t/**\n\t * Current clock timestamp (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 3;\n\t */\n\ttimestampMs: bigint;\n\t/**\n\t * The upstream checkpoint at which the fork was created.\n\t *\n\t * @generated from protobuf field: uint64 forked_at_checkpoint = 4;\n\t */\n\tforkedAtCheckpoint: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceClockRequest$Type extends MessageType<AdvanceClockRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceClockRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'duration_ms',\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.forking.v1alpha.AdvanceClockRequest\n */\nexport const AdvanceClockRequest = new AdvanceClockRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceClockResponse$Type extends MessageType<AdvanceClockResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceClockResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'tx_digest', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockResponse\n */\nexport const AdvanceClockResponse = new AdvanceClockResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceCheckpointRequest$Type extends MessageType<AdvanceCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceCheckpointRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest\n */\nexport const AdvanceCheckpointRequest = new AdvanceCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceCheckpointResponse$Type extends MessageType<AdvanceCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceCheckpointResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'checkpoint_sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\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.forking.v1alpha.AdvanceCheckpointResponse\n */\nexport const AdvanceCheckpointResponse = new AdvanceCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetStatusRequest$Type extends MessageType<GetStatusRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.GetStatusRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusRequest\n */\nexport const GetStatusRequest = new GetStatusRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetStatusResponse$Type extends MessageType<GetStatusResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.GetStatusResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'checkpoint_sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'forked_at_checkpoint',\n\t\t\t\tkind: 'scalar',\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.forking.v1alpha.GetStatusResponse\n */\nexport const GetStatusResponse = new GetStatusResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.forking.v1alpha.ForkingService\n */\nexport const ForkingService = new ServiceType('sui.forking.v1alpha.ForkingService', [\n\t{ name: 'AdvanceClock', options: {}, I: AdvanceClockRequest, O: AdvanceClockResponse },\n\t{\n\t\tname: 'AdvanceCheckpoint',\n\t\toptions: {},\n\t\tI: AdvanceCheckpointRequest,\n\t\tO: AdvanceCheckpointResponse,\n\t},\n\t{ name: 'GetStatus', options: {}, I: GetStatusRequest, O: GetStatusResponse },\n]);\n"],"mappings":";;;;AAgGA,IAAM,2BAAN,cAAuC,YAAiC;CACvE,cAAc;AACb,QAAM,2CAA2C,CAChD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,sBAAsB,IAAI,0BAA0B;AAEjE,IAAM,4BAAN,cAAwC,YAAkC;CACzE,cAAc;AACb,QAAM,4CAA4C,CACjD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,GAAG;GACH,GAAG;GACH,EACD;GAAE,IAAI;GAAG,MAAM;GAAa,MAAM;GAAU,GAAG;GAAyB,CACxE,CAAC;;;;;;AAMJ,MAAa,uBAAuB,IAAI,2BAA2B;AAEnE,IAAM,gCAAN,cAA4C,YAAsC;CACjF,cAAc;AACb,QAAM,gDAAgD,EAAE,CAAC;;;;;;AAM3D,MAAa,2BAA2B,IAAI,+BAA+B;AAE3E,IAAM,iCAAN,cAA6C,YAAuC;CACnF,cAAc;AACb,QAAM,iDAAiD,CACtD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,GAAG;GACH,GAAG;GACH,EACD;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,4BAA4B,IAAI,gCAAgC;AAE7E,IAAM,wBAAN,cAAoC,YAA8B;CACjE,cAAc;AACb,QAAM,wCAAwC,EAAE,CAAC;;;;;;AAMnD,MAAa,mBAAmB,IAAI,uBAAuB;AAE3D,IAAM,yBAAN,cAAqC,YAA+B;CACnE,cAAc;AACb,QAAM,yCAAyC;GAC9C;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,oBAAoB,IAAI,wBAAwB;;;;AAI7D,MAAa,iBAAiB,IAAI,YAAY,sCAAsC;CACnF;EAAE,MAAM;EAAgB,SAAS,EAAE;EAAE,GAAG;EAAqB,GAAG;EAAsB;CACtF;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EAAE,MAAM;EAAa,SAAS,EAAE;EAAE,GAAG;EAAkB,GAAG;EAAmB;CAC7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkpoint.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint.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.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 { ObjectSet } from './object.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { CheckpointContents } from './checkpoint_contents.js';\nimport { ValidatorAggregatedSignature } from './signature.js';\nimport { CheckpointSummary } from './checkpoint_summary.js';\n/**\n * @generated from protobuf message sui.rpc.v2.Checkpoint\n */\nexport interface Checkpoint {\n\t/**\n\t * The height of this checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 sequence_number = 1;\n\t */\n\tsequenceNumber?: bigint;\n\t/**\n\t * The digest of this Checkpoint's CheckpointSummary.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * The `CheckpointSummary` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointSummary summary = 3;\n\t */\n\tsummary?: CheckpointSummary;\n\t/**\n\t * An aggregated quorum signature from the validator committee that\n\t * certified this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorAggregatedSignature signature = 4;\n\t */\n\tsignature?: ValidatorAggregatedSignature;\n\t/**\n\t * The `CheckpointContents` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointContents contents = 5;\n\t */\n\tcontents?: CheckpointContents;\n\t/**\n\t * List of transactions included in this checkpoint.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ExecutedTransaction transactions = 6;\n\t */\n\ttransactions: ExecutedTransaction[];\n\t/**\n\t * Set of objects either referenced as inputs or produced as\n\t * outputs by transactions included in this checkpoint.\n\t *\n\t * In order to benefit from deduplication of objects that\n\t * appear in multiple transactions in this checkpoint, objects\n\t * will only be present here and the `transactions.objects`\n\t * field will not be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ObjectSet objects = 7;\n\t */\n\tobjects?: ObjectSet;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Checkpoint$Type extends MessageType<Checkpoint> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Checkpoint', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\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\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'summary', kind: 'message', T: () => CheckpointSummary },\n\t\t\t{ no: 4, name: 'signature', kind: 'message', T: () => ValidatorAggregatedSignature },\n\t\t\t{ no: 5, name: 'contents', kind: 'message', T: () => CheckpointContents },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat:
|
|
1
|
+
{"version":3,"file":"checkpoint.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint.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.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 { ObjectSet } from './object.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { CheckpointContents } from './checkpoint_contents.js';\nimport { ValidatorAggregatedSignature } from './signature.js';\nimport { CheckpointSummary } from './checkpoint_summary.js';\n/**\n * @generated from protobuf message sui.rpc.v2.Checkpoint\n */\nexport interface Checkpoint {\n\t/**\n\t * The height of this checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 sequence_number = 1;\n\t */\n\tsequenceNumber?: bigint;\n\t/**\n\t * The digest of this Checkpoint's CheckpointSummary.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * The `CheckpointSummary` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointSummary summary = 3;\n\t */\n\tsummary?: CheckpointSummary;\n\t/**\n\t * An aggregated quorum signature from the validator committee that\n\t * certified this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorAggregatedSignature signature = 4;\n\t */\n\tsignature?: ValidatorAggregatedSignature;\n\t/**\n\t * The `CheckpointContents` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointContents contents = 5;\n\t */\n\tcontents?: CheckpointContents;\n\t/**\n\t * List of transactions included in this checkpoint.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ExecutedTransaction transactions = 6;\n\t */\n\ttransactions: ExecutedTransaction[];\n\t/**\n\t * Set of objects either referenced as inputs or produced as\n\t * outputs by transactions included in this checkpoint.\n\t *\n\t * In order to benefit from deduplication of objects that\n\t * appear in multiple transactions in this checkpoint, objects\n\t * will only be present here and the `transactions.objects`\n\t * field will not be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ObjectSet objects = 7;\n\t */\n\tobjects?: ObjectSet;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Checkpoint$Type extends MessageType<Checkpoint> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Checkpoint', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\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\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'summary', kind: 'message', T: () => CheckpointSummary },\n\t\t\t{ no: 4, name: 'signature', kind: 'message', T: () => ValidatorAggregatedSignature },\n\t\t\t{ no: 5, name: 'contents', kind: 'message', T: () => CheckpointContents },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 7, name: 'objects', kind: 'message', T: () => ObjectSet },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Checkpoint\n */\nexport const Checkpoint = new Checkpoint$Type();\n"],"mappings":";;;;;;;;AAwEA,IAAM,kBAAN,cAA8B,YAAwB;CACrD,cAAc;AACb,QAAM,yBAAyB;GAC9B;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,SAAS;IAAmB;GACvE;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAA8B;GACpF;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAW,SAAS;IAAoB;GACzE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,SAAS;IAAW;GAC/D,CAAC;;;;;;AAMJ,MAAa,aAAa,IAAI,iBAAiB"}
|
|
@@ -30,7 +30,7 @@ var CheckpointContents$Type = class extends MessageType {
|
|
|
30
30
|
no: 4,
|
|
31
31
|
name: "transactions",
|
|
32
32
|
kind: "message",
|
|
33
|
-
repeat:
|
|
33
|
+
repeat: 2,
|
|
34
34
|
T: () => CheckpointedTransactionInfo
|
|
35
35
|
}
|
|
36
36
|
]);
|
|
@@ -61,14 +61,14 @@ var CheckpointedTransactionInfo$Type = class extends MessageType {
|
|
|
61
61
|
no: 3,
|
|
62
62
|
name: "signatures",
|
|
63
63
|
kind: "message",
|
|
64
|
-
repeat:
|
|
64
|
+
repeat: 2,
|
|
65
65
|
T: () => UserSignature
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
no: 4,
|
|
69
69
|
name: "address_aliases_versions",
|
|
70
70
|
kind: "message",
|
|
71
|
-
repeat:
|
|
71
|
+
repeat: 2,
|
|
72
72
|
T: () => AddressAliasesVersion
|
|
73
73
|
}
|
|
74
74
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"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
|
+
{"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: 2 /*RepeatType.UNPACKED*/,\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: 2 /*RepeatType.UNPACKED*/,\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: 2 /*RepeatType.UNPACKED*/,\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"}
|
|
@@ -98,7 +98,7 @@ var CheckpointSummary$Type = class extends MessageType {
|
|
|
98
98
|
no: 10,
|
|
99
99
|
name: "commitments",
|
|
100
100
|
kind: "message",
|
|
101
|
-
repeat:
|
|
101
|
+
repeat: 2,
|
|
102
102
|
T: () => CheckpointCommitment
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -128,7 +128,7 @@ var EndOfEpochData$Type = class extends MessageType {
|
|
|
128
128
|
no: 1,
|
|
129
129
|
name: "next_epoch_committee",
|
|
130
130
|
kind: "message",
|
|
131
|
-
repeat:
|
|
131
|
+
repeat: 2,
|
|
132
132
|
T: () => ValidatorCommitteeMember
|
|
133
133
|
},
|
|
134
134
|
{
|
|
@@ -143,7 +143,7 @@ var EndOfEpochData$Type = class extends MessageType {
|
|
|
143
143
|
no: 3,
|
|
144
144
|
name: "epoch_commitments",
|
|
145
145
|
kind: "message",
|
|
146
|
-
repeat:
|
|
146
|
+
repeat: 2,
|
|
147
147
|
T: () => CheckpointCommitment
|
|
148
148
|
}
|
|
149
149
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkpoint_summary.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint_summary.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_summary.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 { ValidatorCommitteeMember } from './signature.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\nimport { GasCostSummary } from './gas_cost_summary.js';\nimport { Bcs } from './bcs.js';\n/**\n * A header for a checkpoint on the Sui blockchain.\n *\n * On the Sui network, checkpoints define the history of the blockchain. They are quite similar to\n * the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain,\n * however, forms checkpoints after transaction execution has already happened to provide a\n * certified history of the chain, instead of being formed before execution.\n *\n * Checkpoints commit to a variety of state, including but not limited to:\n * - The hash of the previous checkpoint.\n * - The set of transaction digests, their corresponding effects digests, as well as the set of\n * user signatures that authorized its execution.\n * - The objects produced by a transaction.\n * - The set of live objects that make up the current state of the chain.\n * - On epoch transitions, the next validator committee.\n *\n * `CheckpointSummary`s themselves don't directly include all of the previous information but they\n * are the top-level type by which all the information is committed to transitively via cryptographic\n * hashes included in the summary. `CheckpointSummary`s are signed and certified by a quorum of\n * the validator committee in a given epoch to allow verification of the chain's state.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport interface CheckpointSummary {\n\t/**\n\t * This CheckpointSummary 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 CheckpointSummary.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * Epoch that this checkpoint belongs to.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The height of this checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 sequence_number = 4;\n\t */\n\tsequenceNumber?: bigint;\n\t/**\n\t * Total number of transactions committed since genesis, including those in this\n\t * checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 total_network_transactions = 5;\n\t */\n\ttotalNetworkTransactions?: bigint;\n\t/**\n\t * The hash of the `CheckpointContents` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional string content_digest = 6;\n\t */\n\tcontentDigest?: string;\n\t/**\n\t * The hash of the previous `CheckpointSummary`.\n\t *\n\t * This will be `None` only for the first, or genesis, checkpoint.\n\t *\n\t * @generated from protobuf field: optional string previous_digest = 7;\n\t */\n\tpreviousDigest?: string;\n\t/**\n\t * The running total gas costs of all transactions included in the current epoch so far\n\t * until this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary epoch_rolling_gas_cost_summary = 8;\n\t */\n\tepochRollingGasCostSummary?: GasCostSummary;\n\t/**\n\t * Timestamp of the checkpoint - number of milliseconds from the Unix epoch\n\t * Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent\n\t * checkpoints can have the same timestamp if they originate from the same underlining consensus commit.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 9;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * Commitments to checkpoint-specific state.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment commitments = 10;\n\t */\n\tcommitments: CheckpointCommitment[];\n\t/**\n\t * Extra data only present in the final checkpoint of an epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EndOfEpochData end_of_epoch_data = 11;\n\t */\n\tendOfEpochData?: EndOfEpochData;\n\t/**\n\t * `CheckpointSummary` is not an evolvable structure - it must be readable by any version of\n\t * the code. Therefore, to allow extensions to be added to `CheckpointSummary`,\n\t * opaque data can be added to checkpoints, which can be deserialized based on the current\n\t * protocol version.\n\t *\n\t * @generated from protobuf field: optional bytes version_specific_data = 12;\n\t */\n\tversionSpecificData?: Uint8Array;\n}\n/**\n * Data, which when included in a `CheckpointSummary`, signals the end of an `Epoch`.\n *\n * @generated from protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport interface EndOfEpochData {\n\t/**\n\t * The set of validators that will be in the `ValidatorCommittee` for the next epoch.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember next_epoch_committee = 1;\n\t */\n\tnextEpochCommittee: ValidatorCommitteeMember[];\n\t/**\n\t * The protocol version that is in effect during the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_protocol_version = 2;\n\t */\n\tnextEpochProtocolVersion?: bigint;\n\t/**\n\t * Commitments to epoch specific state (live object set)\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment epoch_commitments = 3;\n\t */\n\tepochCommitments: CheckpointCommitment[];\n}\n/**\n * A commitment made by a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport interface CheckpointCommitment {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind kind = 1;\n\t */\n\tkind?: CheckpointCommitment_CheckpointCommitmentKind;\n\t/**\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\n */\nexport enum CheckpointCommitment_CheckpointCommitmentKind {\n\t/**\n\t * @generated from protobuf enum value: CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0;\n\t */\n\tCHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0,\n\t/**\n\t * An elliptic curve multiset hash attesting to the set of objects that\n\t * comprise the live state of the Sui blockchain.\n\t *\n\t * @generated from protobuf enum value: ECMH_LIVE_OBJECT_SET = 1;\n\t */\n\tECMH_LIVE_OBJECT_SET = 1,\n\t/**\n\t * Digest of the checkpoint artifacts.\n\t *\n\t * @generated from protobuf enum value: CHECKPOINT_ARTIFACTS = 2;\n\t */\n\tCHECKPOINT_ARTIFACTS = 2,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointSummary$Type extends MessageType<CheckpointSummary> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointSummary', [\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{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\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\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'sequence_number',\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\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'total_network_transactions',\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\t{ no: 6, name: 'content_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'previous_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'epoch_rolling_gas_cost_summary', kind: 'message', T: () => GasCostSummary },\n\t\t\t{ no: 9, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t\t{ no: 11, name: 'end_of_epoch_data', kind: 'message', T: () => EndOfEpochData },\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'version_specific_data',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport const CheckpointSummary = new CheckpointSummary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndOfEpochData$Type extends MessageType<EndOfEpochData> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.EndOfEpochData', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'next_epoch_committee',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorCommitteeMember,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'next_epoch_protocol_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\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch_commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport const EndOfEpochData = new EndOfEpochData$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointCommitment$Type extends MessageType<CheckpointCommitment> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointCommitment', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind',\n\t\t\t\t\tCheckpointCommitment_CheckpointCommitmentKind,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport const CheckpointCommitment = new CheckpointCommitment$Type();\n"],"mappings":";;;;;;;;;;AAqKA,IAAY,0HAAL;;;;AAIN;;;;;;;AAOA;;;;;;AAMA;;;AAGD,IAAM,yBAAN,cAAqC,YAA+B;CACnE,cAAc;AACb,QAAM,gCAAgC;GACrC;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAK;GACrD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAkB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACxF;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACzF;IAAE,IAAI;IAAG,MAAM;IAAkC,MAAM;IAAW,SAAS;IAAgB;GAC3F;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAI,MAAM;IAAqB,MAAM;IAAW,SAAS;IAAgB;GAC/E;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,oBAAoB,IAAI,wBAAwB;AAE7D,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB;AAEvD,IAAM,4BAAN,cAAwC,YAAkC;CACzE,cAAc;AACb,QAAM,mCAAmC,CACxC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,SAAS,CACR,4DACA,8CACA;GACD,EACD;GAAE,IAAI;GAAG,MAAM;GAAU,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CAChF,CAAC;;;;;;AAMJ,MAAa,uBAAuB,IAAI,2BAA2B"}
|
|
1
|
+
{"version":3,"file":"checkpoint_summary.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/checkpoint_summary.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_summary.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 { ValidatorCommitteeMember } from './signature.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\nimport { GasCostSummary } from './gas_cost_summary.js';\nimport { Bcs } from './bcs.js';\n/**\n * A header for a checkpoint on the Sui blockchain.\n *\n * On the Sui network, checkpoints define the history of the blockchain. They are quite similar to\n * the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain,\n * however, forms checkpoints after transaction execution has already happened to provide a\n * certified history of the chain, instead of being formed before execution.\n *\n * Checkpoints commit to a variety of state, including but not limited to:\n * - The hash of the previous checkpoint.\n * - The set of transaction digests, their corresponding effects digests, as well as the set of\n * user signatures that authorized its execution.\n * - The objects produced by a transaction.\n * - The set of live objects that make up the current state of the chain.\n * - On epoch transitions, the next validator committee.\n *\n * `CheckpointSummary`s themselves don't directly include all of the previous information but they\n * are the top-level type by which all the information is committed to transitively via cryptographic\n * hashes included in the summary. `CheckpointSummary`s are signed and certified by a quorum of\n * the validator committee in a given epoch to allow verification of the chain's state.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport interface CheckpointSummary {\n\t/**\n\t * This CheckpointSummary 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 CheckpointSummary.\n\t *\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n\t/**\n\t * Epoch that this checkpoint belongs to.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The height of this checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 sequence_number = 4;\n\t */\n\tsequenceNumber?: bigint;\n\t/**\n\t * Total number of transactions committed since genesis, including those in this\n\t * checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 total_network_transactions = 5;\n\t */\n\ttotalNetworkTransactions?: bigint;\n\t/**\n\t * The hash of the `CheckpointContents` for this checkpoint.\n\t *\n\t * @generated from protobuf field: optional string content_digest = 6;\n\t */\n\tcontentDigest?: string;\n\t/**\n\t * The hash of the previous `CheckpointSummary`.\n\t *\n\t * This will be `None` only for the first, or genesis, checkpoint.\n\t *\n\t * @generated from protobuf field: optional string previous_digest = 7;\n\t */\n\tpreviousDigest?: string;\n\t/**\n\t * The running total gas costs of all transactions included in the current epoch so far\n\t * until this checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.GasCostSummary epoch_rolling_gas_cost_summary = 8;\n\t */\n\tepochRollingGasCostSummary?: GasCostSummary;\n\t/**\n\t * Timestamp of the checkpoint - number of milliseconds from the Unix epoch\n\t * Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent\n\t * checkpoints can have the same timestamp if they originate from the same underlining consensus commit.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 9;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * Commitments to checkpoint-specific state.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment commitments = 10;\n\t */\n\tcommitments: CheckpointCommitment[];\n\t/**\n\t * Extra data only present in the final checkpoint of an epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EndOfEpochData end_of_epoch_data = 11;\n\t */\n\tendOfEpochData?: EndOfEpochData;\n\t/**\n\t * `CheckpointSummary` is not an evolvable structure - it must be readable by any version of\n\t * the code. Therefore, to allow extensions to be added to `CheckpointSummary`,\n\t * opaque data can be added to checkpoints, which can be deserialized based on the current\n\t * protocol version.\n\t *\n\t * @generated from protobuf field: optional bytes version_specific_data = 12;\n\t */\n\tversionSpecificData?: Uint8Array;\n}\n/**\n * Data, which when included in a `CheckpointSummary`, signals the end of an `Epoch`.\n *\n * @generated from protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport interface EndOfEpochData {\n\t/**\n\t * The set of validators that will be in the `ValidatorCommittee` for the next epoch.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorCommitteeMember next_epoch_committee = 1;\n\t */\n\tnextEpochCommittee: ValidatorCommitteeMember[];\n\t/**\n\t * The protocol version that is in effect during the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_protocol_version = 2;\n\t */\n\tnextEpochProtocolVersion?: bigint;\n\t/**\n\t * Commitments to epoch specific state (live object set)\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.CheckpointCommitment epoch_commitments = 3;\n\t */\n\tepochCommitments: CheckpointCommitment[];\n}\n/**\n * A commitment made by a checkpoint.\n *\n * @generated from protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport interface CheckpointCommitment {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind kind = 1;\n\t */\n\tkind?: CheckpointCommitment_CheckpointCommitmentKind;\n\t/**\n\t * @generated from protobuf field: optional string digest = 2;\n\t */\n\tdigest?: string;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind\n */\nexport enum CheckpointCommitment_CheckpointCommitmentKind {\n\t/**\n\t * @generated from protobuf enum value: CHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0;\n\t */\n\tCHECKPOINT_COMMITMENT_KIND_UNKNOWN = 0,\n\t/**\n\t * An elliptic curve multiset hash attesting to the set of objects that\n\t * comprise the live state of the Sui blockchain.\n\t *\n\t * @generated from protobuf enum value: ECMH_LIVE_OBJECT_SET = 1;\n\t */\n\tECMH_LIVE_OBJECT_SET = 1,\n\t/**\n\t * Digest of the checkpoint artifacts.\n\t *\n\t * @generated from protobuf enum value: CHECKPOINT_ARTIFACTS = 2;\n\t */\n\tCHECKPOINT_ARTIFACTS = 2,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointSummary$Type extends MessageType<CheckpointSummary> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointSummary', [\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{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\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\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'sequence_number',\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\t{\n\t\t\t\tno: 5,\n\t\t\t\tname: 'total_network_transactions',\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\t{ no: 6, name: 'content_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'previous_digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'epoch_rolling_gas_cost_summary', kind: 'message', T: () => GasCostSummary },\n\t\t\t{ no: 9, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t\t{ no: 11, name: 'end_of_epoch_data', kind: 'message', T: () => EndOfEpochData },\n\t\t\t{\n\t\t\t\tno: 12,\n\t\t\t\tname: 'version_specific_data',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 12 /*ScalarType.BYTES*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointSummary\n */\nexport const CheckpointSummary = new CheckpointSummary$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndOfEpochData$Type extends MessageType<EndOfEpochData> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.EndOfEpochData', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'next_epoch_committee',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ValidatorCommitteeMember,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'next_epoch_protocol_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\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch_commitments',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => CheckpointCommitment,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.EndOfEpochData\n */\nexport const EndOfEpochData = new EndOfEpochData$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CheckpointCommitment$Type extends MessageType<CheckpointCommitment> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CheckpointCommitment', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.CheckpointCommitment.CheckpointCommitmentKind',\n\t\t\t\t\tCheckpointCommitment_CheckpointCommitmentKind,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CheckpointCommitment\n */\nexport const CheckpointCommitment = new CheckpointCommitment$Type();\n"],"mappings":";;;;;;;;;;AAqKA,IAAY,0HAAL;;;;AAIN;;;;;;;AAOA;;;;;;AAMA;;;AAGD,IAAM,yBAAN,cAAqC,YAA+B;CACnE,cAAc;AACb,QAAM,gCAAgC;GACrC;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAK;GACrD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAkB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACxF;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACzF;IAAE,IAAI;IAAG,MAAM;IAAkC,MAAM;IAAW,SAAS;IAAgB;GAC3F;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAI,MAAM;IAAqB,MAAM;IAAW,SAAS;IAAgB;GAC/E;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,oBAAoB,IAAI,wBAAwB;AAE7D,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB;AAEvD,IAAM,4BAAN,cAAwC,YAAkC;CACzE,cAAc;AACb,QAAM,mCAAmC,CACxC;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,SAAS,CACR,4DACA,8CACA;GACD,EACD;GAAE,IAAI;GAAG,MAAM;GAAU,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CAChF,CAAC;;;;;;AAMJ,MAAa,uBAAuB,IAAI,2BAA2B"}
|
|
@@ -248,6 +248,25 @@ declare enum ChangedObject_IdOperation {
|
|
|
248
248
|
*/
|
|
249
249
|
DELETED = 3
|
|
250
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* An entry in an event digest accumulator value.
|
|
253
|
+
*
|
|
254
|
+
* @generated from protobuf message sui.rpc.v2.EventDigestEntry
|
|
255
|
+
*/
|
|
256
|
+
interface EventDigestEntry {
|
|
257
|
+
/**
|
|
258
|
+
* Index of the event within its transaction.
|
|
259
|
+
*
|
|
260
|
+
* @generated from protobuf field: optional uint64 event_index = 1;
|
|
261
|
+
*/
|
|
262
|
+
eventIndex?: bigint;
|
|
263
|
+
/**
|
|
264
|
+
* Digest of the event.
|
|
265
|
+
*
|
|
266
|
+
* @generated from protobuf field: optional string digest = 2;
|
|
267
|
+
*/
|
|
268
|
+
digest?: string;
|
|
269
|
+
}
|
|
251
270
|
/**
|
|
252
271
|
* @generated from protobuf message sui.rpc.v2.AccumulatorWrite
|
|
253
272
|
*/
|
|
@@ -265,9 +284,30 @@ interface AccumulatorWrite {
|
|
|
265
284
|
*/
|
|
266
285
|
operation?: AccumulatorWrite_AccumulatorOperation;
|
|
267
286
|
/**
|
|
268
|
-
* @generated from protobuf field: optional
|
|
287
|
+
* @generated from protobuf field: optional sui.rpc.v2.AccumulatorWrite.AccumulatorValue value_kind = 4;
|
|
288
|
+
*/
|
|
289
|
+
valueKind?: AccumulatorWrite_AccumulatorValue;
|
|
290
|
+
/**
|
|
291
|
+
* Set when the accumulator value is an integer (value_kind = INTEGER).
|
|
292
|
+
*
|
|
293
|
+
* @generated from protobuf field: optional uint64 integer_value = 5;
|
|
294
|
+
*/
|
|
295
|
+
integerValue?: bigint;
|
|
296
|
+
/**
|
|
297
|
+
* Set, with len 2, when the accumulator value is an integer tuple
|
|
298
|
+
* (value_kind = INTEGER_TUPLE).
|
|
299
|
+
*
|
|
300
|
+
* @generated from protobuf field: repeated uint64 integer_tuple = 6;
|
|
301
|
+
*/
|
|
302
|
+
integerTuple: bigint[];
|
|
303
|
+
/**
|
|
304
|
+
* Set when the accumulator value is an event digest list (value_kind = EVENT_DIGEST).
|
|
305
|
+
* Contains a non-empty list of (event_index, digest) pairs representing
|
|
306
|
+
* authenticated event stream entries within a transaction.
|
|
307
|
+
*
|
|
308
|
+
* @generated from protobuf field: repeated sui.rpc.v2.EventDigestEntry event_digest_value = 7;
|
|
269
309
|
*/
|
|
270
|
-
|
|
310
|
+
eventDigestValue: EventDigestEntry[];
|
|
271
311
|
}
|
|
272
312
|
/**
|
|
273
313
|
* @generated from protobuf enum sui.rpc.v2.AccumulatorWrite.AccumulatorOperation
|
|
@@ -286,6 +326,27 @@ declare enum AccumulatorWrite_AccumulatorOperation {
|
|
|
286
326
|
*/
|
|
287
327
|
SPLIT = 2
|
|
288
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* @generated from protobuf enum sui.rpc.v2.AccumulatorWrite.AccumulatorValue
|
|
331
|
+
*/
|
|
332
|
+
declare enum AccumulatorWrite_AccumulatorValue {
|
|
333
|
+
/**
|
|
334
|
+
* @generated from protobuf enum value: ACCUMULATOR_VALUE_UNKNOWN = 0;
|
|
335
|
+
*/
|
|
336
|
+
ACCUMULATOR_VALUE_UNKNOWN = 0,
|
|
337
|
+
/**
|
|
338
|
+
* @generated from protobuf enum value: INTEGER = 1;
|
|
339
|
+
*/
|
|
340
|
+
INTEGER = 1,
|
|
341
|
+
/**
|
|
342
|
+
* @generated from protobuf enum value: INTEGER_TUPLE = 2;
|
|
343
|
+
*/
|
|
344
|
+
INTEGER_TUPLE = 2,
|
|
345
|
+
/**
|
|
346
|
+
* @generated from protobuf enum value: EVENT_DIGEST = 3;
|
|
347
|
+
*/
|
|
348
|
+
EVENT_DIGEST = 3
|
|
349
|
+
}
|
|
289
350
|
/**
|
|
290
351
|
* A consensus object that wasn't changed during execution.
|
|
291
352
|
*
|
|
@@ -378,6 +439,13 @@ declare class ChangedObject$Type extends MessageType<ChangedObject> {
|
|
|
378
439
|
* @generated MessageType for protobuf message sui.rpc.v2.ChangedObject
|
|
379
440
|
*/
|
|
380
441
|
declare const ChangedObject: ChangedObject$Type;
|
|
442
|
+
declare class EventDigestEntry$Type extends MessageType<EventDigestEntry> {
|
|
443
|
+
constructor();
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* @generated MessageType for protobuf message sui.rpc.v2.EventDigestEntry
|
|
447
|
+
*/
|
|
448
|
+
declare const EventDigestEntry: EventDigestEntry$Type;
|
|
381
449
|
declare class AccumulatorWrite$Type extends MessageType<AccumulatorWrite> {
|
|
382
450
|
constructor();
|
|
383
451
|
}
|
|
@@ -393,5 +461,5 @@ declare class UnchangedConsensusObject$Type extends MessageType<UnchangedConsens
|
|
|
393
461
|
*/
|
|
394
462
|
declare const UnchangedConsensusObject: UnchangedConsensusObject$Type;
|
|
395
463
|
//#endregion
|
|
396
|
-
export { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind };
|
|
464
|
+
export { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, EventDigestEntry, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind };
|
|
397
465
|
//# sourceMappingURL=effects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effects.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/effects.ts"],"mappings":";;;;;;;;;;AAsBA;;;UAAiB,kBAAA;EAwBP;;;;;EAlBT,GAAA,GAAM,GAAA;EA0FwC;;;;;EApF9C,MAAA;EAYA;;;;;EANA,OAAA;EAgCA;;;;;EA1BA,MAAA,GAAS,eAAA;EAmDO;;;;;EA7ChB,KAAA;EAkE8C;;AAO/C;;;EAnEC,OAAA,GAAU,cAAA;EA+FG;;;;;EAzFb,iBAAA;EA2HuC;;;;;;;EAnHvC,SAAA,GAAY,aAAA;EAqFZ;;;;;;EA9EA,YAAA;EAsGmB;;;;;EAhGnB,YAAA;EAkHW;;;;;EA5GX,cAAA;EAwHA;;;AAKD;;EAvHC,cAAA,EAAgB,aAAA;EAuH0B;;;;;;;;EA9G1C,yBAAA,EAA2B,wBAAA;EAuIS;;;;;;;EA/HpC,mBAAA;EA+IO;
|
|
1
|
+
{"version":3,"file":"effects.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/effects.ts"],"mappings":";;;;;;;;;;AAsBA;;;UAAiB,kBAAA;EAwBP;;;;;EAlBT,GAAA,GAAM,GAAA;EA0FwC;;;;;EApF9C,MAAA;EAYA;;;;;EANA,OAAA;EAgCA;;;;;EA1BA,MAAA,GAAS,eAAA;EAmDO;;;;;EA7ChB,KAAA;EAkE8C;;AAO/C;;;EAnEC,OAAA,GAAU,cAAA;EA+FG;;;;;EAzFb,iBAAA;EA2HuC;;;;;;;EAnHvC,SAAA,GAAY,aAAA;EAqFZ;;;;;;EA9EA,YAAA;EAsGmB;;;;;EAhGnB,YAAA;EAkHW;;;;;EA5GX,cAAA;EAwHA;;;AAKD;;EAvHC,cAAA,EAAgB,aAAA;EAuH0B;;;;;;;;EA9G1C,yBAAA,EAA2B,wBAAA;EAuIS;;;;;;;EA/HpC,mBAAA;EA+IO;AAOR;;EAlJC,6BAAA,EAA+B,eAAA;AAAA;;AAmKhC;;;;UA5JiB,aAAA;EAiME;;;;;EA3LlB,QAAA;EAkKY;;;EA9JZ,UAAA,GAAa,8BAAA;EA+Kb;;;;;EAzKA,YAAA;EAsLgD;;;;;EAhLhD,WAAA;EA4LK;;AAKN;;;EA3LC,UAAA,GAAa,KAAA;EA+Lb;;;EA3LA,WAAA,GAAc,+BAAA;EAuMF;;AAOb;;;EAxMC,aAAA;EA4MA;;;;;EAtMA,YAAA;EA+NU;;AAKX;;;EA9NC,WAAA,GAAc,KAAA;EAkOd;;;;;EA5NA,gBAAA,GAAmB,gBAAA;EA6PH;;AAChB;;;EAxPA,WAAA,GAAc,yBAAA;EA0PuB;;;;;AAoEtC;EAvTC,UAAA;AAAA;;;AAuT+D;aAlTpD,8BAAA;;;;EAIX,OAAA;;;;EAIA,cAAA;EAyWoD;;;EArWpD,MAAA;AAAA;;;;aAKW,+BAAA;EAkWoC;;;EA9V/C,OAAA;EAgXY;;;EA5WZ,cAAA;EA4W0D;AAAC;;EAxW3D,YAAA;EA0W8C;;;EAtW9C,aAAA;;;AA4ZD;EAxZC,iBAAA;AAAA;;;AAwZ2D;aAnZhD,yBAAA;;;;EAIX,oBAAA;;;;EAIA,IAAA;EA2a0E;;;EAva1E,OAAA;;;;EAIA,OAAA;AAAA;;;;;;UAOgB,gBAAA;;;;;;EAMhB,UAAA;;;;;;EAMA,MAAA;AAAA;;;;UAKgB,gBAAA;;;;EAIhB,OAAA;;;;EAIA,eAAA;;;;EAIA,SAAA,GAAY,qCAAA;;;;EAIZ,SAAA,GAAY,iCAAA;;;;;;EAMZ,YAAA;;;;;;;EAOA,YAAA;;;;;;;;EAQA,gBAAA,EAAkB,gBAAA;AAAA;;;;aAKP,qCAAA;;;;EAIX,6BAAA;;;;EAIA,KAAA;;;;EAIA,KAAA;AAAA;;;;aAKW,iCAAA;;;;EAIX,yBAAA;;;;EAIA,OAAA;;;;EAIA,aAAA;;;;EAIA,YAAA;AAAA;;;;;;UAOgB,wBAAA;;;;EAIhB,IAAA,GAAO,qDAAA;;;;;;EAMP,QAAA;;;;;;EAMA,OAAA;;;;;;EAMA,MAAA;;;;;;;EAOA,UAAA;AAAA;;;;aAKW,qDAAA;;;;EAIX,uCAAA;;;;;;EAMA,cAAA;;;;;;EAMA,6BAAA;;;;;;EAMA,2BAAA;;;;;;;EAOA,QAAA;;;;;;;;EAQA,gBAAA;AAAA;AAAA,cAGK,uBAAA,SAAgC,WAAA,CAAY,kBAAA;;;;;;cAoErC,kBAAA,EAAkB,uBAAA;AAAA,cAEzB,kBAAA,SAA2B,WAAA,CAAY,aAAA;;;;;;cA6DhC,aAAA,EAAa,kBAAA;AAAA,cAEpB,qBAAA,SAA8B,WAAA,CAAY,gBAAA;;;;;;cAkBnC,gBAAA,EAAgB,qBAAA;AAAA,cAEvB,qBAAA,SAA8B,WAAA,CAAY,gBAAA;;;;;;cAsDnC,gBAAA,EAAgB,qBAAA;AAAA,cAEvB,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cA8B3C,wBAAA,EAAwB,6BAAA"}
|
|
@@ -91,6 +91,28 @@ let AccumulatorWrite_AccumulatorOperation = /* @__PURE__ */ function(Accumulator
|
|
|
91
91
|
return AccumulatorWrite_AccumulatorOperation$1;
|
|
92
92
|
}({});
|
|
93
93
|
/**
|
|
94
|
+
* @generated from protobuf enum sui.rpc.v2.AccumulatorWrite.AccumulatorValue
|
|
95
|
+
*/
|
|
96
|
+
let AccumulatorWrite_AccumulatorValue = /* @__PURE__ */ function(AccumulatorWrite_AccumulatorValue$1) {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from protobuf enum value: ACCUMULATOR_VALUE_UNKNOWN = 0;
|
|
99
|
+
*/
|
|
100
|
+
AccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1["ACCUMULATOR_VALUE_UNKNOWN"] = 0] = "ACCUMULATOR_VALUE_UNKNOWN";
|
|
101
|
+
/**
|
|
102
|
+
* @generated from protobuf enum value: INTEGER = 1;
|
|
103
|
+
*/
|
|
104
|
+
AccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1["INTEGER"] = 1] = "INTEGER";
|
|
105
|
+
/**
|
|
106
|
+
* @generated from protobuf enum value: INTEGER_TUPLE = 2;
|
|
107
|
+
*/
|
|
108
|
+
AccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1["INTEGER_TUPLE"] = 2] = "INTEGER_TUPLE";
|
|
109
|
+
/**
|
|
110
|
+
* @generated from protobuf enum value: EVENT_DIGEST = 3;
|
|
111
|
+
*/
|
|
112
|
+
AccumulatorWrite_AccumulatorValue$1[AccumulatorWrite_AccumulatorValue$1["EVENT_DIGEST"] = 3] = "EVENT_DIGEST";
|
|
113
|
+
return AccumulatorWrite_AccumulatorValue$1;
|
|
114
|
+
}({});
|
|
115
|
+
/**
|
|
94
116
|
* @generated from protobuf enum sui.rpc.v2.UnchangedConsensusObject.UnchangedConsensusObjectKind
|
|
95
117
|
*/
|
|
96
118
|
let UnchangedConsensusObject_UnchangedConsensusObjectKind = /* @__PURE__ */ function(UnchangedConsensusObject_UnchangedConsensusObjectKind$1) {
|
|
@@ -215,14 +237,14 @@ var TransactionEffects$Type = class extends MessageType {
|
|
|
215
237
|
no: 12,
|
|
216
238
|
name: "changed_objects",
|
|
217
239
|
kind: "message",
|
|
218
|
-
repeat:
|
|
240
|
+
repeat: 2,
|
|
219
241
|
T: () => ChangedObject
|
|
220
242
|
},
|
|
221
243
|
{
|
|
222
244
|
no: 13,
|
|
223
245
|
name: "unchanged_consensus_objects",
|
|
224
246
|
kind: "message",
|
|
225
|
-
repeat:
|
|
247
|
+
repeat: 2,
|
|
226
248
|
T: () => UnchangedConsensusObject
|
|
227
249
|
},
|
|
228
250
|
{
|
|
@@ -236,7 +258,7 @@ var TransactionEffects$Type = class extends MessageType {
|
|
|
236
258
|
no: 15,
|
|
237
259
|
name: "unchanged_loaded_runtime_objects",
|
|
238
260
|
kind: "message",
|
|
239
|
-
repeat:
|
|
261
|
+
repeat: 2,
|
|
240
262
|
T: () => ObjectReference
|
|
241
263
|
}
|
|
242
264
|
]);
|
|
@@ -347,6 +369,28 @@ var ChangedObject$Type = class extends MessageType {
|
|
|
347
369
|
* @generated MessageType for protobuf message sui.rpc.v2.ChangedObject
|
|
348
370
|
*/
|
|
349
371
|
const ChangedObject = new ChangedObject$Type();
|
|
372
|
+
var EventDigestEntry$Type = class extends MessageType {
|
|
373
|
+
constructor() {
|
|
374
|
+
super("sui.rpc.v2.EventDigestEntry", [{
|
|
375
|
+
no: 1,
|
|
376
|
+
name: "event_index",
|
|
377
|
+
kind: "scalar",
|
|
378
|
+
opt: true,
|
|
379
|
+
T: 4,
|
|
380
|
+
L: 0
|
|
381
|
+
}, {
|
|
382
|
+
no: 2,
|
|
383
|
+
name: "digest",
|
|
384
|
+
kind: "scalar",
|
|
385
|
+
opt: true,
|
|
386
|
+
T: 9
|
|
387
|
+
}]);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* @generated MessageType for protobuf message sui.rpc.v2.EventDigestEntry
|
|
392
|
+
*/
|
|
393
|
+
const EventDigestEntry = new EventDigestEntry$Type();
|
|
350
394
|
var AccumulatorWrite$Type = class extends MessageType {
|
|
351
395
|
constructor() {
|
|
352
396
|
super("sui.rpc.v2.AccumulatorWrite", [
|
|
@@ -371,13 +415,35 @@ var AccumulatorWrite$Type = class extends MessageType {
|
|
|
371
415
|
opt: true,
|
|
372
416
|
T: () => ["sui.rpc.v2.AccumulatorWrite.AccumulatorOperation", AccumulatorWrite_AccumulatorOperation]
|
|
373
417
|
},
|
|
418
|
+
{
|
|
419
|
+
no: 4,
|
|
420
|
+
name: "value_kind",
|
|
421
|
+
kind: "enum",
|
|
422
|
+
opt: true,
|
|
423
|
+
T: () => ["sui.rpc.v2.AccumulatorWrite.AccumulatorValue", AccumulatorWrite_AccumulatorValue]
|
|
424
|
+
},
|
|
374
425
|
{
|
|
375
426
|
no: 5,
|
|
376
|
-
name: "
|
|
427
|
+
name: "integer_value",
|
|
377
428
|
kind: "scalar",
|
|
378
429
|
opt: true,
|
|
379
430
|
T: 4,
|
|
380
431
|
L: 0
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
no: 6,
|
|
435
|
+
name: "integer_tuple",
|
|
436
|
+
kind: "scalar",
|
|
437
|
+
repeat: 1,
|
|
438
|
+
T: 4,
|
|
439
|
+
L: 0
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
no: 7,
|
|
443
|
+
name: "event_digest_value",
|
|
444
|
+
kind: "message",
|
|
445
|
+
repeat: 2,
|
|
446
|
+
T: () => EventDigestEntry
|
|
381
447
|
}
|
|
382
448
|
]);
|
|
383
449
|
}
|
|
@@ -434,5 +500,5 @@ var UnchangedConsensusObject$Type = class extends MessageType {
|
|
|
434
500
|
const UnchangedConsensusObject = new UnchangedConsensusObject$Type();
|
|
435
501
|
|
|
436
502
|
//#endregion
|
|
437
|
-
export { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind };
|
|
503
|
+
export { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, EventDigestEntry, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind };
|
|
438
504
|
//# sourceMappingURL=effects.mjs.map
|