{"version":3,"file":"bcs.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/bcs.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/bcs.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 * `Bcs` contains an arbitrary type that is serialized using the\n * [BCS](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk_types/index.html#bcs)\n * format as well as a name that identifies the type of the serialized value.\n *\n * @generated from protobuf message sui.rpc.v2.Bcs\n */\nexport interface Bcs {\n\t/**\n\t * Name that identifies the type of the serialized value.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n\t/**\n\t * Bytes of a BCS serialized value.\n\t *\n\t * @generated from protobuf field: optional bytes value = 2;\n\t */\n\tvalue?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Bcs$Type extends MessageType<Bcs> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Bcs', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'value', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Bcs\n */\nexport const Bcs = new Bcs$Type();\n"],"mappings":";;;AAkCA,IAAM,WAAN,cAAuB,YAAiB;CACvC,cAAc;AACb,QAAM,kBAAkB,CACvB;GAAE,IAAI;GAAG,MAAM;GAAQ,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EAC9E;GAAE,IAAI;GAAG,MAAM;GAAS,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CAC/E,CAAC;;;;;;AAMJ,MAAa,MAAM,IAAI,UAAU"}