{"version":3,"file":"state_service.client.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/state_service.client.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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { StateService } from './state_service.js';\nimport type { ListBalancesResponse } from './state_service.js';\nimport type { ListBalancesRequest } from './state_service.js';\nimport type { GetBalanceResponse } from './state_service.js';\nimport type { GetBalanceRequest } from './state_service.js';\nimport type { GetCoinInfoResponse } from './state_service.js';\nimport type { GetCoinInfoRequest } from './state_service.js';\nimport type { ListOwnedObjectsResponse } from './state_service.js';\nimport type { ListOwnedObjectsRequest } from './state_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { ListDynamicFieldsResponse } from './state_service.js';\nimport type { ListDynamicFieldsRequest } from './state_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport interface IStateServiceClient {\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport class StateServiceClient implements IStateServiceClient, ServiceInfo {\n\ttypeName = StateService.typeName;\n\tmethods = StateService.methods;\n\toptions = StateService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListDynamicFieldsRequest, ListDynamicFieldsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListOwnedObjectsRequest, ListOwnedObjectsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetCoinInfoRequest, GetCoinInfoResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetBalanceRequest, GetBalanceResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse> {\n\t\tconst method = this.methods[4],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListBalancesRequest, ListBalancesResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],"mappings":";;;;;;;AAsEA,IAAa,qBAAb,MAA4E;CAI3E,YAAY,AAAiB,YAA0B;EAA1B;kBAHlB,aAAa;iBACd,aAAa;iBACb,aAAa;;;;;CAKvB,kBACC,OACA,SACiE;EACjE,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,iBACC,OACA,SAC+D;EAC/D,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,YACC,OACA,SACqD;EACrD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,WACC,OACA,SACmD;EACnD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;CAKF,aACC,OACA,SACuD;EACvD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA"}