{"version":3,"file":"gas_cost_summary.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/gas_cost_summary.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Summary of gas charges.\n *\n * @generated from protobuf message sui.rpc.v2.GasCostSummary\n */\nexport interface GasCostSummary {\n\t/**\n\t * Cost of computation/execution.\n\t *\n\t * @generated from protobuf field: optional uint64 computation_cost = 1;\n\t */\n\tcomputationCost?: bigint;\n\t/**\n\t * Storage cost, it's the sum of all storage cost for all objects created or mutated.\n\t *\n\t * @generated from protobuf field: optional uint64 storage_cost = 2;\n\t */\n\tstorageCost?: bigint;\n\t/**\n\t * The amount of storage cost refunded to the user for all objects deleted or mutated in the\n\t * transaction.\n\t *\n\t * @generated from protobuf field: optional uint64 storage_rebate = 3;\n\t */\n\tstorageRebate?: bigint;\n\t/**\n\t * The fee for the rebate. The portion of the storage rebate kept by the system.\n\t *\n\t * @generated from protobuf field: optional uint64 non_refundable_storage_fee = 4;\n\t */\n\tnonRefundableStorageFee?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GasCostSummary$Type extends MessageType<GasCostSummary> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GasCostSummary', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'computation_cost',\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: 'storage_cost',\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: 'storage_rebate',\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: '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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GasCostSummary\n */\nexport const GasCostSummary = new GasCostSummary$Type();\n"],"mappings":";;;AA6CA,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;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;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB"}