@mysten/sui 2.16.3 → 2.17.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 +18 -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 +9 -9
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/package.json +2 -2
- 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/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature_verification_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_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/rpc/v2/signature_verification_service.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 { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The signature to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{
|
|
1
|
+
{"version":3,"file":"signature_verification_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_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/rpc/v2/signature_verification_service.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 { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The signature to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'jwks',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ActiveJwk,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport const VerifySignatureRequest = new VerifySignatureRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureResponse$Type extends MessageType<VerifySignatureResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureResponse', [\n\t\t\t{ no: 1, name: 'is_valid', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 2, name: 'reason', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport const VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport const SignatureVerificationService = new ServiceType(\n\t'sui.rpc.v2.SignatureVerificationService',\n\t[{ name: 'VerifySignature', options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }],\n);\n"],"mappings":";;;;;;;AAwEA,IAAM,8BAAN,cAA0C,YAAoC;CAC7E,cAAc;AACb,QAAM,qCAAqC;GAC1C;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,SAAS;IAAK;GACzD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAe;GACrE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACjF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD,CAAC;;;;;;AAMJ,MAAa,yBAAyB,IAAI,6BAA6B;AAEvE,IAAM,+BAAN,cAA2C,YAAqC;CAC/E,cAAc;AACb,QAAM,sCAAsC,CAC3C;GAAE,IAAI;GAAG,MAAM;GAAY,MAAM;GAAU,KAAK;GAAM,GAAG;GAAuB,EAChF;GAAE,IAAI;GAAG,MAAM;GAAU,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CAChF,CAAC;;;;;;AAMJ,MAAa,0BAA0B,IAAI,8BAA8B;;;;AAIzE,MAAa,+BAA+B,IAAI,YAC/C,2CACA,CAAC;CAAE,MAAM;CAAmB,SAAS,EAAE;CAAE,GAAG;CAAwB,GAAG;CAAyB,CAAC,CACjG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse } from "./state_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/state_service.client.d.ts
|
|
@@ -35,9 +35,9 @@ interface IStateServiceClient {
|
|
|
35
35
|
declare class StateServiceClient implements IStateServiceClient, ServiceInfo {
|
|
36
36
|
private readonly _transport;
|
|
37
37
|
typeName: string;
|
|
38
|
-
methods:
|
|
38
|
+
methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
|
|
39
39
|
options: {
|
|
40
|
-
[extensionName: string]:
|
|
40
|
+
[extensionName: string]: _protobuf_ts_runtime4.JsonValue;
|
|
41
41
|
};
|
|
42
42
|
constructor(_transport: RpcTransport);
|
|
43
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/state_service.ts"],"mappings":";;;;;;;;;AAqBA;;;UAAiB,kBAAA;EAMR;AAOT;;;;EAPC,QAAA;AAAA;;;;;;UAOgB,mBAAA;EAoBL;;;;;EAdX,QAAA;EAiC4B;;;;;;EA1B5B,QAAA,GAAW,YAAA;EAyDX;;;;;;EAlDA,QAAA,GAAW,YAAA;EA6EA;;;;;;;;;;AAgCZ;EAjGC,iBAAA,GAAoB,qBAAA;AAAA;;;;;;UAOJ,YAAA;EA4GsB;AAOvC;;;;;EA5GC,EAAA;EA8HA;;;AAOD;;EA/HC,QAAA;EAoK6D;;;;;EA9J7D,IAAA;EA8JA;;;;AAOD;EA/JC,MAAA;;;;;;EAMA,WAAA;EA8KW;AAOZ;;;;EA/KC,OAAA;EAmMgB;;;;;AAajB;;EAxMC,aAAA;EAgOsB;;;;;EA1NtB,gBAAA,GAAmB,6BAAA;AAAA;AAkOpB;;;;;AAAA,aA3NY,6BAAA;EAwOX;;;;AAOD;;EAxOC,0BAAA;EAwOuB;;;;;EAlOvB,OAAA;EA4PW;AAOZ;;;;EA7PC,SAAA;EA2QA;;;;;EArQA,OAAA;AAAA;AA6RD;;;;;AAAA,UAtRiB,YAAA;EAmShB;;;;AAKD;EAlSC,EAAA;;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AAY,yBAAA;;;;;;cAiB5C,yBAAA,EAAyB,8BAAA;AAAA,cAEhC,iBAAA,SAA0B,WAAA,CAAY,YAAA;;;;;;cAwB/B,YAAA,EAAY,iBAAA;AAAA,cAEnB,4BAAA,SAAqC,WAAA,CAAY,uBAAA;;;;;;cAc1C,uBAAA,EAAuB,4BAAA;AAAA,cAE9B,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cAiB3C,wBAAA,EAAwB,6BAAA;;;;cAIxB,YAAA,EAAY,WAAA"}
|
|
@@ -383,7 +383,7 @@ var ListBalancesResponse$Type = class extends MessageType {
|
|
|
383
383
|
no: 1,
|
|
384
384
|
name: "balances",
|
|
385
385
|
kind: "message",
|
|
386
|
-
repeat:
|
|
386
|
+
repeat: 2,
|
|
387
387
|
T: () => Balance
|
|
388
388
|
}, {
|
|
389
389
|
no: 2,
|
|
@@ -482,7 +482,7 @@ var ListDynamicFieldsResponse$Type = class extends MessageType {
|
|
|
482
482
|
no: 1,
|
|
483
483
|
name: "dynamic_fields",
|
|
484
484
|
kind: "message",
|
|
485
|
-
repeat:
|
|
485
|
+
repeat: 2,
|
|
486
486
|
T: () => DynamicField
|
|
487
487
|
}, {
|
|
488
488
|
no: 2,
|
|
@@ -616,7 +616,7 @@ var ListOwnedObjectsResponse$Type = class extends MessageType {
|
|
|
616
616
|
no: 1,
|
|
617
617
|
name: "objects",
|
|
618
618
|
kind: "message",
|
|
619
|
-
repeat:
|
|
619
|
+
repeat: 2,
|
|
620
620
|
T: () => Object$1
|
|
621
621
|
}, {
|
|
622
622
|
no: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/state_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/rpc/v2/state_service.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 { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Bcs } from './bcs.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n\t/**\n\t * The coin type to request information about\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n\t/**\n\t * Required. The coin type.\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata metadata = 2;\n\t */\n\tmetadata?: CoinMetadata;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury treasury = 3;\n\t */\n\ttreasury?: CoinTreasury;\n\t/**\n\t * If this coin type is a regulated coin, this field will be\n\t * populated with information either from its Currency object\n\t * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n\t * object for coins that have not been migrated to the CoinRegistry\n\t *\n\t * If this coin is not known to be regulated, only the\n\t * coin_regulated_state field will be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata regulated_metadata = 4;\n\t */\n\tregulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2.CoinMetadata\n */\nexport interface CoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::CoinMetadata` object or\n\t * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Number of decimal places to coin uses.\n\t *\n\t * @generated from protobuf field: optional uint32 decimals = 2;\n\t */\n\tdecimals?: number;\n\t/**\n\t * Name for the token\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n\t/**\n\t * Symbol for the token\n\t *\n\t * @generated from protobuf field: optional string symbol = 4;\n\t */\n\tsymbol?: string;\n\t/**\n\t * Description of the token\n\t *\n\t * @generated from protobuf field: optional string description = 5;\n\t */\n\tdescription?: string;\n\t/**\n\t * URL for the token logo\n\t *\n\t * @generated from protobuf field: optional string icon_url = 6;\n\t */\n\ticonUrl?: string;\n\t/**\n\t * The MetadataCap ID if it has been claimed for this coin type.\n\t * This capability allows updating the coin's metadata fields.\n\t * Only populated when metadata is from CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string metadata_cap_id = 7;\n\t */\n\tmetadataCapId?: string;\n\t/**\n\t * State of the MetadataCap for this coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n\t */\n\tmetadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n\t/**\n\t * Indicates the state of the MetadataCap is unknown.\n\t * Set when the coin has not been migrated to the CoinRegistry.\n\t *\n\t * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t */\n\tMETADATA_CAP_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates the MetadataCap has been claimed.\n\t *\n\t * @generated from protobuf enum value: CLAIMED = 1;\n\t */\n\tCLAIMED = 1,\n\t/**\n\t * Indicates the MetadataCap has not been claimed.\n\t *\n\t * @generated from protobuf enum value: UNCLAIMED = 2;\n\t */\n\tUNCLAIMED = 2,\n\t/**\n\t * Indicates the MetadataCap has been deleted.\n\t *\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2.CoinTreasury\n */\nexport interface CoinTreasury {\n\t/**\n\t * ObjectId of the `0x2::coin::TreasuryCap` object.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Total available supply for this coin type.\n\t *\n\t * @generated from protobuf field: optional uint64 total_supply = 2;\n\t */\n\ttotalSupply?: bigint;\n\t/**\n\t * Supply state indicating if the supply is fixed or can still be minted\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury.SupplyState supply_state = 3;\n\t */\n\tsupplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n\t/**\n\t * Supply is unknown or TreasuryCap still exists (minting still possible)\n\t *\n\t * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t */\n\tSUPPLY_STATE_UNKNOWN = 0,\n\t/**\n\t * Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t *\n\t * @generated from protobuf enum value: FIXED = 1;\n\t */\n\tFIXED = 1,\n\t/**\n\t * Supply can only decrease (burning allowed, minting not allowed)\n\t *\n\t * @generated from protobuf enum value: BURN_ONLY = 2;\n\t */\n\tBURN_ONLY = 2,\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n\t * Only present for coins that have not been migrated to CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The ID of the coin's `CoinMetadata` or `CoinData` object.\n\t *\n\t * @generated from protobuf field: optional string coin_metadata_object = 2;\n\t */\n\tcoinMetadataObject?: string;\n\t/**\n\t * The ID of the coin's `DenyCap` object.\n\t *\n\t * @generated from protobuf field: optional string deny_cap_object = 3;\n\t */\n\tdenyCapObject?: string;\n\t/**\n\t * Whether the coin can be globally paused\n\t *\n\t * @generated from protobuf field: optional bool allow_global_pause = 4;\n\t */\n\tallowGlobalPause?: boolean;\n\t/**\n\t * Variant of the regulated coin metadata\n\t *\n\t * @generated from protobuf field: optional uint32 variant = 5;\n\t */\n\tvariant?: number;\n\t/**\n\t * Indicates the coin's regulated state.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n\t */\n\tcoinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n\t/**\n\t * Indicates the regulation state of the coin is unknown.\n\t * This is set when a coin has not been migrated to the\n\t * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t * object.\n\t *\n\t * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t */\n\tCOIN_REGULATED_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t *\n\t * @generated from protobuf enum value: REGULATED = 1;\n\t */\n\tREGULATED = 1,\n\t/**\n\t * Indicates a coin is unregulated.\n\t *\n\t * @generated from protobuf enum value: UNREGULATED = 2;\n\t */\n\tUNREGULATED = 2,\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 2;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n\t/**\n\t * The balance information for the requested coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Balance balance = 1;\n\t */\n\tbalance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of balance entries to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListBalances` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListBalances` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n\t/**\n\t * The list of coin types and their respective balances.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Balance balances = 1;\n\t */\n\tbalances: Balance[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2.Balance\n */\nexport interface Balance {\n\t/**\n\t * The type of the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * The total balance of `coin_type` in its smallest unit.\n\t * This is the sum of all spendable amounts of `coin_type` (`address_balance`\n\t * and `coin_balance`).\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 3;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * The balance of `Balance<T>` in this address's Address Balance.\n\t *\n\t * @generated from protobuf field: optional uint64 address_balance = 4;\n\t */\n\taddressBalance?: bigint;\n\t/**\n\t * The balance of all `Coin<T>` objects owned by this address.\n\t *\n\t * @generated from protobuf field: optional uint64 coin_balance = 5;\n\t */\n\tcoinBalance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n\t/**\n\t * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n\t *\n\t * @generated from protobuf field: optional string parent = 1;\n\t */\n\tparent?: string;\n\t/**\n\t * The maximum number of dynamic fields to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListDynamicFields` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListDynamicFields` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `parent,field_id`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.DynamicField dynamic_fields = 1;\n\t */\n\tdynamicFields: DynamicField[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.DynamicField\n */\nexport interface DynamicField {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.DynamicField.DynamicFieldKind kind = 1;\n\t */\n\tkind?: DynamicField_DynamicFieldKind;\n\t/**\n\t * ObjectId of this dynamic field's parent.\n\t *\n\t * @generated from protobuf field: optional string parent = 2;\n\t */\n\tparent?: string;\n\t/**\n\t * ObjectId of this dynamic field.\n\t *\n\t * @generated from protobuf field: optional string field_id = 3;\n\t */\n\tfieldId?: string;\n\t/**\n\t * The field object itself\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object field_object = 4;\n\t */\n\tfieldObject?: Object;\n\t/**\n\t * The dynamic field's \"name\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs name = 5;\n\t */\n\tname?: Bcs;\n\t/**\n\t * The dynamic field's \"value\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 6;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * The type of the dynamic field \"value\".\n\t *\n\t * If this is a dynamic object field then this is the type of the object\n\t * itself (which is a child of this field), otherwise this is the type of the\n\t * value of this field.\n\t *\n\t * @generated from protobuf field: optional string value_type = 7;\n\t */\n\tvalueType?: string;\n\t/**\n\t * The ObjectId of the child object when a child is a dynamic\n\t * object field.\n\t *\n\t * The presence or absence of this field can be used to determine if a child\n\t * is a dynamic field or a dynamic child object\n\t *\n\t * @generated from protobuf field: optional string child_id = 8;\n\t */\n\tchildId?: string;\n\t/**\n\t * The object itself when a child is a dynamic object field.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object child_object = 9;\n\t */\n\tchildObject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n\t/**\n\t * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t */\n\tDYNAMIC_FIELD_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD = 1;\n\t */\n\tFIELD = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n\t/**\n\t * Required. The address of the account that owns the objects.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of entries return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListOwnedObjects` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListOwnedObjects` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,object_type`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional type filter to limit the types of objects listed.\n\t *\n\t * Providing an object type with no type params will return objects of that\n\t * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n\t * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n\t * with a type param will restrict the returned objects to only those objects\n\t * that match the provided type parameters, e.g.\n\t * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n\t */\n\tobjects: Object[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoRequest', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoResponse', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'metadata', kind: 'message', T: () => CoinMetadata },\n\t\t\t{ no: 3, name: 'treasury', kind: 'message', T: () => CoinTreasury },\n\t\t\t{ no: 4, name: 'regulated_metadata', kind: 'message', T: () => RegulatedCoinMetadata },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'decimals', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'symbol', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'icon_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'metadata_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'metadata_cap_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinMetadata.MetadataCapState', CoinMetadata_MetadataCapState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinTreasury', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'total_supply',\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: 'supply_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinTreasury.SupplyState', CoinTreasury_SupplyState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.RegulatedCoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'coin_metadata_object',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'deny_cap_object', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'allow_global_pause', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 5, name: 'variant', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'coin_regulated_state',\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.RegulatedCoinMetadata.CoinRegulatedState',\n\t\t\t\t\tRegulatedCoinMetadata_CoinRegulatedState,\n\t\t\t\t],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceResponse', [\n\t\t\t{ no: 1, name: 'balance', kind: 'message', T: () => Balance },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balances',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Balance,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Balance', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'balance',\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: 'address_balance',\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: 'coin_balance',\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.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsRequest', [\n\t\t\t{ no: 1, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'dynamic_fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => DynamicField,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.DynamicField', [\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: () => ['sui.rpc.v2.DynamicField.DynamicFieldKind', DynamicField_DynamicFieldKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'field_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'field_object', kind: 'message', T: () => Object },\n\t\t\t{ no: 5, name: 'name', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 6, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 7, name: 'value_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'child_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 9, name: 'child_object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsResponse', [\n\t\t\t{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.StateService\n */\nexport const StateService = new ServiceType('sui.rpc.v2.StateService', [\n\t{\n\t\tname: 'ListDynamicFields',\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse,\n\t},\n\t{\n\t\tname: 'ListOwnedObjects',\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse,\n\t},\n\t{ name: 'GetCoinInfo', options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n\t{ name: 'GetBalance', options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n\t{ name: 'ListBalances', options: {}, I: ListBalancesRequest, O: ListBalancesResponse },\n]);\n"],"mappings":";;;;;;;;;;;;AAmIA,IAAY,0FAAL;;;;;;;AAON;;;;;;AAMA;;;;;;AAMA;;;;;;AAMA;;;;;;;;AAgCD,IAAY,gFAAL;;;;;;AAMN;;;;;;AAMA;;;;;;AAMA;;;;;;;;AAmDD,IAAY,gHAAL;;;;;;;;;AASN;;;;;;AAMA;;;;;;AAMA;;;;;;AAsPD,IAAY,0FAAL;;;;AAIN;;;;AAIA;;;;AAIA;;;AAsED,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC,CACtC;GAAE,IAAI;GAAG,MAAM;GAAa,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CACnF,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D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,YAAqC;CAC/E,cAAc;AACb,QAAM,sCAAsC;GAC3C;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC/E;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAU,KAAK;IAAM,GAAG;IAA0B;GACpF;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACpF;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACrF,CAAC;;;;;;AAMJ,MAAa,0BAA0B,IAAI,8BAA8B;AAEzE,IAAM,gCAAN,cAA4C,YAAsC;CACjF,cAAc;AACb,QAAM,uCAAuC,CAC5C;GAAE,IAAI;GAAG,MAAM;GAAW,MAAM;GAAW,QAAQ;GAAyB,SAASA;GAAQ,EAC7F;GAAE,IAAI;GAAG,MAAM;GAAmB,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CACzF,CAAC;;;;;;AAMJ,MAAa,2BAA2B,IAAI,+BAA+B;;;;AAI3E,MAAa,eAAe,IAAI,YAAY,2BAA2B;CACtE;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EAAE,MAAM;EAAe,SAAS,EAAE;EAAE,GAAG;EAAoB,GAAG;EAAqB;CACnF;EAAE,MAAM;EAAc,SAAS,EAAE;EAAE,GAAG;EAAmB,GAAG;EAAoB;CAChF;EAAE,MAAM;EAAgB,SAAS,EAAE;EAAE,GAAG;EAAqB,GAAG;EAAsB;CACtF,CAAC"}
|
|
1
|
+
{"version":3,"file":"state_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/state_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/rpc/v2/state_service.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 { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Bcs } from './bcs.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n\t/**\n\t * The coin type to request information about\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n\t/**\n\t * Required. The coin type.\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata metadata = 2;\n\t */\n\tmetadata?: CoinMetadata;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury treasury = 3;\n\t */\n\ttreasury?: CoinTreasury;\n\t/**\n\t * If this coin type is a regulated coin, this field will be\n\t * populated with information either from its Currency object\n\t * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n\t * object for coins that have not been migrated to the CoinRegistry\n\t *\n\t * If this coin is not known to be regulated, only the\n\t * coin_regulated_state field will be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata regulated_metadata = 4;\n\t */\n\tregulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2.CoinMetadata\n */\nexport interface CoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::CoinMetadata` object or\n\t * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Number of decimal places to coin uses.\n\t *\n\t * @generated from protobuf field: optional uint32 decimals = 2;\n\t */\n\tdecimals?: number;\n\t/**\n\t * Name for the token\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n\t/**\n\t * Symbol for the token\n\t *\n\t * @generated from protobuf field: optional string symbol = 4;\n\t */\n\tsymbol?: string;\n\t/**\n\t * Description of the token\n\t *\n\t * @generated from protobuf field: optional string description = 5;\n\t */\n\tdescription?: string;\n\t/**\n\t * URL for the token logo\n\t *\n\t * @generated from protobuf field: optional string icon_url = 6;\n\t */\n\ticonUrl?: string;\n\t/**\n\t * The MetadataCap ID if it has been claimed for this coin type.\n\t * This capability allows updating the coin's metadata fields.\n\t * Only populated when metadata is from CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string metadata_cap_id = 7;\n\t */\n\tmetadataCapId?: string;\n\t/**\n\t * State of the MetadataCap for this coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n\t */\n\tmetadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n\t/**\n\t * Indicates the state of the MetadataCap is unknown.\n\t * Set when the coin has not been migrated to the CoinRegistry.\n\t *\n\t * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t */\n\tMETADATA_CAP_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates the MetadataCap has been claimed.\n\t *\n\t * @generated from protobuf enum value: CLAIMED = 1;\n\t */\n\tCLAIMED = 1,\n\t/**\n\t * Indicates the MetadataCap has not been claimed.\n\t *\n\t * @generated from protobuf enum value: UNCLAIMED = 2;\n\t */\n\tUNCLAIMED = 2,\n\t/**\n\t * Indicates the MetadataCap has been deleted.\n\t *\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2.CoinTreasury\n */\nexport interface CoinTreasury {\n\t/**\n\t * ObjectId of the `0x2::coin::TreasuryCap` object.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Total available supply for this coin type.\n\t *\n\t * @generated from protobuf field: optional uint64 total_supply = 2;\n\t */\n\ttotalSupply?: bigint;\n\t/**\n\t * Supply state indicating if the supply is fixed or can still be minted\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury.SupplyState supply_state = 3;\n\t */\n\tsupplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n\t/**\n\t * Supply is unknown or TreasuryCap still exists (minting still possible)\n\t *\n\t * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t */\n\tSUPPLY_STATE_UNKNOWN = 0,\n\t/**\n\t * Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t *\n\t * @generated from protobuf enum value: FIXED = 1;\n\t */\n\tFIXED = 1,\n\t/**\n\t * Supply can only decrease (burning allowed, minting not allowed)\n\t *\n\t * @generated from protobuf enum value: BURN_ONLY = 2;\n\t */\n\tBURN_ONLY = 2,\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n\t * Only present for coins that have not been migrated to CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The ID of the coin's `CoinMetadata` or `CoinData` object.\n\t *\n\t * @generated from protobuf field: optional string coin_metadata_object = 2;\n\t */\n\tcoinMetadataObject?: string;\n\t/**\n\t * The ID of the coin's `DenyCap` object.\n\t *\n\t * @generated from protobuf field: optional string deny_cap_object = 3;\n\t */\n\tdenyCapObject?: string;\n\t/**\n\t * Whether the coin can be globally paused\n\t *\n\t * @generated from protobuf field: optional bool allow_global_pause = 4;\n\t */\n\tallowGlobalPause?: boolean;\n\t/**\n\t * Variant of the regulated coin metadata\n\t *\n\t * @generated from protobuf field: optional uint32 variant = 5;\n\t */\n\tvariant?: number;\n\t/**\n\t * Indicates the coin's regulated state.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n\t */\n\tcoinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n\t/**\n\t * Indicates the regulation state of the coin is unknown.\n\t * This is set when a coin has not been migrated to the\n\t * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t * object.\n\t *\n\t * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t */\n\tCOIN_REGULATED_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t *\n\t * @generated from protobuf enum value: REGULATED = 1;\n\t */\n\tREGULATED = 1,\n\t/**\n\t * Indicates a coin is unregulated.\n\t *\n\t * @generated from protobuf enum value: UNREGULATED = 2;\n\t */\n\tUNREGULATED = 2,\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 2;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n\t/**\n\t * The balance information for the requested coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Balance balance = 1;\n\t */\n\tbalance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of balance entries to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListBalances` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListBalances` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n\t/**\n\t * The list of coin types and their respective balances.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Balance balances = 1;\n\t */\n\tbalances: Balance[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2.Balance\n */\nexport interface Balance {\n\t/**\n\t * The type of the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * The total balance of `coin_type` in its smallest unit.\n\t * This is the sum of all spendable amounts of `coin_type` (`address_balance`\n\t * and `coin_balance`).\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 3;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * The balance of `Balance<T>` in this address's Address Balance.\n\t *\n\t * @generated from protobuf field: optional uint64 address_balance = 4;\n\t */\n\taddressBalance?: bigint;\n\t/**\n\t * The balance of all `Coin<T>` objects owned by this address.\n\t *\n\t * @generated from protobuf field: optional uint64 coin_balance = 5;\n\t */\n\tcoinBalance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n\t/**\n\t * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n\t *\n\t * @generated from protobuf field: optional string parent = 1;\n\t */\n\tparent?: string;\n\t/**\n\t * The maximum number of dynamic fields to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListDynamicFields` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListDynamicFields` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `parent,field_id`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.DynamicField dynamic_fields = 1;\n\t */\n\tdynamicFields: DynamicField[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.DynamicField\n */\nexport interface DynamicField {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.DynamicField.DynamicFieldKind kind = 1;\n\t */\n\tkind?: DynamicField_DynamicFieldKind;\n\t/**\n\t * ObjectId of this dynamic field's parent.\n\t *\n\t * @generated from protobuf field: optional string parent = 2;\n\t */\n\tparent?: string;\n\t/**\n\t * ObjectId of this dynamic field.\n\t *\n\t * @generated from protobuf field: optional string field_id = 3;\n\t */\n\tfieldId?: string;\n\t/**\n\t * The field object itself\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object field_object = 4;\n\t */\n\tfieldObject?: Object;\n\t/**\n\t * The dynamic field's \"name\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs name = 5;\n\t */\n\tname?: Bcs;\n\t/**\n\t * The dynamic field's \"value\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 6;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * The type of the dynamic field \"value\".\n\t *\n\t * If this is a dynamic object field then this is the type of the object\n\t * itself (which is a child of this field), otherwise this is the type of the\n\t * value of this field.\n\t *\n\t * @generated from protobuf field: optional string value_type = 7;\n\t */\n\tvalueType?: string;\n\t/**\n\t * The ObjectId of the child object when a child is a dynamic\n\t * object field.\n\t *\n\t * The presence or absence of this field can be used to determine if a child\n\t * is a dynamic field or a dynamic child object\n\t *\n\t * @generated from protobuf field: optional string child_id = 8;\n\t */\n\tchildId?: string;\n\t/**\n\t * The object itself when a child is a dynamic object field.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object child_object = 9;\n\t */\n\tchildObject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n\t/**\n\t * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t */\n\tDYNAMIC_FIELD_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD = 1;\n\t */\n\tFIELD = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n\t/**\n\t * Required. The address of the account that owns the objects.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of entries return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListOwnedObjects` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListOwnedObjects` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,object_type`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional type filter to limit the types of objects listed.\n\t *\n\t * Providing an object type with no type params will return objects of that\n\t * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n\t * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n\t * with a type param will restrict the returned objects to only those objects\n\t * that match the provided type parameters, e.g.\n\t * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n\t */\n\tobjects: Object[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoRequest', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoResponse', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'metadata', kind: 'message', T: () => CoinMetadata },\n\t\t\t{ no: 3, name: 'treasury', kind: 'message', T: () => CoinTreasury },\n\t\t\t{ no: 4, name: 'regulated_metadata', kind: 'message', T: () => RegulatedCoinMetadata },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'decimals', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'symbol', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'icon_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'metadata_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'metadata_cap_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinMetadata.MetadataCapState', CoinMetadata_MetadataCapState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinTreasury', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'total_supply',\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: 'supply_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinTreasury.SupplyState', CoinTreasury_SupplyState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.RegulatedCoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'coin_metadata_object',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'deny_cap_object', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'allow_global_pause', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 5, name: 'variant', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'coin_regulated_state',\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.RegulatedCoinMetadata.CoinRegulatedState',\n\t\t\t\t\tRegulatedCoinMetadata_CoinRegulatedState,\n\t\t\t\t],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceResponse', [\n\t\t\t{ no: 1, name: 'balance', kind: 'message', T: () => Balance },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balances',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => Balance,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Balance', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'balance',\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: 'address_balance',\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: 'coin_balance',\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.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsRequest', [\n\t\t\t{ no: 1, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'dynamic_fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => DynamicField,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.DynamicField', [\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: () => ['sui.rpc.v2.DynamicField.DynamicFieldKind', DynamicField_DynamicFieldKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'field_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'field_object', kind: 'message', T: () => Object },\n\t\t\t{ no: 5, name: 'name', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 6, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 7, name: 'value_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'child_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 9, name: 'child_object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => Object,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.StateService\n */\nexport const StateService = new ServiceType('sui.rpc.v2.StateService', [\n\t{\n\t\tname: 'ListDynamicFields',\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse,\n\t},\n\t{\n\t\tname: 'ListOwnedObjects',\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse,\n\t},\n\t{ name: 'GetCoinInfo', options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n\t{ name: 'GetBalance', options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n\t{ name: 'ListBalances', options: {}, I: ListBalancesRequest, O: ListBalancesResponse },\n]);\n"],"mappings":";;;;;;;;;;;;AAmIA,IAAY,0FAAL;;;;;;;AAON;;;;;;AAMA;;;;;;AAMA;;;;;;AAMA;;;;;;;;AAgCD,IAAY,gFAAL;;;;;;AAMN;;;;;;AAMA;;;;;;AAMA;;;;;;;;AAmDD,IAAY,gHAAL;;;;;;;;;AASN;;;;;;AAMA;;;;;;AAMA;;;;;;AAsPD,IAAY,0FAAL;;;;AAIN;;;;AAIA;;;;AAIA;;;AAsED,IAAM,0B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;EAAE,GAAG;EAAqB,GAAG;EAAsB;CACtF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse } from "./subscription_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts
|
|
@@ -31,9 +31,9 @@ interface ISubscriptionServiceClient {
|
|
|
31
31
|
declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
|
|
32
32
|
private readonly _transport;
|
|
33
33
|
typeName: string;
|
|
34
|
-
methods:
|
|
34
|
+
methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
|
|
35
35
|
options: {
|
|
36
|
-
[extensionName: string]:
|
|
36
|
+
[extensionName: string]: _protobuf_ts_runtime5.JsonValue;
|
|
37
37
|
};
|
|
38
38
|
constructor(_transport: RpcTransport);
|
|
39
39
|
/**
|
|
@@ -58,7 +58,7 @@ var SystemState$Type = class extends MessageType {
|
|
|
58
58
|
no: 8,
|
|
59
59
|
name: "validator_report_records",
|
|
60
60
|
kind: "message",
|
|
61
|
-
repeat:
|
|
61
|
+
repeat: 2,
|
|
62
62
|
T: () => ValidatorReportRecord
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -343,7 +343,7 @@ var ValidatorSet$Type = class extends MessageType {
|
|
|
343
343
|
no: 2,
|
|
344
344
|
name: "active_validators",
|
|
345
345
|
kind: "message",
|
|
346
|
-
repeat:
|
|
346
|
+
repeat: 2,
|
|
347
347
|
T: () => Validator
|
|
348
348
|
},
|
|
349
349
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system_state.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/system_state.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/system_state.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';\n/**\n * @generated from protobuf message sui.rpc.v2.SystemState\n */\nexport interface SystemState {\n\t/**\n\t * The version of the system state data structure type.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The epoch id\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 2;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The protocol version\n\t *\n\t * @generated from protobuf field: optional uint64 protocol_version = 3;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Information about the validators\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorSet validators = 4;\n\t */\n\tvalidators?: ValidatorSet;\n\t/**\n\t * Storage Fund info\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StorageFund storage_fund = 5;\n\t */\n\tstorageFund?: StorageFund;\n\t/**\n\t * Set of system config parameters\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SystemParameters parameters = 6;\n\t */\n\tparameters?: SystemParameters;\n\t/**\n\t * The reference gas price for this epoch\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * A list of the records of validator reporting each other.\n\t *\n\t * There is an entry in this list for each validator that has been reported\n\t * at least once. Each record contains all the validators that reported\n\t * them. If a validator has never been reported they don't have a record in this list.\n\t * This lists persists across epoch: a peer continues being in a reported state until the\n\t * reporter doesn't explicitly remove their report.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n\t */\n\tvalidatorReportRecords: ValidatorReportRecord[];\n\t/**\n\t * Schedule of stake subsidies given out each epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakeSubsidy stake_subsidy = 9;\n\t */\n\tstakeSubsidy?: StakeSubsidy;\n\t/**\n\t * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n\t * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n\t * It can be reset once we are able to successfully execute advance_epoch.\n\t * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n\t * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n\t * are out of safe mode.\n\t *\n\t * @generated from protobuf field: optional bool safe_mode = 10;\n\t */\n\tsafeMode?: boolean;\n\t/**\n\t * Storage rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n\t */\n\tsafeModeStorageRewards?: bigint;\n\t/**\n\t * Computation rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n\t */\n\tsafeModeComputationRewards?: bigint;\n\t/**\n\t * Storage rebates paid out during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n\t */\n\tsafeModeStorageRebates?: bigint;\n\t/**\n\t * Nonrefundable storage fees accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n\t */\n\tsafeModeNonRefundableStorageFee?: bigint;\n\t/**\n\t * Unix timestamp of when this this epoch started\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n\t */\n\tepochStartTimestampMs?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 16;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n\t/**\n\t * The address of the validator being reported\n\t *\n\t * @generated from protobuf field: optional string reported = 1;\n\t */\n\treported?: string;\n\t/**\n\t * The list of validator (addresses) that are reporting on the validator specified by `reported`\n\t *\n\t * @generated from protobuf field: repeated string reporters = 2;\n\t */\n\treporters: string[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n\t/**\n\t * The duration of an epoch, in milliseconds.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n\t */\n\tepochDurationMs?: bigint;\n\t/**\n\t * The starting epoch in which stake subsidies start being paid out\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n\t */\n\tstakeSubsidyStartEpoch?: bigint;\n\t/**\n\t * Minimum number of active validators at any moment.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_count = 3;\n\t */\n\tminValidatorCount?: bigint;\n\t/**\n\t * Maximum number of active validators at any moment.\n\t * We do not allow the number of validators in any epoch to go above this.\n\t *\n\t * @generated from protobuf field: optional uint64 max_validator_count = 4;\n\t */\n\tmaxValidatorCount?: bigint;\n\t/**\n\t * Deprecated.\n\t * Lower-bound on the amount of stake required to become a validator.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n\t */\n\tminValidatorJoiningStake?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake amount below `validator_low_stake_threshold` are considered to\n\t * have low stake and will be escorted out of the validator set after being below this\n\t * threshold for more than `validator_low_stake_grace_period` number of epochs.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n\t */\n\tvalidatorLowStakeThreshold?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake below `validator_very_low_stake_threshold` will be removed\n\t * immediately at epoch change, no grace period.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n\t */\n\tvalidatorVeryLowStakeThreshold?: bigint;\n\t/**\n\t * A validator can have stake below `validator_low_stake_threshold`\n\t * for this many epochs before being kicked out.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n\t */\n\tvalidatorLowStakeGracePeriod?: bigint;\n\t/**\n\t * Any extra fields that are not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message sui.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n\t/**\n\t * The UID of the table or bag\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The size or number of key-value pairs in the table or bag\n\t *\n\t * @generated from protobuf field: optional uint64 size = 2;\n\t */\n\tsize?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n\t/**\n\t * Balance of SUI set aside for stake subsidies that will be drawn down over time.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 1;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * Count of the number of times stake subsidies have been distributed.\n\t *\n\t * @generated from protobuf field: optional uint64 distribution_counter = 2;\n\t */\n\tdistributionCounter?: bigint;\n\t/**\n\t * The amount of stake subsidy to be drawn down per distribution.\n\t * This amount decays and decreases over time.\n\t *\n\t * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n\t */\n\tcurrentDistributionAmount?: bigint;\n\t/**\n\t * Number of distributions to occur before the distribution amount decays.\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n\t */\n\tstakeSubsidyPeriodLength?: bigint;\n\t/**\n\t * The rate at which the distribution amount decays at the end of each\n\t * period. Expressed in basis points.\n\t *\n\t * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n\t */\n\tstakeSubsidyDecreaseRate?: number;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 6;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message sui.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n\t/**\n\t * This is the sum of `storage_rebate` of\n\t * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n\t * balance is storage charges collected from transactions, and the only outflow is storage rebates\n\t * of transactions, including both the portion refunded to the transaction senders as well as\n\t * the non-refundable portion taken out and put into `non_refundable_balance`.\n\t *\n\t * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n\t */\n\ttotalObjectStorageRebates?: bigint;\n\t/**\n\t * Represents any remaining inflow of the storage fund that should not\n\t * be taken out of the fund.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n\t */\n\tnonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n\t/**\n\t * Total amount of stake from all active validators at the beginning of the epoch.\n\t * Written only once per epoch, in `advance_epoch` function.\n\t *\n\t * @generated from protobuf field: optional uint64 total_stake = 1;\n\t */\n\ttotalStake?: bigint;\n\t/**\n\t * The current list of active validators.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Validator active_validators = 2;\n\t */\n\tactiveValidators: Validator[];\n\t/**\n\t * List of new validator candidates added during the current epoch.\n\t * They will be processed at the end of the epoch.\n\t *\n\t * key: u64 (index), value: 0x3::validator::Validator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable pending_active_validators = 3;\n\t */\n\tpendingActiveValidators?: MoveTable;\n\t/**\n\t * Removal requests from the validators. Each element is an index\n\t * pointing to `active_validators`.\n\t *\n\t * @generated from protobuf field: repeated uint64 pending_removals = 4;\n\t */\n\tpendingRemovals: bigint[];\n\t/**\n\t * Mappings from staking pool's ID to the sui address of a validator.\n\t *\n\t * key: address (staking pool Id), value: address (sui address of the validator)\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable staking_pool_mappings = 5;\n\t */\n\tstakingPoolMappings?: MoveTable;\n\t/**\n\t * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n\t * When a validator is deactivated the validator is removed from `active_validators` it\n\t * is added to this table so that stakers can continue to withdraw their stake from it.\n\t *\n\t * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable inactive_validators = 6;\n\t */\n\tinactiveValidators?: MoveTable;\n\t/**\n\t * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n\t * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n\t * validator.\n\t * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n\t * officially add them to the active validator set `active_validators` next epoch.\n\t *\n\t * key: address (sui address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable validator_candidates = 7;\n\t */\n\tvalidatorCandidates?: MoveTable;\n\t/**\n\t * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n\t *\n\t * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n\t */\n\tatRiskValidators: {\n\t\t[key: string]: bigint;\n\t};\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message sui.rpc.v2.Validator\n */\nexport interface Validator {\n\t/**\n\t * A unique human-readable name of this validator.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * The Sui Address of the validator. This is the sender that created the Validator object,\n\t * and also the address to send validator/coins to during withdraws.\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string description = 3;\n\t */\n\tdescription?: string;\n\t/**\n\t * @generated from protobuf field: optional string image_url = 4;\n\t */\n\timageUrl?: string;\n\t/**\n\t * @generated from protobuf field: optional string project_url = 5;\n\t */\n\tprojectUrl?: string;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * holds to sign transactions. For now, this is the same as AuthorityName.\n\t *\n\t * @generated from protobuf field: optional bytes protocol_public_key = 7;\n\t */\n\tprotocolPublicKey?: Uint8Array;\n\t/**\n\t * This is a proof that the validator has ownership of the protocol private key\n\t *\n\t * @generated from protobuf field: optional bytes proof_of_possession = 8;\n\t */\n\tproofOfPossession?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * uses to establish TLS connections\n\t *\n\t * @generated from protobuf field: optional bytes network_public_key = 10;\n\t */\n\tnetworkPublicKey?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the Narwhal Worker\n\t *\n\t * @generated from protobuf field: optional bytes worker_public_key = 12;\n\t */\n\tworkerPublicKey?: Uint8Array;\n\t/**\n\t * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string network_address = 13;\n\t */\n\tnetworkAddress?: string;\n\t/**\n\t * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n\t */\n\tp2PAddress?: string;\n\t/**\n\t * The address of the narwhal primary\n\t *\n\t * @generated from protobuf field: optional string primary_address = 15;\n\t */\n\tprimaryAddress?: string;\n\t/**\n\t * The address of the narwhal worker\n\t *\n\t * @generated from protobuf field: optional string worker_address = 16;\n\t */\n\tworkerAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n\t */\n\tnextEpochProtocolPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n\t */\n\tnextEpochProofOfPossession?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n\t */\n\tnextEpochNetworkPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n\t */\n\tnextEpochWorkerPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_network_address = 24;\n\t */\n\tnextEpochNetworkAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n\t */\n\tnextEpochP2PAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n\t */\n\tnextEpochPrimaryAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n\t */\n\tnextEpochWorkerAddress?: string;\n\t/**\n\t * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable metadata_extra_fields = 28;\n\t */\n\tmetadataExtraFields?: MoveTable;\n\t/**\n\t * The voting power of this validator, which might be different from its\n\t * stake amount.\n\t *\n\t * @generated from protobuf field: optional uint64 voting_power = 29;\n\t */\n\tvotingPower?: bigint;\n\t/**\n\t * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n\t *\n\t * @generated from protobuf field: optional string operation_cap_id = 30;\n\t */\n\toperationCapId?: string;\n\t/**\n\t * Gas price quote, updated only at end of epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 gas_price = 31;\n\t */\n\tgasPrice?: bigint;\n\t/**\n\t * Staking pool for this validator.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakingPool staking_pool = 32;\n\t */\n\tstakingPool?: StakingPool;\n\t/**\n\t * Commission rate of the validator, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 commission_rate = 33;\n\t */\n\tcommissionRate?: bigint;\n\t/**\n\t * Total amount of stake that would be active in the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n\t */\n\tnextEpochStake?: bigint;\n\t/**\n\t * This validator's gas price quote for the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n\t */\n\tnextEpochGasPrice?: bigint;\n\t/**\n\t * The commission rate of the validator starting the next epoch, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n\t */\n\tnextEpochCommissionRate?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 37;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message sui.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n\t/**\n\t * UID of the StakingPool object\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The epoch at which this pool became active.\n\t * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n\t *\n\t * @generated from protobuf field: optional uint64 activation_epoch = 2;\n\t */\n\tactivationEpoch?: bigint;\n\t/**\n\t * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n\t * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n\t *\n\t * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n\t */\n\tdeactivationEpoch?: bigint;\n\t/**\n\t * The total number of SUI tokens in this pool, including the SUI in the rewards_pool, as well as in all the principal\n\t * in the `StakedSui` object, updated at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 sui_balance = 4;\n\t */\n\tsuiBalance?: bigint;\n\t/**\n\t * The epoch stake rewards will be added here at the end of each epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 rewards_pool = 5;\n\t */\n\trewardsPool?: bigint;\n\t/**\n\t * Total number of pool tokens issued by the pool.\n\t *\n\t * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n\t */\n\tpoolTokenBalance?: bigint;\n\t/**\n\t * Exchange rate history of previous epochs.\n\t *\n\t * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n\t * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n\t *\n\t * key: u64 (epoch number), value: PoolTokenExchangeRate\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable exchange_rates = 7;\n\t */\n\texchangeRates?: MoveTable;\n\t/**\n\t * Pending stake amount for this epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_stake = 8;\n\t */\n\tpendingStake?: bigint;\n\t/**\n\t * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n\t * This includes both the principal and rewards SUI withdrawn.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_total_sui_withdraw = 9;\n\t */\n\tpendingTotalSuiWithdraw?: bigint;\n\t/**\n\t * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n\t */\n\tpendingPoolTokenWithdraw?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 11;\n\t */\n\textraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemState', [\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\t{\n\t\t\t\tno: 2,\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: 3,\n\t\t\t\tname: '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{ no: 4, name: 'validators', kind: 'message', T: () => ValidatorSet },\n\t\t\t{ no: 5, name: 'storage_fund', kind: 'message', T: () => StorageFund },\n\t\t\t{ no: 6, name: 'parameters', kind: 'message', T: () => SystemParameters },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'reference_gas_price',\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: 8,\n\t\t\t\tname: 'validator_report_records',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => ValidatorReportRecord,\n\t\t\t},\n\t\t\t{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },\n\t\t\t{ no: 10, name: 'safe_mode', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'safe_mode_storage_rewards',\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: 12,\n\t\t\t\tname: 'safe_mode_computation_rewards',\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: 13,\n\t\t\t\tname: 'safe_mode_storage_rebates',\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: 14,\n\t\t\t\tname: 'safe_mode_non_refundable_storage_fee',\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: 15,\n\t\t\t\tname: 'epoch_start_timestamp_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\t{ no: 16, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorReportRecord', [\n\t\t\t{ no: 1, name: 'reported', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'reporters',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemParameters', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch_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\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'stake_subsidy_start_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: 3,\n\t\t\t\tname: 'min_validator_count',\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: 'max_validator_count',\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: 'min_validator_joining_stake',\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: 6,\n\t\t\t\tname: 'validator_low_stake_threshold',\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: 7,\n\t\t\t\tname: 'validator_very_low_stake_threshold',\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: 8,\n\t\t\t\tname: 'validator_low_stake_grace_period',\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: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MoveTable', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'size',\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.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakeSubsidy', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balance',\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: 2,\n\t\t\t\tname: 'distribution_counter',\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: 'current_distribution_amount',\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: 'stake_subsidy_period_length',\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: 'stake_subsidy_decrease_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 6, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StorageFund', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_object_storage_rebates',\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: 2,\n\t\t\t\tname: 'non_refundable_balance',\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.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorSet', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_stake',\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: 2,\n\t\t\t\tname: 'active_validators',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Validator,\n\t\t\t},\n\t\t\t{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'pending_removals',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\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: 5, name: 'staking_pool_mappings', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 6, name: 'inactive_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 7, name: 'validator_candidates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'at_risk_validators',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Validator', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'image_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'project_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'protocol_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 8, name: 'proof_of_possession', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 10, name: 'network_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 12, name: 'worker_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 13, name: 'network_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'p2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 15, name: 'primary_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 16, name: 'worker_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: 'next_epoch_protocol_public_key',\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\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: 'next_epoch_proof_of_possession',\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\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: 'next_epoch_network_public_key',\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\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: 'next_epoch_worker_public_key',\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\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: 'next_epoch_network_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: 'next_epoch_p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'nextEpochP2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: 'next_epoch_primary_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: 'next_epoch_worker_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 28, name: 'metadata_extra_fields', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: 'voting_power',\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: 30, name: 'operation_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: 'gas_price',\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: 32, name: 'staking_pool', kind: 'message', T: () => StakingPool },\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: 'commission_rate',\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: 34,\n\t\t\t\tname: 'next_epoch_stake',\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: 35,\n\t\t\t\tname: 'next_epoch_gas_price',\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: 36,\n\t\t\t\tname: 'next_epoch_commission_rate',\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: 37, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakingPool', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'activation_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: 3,\n\t\t\t\tname: 'deactivation_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: 'sui_balance',\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: 'rewards_pool',\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: 6,\n\t\t\t\tname: 'pool_token_balance',\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: 7, name: 'exchange_rates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'pending_stake',\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: 9,\n\t\t\t\tname: 'pending_total_sui_withdraw',\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: 10,\n\t\t\t\tname: 'pending_pool_token_withdraw',\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: 11, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],"mappings":";;;AAwnBA,IAAM,mBAAN,cAA+B,YAAyB;CACvD,cAAc;AACb,QAAM,0BAA0B;GAC/B;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;IAAc,MAAM;IAAW,SAAS;IAAc;GACrE;IAAE,IAAI;IAAG,MAAM;IAAgB,MAAM;IAAW,SAAS;IAAa;GACtE;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAW,SAAS;IAAkB;GACzE;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;IAAE,IAAI;IAAG,MAAM;IAAiB,MAAM;IAAW,SAAS;IAAc;GACx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G;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;IAAW,SAAS;IAAW;GACtE;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;IAAI,MAAM;IAAgB,MAAM;IAAW,SAAS;IAAW;GACrE,CAAC;;;;;;AAMJ,MAAa,cAAc,IAAI,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"system_state.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/system_state.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/system_state.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';\n/**\n * @generated from protobuf message sui.rpc.v2.SystemState\n */\nexport interface SystemState {\n\t/**\n\t * The version of the system state data structure type.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 1;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The epoch id\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 2;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * The protocol version\n\t *\n\t * @generated from protobuf field: optional uint64 protocol_version = 3;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Information about the validators\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ValidatorSet validators = 4;\n\t */\n\tvalidators?: ValidatorSet;\n\t/**\n\t * Storage Fund info\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StorageFund storage_fund = 5;\n\t */\n\tstorageFund?: StorageFund;\n\t/**\n\t * Set of system config parameters\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SystemParameters parameters = 6;\n\t */\n\tparameters?: SystemParameters;\n\t/**\n\t * The reference gas price for this epoch\n\t *\n\t * @generated from protobuf field: optional uint64 reference_gas_price = 7;\n\t */\n\treferenceGasPrice?: bigint;\n\t/**\n\t * A list of the records of validator reporting each other.\n\t *\n\t * There is an entry in this list for each validator that has been reported\n\t * at least once. Each record contains all the validators that reported\n\t * them. If a validator has never been reported they don't have a record in this list.\n\t * This lists persists across epoch: a peer continues being in a reported state until the\n\t * reporter doesn't explicitly remove their report.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ValidatorReportRecord validator_report_records = 8;\n\t */\n\tvalidatorReportRecords: ValidatorReportRecord[];\n\t/**\n\t * Schedule of stake subsidies given out each epoch.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakeSubsidy stake_subsidy = 9;\n\t */\n\tstakeSubsidy?: StakeSubsidy;\n\t/**\n\t * Whether the system is running in a downgraded safe mode due to a non-recoverable bug.\n\t * This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode.\n\t * It can be reset once we are able to successfully execute advance_epoch.\n\t * The rest of the fields starting with `safe_mode_` are accumulated during safe mode\n\t * when advance_epoch_safe_mode is executed. They will eventually be processed once we\n\t * are out of safe mode.\n\t *\n\t * @generated from protobuf field: optional bool safe_mode = 10;\n\t */\n\tsafeMode?: boolean;\n\t/**\n\t * Storage rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rewards = 11;\n\t */\n\tsafeModeStorageRewards?: bigint;\n\t/**\n\t * Computation rewards accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_computation_rewards = 12;\n\t */\n\tsafeModeComputationRewards?: bigint;\n\t/**\n\t * Storage rebates paid out during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_storage_rebates = 13;\n\t */\n\tsafeModeStorageRebates?: bigint;\n\t/**\n\t * Nonrefundable storage fees accumulated during safe_mode\n\t *\n\t * @generated from protobuf field: optional uint64 safe_mode_non_refundable_storage_fee = 14;\n\t */\n\tsafeModeNonRefundableStorageFee?: bigint;\n\t/**\n\t * Unix timestamp of when this this epoch started\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_start_timestamp_ms = 15;\n\t */\n\tepochStartTimestampMs?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 16;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport interface ValidatorReportRecord {\n\t/**\n\t * The address of the validator being reported\n\t *\n\t * @generated from protobuf field: optional string reported = 1;\n\t */\n\treported?: string;\n\t/**\n\t * The list of validator (addresses) that are reporting on the validator specified by `reported`\n\t *\n\t * @generated from protobuf field: repeated string reporters = 2;\n\t */\n\treporters: string[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SystemParameters\n */\nexport interface SystemParameters {\n\t/**\n\t * The duration of an epoch, in milliseconds.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch_duration_ms = 1;\n\t */\n\tepochDurationMs?: bigint;\n\t/**\n\t * The starting epoch in which stake subsidies start being paid out\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_start_epoch = 2;\n\t */\n\tstakeSubsidyStartEpoch?: bigint;\n\t/**\n\t * Minimum number of active validators at any moment.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_count = 3;\n\t */\n\tminValidatorCount?: bigint;\n\t/**\n\t * Maximum number of active validators at any moment.\n\t * We do not allow the number of validators in any epoch to go above this.\n\t *\n\t * @generated from protobuf field: optional uint64 max_validator_count = 4;\n\t */\n\tmaxValidatorCount?: bigint;\n\t/**\n\t * Deprecated.\n\t * Lower-bound on the amount of stake required to become a validator.\n\t *\n\t * @generated from protobuf field: optional uint64 min_validator_joining_stake = 5;\n\t */\n\tminValidatorJoiningStake?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake amount below `validator_low_stake_threshold` are considered to\n\t * have low stake and will be escorted out of the validator set after being below this\n\t * threshold for more than `validator_low_stake_grace_period` number of epochs.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_threshold = 6;\n\t */\n\tvalidatorLowStakeThreshold?: bigint;\n\t/**\n\t * Deprecated.\n\t * Validators with stake below `validator_very_low_stake_threshold` will be removed\n\t * immediately at epoch change, no grace period.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_very_low_stake_threshold = 7;\n\t */\n\tvalidatorVeryLowStakeThreshold?: bigint;\n\t/**\n\t * A validator can have stake below `validator_low_stake_threshold`\n\t * for this many epochs before being kicked out.\n\t *\n\t * @generated from protobuf field: optional uint64 validator_low_stake_grace_period = 8;\n\t */\n\tvalidatorLowStakeGracePeriod?: bigint;\n\t/**\n\t * Any extra fields that are not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A message that represents a Move `0x2::table::Table` or `0x2::bag::Bag`\n *\n * @generated from protobuf message sui.rpc.v2.MoveTable\n */\nexport interface MoveTable {\n\t/**\n\t * The UID of the table or bag\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The size or number of key-value pairs in the table or bag\n\t *\n\t * @generated from protobuf field: optional uint64 size = 2;\n\t */\n\tsize?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport interface StakeSubsidy {\n\t/**\n\t * Balance of SUI set aside for stake subsidies that will be drawn down over time.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 1;\n\t */\n\tbalance?: bigint;\n\t/**\n\t * Count of the number of times stake subsidies have been distributed.\n\t *\n\t * @generated from protobuf field: optional uint64 distribution_counter = 2;\n\t */\n\tdistributionCounter?: bigint;\n\t/**\n\t * The amount of stake subsidy to be drawn down per distribution.\n\t * This amount decays and decreases over time.\n\t *\n\t * @generated from protobuf field: optional uint64 current_distribution_amount = 3;\n\t */\n\tcurrentDistributionAmount?: bigint;\n\t/**\n\t * Number of distributions to occur before the distribution amount decays.\n\t *\n\t * @generated from protobuf field: optional uint64 stake_subsidy_period_length = 4;\n\t */\n\tstakeSubsidyPeriodLength?: bigint;\n\t/**\n\t * The rate at which the distribution amount decays at the end of each\n\t * period. Expressed in basis points.\n\t *\n\t * @generated from protobuf field: optional uint32 stake_subsidy_decrease_rate = 5;\n\t */\n\tstakeSubsidyDecreaseRate?: number;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 6;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Struct representing the onchain storage fund.\n *\n * @generated from protobuf message sui.rpc.v2.StorageFund\n */\nexport interface StorageFund {\n\t/**\n\t * This is the sum of `storage_rebate` of\n\t * all objects currently stored on-chain. To maintain this invariant, the only inflow of this\n\t * balance is storage charges collected from transactions, and the only outflow is storage rebates\n\t * of transactions, including both the portion refunded to the transaction senders as well as\n\t * the non-refundable portion taken out and put into `non_refundable_balance`.\n\t *\n\t * @generated from protobuf field: optional uint64 total_object_storage_rebates = 1;\n\t */\n\ttotalObjectStorageRebates?: bigint;\n\t/**\n\t * Represents any remaining inflow of the storage fund that should not\n\t * be taken out of the fund.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_balance = 2;\n\t */\n\tnonRefundableBalance?: bigint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ValidatorSet\n */\nexport interface ValidatorSet {\n\t/**\n\t * Total amount of stake from all active validators at the beginning of the epoch.\n\t * Written only once per epoch, in `advance_epoch` function.\n\t *\n\t * @generated from protobuf field: optional uint64 total_stake = 1;\n\t */\n\ttotalStake?: bigint;\n\t/**\n\t * The current list of active validators.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Validator active_validators = 2;\n\t */\n\tactiveValidators: Validator[];\n\t/**\n\t * List of new validator candidates added during the current epoch.\n\t * They will be processed at the end of the epoch.\n\t *\n\t * key: u64 (index), value: 0x3::validator::Validator\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable pending_active_validators = 3;\n\t */\n\tpendingActiveValidators?: MoveTable;\n\t/**\n\t * Removal requests from the validators. Each element is an index\n\t * pointing to `active_validators`.\n\t *\n\t * @generated from protobuf field: repeated uint64 pending_removals = 4;\n\t */\n\tpendingRemovals: bigint[];\n\t/**\n\t * Mappings from staking pool's ID to the sui address of a validator.\n\t *\n\t * key: address (staking pool Id), value: address (sui address of the validator)\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable staking_pool_mappings = 5;\n\t */\n\tstakingPoolMappings?: MoveTable;\n\t/**\n\t * Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.\n\t * When a validator is deactivated the validator is removed from `active_validators` it\n\t * is added to this table so that stakers can continue to withdraw their stake from it.\n\t *\n\t * key: address (staking pool Id), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable inactive_validators = 6;\n\t */\n\tinactiveValidators?: MoveTable;\n\t/**\n\t * Table storing preactive/candidate validators, mapping their addresses to their `Validator ` structs.\n\t * When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive\n\t * validator.\n\t * When the candidate has met the min stake requirement, they can call `request_add_validator` to\n\t * officially add them to the active validator set `active_validators` next epoch.\n\t *\n\t * key: address (sui address of the validator), value: 0x3::validator_wrapper::ValidatorWrapper\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable validator_candidates = 7;\n\t */\n\tvalidatorCandidates?: MoveTable;\n\t/**\n\t * Table storing the number of epochs during which a validator's stake has been below the low stake threshold.\n\t *\n\t * @generated from protobuf field: map<string, uint64> at_risk_validators = 8;\n\t */\n\tatRiskValidators: {\n\t\t[key: string]: bigint;\n\t};\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 9;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * Definition of a Validator in the system contracts\n *\n * Note: fields of ValidatorMetadata are flattened into this type\n *\n * @generated from protobuf message sui.rpc.v2.Validator\n */\nexport interface Validator {\n\t/**\n\t * A unique human-readable name of this validator.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * The Sui Address of the validator. This is the sender that created the Validator object,\n\t * and also the address to send validator/coins to during withdraws.\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string description = 3;\n\t */\n\tdescription?: string;\n\t/**\n\t * @generated from protobuf field: optional string image_url = 4;\n\t */\n\timageUrl?: string;\n\t/**\n\t * @generated from protobuf field: optional string project_url = 5;\n\t */\n\tprojectUrl?: string;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * holds to sign transactions. For now, this is the same as AuthorityName.\n\t *\n\t * @generated from protobuf field: optional bytes protocol_public_key = 7;\n\t */\n\tprotocolPublicKey?: Uint8Array;\n\t/**\n\t * This is a proof that the validator has ownership of the protocol private key\n\t *\n\t * @generated from protobuf field: optional bytes proof_of_possession = 8;\n\t */\n\tproofOfPossession?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the private key that the validator\n\t * uses to establish TLS connections\n\t *\n\t * @generated from protobuf field: optional bytes network_public_key = 10;\n\t */\n\tnetworkPublicKey?: Uint8Array;\n\t/**\n\t * The public key bytes corresponding to the Narwhal Worker\n\t *\n\t * @generated from protobuf field: optional bytes worker_public_key = 12;\n\t */\n\tworkerPublicKey?: Uint8Array;\n\t/**\n\t * The network address of the validator (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string network_address = 13;\n\t */\n\tnetworkAddress?: string;\n\t/**\n\t * The address of the validator used for p2p activities such as state sync (could also contain extra info such as port, DNS and etc.).\n\t *\n\t * @generated from protobuf field: optional string p2p_address = 14 [json_name = \"p2pAddress\"];\n\t */\n\tp2PAddress?: string;\n\t/**\n\t * The address of the narwhal primary\n\t *\n\t * @generated from protobuf field: optional string primary_address = 15;\n\t */\n\tprimaryAddress?: string;\n\t/**\n\t * The address of the narwhal worker\n\t *\n\t * @generated from protobuf field: optional string worker_address = 16;\n\t */\n\tworkerAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_protocol_public_key = 18;\n\t */\n\tnextEpochProtocolPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_proof_of_possession = 19;\n\t */\n\tnextEpochProofOfPossession?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_network_public_key = 21;\n\t */\n\tnextEpochNetworkPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional bytes next_epoch_worker_public_key = 23;\n\t */\n\tnextEpochWorkerPublicKey?: Uint8Array;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_network_address = 24;\n\t */\n\tnextEpochNetworkAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_p2p_address = 25 [json_name = \"nextEpochP2pAddress\"];\n\t */\n\tnextEpochP2PAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_primary_address = 26;\n\t */\n\tnextEpochPrimaryAddress?: string;\n\t/**\n\t * @generated from protobuf field: optional string next_epoch_worker_address = 27;\n\t */\n\tnextEpochWorkerAddress?: string;\n\t/**\n\t * Any extra fields that's not defined statically in the `ValidatorMetadata` struct\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable metadata_extra_fields = 28;\n\t */\n\tmetadataExtraFields?: MoveTable;\n\t/**\n\t * The voting power of this validator, which might be different from its\n\t * stake amount.\n\t *\n\t * @generated from protobuf field: optional uint64 voting_power = 29;\n\t */\n\tvotingPower?: bigint;\n\t/**\n\t * The ID of this validator's current valid `UnverifiedValidatorOperationCap`\n\t *\n\t * @generated from protobuf field: optional string operation_cap_id = 30;\n\t */\n\toperationCapId?: string;\n\t/**\n\t * Gas price quote, updated only at end of epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 gas_price = 31;\n\t */\n\tgasPrice?: bigint;\n\t/**\n\t * Staking pool for this validator.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.StakingPool staking_pool = 32;\n\t */\n\tstakingPool?: StakingPool;\n\t/**\n\t * Commission rate of the validator, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 commission_rate = 33;\n\t */\n\tcommissionRate?: bigint;\n\t/**\n\t * Total amount of stake that would be active in the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_stake = 34;\n\t */\n\tnextEpochStake?: bigint;\n\t/**\n\t * This validator's gas price quote for the next epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_gas_price = 35;\n\t */\n\tnextEpochGasPrice?: bigint;\n\t/**\n\t * The commission rate of the validator starting the next epoch, in basis point.\n\t *\n\t * @generated from protobuf field: optional uint64 next_epoch_commission_rate = 36;\n\t */\n\tnextEpochCommissionRate?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 37;\n\t */\n\textraFields?: MoveTable;\n}\n/**\n * A staking pool embedded in each validator struct in the system state object.\n *\n * @generated from protobuf message sui.rpc.v2.StakingPool\n */\nexport interface StakingPool {\n\t/**\n\t * UID of the StakingPool object\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The epoch at which this pool became active.\n\t * The value is `None` if the pool is pre-active and `Some(<epoch_number>)` if active or inactive.\n\t *\n\t * @generated from protobuf field: optional uint64 activation_epoch = 2;\n\t */\n\tactivationEpoch?: bigint;\n\t/**\n\t * The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},\n\t * `Some(<epoch_number>)` if in-active, and it was de-activated at epoch `<epoch_number>`.\n\t *\n\t * @generated from protobuf field: optional uint64 deactivation_epoch = 3;\n\t */\n\tdeactivationEpoch?: bigint;\n\t/**\n\t * The total number of SUI tokens in this pool, including the SUI in the rewards_pool, as well as in all the principal\n\t * in the `StakedSui` object, updated at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 sui_balance = 4;\n\t */\n\tsuiBalance?: bigint;\n\t/**\n\t * The epoch stake rewards will be added here at the end of each epoch.\n\t *\n\t * @generated from protobuf field: optional uint64 rewards_pool = 5;\n\t */\n\trewardsPool?: bigint;\n\t/**\n\t * Total number of pool tokens issued by the pool.\n\t *\n\t * @generated from protobuf field: optional uint64 pool_token_balance = 6;\n\t */\n\tpoolTokenBalance?: bigint;\n\t/**\n\t * Exchange rate history of previous epochs.\n\t *\n\t * The entries start from the `activation_epoch` of this pool and contains exchange rates at the beginning of each epoch,\n\t * i.e., right after the rewards for the previous epoch have been deposited into the pool.\n\t *\n\t * key: u64 (epoch number), value: PoolTokenExchangeRate\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable exchange_rates = 7;\n\t */\n\texchangeRates?: MoveTable;\n\t/**\n\t * Pending stake amount for this epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_stake = 8;\n\t */\n\tpendingStake?: bigint;\n\t/**\n\t * Pending stake withdrawn during the current epoch, emptied at epoch boundaries.\n\t * This includes both the principal and rewards SUI withdrawn.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_total_sui_withdraw = 9;\n\t */\n\tpendingTotalSuiWithdraw?: bigint;\n\t/**\n\t * Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.\n\t *\n\t * @generated from protobuf field: optional uint64 pending_pool_token_withdraw = 10;\n\t */\n\tpendingPoolTokenWithdraw?: bigint;\n\t/**\n\t * Any extra fields that's not defined statically.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.MoveTable extra_fields = 11;\n\t */\n\textraFields?: MoveTable;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemState$Type extends MessageType<SystemState> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemState', [\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\t{\n\t\t\t\tno: 2,\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: 3,\n\t\t\t\tname: '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{ no: 4, name: 'validators', kind: 'message', T: () => ValidatorSet },\n\t\t\t{ no: 5, name: 'storage_fund', kind: 'message', T: () => StorageFund },\n\t\t\t{ no: 6, name: 'parameters', kind: 'message', T: () => SystemParameters },\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'reference_gas_price',\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: 8,\n\t\t\t\tname: 'validator_report_records',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ValidatorReportRecord,\n\t\t\t},\n\t\t\t{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },\n\t\t\t{ no: 10, name: 'safe_mode', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'safe_mode_storage_rewards',\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: 12,\n\t\t\t\tname: 'safe_mode_computation_rewards',\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: 13,\n\t\t\t\tname: 'safe_mode_storage_rebates',\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: 14,\n\t\t\t\tname: 'safe_mode_non_refundable_storage_fee',\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: 15,\n\t\t\t\tname: 'epoch_start_timestamp_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\t{ no: 16, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemState\n */\nexport const SystemState = new SystemState$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorReportRecord$Type extends MessageType<ValidatorReportRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorReportRecord', [\n\t\t\t{ no: 1, name: 'reported', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'reporters',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorReportRecord\n */\nexport const ValidatorReportRecord = new ValidatorReportRecord$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SystemParameters$Type extends MessageType<SystemParameters> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SystemParameters', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch_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\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'stake_subsidy_start_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: 3,\n\t\t\t\tname: 'min_validator_count',\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: 'max_validator_count',\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: 'min_validator_joining_stake',\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: 6,\n\t\t\t\tname: 'validator_low_stake_threshold',\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: 7,\n\t\t\t\tname: 'validator_very_low_stake_threshold',\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: 8,\n\t\t\t\tname: 'validator_low_stake_grace_period',\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: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SystemParameters\n */\nexport const SystemParameters = new SystemParameters$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MoveTable$Type extends MessageType<MoveTable> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.MoveTable', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'size',\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.MoveTable\n */\nexport const MoveTable = new MoveTable$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakeSubsidy$Type extends MessageType<StakeSubsidy> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakeSubsidy', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balance',\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: 2,\n\t\t\t\tname: 'distribution_counter',\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: 'current_distribution_amount',\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: 'stake_subsidy_period_length',\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: 'stake_subsidy_decrease_rate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 13 /*ScalarType.UINT32*/,\n\t\t\t},\n\t\t\t{ no: 6, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakeSubsidy\n */\nexport const StakeSubsidy = new StakeSubsidy$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StorageFund$Type extends MessageType<StorageFund> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StorageFund', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_object_storage_rebates',\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: 2,\n\t\t\t\tname: 'non_refundable_balance',\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.StorageFund\n */\nexport const StorageFund = new StorageFund$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ValidatorSet$Type extends MessageType<ValidatorSet> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ValidatorSet', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'total_stake',\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: 2,\n\t\t\t\tname: 'active_validators',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => Validator,\n\t\t\t},\n\t\t\t{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'pending_removals',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\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: 5, name: 'staking_pool_mappings', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 6, name: 'inactive_validators', kind: 'message', T: () => MoveTable },\n\t\t\t{ no: 7, name: 'validator_candidates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'at_risk_validators',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n\t\t\t},\n\t\t\t{ no: 9, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ValidatorSet\n */\nexport const ValidatorSet = new ValidatorSet$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Validator$Type extends MessageType<Validator> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Validator', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'image_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'project_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'protocol_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 8, name: 'proof_of_possession', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 10, name: 'network_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 12, name: 'worker_public_key', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 13, name: 'network_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 14,\n\t\t\t\tname: 'p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'p2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 15, name: 'primary_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 16, name: 'worker_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 18,\n\t\t\t\tname: 'next_epoch_protocol_public_key',\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\t{\n\t\t\t\tno: 19,\n\t\t\t\tname: 'next_epoch_proof_of_possession',\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\t{\n\t\t\t\tno: 21,\n\t\t\t\tname: 'next_epoch_network_public_key',\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\t{\n\t\t\t\tno: 23,\n\t\t\t\tname: 'next_epoch_worker_public_key',\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\t{\n\t\t\t\tno: 24,\n\t\t\t\tname: 'next_epoch_network_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 25,\n\t\t\t\tname: 'next_epoch_p2p_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tjsonName: 'nextEpochP2pAddress',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 26,\n\t\t\t\tname: 'next_epoch_primary_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 27,\n\t\t\t\tname: 'next_epoch_worker_address',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 28, name: 'metadata_extra_fields', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 29,\n\t\t\t\tname: 'voting_power',\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: 30, name: 'operation_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 31,\n\t\t\t\tname: 'gas_price',\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: 32, name: 'staking_pool', kind: 'message', T: () => StakingPool },\n\t\t\t{\n\t\t\t\tno: 33,\n\t\t\t\tname: 'commission_rate',\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: 34,\n\t\t\t\tname: 'next_epoch_stake',\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: 35,\n\t\t\t\tname: 'next_epoch_gas_price',\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: 36,\n\t\t\t\tname: 'next_epoch_commission_rate',\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: 37, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Validator\n */\nexport const Validator = new Validator$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StakingPool$Type extends MessageType<StakingPool> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.StakingPool', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'activation_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: 3,\n\t\t\t\tname: 'deactivation_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: 'sui_balance',\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: 'rewards_pool',\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: 6,\n\t\t\t\tname: 'pool_token_balance',\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: 7, name: 'exchange_rates', kind: 'message', T: () => MoveTable },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'pending_stake',\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: 9,\n\t\t\t\tname: 'pending_total_sui_withdraw',\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: 10,\n\t\t\t\tname: 'pending_pool_token_withdraw',\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: 11, name: 'extra_fields', kind: 'message', T: () => MoveTable },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.StakingPool\n */\nexport const StakingPool = new StakingPool$Type();\n"],"mappings":";;;AAwnBA,IAAM,mBAAN,cAA+B,YAAyB;CACvD,cAAc;AACb,QAAM,0BAA0B;GAC/B;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,G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