import { Params, ParamsAmino, ParamsSDKType } from "./params"; import { BinaryReader, BinaryWriter } from "../../binary"; import { JsonSafe } from "../../json-safe"; export interface MsgBond { creator: string; amount: string; poolId: bigint; } export interface MsgBondProtoMsg { typeUrl: "/elys.stablestake.MsgBond"; value: Uint8Array; } /** * @name MsgBondAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgBond */ export interface MsgBondAmino { creator?: string; amount?: string; pool_id?: string; } export interface MsgBondAminoMsg { type: "stablestake/MsgBond"; value: MsgBondAmino; } export interface MsgBondSDKType { creator: string; amount: string; pool_id: bigint; } export interface MsgBondResponse { } export interface MsgBondResponseProtoMsg { typeUrl: "/elys.stablestake.MsgBondResponse"; value: Uint8Array; } /** * @name MsgBondResponseAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgBondResponse */ export interface MsgBondResponseAmino { } export interface MsgBondResponseAminoMsg { type: "/elys.stablestake.MsgBondResponse"; value: MsgBondResponseAmino; } export interface MsgBondResponseSDKType { } export interface MsgUnbond { creator: string; amount: string; poolId: bigint; } export interface MsgUnbondProtoMsg { typeUrl: "/elys.stablestake.MsgUnbond"; value: Uint8Array; } /** * @name MsgUnbondAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUnbond */ export interface MsgUnbondAmino { creator?: string; amount?: string; pool_id?: string; } export interface MsgUnbondAminoMsg { type: "stablestake/MsgUnbond"; value: MsgUnbondAmino; } export interface MsgUnbondSDKType { creator: string; amount: string; pool_id: bigint; } export interface MsgUnbondResponse { } export interface MsgUnbondResponseProtoMsg { typeUrl: "/elys.stablestake.MsgUnbondResponse"; value: Uint8Array; } /** * @name MsgUnbondResponseAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUnbondResponse */ export interface MsgUnbondResponseAmino { } export interface MsgUnbondResponseAminoMsg { type: "/elys.stablestake.MsgUnbondResponse"; value: MsgUnbondResponseAmino; } export interface MsgUnbondResponseSDKType { } export interface MsgUpdateParams { /** * authority is the address that controls the module (defaults to x/gov unless * overwritten). */ authority: string; /** NOTE: All parameters must be supplied. */ params?: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: "/elys.stablestake.MsgUpdateParams"; value: Uint8Array; } /** * @name MsgUpdateParamsAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUpdateParams */ export interface MsgUpdateParamsAmino { /** * authority is the address that controls the module (defaults to x/gov unless * overwritten). */ authority?: string; /** * NOTE: All parameters must be supplied. */ params?: ParamsAmino; } export interface MsgUpdateParamsAminoMsg { type: "stablestake/MsgUpdateParams"; value: MsgUpdateParamsAmino; } export interface MsgUpdateParamsSDKType { authority: string; params?: ParamsSDKType; } export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: "/elys.stablestake.MsgUpdateParamsResponse"; value: Uint8Array; } /** * @name MsgUpdateParamsResponseAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUpdateParamsResponse */ export interface MsgUpdateParamsResponseAmino { } export interface MsgUpdateParamsResponseAminoMsg { type: "/elys.stablestake.MsgUpdateParamsResponse"; value: MsgUpdateParamsResponseAmino; } export interface MsgUpdateParamsResponseSDKType { } export interface MsgAddPool { sender: string; depositDenom: string; interestRate: string; interestRateMax: string; interestRateMin: string; interestRateIncrease: string; interestRateDecrease: string; healthGainFactor: string; maxLeverageRatio: string; maxWithdrawRatio: string; } export interface MsgAddPoolProtoMsg { typeUrl: "/elys.stablestake.MsgAddPool"; value: Uint8Array; } /** * @name MsgAddPoolAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgAddPool */ export interface MsgAddPoolAmino { sender?: string; deposit_denom?: string; interest_rate?: string; interest_rate_max?: string; interest_rate_min?: string; interest_rate_increase?: string; interest_rate_decrease?: string; health_gain_factor?: string; max_leverage_ratio?: string; max_withdraw_ratio?: string; } export interface MsgAddPoolAminoMsg { type: "stablestake/MsgAddPool"; value: MsgAddPoolAmino; } export interface MsgAddPoolSDKType { sender: string; deposit_denom: string; interest_rate: string; interest_rate_max: string; interest_rate_min: string; interest_rate_increase: string; interest_rate_decrease: string; health_gain_factor: string; max_leverage_ratio: string; max_withdraw_ratio: string; } export interface MsgAddPoolResponse { poolId: bigint; } export interface MsgAddPoolResponseProtoMsg { typeUrl: "/elys.stablestake.MsgAddPoolResponse"; value: Uint8Array; } /** * @name MsgAddPoolResponseAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgAddPoolResponse */ export interface MsgAddPoolResponseAmino { pool_id?: string; } export interface MsgAddPoolResponseAminoMsg { type: "/elys.stablestake.MsgAddPoolResponse"; value: MsgAddPoolResponseAmino; } export interface MsgAddPoolResponseSDKType { pool_id: bigint; } export interface MsgUpdatePool { authority: string; interestRateMax: string; interestRateMin: string; interestRateIncrease: string; interestRateDecrease: string; healthGainFactor: string; maxLeverageRatio: string; poolId: bigint; } export interface MsgUpdatePoolProtoMsg { typeUrl: "/elys.stablestake.MsgUpdatePool"; value: Uint8Array; } /** * @name MsgUpdatePoolAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUpdatePool */ export interface MsgUpdatePoolAmino { authority?: string; interest_rate_max?: string; interest_rate_min?: string; interest_rate_increase?: string; interest_rate_decrease?: string; health_gain_factor?: string; max_leverage_ratio?: string; pool_id?: string; } export interface MsgUpdatePoolAminoMsg { type: "stablestake/MsgUpdatePool"; value: MsgUpdatePoolAmino; } export interface MsgUpdatePoolSDKType { authority: string; interest_rate_max: string; interest_rate_min: string; interest_rate_increase: string; interest_rate_decrease: string; health_gain_factor: string; max_leverage_ratio: string; pool_id: bigint; } export interface MsgUpdatePoolResponse { } export interface MsgUpdatePoolResponseProtoMsg { typeUrl: "/elys.stablestake.MsgUpdatePoolResponse"; value: Uint8Array; } /** * @name MsgUpdatePoolResponseAmino * @package elys.stablestake * @see proto type: elys.stablestake.MsgUpdatePoolResponse */ export interface MsgUpdatePoolResponseAmino { } export interface MsgUpdatePoolResponseAminoMsg { type: "/elys.stablestake.MsgUpdatePoolResponse"; value: MsgUpdatePoolResponseAmino; } export interface MsgUpdatePoolResponseSDKType { } export declare const MsgBond: { typeUrl: string; aminoType: string; is(o: any): o is MsgBond; isSDK(o: any): o is MsgBondSDKType; isAmino(o: any): o is MsgBondAmino; encode(message: MsgBond, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBond; fromJSON(object: any): MsgBond; toJSON(message: MsgBond): JsonSafe; fromPartial(object: Partial): MsgBond; fromAmino(object: MsgBondAmino): MsgBond; toAmino(message: MsgBond): MsgBondAmino; fromAminoMsg(object: MsgBondAminoMsg): MsgBond; toAminoMsg(message: MsgBond): MsgBondAminoMsg; fromProtoMsg(message: MsgBondProtoMsg): MsgBond; toProto(message: MsgBond): Uint8Array; toProtoMsg(message: MsgBond): MsgBondProtoMsg; }; export declare const MsgBondResponse: { typeUrl: string; is(o: any): o is MsgBondResponse; isSDK(o: any): o is MsgBondResponseSDKType; isAmino(o: any): o is MsgBondResponseAmino; encode(_: MsgBondResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgBondResponse; fromJSON(_: any): MsgBondResponse; toJSON(_: MsgBondResponse): JsonSafe; fromPartial(_: Partial): MsgBondResponse; fromAmino(_: MsgBondResponseAmino): MsgBondResponse; toAmino(_: MsgBondResponse): MsgBondResponseAmino; fromAminoMsg(object: MsgBondResponseAminoMsg): MsgBondResponse; fromProtoMsg(message: MsgBondResponseProtoMsg): MsgBondResponse; toProto(message: MsgBondResponse): Uint8Array; toProtoMsg(message: MsgBondResponse): MsgBondResponseProtoMsg; }; export declare const MsgUnbond: { typeUrl: string; aminoType: string; is(o: any): o is MsgUnbond; isSDK(o: any): o is MsgUnbondSDKType; isAmino(o: any): o is MsgUnbondAmino; encode(message: MsgUnbond, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUnbond; fromJSON(object: any): MsgUnbond; toJSON(message: MsgUnbond): JsonSafe; fromPartial(object: Partial): MsgUnbond; fromAmino(object: MsgUnbondAmino): MsgUnbond; toAmino(message: MsgUnbond): MsgUnbondAmino; fromAminoMsg(object: MsgUnbondAminoMsg): MsgUnbond; toAminoMsg(message: MsgUnbond): MsgUnbondAminoMsg; fromProtoMsg(message: MsgUnbondProtoMsg): MsgUnbond; toProto(message: MsgUnbond): Uint8Array; toProtoMsg(message: MsgUnbond): MsgUnbondProtoMsg; }; export declare const MsgUnbondResponse: { typeUrl: string; is(o: any): o is MsgUnbondResponse; isSDK(o: any): o is MsgUnbondResponseSDKType; isAmino(o: any): o is MsgUnbondResponseAmino; encode(_: MsgUnbondResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUnbondResponse; fromJSON(_: any): MsgUnbondResponse; toJSON(_: MsgUnbondResponse): JsonSafe; fromPartial(_: Partial): MsgUnbondResponse; fromAmino(_: MsgUnbondResponseAmino): MsgUnbondResponse; toAmino(_: MsgUnbondResponse): MsgUnbondResponseAmino; fromAminoMsg(object: MsgUnbondResponseAminoMsg): MsgUnbondResponse; fromProtoMsg(message: MsgUnbondResponseProtoMsg): MsgUnbondResponse; toProto(message: MsgUnbondResponse): Uint8Array; toProtoMsg(message: MsgUnbondResponse): MsgUnbondResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdateParams; isSDK(o: any): o is MsgUpdateParamsSDKType; isAmino(o: any): o is MsgUpdateParamsAmino; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromAmino(object: MsgUpdateParamsAmino): MsgUpdateParams; toAmino(message: MsgUpdateParams): MsgUpdateParamsAmino; fromAminoMsg(object: MsgUpdateParamsAminoMsg): MsgUpdateParams; toAminoMsg(message: MsgUpdateParams): MsgUpdateParamsAminoMsg; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; is(o: any): o is MsgUpdateParamsResponse; isSDK(o: any): o is MsgUpdateParamsResponseSDKType; isAmino(o: any): o is MsgUpdateParamsResponseAmino; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse; toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino; fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; export declare const MsgAddPool: { typeUrl: string; aminoType: string; is(o: any): o is MsgAddPool; isSDK(o: any): o is MsgAddPoolSDKType; isAmino(o: any): o is MsgAddPoolAmino; encode(message: MsgAddPool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAddPool; fromJSON(object: any): MsgAddPool; toJSON(message: MsgAddPool): JsonSafe; fromPartial(object: Partial): MsgAddPool; fromAmino(object: MsgAddPoolAmino): MsgAddPool; toAmino(message: MsgAddPool): MsgAddPoolAmino; fromAminoMsg(object: MsgAddPoolAminoMsg): MsgAddPool; toAminoMsg(message: MsgAddPool): MsgAddPoolAminoMsg; fromProtoMsg(message: MsgAddPoolProtoMsg): MsgAddPool; toProto(message: MsgAddPool): Uint8Array; toProtoMsg(message: MsgAddPool): MsgAddPoolProtoMsg; }; export declare const MsgAddPoolResponse: { typeUrl: string; is(o: any): o is MsgAddPoolResponse; isSDK(o: any): o is MsgAddPoolResponseSDKType; isAmino(o: any): o is MsgAddPoolResponseAmino; encode(message: MsgAddPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAddPoolResponse; fromJSON(object: any): MsgAddPoolResponse; toJSON(message: MsgAddPoolResponse): JsonSafe; fromPartial(object: Partial): MsgAddPoolResponse; fromAmino(object: MsgAddPoolResponseAmino): MsgAddPoolResponse; toAmino(message: MsgAddPoolResponse): MsgAddPoolResponseAmino; fromAminoMsg(object: MsgAddPoolResponseAminoMsg): MsgAddPoolResponse; fromProtoMsg(message: MsgAddPoolResponseProtoMsg): MsgAddPoolResponse; toProto(message: MsgAddPoolResponse): Uint8Array; toProtoMsg(message: MsgAddPoolResponse): MsgAddPoolResponseProtoMsg; }; export declare const MsgUpdatePool: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdatePool; isSDK(o: any): o is MsgUpdatePoolSDKType; isAmino(o: any): o is MsgUpdatePoolAmino; encode(message: MsgUpdatePool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdatePool; fromJSON(object: any): MsgUpdatePool; toJSON(message: MsgUpdatePool): JsonSafe; fromPartial(object: Partial): MsgUpdatePool; fromAmino(object: MsgUpdatePoolAmino): MsgUpdatePool; toAmino(message: MsgUpdatePool): MsgUpdatePoolAmino; fromAminoMsg(object: MsgUpdatePoolAminoMsg): MsgUpdatePool; toAminoMsg(message: MsgUpdatePool): MsgUpdatePoolAminoMsg; fromProtoMsg(message: MsgUpdatePoolProtoMsg): MsgUpdatePool; toProto(message: MsgUpdatePool): Uint8Array; toProtoMsg(message: MsgUpdatePool): MsgUpdatePoolProtoMsg; }; export declare const MsgUpdatePoolResponse: { typeUrl: string; is(o: any): o is MsgUpdatePoolResponse; isSDK(o: any): o is MsgUpdatePoolResponseSDKType; isAmino(o: any): o is MsgUpdatePoolResponseAmino; encode(_: MsgUpdatePoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdatePoolResponse; fromJSON(_: any): MsgUpdatePoolResponse; toJSON(_: MsgUpdatePoolResponse): JsonSafe; fromPartial(_: Partial): MsgUpdatePoolResponse; fromAmino(_: MsgUpdatePoolResponseAmino): MsgUpdatePoolResponse; toAmino(_: MsgUpdatePoolResponse): MsgUpdatePoolResponseAmino; fromAminoMsg(object: MsgUpdatePoolResponseAminoMsg): MsgUpdatePoolResponse; fromProtoMsg(message: MsgUpdatePoolResponseProtoMsg): MsgUpdatePoolResponse; toProto(message: MsgUpdatePoolResponse): Uint8Array; toProtoMsg(message: MsgUpdatePoolResponse): MsgUpdatePoolResponseProtoMsg; };