export declare enum IncentiveKind { Staking = "staking", Reward = "reward" } export declare enum IncentiveSide { Supply = "supply", Borrow = "borrow" } export declare enum IncentiveSource { Merkl = "merkl" } export declare enum IncentiveEligibilityId { AaveV3EthenaLiquidLeverage = "0x0dC599DBB180E64E42b87332FDeC3a551445ea44BORROW_BL", AaveV3ArbitrumEthSupply = "0x5d16261c6715a653248269861bbacf68a9774cde", AaveV3ArbitrumETHLSBorrow = "0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351", AaveV3EthenaLiquidLeveragePlasma = "0x2E8f1FA9c73F9d975B46BDFe40C92b6dDEFA3f31BORROW_BL", AaveV3EthenaLiquidLeveragePlasmaGHO = "2b2f6fefcd3df634", CompoundV3PufEthWethBorrow = "e6e49b79e83041f9" } export declare enum LeverageType { Long = "long", Short = "short", VolatilePair = "volatile-pair", VolatilePairReverse = "volatile-pair-reverse", None = "" } export interface IncentiveData { token: string; apy: string; incentiveKind?: IncentiveKind; source?: IncentiveSource; name?: string; description?: string; endTimestamp?: number; eligibilityId?: IncentiveEligibilityId; } export type EthAddress = HexString; export type Blockish = number | 'latest'; export type AssetSymbol = string; export type Amount = string | number; export declare enum NetworkNumber { Eth = 1, Opt = 10, Arb = 42161, Base = 8453, Linea = 59144, Plasma = 9745 } export type Networkish = string | NetworkNumber; export interface MMAssetData { symbol: string; supplyRate: string; borrowRate: string; price: string; collateralFactor: string; underlyingTokenAddress: string; marketLiquidity: string; utilization: string; borrowCap: string; totalSupply: string; canBeBorrowed: boolean; canBeSupplied: boolean; totalBorrow: string; borrowRateP2P?: string; supplyRateP2P?: string; supplyIncentives: IncentiveData[]; borrowIncentives: IncentiveData[]; } export interface MMAssetsData { [token: string]: MMAssetData; } export interface MMMarketData { assetsData: MMAssetData[]; } export interface MMUsedAsset { symbol: string; supplied: string; suppliedUsd: string; isSupplied: boolean; borrowed: string; borrowedUsd: string; isBorrowed: boolean; stableBorrowRate?: string; debt?: string; supplyRate?: string; borrowRate?: string; interestMode?: string; collateral?: boolean; } export interface MMUsedAssets { [token: string]: MMUsedAsset; } export interface MMUsedAssetWStableB extends MMUsedAsset { stableBorrowRate: string; borrowedStable: string; borrowedVariable: string; borrowedUsdStable: string; borrowedUsdVariable: string; interestMode: string; } export interface MMPositionData { usedAssets: any; netApy: string; lastUpdated: number; exposure: string; } export type Balances = Record; export interface PositionBalances { collateral?: Balances; debt?: Balances; selling?: Balances; deposited?: Balances; } export type EthereumProvider = { request(...args: any): Promise; }; export type HexString = `0x${string}`;