import { LegacyPoolParams, LegacyPoolParamsAmino, LegacyPoolParamsSDKType, PoolParams, PoolParamsAmino, PoolParamsSDKType } from "./pool_params"; import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; import { PoolAsset, PoolAssetAmino, PoolAssetSDKType } from "./pool_asset"; import { BinaryReader, BinaryWriter } from "../../binary"; import { JsonSafe } from "../../json-safe"; export interface LegacyPool { poolId: bigint; address: string; poolParams: LegacyPoolParams; totalShares: Coin; poolAssets: PoolAsset[]; totalWeight: string; rebalanceTreasury: string; } export interface LegacyPoolProtoMsg { typeUrl: "/elys.amm.LegacyPool"; value: Uint8Array; } /** * @name LegacyPoolAmino * @package elys.amm * @see proto type: elys.amm.LegacyPool */ export interface LegacyPoolAmino { pool_id?: string; address?: string; pool_params?: LegacyPoolParamsAmino; total_shares?: CoinAmino; pool_assets?: PoolAssetAmino[]; total_weight?: string; rebalance_treasury?: string; } export interface LegacyPoolAminoMsg { type: "/elys.amm.LegacyPool"; value: LegacyPoolAmino; } export interface LegacyPoolSDKType { pool_id: bigint; address: string; pool_params: LegacyPoolParamsSDKType; total_shares: CoinSDKType; pool_assets: PoolAssetSDKType[]; total_weight: string; rebalance_treasury: string; } export interface Pool { poolId: bigint; address: string; poolParams: PoolParams; totalShares: Coin; poolAssets: PoolAsset[]; totalWeight: string; rebalanceTreasury: string; } export interface PoolProtoMsg { typeUrl: "/elys.amm.Pool"; value: Uint8Array; } /** * @name PoolAmino * @package elys.amm * @see proto type: elys.amm.Pool */ export interface PoolAmino { pool_id?: string; address?: string; pool_params?: PoolParamsAmino; total_shares?: CoinAmino; pool_assets?: PoolAssetAmino[]; total_weight?: string; rebalance_treasury?: string; } export interface PoolAminoMsg { type: "/elys.amm.Pool"; value: PoolAmino; } export interface PoolSDKType { pool_id: bigint; address: string; pool_params: PoolParamsSDKType; total_shares: CoinSDKType; pool_assets: PoolAssetSDKType[]; total_weight: string; rebalance_treasury: string; } export interface PoolExtraInfo { tvl: string; lpTokenPrice: string; lpSavedApr: string; } export interface PoolExtraInfoProtoMsg { typeUrl: "/elys.amm.PoolExtraInfo"; value: Uint8Array; } /** * @name PoolExtraInfoAmino * @package elys.amm * @see proto type: elys.amm.PoolExtraInfo */ export interface PoolExtraInfoAmino { tvl?: string; lp_token_price?: string; lp_saved_apr?: string; } export interface PoolExtraInfoAminoMsg { type: "/elys.amm.PoolExtraInfo"; value: PoolExtraInfoAmino; } export interface PoolExtraInfoSDKType { tvl: string; lp_token_price: string; lp_saved_apr: string; } export interface OraclePoolSlippageTrack { poolId: bigint; timestamp: bigint; tracked: Coin[]; } export interface OraclePoolSlippageTrackProtoMsg { typeUrl: "/elys.amm.OraclePoolSlippageTrack"; value: Uint8Array; } /** * @name OraclePoolSlippageTrackAmino * @package elys.amm * @see proto type: elys.amm.OraclePoolSlippageTrack */ export interface OraclePoolSlippageTrackAmino { pool_id?: string; timestamp?: string; tracked?: CoinAmino[]; } export interface OraclePoolSlippageTrackAminoMsg { type: "/elys.amm.OraclePoolSlippageTrack"; value: OraclePoolSlippageTrackAmino; } export interface OraclePoolSlippageTrackSDKType { pool_id: bigint; timestamp: bigint; tracked: CoinSDKType[]; } export interface WeightBreakingSlippage { poolId: bigint; date: string; amount: string; } export interface WeightBreakingSlippageProtoMsg { typeUrl: "/elys.amm.WeightBreakingSlippage"; value: Uint8Array; } /** * @name WeightBreakingSlippageAmino * @package elys.amm * @see proto type: elys.amm.WeightBreakingSlippage */ export interface WeightBreakingSlippageAmino { pool_id?: string; date?: string; amount?: string; } export interface WeightBreakingSlippageAminoMsg { type: "/elys.amm.WeightBreakingSlippage"; value: WeightBreakingSlippageAmino; } export interface WeightBreakingSlippageSDKType { pool_id: bigint; date: string; amount: string; } export declare const LegacyPool: { typeUrl: string; is(o: any): o is LegacyPool; isSDK(o: any): o is LegacyPoolSDKType; isAmino(o: any): o is LegacyPoolAmino; encode(message: LegacyPool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LegacyPool; fromJSON(object: any): LegacyPool; toJSON(message: LegacyPool): JsonSafe; fromPartial(object: Partial): LegacyPool; fromAmino(object: LegacyPoolAmino): LegacyPool; toAmino(message: LegacyPool): LegacyPoolAmino; fromAminoMsg(object: LegacyPoolAminoMsg): LegacyPool; fromProtoMsg(message: LegacyPoolProtoMsg): LegacyPool; toProto(message: LegacyPool): Uint8Array; toProtoMsg(message: LegacyPool): LegacyPoolProtoMsg; }; export declare const Pool: { typeUrl: string; is(o: any): o is Pool; isSDK(o: any): o is PoolSDKType; isAmino(o: any): o is PoolAmino; encode(message: Pool, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Pool; fromJSON(object: any): Pool; toJSON(message: Pool): JsonSafe; fromPartial(object: Partial): Pool; fromAmino(object: PoolAmino): Pool; toAmino(message: Pool): PoolAmino; fromAminoMsg(object: PoolAminoMsg): Pool; fromProtoMsg(message: PoolProtoMsg): Pool; toProto(message: Pool): Uint8Array; toProtoMsg(message: Pool): PoolProtoMsg; }; export declare const PoolExtraInfo: { typeUrl: string; is(o: any): o is PoolExtraInfo; isSDK(o: any): o is PoolExtraInfoSDKType; isAmino(o: any): o is PoolExtraInfoAmino; encode(message: PoolExtraInfo, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PoolExtraInfo; fromJSON(object: any): PoolExtraInfo; toJSON(message: PoolExtraInfo): JsonSafe; fromPartial(object: Partial): PoolExtraInfo; fromAmino(object: PoolExtraInfoAmino): PoolExtraInfo; toAmino(message: PoolExtraInfo): PoolExtraInfoAmino; fromAminoMsg(object: PoolExtraInfoAminoMsg): PoolExtraInfo; fromProtoMsg(message: PoolExtraInfoProtoMsg): PoolExtraInfo; toProto(message: PoolExtraInfo): Uint8Array; toProtoMsg(message: PoolExtraInfo): PoolExtraInfoProtoMsg; }; export declare const OraclePoolSlippageTrack: { typeUrl: string; is(o: any): o is OraclePoolSlippageTrack; isSDK(o: any): o is OraclePoolSlippageTrackSDKType; isAmino(o: any): o is OraclePoolSlippageTrackAmino; encode(message: OraclePoolSlippageTrack, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): OraclePoolSlippageTrack; fromJSON(object: any): OraclePoolSlippageTrack; toJSON(message: OraclePoolSlippageTrack): JsonSafe; fromPartial(object: Partial): OraclePoolSlippageTrack; fromAmino(object: OraclePoolSlippageTrackAmino): OraclePoolSlippageTrack; toAmino(message: OraclePoolSlippageTrack): OraclePoolSlippageTrackAmino; fromAminoMsg(object: OraclePoolSlippageTrackAminoMsg): OraclePoolSlippageTrack; fromProtoMsg(message: OraclePoolSlippageTrackProtoMsg): OraclePoolSlippageTrack; toProto(message: OraclePoolSlippageTrack): Uint8Array; toProtoMsg(message: OraclePoolSlippageTrack): OraclePoolSlippageTrackProtoMsg; }; export declare const WeightBreakingSlippage: { typeUrl: string; is(o: any): o is WeightBreakingSlippage; isSDK(o: any): o is WeightBreakingSlippageSDKType; isAmino(o: any): o is WeightBreakingSlippageAmino; encode(message: WeightBreakingSlippage, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): WeightBreakingSlippage; fromJSON(object: any): WeightBreakingSlippage; toJSON(message: WeightBreakingSlippage): JsonSafe; fromPartial(object: Partial): WeightBreakingSlippage; fromAmino(object: WeightBreakingSlippageAmino): WeightBreakingSlippage; toAmino(message: WeightBreakingSlippage): WeightBreakingSlippageAmino; fromAminoMsg(object: WeightBreakingSlippageAminoMsg): WeightBreakingSlippage; fromProtoMsg(message: WeightBreakingSlippageProtoMsg): WeightBreakingSlippage; toProto(message: WeightBreakingSlippage): Uint8Array; toProtoMsg(message: WeightBreakingSlippage): WeightBreakingSlippageProtoMsg; };