import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgOpen, MsgClose, MsgUpdateParams, MsgWhitelist, MsgDewhitelist, MsgUpdateStopLoss, MsgClosePositions, MsgUpdateTakeProfitPrice, MsgUpdateMaxLeverageForPool, MsgUpdateEnabledPools } from "./tx"; export declare const registry: ReadonlyArray<[string, GeneratedType]>; export declare const load: (protoRegistry: Registry) => void; export declare const MessageComposer: { encoded: { open(value: MsgOpen): { typeUrl: string; value: Uint8Array; }; close(value: MsgClose): { typeUrl: string; value: Uint8Array; }; updateParams(value: MsgUpdateParams): { typeUrl: string; value: Uint8Array; }; whitelist(value: MsgWhitelist): { typeUrl: string; value: Uint8Array; }; dewhitelist(value: MsgDewhitelist): { typeUrl: string; value: Uint8Array; }; updateStopLoss(value: MsgUpdateStopLoss): { typeUrl: string; value: Uint8Array; }; closePositions(value: MsgClosePositions): { typeUrl: string; value: Uint8Array; }; updateTakeProfitPrice(value: MsgUpdateTakeProfitPrice): { typeUrl: string; value: Uint8Array; }; updateMaxLeverageForPool(value: MsgUpdateMaxLeverageForPool): { typeUrl: string; value: Uint8Array; }; updateEnabledPools(value: MsgUpdateEnabledPools): { typeUrl: string; value: Uint8Array; }; }; withTypeUrl: { open(value: MsgOpen): { typeUrl: string; value: MsgOpen; }; close(value: MsgClose): { typeUrl: string; value: MsgClose; }; updateParams(value: MsgUpdateParams): { typeUrl: string; value: MsgUpdateParams; }; whitelist(value: MsgWhitelist): { typeUrl: string; value: MsgWhitelist; }; dewhitelist(value: MsgDewhitelist): { typeUrl: string; value: MsgDewhitelist; }; updateStopLoss(value: MsgUpdateStopLoss): { typeUrl: string; value: MsgUpdateStopLoss; }; closePositions(value: MsgClosePositions): { typeUrl: string; value: MsgClosePositions; }; updateTakeProfitPrice(value: MsgUpdateTakeProfitPrice): { typeUrl: string; value: MsgUpdateTakeProfitPrice; }; updateMaxLeverageForPool(value: MsgUpdateMaxLeverageForPool): { typeUrl: string; value: MsgUpdateMaxLeverageForPool; }; updateEnabledPools(value: MsgUpdateEnabledPools): { typeUrl: string; value: MsgUpdateEnabledPools; }; }; toJSON: { open(value: MsgOpen): { typeUrl: string; value: { creator: string; position: import("./types").Position; leverage: string; tradingAsset: string; collateral: { denom: string; amount: string; }; takeProfitPrice: string; stopLossPrice: string; poolId: string; }; }; close(value: MsgClose): { typeUrl: string; value: { creator: string; id: string; amount: string; }; }; updateParams(value: MsgUpdateParams): { typeUrl: string; value: { authority: string; params?: { leverageMax: string; borrowInterestRateMax: string; borrowInterestRateMin: string; borrowInterestRateIncrease: string; borrowInterestRateDecrease: string; healthGainFactor: string; maxOpenPositions: string; poolOpenThreshold: string; borrowInterestPaymentFundPercentage: string; borrowInterestPaymentFundAddress: string; safetyFactor: string; borrowInterestPaymentEnabled: boolean; whitelistingEnabled: boolean; perpetualSwapFee: string; maxLimitOrder: string; fixedFundingRate: string; minimumLongTakeProfitPriceRatio: string; maximumLongTakeProfitPriceRatio: string; maximumShortTakeProfitPriceRatio: string; enableTakeProfitCustodyLiabilities: boolean; weightBreakingFeeFactor: string; enabledPools: string[]; }; }; }; whitelist(value: MsgWhitelist): { typeUrl: string; value: { authority: string; whitelistedAddress: string; }; }; dewhitelist(value: MsgDewhitelist): { typeUrl: string; value: { authority: string; whitelistedAddress: string; }; }; updateStopLoss(value: MsgUpdateStopLoss): { typeUrl: string; value: { creator: string; id: string; price: string; }; }; closePositions(value: MsgClosePositions): { typeUrl: string; value: { creator: string; liquidate: { address: string; id: string; }[]; stopLoss: { address: string; id: string; }[]; takeProfit: { address: string; id: string; }[]; }; }; updateTakeProfitPrice(value: MsgUpdateTakeProfitPrice): { typeUrl: string; value: { creator: string; id: string; price: string; }; }; updateMaxLeverageForPool(value: MsgUpdateMaxLeverageForPool): { typeUrl: string; value: { authority: string; poolId: string; leverageMax: string; }; }; updateEnabledPools(value: MsgUpdateEnabledPools): { typeUrl: string; value: { authority: string; enabledPools: string[]; }; }; }; fromJSON: { open(value: any): { typeUrl: string; value: MsgOpen; }; close(value: any): { typeUrl: string; value: MsgClose; }; updateParams(value: any): { typeUrl: string; value: MsgUpdateParams; }; whitelist(value: any): { typeUrl: string; value: MsgWhitelist; }; dewhitelist(value: any): { typeUrl: string; value: MsgDewhitelist; }; updateStopLoss(value: any): { typeUrl: string; value: MsgUpdateStopLoss; }; closePositions(value: any): { typeUrl: string; value: MsgClosePositions; }; updateTakeProfitPrice(value: any): { typeUrl: string; value: MsgUpdateTakeProfitPrice; }; updateMaxLeverageForPool(value: any): { typeUrl: string; value: MsgUpdateMaxLeverageForPool; }; updateEnabledPools(value: any): { typeUrl: string; value: MsgUpdateEnabledPools; }; }; fromPartial: { open(value: MsgOpen): { typeUrl: string; value: MsgOpen; }; close(value: MsgClose): { typeUrl: string; value: MsgClose; }; updateParams(value: MsgUpdateParams): { typeUrl: string; value: MsgUpdateParams; }; whitelist(value: MsgWhitelist): { typeUrl: string; value: MsgWhitelist; }; dewhitelist(value: MsgDewhitelist): { typeUrl: string; value: MsgDewhitelist; }; updateStopLoss(value: MsgUpdateStopLoss): { typeUrl: string; value: MsgUpdateStopLoss; }; closePositions(value: MsgClosePositions): { typeUrl: string; value: MsgClosePositions; }; updateTakeProfitPrice(value: MsgUpdateTakeProfitPrice): { typeUrl: string; value: MsgUpdateTakeProfitPrice; }; updateMaxLeverageForPool(value: MsgUpdateMaxLeverageForPool): { typeUrl: string; value: MsgUpdateMaxLeverageForPool; }; updateEnabledPools(value: MsgUpdateEnabledPools): { typeUrl: string; value: MsgUpdateEnabledPools; }; }; };