Skip to content

Commit

Permalink
chore: regenerate protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCQL committed Jul 13, 2023
1 parent 429b45d commit 368996b
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 192 deletions.
8 changes: 0 additions & 8 deletions src/protobufs/cosmos/auth/module/v1/module_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ export class Module extends Message<Module> {
*/
authority = "";

/**
* bech32_prefix_validator is the bech32 validator prefix for the app.
*
* @generated from field: string bech32_prefix_validator = 4;
*/
bech32PrefixValidator = "";

constructor(data?: PartialMessage<Module>) {
super();
proto3.util.initPartial(data, this);
Expand All @@ -51,7 +44,6 @@ export class Module extends Message<Module> {
{ no: 1, name: "bech32_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "module_account_permissions", kind: "message", T: ModuleAccountPermission, repeated: true },
{ no: 3, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "bech32_prefix_validator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Module {
Expand Down
78 changes: 0 additions & 78 deletions src/protobufs/cosmos/base/v1beta1/coin_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,81 +102,3 @@ export class DecCoin extends Message<DecCoin> {
}
}

/**
* IntProto defines a Protobuf wrapper around an Int object.
*
* @generated from message cosmos.base.v1beta1.IntProto
*/
export class IntProto extends Message<IntProto> {
/**
* @generated from field: string int = 1;
*/
int = "";

constructor(data?: PartialMessage<IntProto>) {
super();
proto3.util.initPartial(data, this);
}

static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "cosmos.base.v1beta1.IntProto";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "int", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntProto {
return new IntProto().fromBinary(bytes, options);
}

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntProto {
return new IntProto().fromJson(jsonValue, options);
}

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IntProto {
return new IntProto().fromJsonString(jsonString, options);
}

static equals(a: IntProto | PlainMessage<IntProto> | undefined, b: IntProto | PlainMessage<IntProto> | undefined): boolean {
return proto3.util.equals(IntProto, a, b);
}
}

/**
* DecProto defines a Protobuf wrapper around a Dec object.
*
* @generated from message cosmos.base.v1beta1.DecProto
*/
export class DecProto extends Message<DecProto> {
/**
* @generated from field: string dec = 1;
*/
dec = "";

constructor(data?: PartialMessage<DecProto>) {
super();
proto3.util.initPartial(data, this);
}

static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "cosmos.base.v1beta1.DecProto";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "dec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DecProto {
return new DecProto().fromBinary(bytes, options);
}

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DecProto {
return new DecProto().fromJson(jsonValue, options);
}

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DecProto {
return new DecProto().fromJsonString(jsonString, options);
}

static equals(a: DecProto | PlainMessage<DecProto> | undefined, b: DecProto | PlainMessage<DecProto> | undefined): boolean {
return proto3.util.equals(DecProto, a, b);
}
}

4 changes: 2 additions & 2 deletions src/protobufs/cosmos/circuit/v1/tx_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class MsgAuthorizeCircuitBreaker extends Message<MsgAuthorizeCircuitBreak
}

/**
* MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker response type.
* MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.
*
* @generated from message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse
*/
Expand Down Expand Up @@ -160,7 +160,7 @@ export class MsgTripCircuitBreaker extends Message<MsgTripCircuitBreaker> {
}

/**
* MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker response type.
* MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.
*
* @generated from message cosmos.circuit.v1.MsgTripCircuitBreakerResponse
*/
Expand Down
16 changes: 16 additions & 0 deletions src/protobufs/cosmos/staking/module/v1/module_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ export class Module extends Message<Module> {
*/
authority = "";

/**
* bech32_prefix_validator is the bech32 validator prefix for the app.
*
* @generated from field: string bech32_prefix_validator = 3;
*/
bech32PrefixValidator = "";

/**
* bech32_prefix_consensus is the bech32 consensus node prefix for the app.
*
* @generated from field: string bech32_prefix_consensus = 4;
*/
bech32PrefixConsensus = "";

constructor(data?: PartialMessage<Module>) {
super();
proto3.util.initPartial(data, this);
Expand All @@ -38,6 +52,8 @@ export class Module extends Message<Module> {
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "hooks_order", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 2, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "bech32_prefix_validator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "bech32_prefix_consensus", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Module {
Expand Down
5 changes: 0 additions & 5 deletions src/protobufs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ export {
MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse as OsmosisSuperfluidMsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse,
MsgAddToConcentratedLiquiditySuperfluidPosition as OsmosisSuperfluidMsgAddToConcentratedLiquiditySuperfluidPosition,
MsgAddToConcentratedLiquiditySuperfluidPositionResponse as OsmosisSuperfluidMsgAddToConcentratedLiquiditySuperfluidPositionResponse,
MsgLockExistingFullRangePositionAndSFStake as OsmosisSuperfluidMsgLockExistingFullRangePositionAndSFStake,
MsgLockExistingFullRangePositionAndSFStakeResponse as OsmosisSuperfluidMsgLockExistingFullRangePositionAndSFStakeResponse,
} from "./osmosis/superfluid/tx_pb.js";
export {
MsgSuperfluidDelegateService as OsmosisSuperfluidMsgSuperfluidDelegateService,
Expand All @@ -305,7 +303,6 @@ export {
MsgUnPoolWhitelistedPoolService as OsmosisSuperfluidMsgUnPoolWhitelistedPoolService,
MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionService as OsmosisSuperfluidMsgUnlockAndMigrateSharesToFullRangeConcentratedPositionService,
MsgAddToConcentratedLiquiditySuperfluidPositionService as OsmosisSuperfluidMsgAddToConcentratedLiquiditySuperfluidPositionService,
MsgLockExistingFullRangePositionAndSFStakeService as OsmosisSuperfluidMsgLockExistingFullRangePositionAndSFStakeService,
} from "./osmosis/superfluid/tx_cosmes.js";
export {
SuperfluidAssetType as OsmosisSuperfluidSuperfluidAssetType,
Expand Down Expand Up @@ -2181,8 +2178,6 @@ export {
export {
Coin as CosmosBaseV1beta1Coin,
DecCoin as CosmosBaseV1beta1DecCoin,
IntProto as CosmosBaseV1beta1IntProto,
DecProto as CosmosBaseV1beta1DecProto,
} from "./cosmos/base/v1beta1/coin_pb.js";
export {
Block as CosmosBaseTendermintV1beta1Block,
Expand Down
12 changes: 1 addition & 11 deletions src/protobufs/osmosis/superfluid/tx_cosmes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* eslint-disable */
// @ts-nocheck

import { MsgAddToConcentratedLiquiditySuperfluidPosition, MsgAddToConcentratedLiquiditySuperfluidPositionResponse, MsgCreateFullRangePositionAndSuperfluidDelegate, MsgCreateFullRangePositionAndSuperfluidDelegateResponse, MsgLockAndSuperfluidDelegate, MsgLockAndSuperfluidDelegateResponse, MsgLockExistingFullRangePositionAndSFStake, MsgLockExistingFullRangePositionAndSFStakeResponse, MsgSuperfluidDelegate, MsgSuperfluidDelegateResponse, MsgSuperfluidUnbondLock, MsgSuperfluidUnbondLockResponse, MsgSuperfluidUndelegate, MsgSuperfluidUndelegateAndUnbondLock, MsgSuperfluidUndelegateAndUnbondLockResponse, MsgSuperfluidUndelegateResponse, MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition, MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse, MsgUnPoolWhitelistedPool, MsgUnPoolWhitelistedPoolResponse } from "./tx_pb.js";
import { MsgAddToConcentratedLiquiditySuperfluidPosition, MsgAddToConcentratedLiquiditySuperfluidPositionResponse, MsgCreateFullRangePositionAndSuperfluidDelegate, MsgCreateFullRangePositionAndSuperfluidDelegateResponse, MsgLockAndSuperfluidDelegate, MsgLockAndSuperfluidDelegateResponse, MsgSuperfluidDelegate, MsgSuperfluidDelegateResponse, MsgSuperfluidUnbondLock, MsgSuperfluidUnbondLockResponse, MsgSuperfluidUndelegate, MsgSuperfluidUndelegateAndUnbondLock, MsgSuperfluidUndelegateAndUnbondLockResponse, MsgSuperfluidUndelegateResponse, MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition, MsgUnlockAndMigrateSharesToFullRangeConcentratedPositionResponse, MsgUnPoolWhitelistedPool, MsgUnPoolWhitelistedPoolResponse } from "./tx_pb.js";

const TYPE_NAME = "osmosis.superfluid.Msg";

Expand Down Expand Up @@ -108,13 +108,3 @@ export const MsgAddToConcentratedLiquiditySuperfluidPositionService = {
Response: MsgAddToConcentratedLiquiditySuperfluidPositionResponse,
} as const;

/**
* @generated from rpc osmosis.superfluid.Msg.LockExistingFullRangePositionAndSFStake
*/
export const MsgLockExistingFullRangePositionAndSFStakeService = {
typeName: TYPE_NAME,
method: "LockExistingFullRangePositionAndSFStake",
Request: MsgLockExistingFullRangePositionAndSFStake,
Response: MsgLockExistingFullRangePositionAndSFStakeResponse,
} as const;

88 changes: 0 additions & 88 deletions src/protobufs/osmosis/superfluid/tx_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,91 +844,3 @@ export class MsgAddToConcentratedLiquiditySuperfluidPositionResponse extends Mes
}
}

/**
* ===================== MsgLockExistingFullRangePositionAndSFStake
*
* @generated from message osmosis.superfluid.MsgLockExistingFullRangePositionAndSFStake
*/
export class MsgLockExistingFullRangePositionAndSFStake extends Message<MsgLockExistingFullRangePositionAndSFStake> {
/**
* @generated from field: uint64 position_id = 1;
*/
positionId = protoInt64.zero;

/**
* @generated from field: string sender = 2;
*/
sender = "";

/**
* @generated from field: string val_addr = 3;
*/
valAddr = "";

constructor(data?: PartialMessage<MsgLockExistingFullRangePositionAndSFStake>) {
super();
proto3.util.initPartial(data, this);
}

static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "osmosis.superfluid.MsgLockExistingFullRangePositionAndSFStake";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "position_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
{ no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "val_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgLockExistingFullRangePositionAndSFStake {
return new MsgLockExistingFullRangePositionAndSFStake().fromBinary(bytes, options);
}

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgLockExistingFullRangePositionAndSFStake {
return new MsgLockExistingFullRangePositionAndSFStake().fromJson(jsonValue, options);
}

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgLockExistingFullRangePositionAndSFStake {
return new MsgLockExistingFullRangePositionAndSFStake().fromJsonString(jsonString, options);
}

static equals(a: MsgLockExistingFullRangePositionAndSFStake | PlainMessage<MsgLockExistingFullRangePositionAndSFStake> | undefined, b: MsgLockExistingFullRangePositionAndSFStake | PlainMessage<MsgLockExistingFullRangePositionAndSFStake> | undefined): boolean {
return proto3.util.equals(MsgLockExistingFullRangePositionAndSFStake, a, b);
}
}

/**
* @generated from message osmosis.superfluid.MsgLockExistingFullRangePositionAndSFStakeResponse
*/
export class MsgLockExistingFullRangePositionAndSFStakeResponse extends Message<MsgLockExistingFullRangePositionAndSFStakeResponse> {
/**
* @generated from field: uint64 concentrated_lock_id = 1;
*/
concentratedLockId = protoInt64.zero;

constructor(data?: PartialMessage<MsgLockExistingFullRangePositionAndSFStakeResponse>) {
super();
proto3.util.initPartial(data, this);
}

static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "osmosis.superfluid.MsgLockExistingFullRangePositionAndSFStakeResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "concentrated_lock_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgLockExistingFullRangePositionAndSFStakeResponse {
return new MsgLockExistingFullRangePositionAndSFStakeResponse().fromBinary(bytes, options);
}

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgLockExistingFullRangePositionAndSFStakeResponse {
return new MsgLockExistingFullRangePositionAndSFStakeResponse().fromJson(jsonValue, options);
}

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgLockExistingFullRangePositionAndSFStakeResponse {
return new MsgLockExistingFullRangePositionAndSFStakeResponse().fromJsonString(jsonString, options);
}

static equals(a: MsgLockExistingFullRangePositionAndSFStakeResponse | PlainMessage<MsgLockExistingFullRangePositionAndSFStakeResponse> | undefined, b: MsgLockExistingFullRangePositionAndSFStakeResponse | PlainMessage<MsgLockExistingFullRangePositionAndSFStakeResponse> | undefined): boolean {
return proto3.util.equals(MsgLockExistingFullRangePositionAndSFStakeResponse, a, b);
}
}

0 comments on commit 368996b

Please sign in to comment.