{"version":3,"file":"forking_service.client.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/forking/v1alpha/forking_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/forking/v1alpha/forking_service.proto\" (package \"sui.forking.v1alpha\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { ForkingService } from './forking_service.js';\nimport type { GetStatusResponse } from './forking_service.js';\nimport type { GetStatusRequest } from './forking_service.js';\nimport type { AdvanceCheckpointResponse } from './forking_service.js';\nimport type { AdvanceCheckpointRequest } from './forking_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { AdvanceClockResponse } from './forking_service.js';\nimport type { AdvanceClockRequest } from './forking_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * Administrative service for controlling a forked Sui network.\n *\n * @generated from protobuf service sui.forking.v1alpha.ForkingService\n */\nexport interface IForkingServiceClient {\n\t/**\n\t * Advance the forked network's clock by a given duration.\n\t *\n\t * @generated from protobuf rpc: AdvanceClock(sui.forking.v1alpha.AdvanceClockRequest) returns (sui.forking.v1alpha.AdvanceClockResponse);\n\t */\n\tadvanceClock(\n\t\tinput: AdvanceClockRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<AdvanceClockRequest, AdvanceClockResponse>;\n\t/**\n\t * Seal pending transactions into a new checkpoint.\n\t *\n\t * @generated from protobuf rpc: AdvanceCheckpoint(sui.forking.v1alpha.AdvanceCheckpointRequest) returns (sui.forking.v1alpha.AdvanceCheckpointResponse);\n\t */\n\tadvanceCheckpoint(\n\t\tinput: AdvanceCheckpointRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<AdvanceCheckpointRequest, AdvanceCheckpointResponse>;\n\t/**\n\t * Return the current state of the forked network.\n\t *\n\t * @generated from protobuf rpc: GetStatus(sui.forking.v1alpha.GetStatusRequest) returns (sui.forking.v1alpha.GetStatusResponse);\n\t */\n\tgetStatus(\n\t\tinput: GetStatusRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetStatusRequest, GetStatusResponse>;\n}\n/**\n * Administrative service for controlling a forked Sui network.\n *\n * @generated from protobuf service sui.forking.v1alpha.ForkingService\n */\nexport class ForkingServiceClient implements IForkingServiceClient, ServiceInfo {\n\ttypeName = ForkingService.typeName;\n\tmethods = ForkingService.methods;\n\toptions = ForkingService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Advance the forked network's clock by a given duration.\n\t *\n\t * @generated from protobuf rpc: AdvanceClock(sui.forking.v1alpha.AdvanceClockRequest) returns (sui.forking.v1alpha.AdvanceClockResponse);\n\t */\n\tadvanceClock(\n\t\tinput: AdvanceClockRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<AdvanceClockRequest, AdvanceClockResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<AdvanceClockRequest, AdvanceClockResponse>(\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 * Seal pending transactions into a new checkpoint.\n\t *\n\t * @generated from protobuf rpc: AdvanceCheckpoint(sui.forking.v1alpha.AdvanceCheckpointRequest) returns (sui.forking.v1alpha.AdvanceCheckpointResponse);\n\t */\n\tadvanceCheckpoint(\n\t\tinput: AdvanceCheckpointRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<AdvanceCheckpointRequest, AdvanceCheckpointResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<AdvanceCheckpointRequest, AdvanceCheckpointResponse>(\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 * Return the current state of the forked network.\n\t *\n\t * @generated from protobuf rpc: GetStatus(sui.forking.v1alpha.GetStatusRequest) returns (sui.forking.v1alpha.GetStatusResponse);\n\t */\n\tgetStatus(\n\t\tinput: GetStatusRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetStatusRequest, GetStatusResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetStatusRequest, GetStatusResponse>(\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":";;;;;;;;;AA8DA,IAAa,uBAAb,MAAgF;CAI/E,YAAY,AAAiB,YAA0B;EAA1B;kBAHlB,eAAe;iBAChB,eAAe;iBACf,eAAe;;;;;;;CAOzB,aACC,OACA,SACuD;EACvD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;CAOF,kBACC,OACA,SACiE;EACjE,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;CAOF,UACC,OACA,SACiD;EACjD,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,SACA,KAAK,YACL,QACA,KACA,MACA"}