UNPKG

@hubbleprotocol/hubble-sdk

Version:
26 lines (20 loc) 625 B
import { PublicKey } from '@solana/web3.js'; import CollateralAmounts from './CollateralAmounts'; import Decimal from 'decimal.js'; export type UserMetadataWithJson = { version: number; status: number; userId: Decimal; metadataPk: PublicKey; owner: PublicKey; borrowingMarketState: PublicKey; inactiveCollateral: CollateralAmounts; depositedCollateral: CollateralAmounts; borrowedStablecoin: Decimal; userStake: Decimal; userCollateralRewardPerToken: CollateralAmounts; userStablecoinRewardPerToken: Decimal; marketType: Decimal; jsonResponse: string; }; export default UserMetadataWithJson;