UNPKG

@cranberry-money/shared-constants

Version:

Shared constants for Blueberry platform

22 lines 918 B
/** * Asset type classification - must match backend AssetType enum in assets/models/asset.py * * Backend source of truth: * - NATIVE_CRYPTO: BTC, ETH, SOL (chain-native coins) * - ERC20_TOKEN: LINK, UNI, AAVE (ERC-20 tokens on Ethereum) * - STABLECOIN: USDC, USDT, DAI * - TOKENIZED_SECURITY: AAPL.t, VAS.t * - TOKENIZED_RWA: US Treasuries, bonds * - SYNTHETIC: Synthetic tracking tokens */ export declare const HOLDING_ASSET_TYPE: { readonly NATIVE_CRYPTO: "native_crypto"; readonly ERC20_TOKEN: "erc20_token"; readonly STABLECOIN: "stablecoin"; readonly TOKENIZED_SECURITY: "tokenized_security"; readonly TOKENIZED_RWA: "tokenized_rwa"; readonly SYNTHETIC: "synthetic"; }; export type HoldingAssetType = (typeof HOLDING_ASSET_TYPE)[keyof typeof HOLDING_ASSET_TYPE]; export declare function getHoldingAssetTypeLabel(assetType: string): string; //# sourceMappingURL=holdings.d.ts.map