// Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 // @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck // @generated from protobuf file "sui/rpc/v2/protocol_config.proto" (package "sui.rpc.v2", syntax proto3) // tslint:disable // @ts-nocheck // // Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 // import { MessageType } from '@protobuf-ts/runtime'; /** * @generated from protobuf message sui.rpc.v2.ProtocolConfig */ export interface ProtocolConfig { /** * @generated from protobuf field: optional uint64 protocol_version = 1; */ protocolVersion?: bigint; /** * @generated from protobuf field: map feature_flags = 2; */ featureFlags: { [key: string]: boolean; }; /** * @generated from protobuf field: map attributes = 3; */ attributes: { [key: string]: string; }; } // @generated message type with reflection information, may provide speed optimized methods class ProtocolConfig$Type extends MessageType { constructor() { super('sui.rpc.v2.ProtocolConfig', [ { no: 1, name: 'protocol_version', kind: 'scalar', opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, }, { no: 2, name: 'feature_flags', kind: 'map', K: 9 /*ScalarType.STRING*/, V: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ }, }, { no: 3, name: 'attributes', kind: 'map', K: 9 /*ScalarType.STRING*/, V: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ }, }, ]); } } /** * @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig */ export const ProtocolConfig = new ProtocolConfig$Type();