// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file osmosis/gamm/pool-models/balancer/tx.proto (package dymensionxyz.dymension.gamm.poolmodels.balancer.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { PoolAsset, PoolParams } from "./balancerPool_pb.js"; /** * ===================== MsgCreatePool * * @generated from message dymensionxyz.dymension.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool */ export class MsgCreateBalancerPool extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: dymensionxyz.dymension.gamm.v1beta1.PoolParams pool_params = 2; */ poolParams?: PoolParams; /** * @generated from field: repeated dymensionxyz.dymension.gamm.v1beta1.PoolAsset pool_assets = 3; */ poolAssets: PoolAsset[] = []; /** * @generated from field: string future_pool_governor = 4; */ futurePoolGovernor = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pool_params", kind: "message", T: PoolParams }, { no: 3, name: "pool_assets", kind: "message", T: PoolAsset, repeated: true }, { no: 4, name: "future_pool_governor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBalancerPool { return new MsgCreateBalancerPool().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBalancerPool { return new MsgCreateBalancerPool().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBalancerPool { return new MsgCreateBalancerPool().fromJsonString(jsonString, options); } static equals(a: MsgCreateBalancerPool | PlainMessage | undefined, b: MsgCreateBalancerPool | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBalancerPool, a, b); } } /** * Returns the poolID * * @generated from message dymensionxyz.dymension.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPoolResponse */ export class MsgCreateBalancerPoolResponse extends Message { /** * @generated from field: uint64 pool_id = 1; */ poolId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "dymensionxyz.dymension.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPoolResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pool_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCreateBalancerPoolResponse { return new MsgCreateBalancerPoolResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCreateBalancerPoolResponse { return new MsgCreateBalancerPoolResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCreateBalancerPoolResponse { return new MsgCreateBalancerPoolResponse().fromJsonString(jsonString, options); } static equals(a: MsgCreateBalancerPoolResponse | PlainMessage | undefined, b: MsgCreateBalancerPoolResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCreateBalancerPoolResponse, a, b); } }