@leather.io/models 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @leather.io/models@0.47.0 build /home/runner/work/mono/mono/packages/models
2
+ > @leather.io/models@0.48.0 build /home/runner/work/mono/mono/packages/models
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,9 +8,9 @@
8
8
  CLI Using tsup config: /home/runner/work/mono/mono/packages/models/tsup.config.ts
9
9
  CLI Target: es2022
10
10
  ESM Build start
11
- ESM dist/index.js 20.49 KB
12
- ESM dist/index.js.map 46.81 KB
13
- ESM ⚡️ Build success in 41ms
11
+ ESM dist/index.js 22.03 KB
12
+ ESM dist/index.js.map 49.72 KB
13
+ ESM ⚡️ Build success in 53ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 2975ms
16
- DTS dist/index.d.ts 42.28 KB
15
+ DTS ⚡️ Build success in 3312ms
16
+ DTS dist/index.d.ts 47.11 KB
package/CHANGELOG.md CHANGED
@@ -36,6 +36,13 @@
36
36
  * devDependencies
37
37
  * @leather.io/prettier-config bumped to 0.9.0
38
38
 
39
+ ## [0.48.0](https://github.com/leather-io/mono/compare/@leather.io/models-v0.47.0...@leather.io/models-v0.48.0) (2025-11-17)
40
+
41
+
42
+ ### Features
43
+
44
+ * enhances yield model ([4833500](https://github.com/leather-io/mono/commit/48335001f0eae0eb79e1563d91ed568fff877d3a))
45
+
39
46
  ## [0.47.0](https://github.com/leather-io/mono/compare/@leather.io/models-v0.46.0...@leather.io/models-v0.47.0) (2025-11-14)
40
47
 
41
48
 
package/dist/index.d.ts CHANGED
@@ -120,6 +120,8 @@ interface Sip9Collection {
120
120
  name: string;
121
121
  collectionExplorerUrl: string;
122
122
  totalItems?: number;
123
+ floorPrice?: Money;
124
+ latestSale?: Money;
123
125
  }
124
126
  interface Sip9AssetContent {
125
127
  contentUrl: string;
@@ -142,8 +144,6 @@ interface Sip9Asset extends BaseNonFungibleCryptoAsset {
142
144
  readonly attributes?: Sip9Attribute[];
143
145
  readonly collection?: Sip9Collection;
144
146
  readonly creator?: string;
145
- readonly floorPrice?: Money;
146
- readonly latestSale?: Money;
147
147
  readonly rarityRank?: number;
148
148
  }
149
149
 
@@ -262,6 +262,7 @@ interface InscriptionAsset extends BaseNonFungibleCryptoAsset {
262
262
  readonly offset: string;
263
263
  readonly preview: string;
264
264
  readonly src: string;
265
+ readonly thumbnailSrc?: string;
265
266
  readonly value: string;
266
267
  readonly genesisBlockHash: string;
267
268
  readonly genesisTimestamp: number;
@@ -893,6 +894,11 @@ declare const YieldProviderKeys: {
893
894
  readonly zest: "zest";
894
895
  readonly granite: "granite";
895
896
  readonly stackingDao: "stackingdao";
897
+ readonly lisa: "lisa";
898
+ readonly hermetica: "hermetica";
899
+ readonly fastPool: "fast-pool";
900
+ readonly xverse: "xverse";
901
+ readonly velar: "velar";
896
902
  };
897
903
  type YieldProviderKey = (typeof YieldProviderKeys)[keyof typeof YieldProviderKeys];
898
904
  interface YieldProvider {
@@ -904,53 +910,77 @@ interface YieldProvider {
904
910
 
905
911
  declare const YieldProductKeys: {
906
912
  readonly bitflowAmmLp: "bitflow-amm-lp";
907
- readonly zestBorrow: "zest-borrow";
908
- readonly graniteV1: "granite-v1";
909
- readonly stackingDaoLst: "stackingdao-lst";
913
+ readonly bitflowAmmStaking: "bitflow-amm-staking";
914
+ readonly zestBorrowMarket: "zest-borrow-market";
915
+ readonly graniteV1Earn: "granite-v1-earn";
916
+ readonly graniteV1Borrow: "granite-v1-borrow";
917
+ readonly stackingDaoStstx: "stackingdao-ststx";
918
+ readonly stackingDaoStstxbtc: "stackingdao-ststxbtc";
910
919
  readonly stackingDaoPooledStacking: "stackingdao-pooled-stacking";
920
+ readonly lisaListx: "lisa-listx";
921
+ readonly lisaLiquidStaking: "lisa-liquid-staking";
922
+ readonly hermeticaUsdhStaking: "hermetica-usdh-staking";
923
+ readonly velarAmmLp: "velar-amm-lp";
924
+ readonly velarPerps: "velar-perps";
925
+ readonly velarAmmLpFarming: "velar-amm-lp-farming";
926
+ readonly fastPoolPooledStacking: "fast-pool-pooled-stacking";
927
+ readonly xversePooledStacking: "xverse-pooled-stacking";
911
928
  };
912
929
  type YieldProductKey = (typeof YieldProductKeys)[keyof typeof YieldProductKeys];
913
930
  declare const YieldProductCategories: {
914
931
  readonly AMM: "amm";
915
932
  readonly LENDING: "lending";
916
- readonly LST: "lst";
917
- readonly CDP: "cdp";
933
+ readonly LIQUID_STACKING: "liquid-stacking";
918
934
  readonly POOLED_STACKING: "pooled-stacking";
935
+ readonly STAKING: "staking";
919
936
  readonly PERPS: "perps";
920
937
  };
921
938
  type YieldProductCategory = (typeof YieldProductCategories)[keyof typeof YieldProductCategories];
922
- declare const YieldProductToProtocolMap: {
939
+ declare const YieldProductToProviderMap: {
923
940
  readonly "bitflow-amm-lp": "bitflow";
924
- readonly "zest-borrow": "zest";
925
- readonly "granite-v1": "granite";
926
- readonly "stackingdao-lst": "stackingdao";
941
+ readonly "bitflow-amm-staking": "bitflow";
942
+ readonly "zest-borrow-market": "zest";
943
+ readonly "granite-v1-earn": "granite";
944
+ readonly "granite-v1-borrow": "granite";
945
+ readonly "stackingdao-ststx": "stackingdao";
946
+ readonly "stackingdao-ststxbtc": "stackingdao";
927
947
  readonly "stackingdao-pooled-stacking": "stackingdao";
948
+ readonly "lisa-listx": "lisa";
949
+ readonly "lisa-liquid-staking": "lisa";
950
+ readonly "hermetica-usdh-staking": "hermetica";
951
+ readonly "velar-amm-lp": "velar";
952
+ readonly "velar-perps": "velar";
953
+ readonly "velar-amm-lp-farming": "velar";
954
+ readonly "fast-pool-pooled-stacking": "fast-pool";
955
+ readonly "xverse-pooled-stacking": "xverse";
928
956
  };
929
- interface YieldProduct {
957
+ type YieldProduct = BaseYieldProduct | PooledStackingYieldProduct;
958
+ interface BaseYieldProduct {
930
959
  readonly key: YieldProductKey;
931
960
  readonly provider: YieldProviderKey;
961
+ readonly category: YieldProductCategory;
932
962
  readonly name: string;
933
963
  readonly url: string;
934
- readonly category: YieldProductCategory;
935
- readonly tvl?: Money;
964
+ }
965
+ interface PooledStackingYieldProduct extends BaseYieldProduct {
966
+ readonly category: 'pooled-stacking';
967
+ readonly stackerCount: number;
936
968
  }
937
969
 
938
970
  interface BaseYieldPosition {
971
+ readonly id: string;
939
972
  readonly provider: YieldProviderKey;
940
973
  readonly product: YieldProductKey;
941
974
  readonly totalBalance: Money;
942
- readonly netApy?: number;
943
- readonly updatedAtBlockHeight: number;
944
- readonly updatedAt: Date;
975
+ readonly apy: number;
976
+ }
977
+ interface BasePooledStackingPosition extends BaseYieldPosition {
978
+ readonly stackedBalanceStx: Money;
945
979
  }
946
980
 
947
981
  interface BitflowAmmLpPosition extends BaseYieldPosition {
948
- provider: typeof YieldProviderKeys.bitflow;
949
- product: typeof YieldProductKeys.bitflowAmmLp;
950
- pools: BitflowAmmLpPool[];
951
- }
952
- interface BitflowAmmLpPool {
953
- apy: number;
982
+ provider: 'bitflow';
983
+ product: 'bitflow-amm-lp';
954
984
  poolSharePercentage: number;
955
985
  lpToken: {
956
986
  asset: FungibleCryptoAsset;
@@ -968,24 +998,35 @@ interface BitflowAmmLpPool {
968
998
  balanceQuote: Money;
969
999
  };
970
1000
  }
971
-
972
- interface GraniteV1Position extends BaseYieldPosition {
973
- provider: typeof YieldProviderKeys.granite;
974
- product: typeof YieldProductKeys.graniteV1;
975
- collateralBalance: Money;
976
- aeusdcMarket: {
1001
+ interface BitflowAmmStakingPosition extends BaseYieldPosition {
1002
+ provider: 'bitflow';
1003
+ product: 'bitflow-amm-staking';
1004
+ stakedLpToken: {
977
1005
  asset: FungibleCryptoAsset;
978
- earnApy: number;
979
- borrowApy: number;
980
- };
981
- earn?: {
982
1006
  balance: Money;
983
1007
  balanceQuote: Money;
984
1008
  };
985
- borrow?: {
1009
+ rewardToken?: {
1010
+ asset: FungibleCryptoAsset;
986
1011
  balance: Money;
987
1012
  balanceQuote: Money;
988
1013
  };
1014
+ }
1015
+
1016
+ interface GraniteV1EarnPosition extends BaseYieldPosition {
1017
+ provider: 'granite';
1018
+ product: 'granite-v1-earn';
1019
+ marketAsset: FungibleCryptoAsset;
1020
+ marketAssetSupplyBalance: Money;
1021
+ marketAssetSupplyBalanceQuote: Money;
1022
+ }
1023
+ interface GraniteV1BorrowPosition extends BaseYieldPosition {
1024
+ provider: 'granite';
1025
+ product: 'granite-v1-borrow';
1026
+ marketAsset: FungibleCryptoAsset;
1027
+ marketAssetBorrowBalance: Money;
1028
+ marketAssetBorrowBalanceQuote: Money;
1029
+ collateralBalanceQuote: Money;
989
1030
  collateral: GraniteV1CollateralAsset[];
990
1031
  }
991
1032
  interface GraniteV1CollateralAsset {
@@ -994,16 +1035,19 @@ interface GraniteV1CollateralAsset {
994
1035
  balanceQuote: Money;
995
1036
  }
996
1037
 
997
- interface StackingDaoLstPosition extends BaseYieldPosition {
998
- provider: typeof YieldProviderKeys.stackingDao;
999
- product: typeof YieldProductKeys.stackingDaoLst;
1000
- totalBalance: Money;
1038
+ interface BaseStackingDaoLstPosition extends BaseYieldPosition {
1039
+ provider: 'stackingdao';
1001
1040
  withdrawalsBalance: Money;
1002
- ststx?: StackingDaoLstHolding;
1003
- ststxbtc?: StackingDaoLstHolding;
1004
- sbtcReward?: StackingDaoReward;
1041
+ lstHolding?: StackingDaoLstHolding;
1005
1042
  withdrawals: StackingDaoLstWithdrawal[];
1006
1043
  }
1044
+ interface StackingDaoStStxPosition extends BaseStackingDaoLstPosition {
1045
+ product: 'stackingdao-ststx';
1046
+ }
1047
+ interface StackingDaoStStxBtcPosition extends BaseStackingDaoLstPosition {
1048
+ product: 'stackingdao-ststxbtc';
1049
+ sbtcReward?: StackingDaoReward;
1050
+ }
1007
1051
  interface StackingDaoLstHolding {
1008
1052
  asset: FungibleCryptoAsset;
1009
1053
  balance: Money;
@@ -1025,14 +1069,14 @@ interface StackingDaoLstWithdrawal {
1025
1069
  burnBlocksUntilUnlock: number;
1026
1070
  unlockBurnHeight: number;
1027
1071
  }
1028
- interface StackingDaoPooledStackingPosition extends BaseYieldPosition {
1029
- provider: typeof YieldProviderKeys.stackingDao;
1030
- product: typeof YieldProductKeys.stackingDaoPooledStacking;
1072
+ interface StackingDaoPooledStackingPosition extends BasePooledStackingPosition {
1073
+ provider: 'stackingdao';
1074
+ product: 'stackingdao-pooled-stacking';
1031
1075
  }
1032
1076
 
1033
- interface ZestBorrowPosition extends BaseYieldPosition {
1034
- provider: typeof YieldProviderKeys.zest;
1035
- product: typeof YieldProductKeys.zestBorrow;
1077
+ interface ZestBorrowMarketPosition extends BaseYieldPosition {
1078
+ provider: 'zest';
1079
+ product: 'zest-borrow-market';
1036
1080
  supplyBalance: Money;
1037
1081
  borrowBalance: Money;
1038
1082
  ltvPercentage: number;
@@ -1046,39 +1090,119 @@ interface ZestBorrowAsset {
1046
1090
  balanceQuote: Money;
1047
1091
  }
1048
1092
 
1049
- type YieldPosition = BitflowAmmLpPosition | ZestBorrowPosition | GraniteV1Position | StackingDaoLstPosition | StackingDaoPooledStackingPosition;
1093
+ interface FastPoolPooledStackingPosition extends BasePooledStackingPosition {
1094
+ provider: 'fast-pool';
1095
+ product: 'fast-pool-pooled-stacking';
1096
+ }
1097
+
1098
+ interface HermeticaUsdhStakingPosition extends BaseYieldPosition {
1099
+ provider: 'hermetica';
1100
+ product: 'hermetica-usdh-staking';
1101
+ staking: HermeticaStaking;
1102
+ }
1103
+ interface HermeticaStaking {
1104
+ asset: FungibleCryptoAsset;
1105
+ balance: Money;
1106
+ balanceQuote: Money;
1107
+ apy: number;
1108
+ rewardAsset?: FungibleCryptoAsset;
1109
+ rewardBalance?: Money;
1110
+ rewardBalanceQuote?: Money;
1111
+ }
1112
+
1113
+ interface LisaLiStxPosition extends BaseYieldPosition {
1114
+ provider: 'lisa';
1115
+ product: 'lisa-listx';
1116
+ holding: LisaLstHolding;
1117
+ }
1118
+ interface LisaLiquidStakingPosition extends BaseYieldPosition {
1119
+ provider: 'lisa';
1120
+ product: 'lisa-liquid-staking';
1121
+ holding: LisaLstHolding;
1122
+ }
1123
+ interface LisaLstHolding {
1124
+ asset: FungibleCryptoAsset;
1125
+ balance: Money;
1126
+ balanceQuote: Money;
1127
+ apy: number;
1128
+ }
1129
+
1130
+ interface VelarAmmLpPosition extends BaseYieldPosition {
1131
+ provider: 'velar';
1132
+ product: 'velar-amm-lp';
1133
+ poolSharePercentage: number;
1134
+ lpToken: {
1135
+ asset: FungibleCryptoAsset;
1136
+ balance: Money;
1137
+ balanceQuote: Money;
1138
+ };
1139
+ tokenX: {
1140
+ asset: FungibleCryptoAsset;
1141
+ balance: Money;
1142
+ balanceQuote: Money;
1143
+ };
1144
+ tokenY: {
1145
+ asset: FungibleCryptoAsset;
1146
+ balance: Money;
1147
+ balanceQuote: Money;
1148
+ };
1149
+ }
1150
+ interface VelarFarmPosition extends BaseYieldPosition {
1151
+ provider: 'velar';
1152
+ product: 'velar-amm-lp-farming';
1153
+ stakedLpToken: {
1154
+ asset: FungibleCryptoAsset;
1155
+ balance: Money;
1156
+ balanceQuote: Money;
1157
+ };
1158
+ rewardToken?: {
1159
+ asset: FungibleCryptoAsset;
1160
+ balance: Money;
1161
+ balanceQuote: Money;
1162
+ };
1163
+ }
1164
+
1165
+ interface XversePooledStackingPosition extends BasePooledStackingPosition {
1166
+ provider: 'xverse';
1167
+ product: 'xverse-pooled-stacking';
1168
+ }
1169
+
1170
+ type YieldPosition = BitflowAmmLpPosition | BitflowAmmStakingPosition | ZestBorrowMarketPosition | GraniteV1EarnPosition | GraniteV1BorrowPosition | StackingDaoStStxPosition | StackingDaoStStxBtcPosition | StackingDaoPooledStackingPosition | VelarAmmLpPosition | VelarFarmPosition | LisaLiStxPosition | LisaLiquidStakingPosition | HermeticaUsdhStakingPosition | FastPoolPooledStackingPosition | XversePooledStackingPosition;
1050
1171
 
1051
- declare function isBitflowPosition(pos: YieldPosition): pos is BitflowAmmLpPosition;
1052
- declare function isZestPosition(pos: YieldPosition): pos is ZestBorrowPosition;
1053
- declare function isGranitePosition(pos: YieldPosition): pos is GraniteV1Position;
1054
- declare function isStackingDaoLstPosition(pos: YieldPosition): pos is StackingDaoLstPosition;
1172
+ declare function isBitflowAmmLpPosition(pos: YieldPosition): pos is BitflowAmmLpPosition;
1173
+ declare function isBitflowAmmStakingPosition(pos: YieldPosition): pos is BitflowAmmStakingPosition;
1174
+ declare function isZestPosition(pos: YieldPosition): pos is ZestBorrowMarketPosition;
1175
+ declare function isGraniteEarnPosition(pos: YieldPosition): pos is GraniteV1EarnPosition;
1176
+ declare function isGraniteBorrowPosition(pos: YieldPosition): pos is GraniteV1BorrowPosition;
1177
+ declare function isStackingDaoStStxPosition(pos: YieldPosition): pos is StackingDaoStStxPosition;
1178
+ declare function isStackingDaoStStxBtcPosition(pos: YieldPosition): pos is StackingDaoStStxBtcPosition;
1055
1179
  declare function isStackingDaoPooledPosition(pos: YieldPosition): pos is StackingDaoPooledStackingPosition;
1056
- declare function filterPositionsByProtocol(positions: YieldPosition[], protocol: YieldProviderKey): YieldPosition[];
1180
+ declare function filterPositionsByProvider(positions: YieldPosition[], provider: YieldProviderKey): YieldPosition[];
1057
1181
  declare function filterPositionsByProduct(positions: YieldPosition[], product: YieldProductKey): YieldPosition[];
1058
1182
  declare function filterPositionsByCategory(positions: YieldPosition[], products: YieldProduct[], category: YieldProductCategory): YieldPosition[];
1059
1183
  declare function sortPositionsByBalance(positions: YieldPosition[], ascending?: boolean): YieldPosition[];
1060
1184
  declare function sortPositionsByApy(positions: YieldPosition[], ascending?: boolean): YieldPosition[];
1061
1185
  declare function sortPositionsByUpdateTime(positions: YieldPosition[], ascending?: boolean): YieldPosition[];
1062
- declare function getProtocolForProduct(product: YieldProductKey): YieldProviderKey;
1186
+ declare function getProviderForProduct(product: YieldProductKey): YieldProviderKey;
1063
1187
  declare function getCategoryForProduct(product: YieldProduct): YieldProductCategory;
1064
- declare function isProductInProtocol(product: YieldProductKey, protocol: YieldProviderKey): boolean;
1065
- declare function getProductsForProtocol(protocol: YieldProviderKey): YieldProductKey[];
1188
+ declare function isProductInProvider(product: YieldProductKey, provider: YieldProviderKey): boolean;
1189
+ declare function getProductsForProvider(provider: YieldProviderKey): YieldProductKey[];
1066
1190
  declare function getProductsInCategory(products: YieldProduct[], category: YieldProductCategory): YieldProduct[];
1067
- declare function groupPositionsByProtocol(positions: YieldPosition[]): Record<YieldProviderKey, YieldPosition[]>;
1191
+ declare function groupPositionsByProvider(positions: YieldPosition[]): Record<YieldProviderKey, YieldPosition[]>;
1068
1192
  declare function groupPositionsByCategory(positions: YieldPosition[], products: YieldProduct[]): Record<string, YieldPosition[]>;
1069
1193
  declare function getPositionsInCategories(positions: YieldPosition[], products: YieldProduct[], categories: YieldProductCategory[]): YieldPosition[];
1070
- declare function hasPositionsInProtocol(positions: YieldPosition[], protocol: YieldProviderKey): boolean;
1194
+ declare function hasPositionsInProvider(positions: YieldPosition[], provider: YieldProviderKey): boolean;
1071
1195
  declare function hasPositionsInCategory(positions: YieldPosition[], products: YieldProduct[], category: YieldProductCategory): boolean;
1072
- declare function enrichPositionWithProtocol<T extends YieldPosition>(position: T, protocol: YieldProvider): T & {
1073
- protocolData: YieldProvider;
1196
+ declare function enrichPositionWithProvider<T extends YieldPosition>(position: T, provider: YieldProvider): T & {
1197
+ providerData: YieldProvider;
1074
1198
  };
1075
1199
  declare function enrichPositionWithProduct<T extends YieldPosition>(position: T, product: YieldProduct): T & {
1076
1200
  productData: YieldProduct;
1077
1201
  };
1078
- declare function enrichPositionWithMetadata<T extends YieldPosition>(position: T, protocol: YieldProvider, product: YieldProduct): T & {
1079
- protocolData: YieldProvider;
1202
+ declare function enrichPositionWithMetadata<T extends YieldPosition>(position: T, provider: YieldProvider, product: YieldProduct): T & {
1203
+ providerData: YieldProvider;
1080
1204
  productData: YieldProduct;
1081
1205
  };
1082
1206
  declare function getCategoryDisplayName(category: YieldProductCategory): string;
1083
1207
 
1084
- export { type AccountAddresses, type AccountDisplayPreference, type AccountDisplayPreferenceInfo, type AccountId, type AccountLevelActivity, type Activity, type ActivityLevel, ActivityLevels, type ActivityType, type AllowAdditionalProperties, type AnalyticsPreference, type AppLevelActivity, type AverageBitcoinFeeRates, BESTINSLOT_API_BASE_URL_MAINNET, BESTINSLOT_API_BASE_URL_TESTNET, BITCOIN_API_BASE_URL_MAINNET, BITCOIN_API_BASE_URL_SIGNET, BITCOIN_API_BASE_URL_TESTNET3, BITCOIN_API_BASE_URL_TESTNET4, BNS_V2_API_BASE_URL, type BaseActivity, type BaseCryptoAsset, type BaseCryptoAssetBalance, type BaseNonFungibleCryptoAsset, type BaseOnChainActivity, type BaseSwapExecutionData, type BaseTransactionFeeQuote, type BaseWalletActivity, type BaseYieldPosition, type BitcoinAddress, type BitcoinAddressInfo, type BitcoinChainConfig, type BitcoinNetwork, type BitcoinNetworkModes, type BitcoinTransaction, type BitcoinTransactionFeeQuote, type BitcoinTransactionVectorInput, type BitcoinTransactionVectorOutput, type BitcoinTransactionVin, type BitcoinTransactionVout, type BitcoinTx, type BitcoinUnit, type BitcoinUnitInfo, type BitcoinUnitSymbol, type BitflowAmmLpPool, type BitflowAmmLpPosition, type Blockchain, type BnsName, type BnsProfile, type BnsProfileData, type BnsProfileDataAddresses, type Brc20Asset, type BtcAsset, type BtcBalance, BtcFeeType, ChainId, type ConnectAppActivity, type CryptoAsset, type CryptoAssetBalance, CryptoAssetCategories, type CryptoAssetCategory, type CryptoAssetChain, CryptoAssetChains, type CryptoAssetId, type CryptoAssetProtocol, CryptoAssetProtocols, type CryptoCurrency, type Currency, type DefaultNetworkConfigurations, type DeploySmartContractActivity, type EmailAddress, type Entries, type EvmTransactionFeeQuote, type ExecuteSmartContractActivity, FeeCalculationTypes, FeeTypes, type Fees, type FlatTransactionFeeQuote, type FtTransfer, type FungibleAssetId, type FungibleCryptoAsset, type FungibleCryptoAssetProtocol, FungibleCryptoAssetProtocols, type GeneralActivity, type GeneralActivityType, GeneralActivityTypes, type GraniteV1CollateralAsset, type GraniteV1Position, HIRO_API_BASE_URL_MAINNET, HIRO_API_BASE_URL_MAINNET_EXTENDED, HIRO_API_BASE_URL_NAKAMOTO_TESTNET, HIRO_API_BASE_URL_TESTNET, HIRO_API_BASE_URL_TESTNET_EXTENDED, type HistoricalPeriod, type InscriptionAsset, type InscriptionMimeType, type LiteralUnion, type LockAssetActivity, type MarketData, type MarketPriceHistory, type MarketPriceSnapshot, type Money, type NativeCryptoAsset, type NetworkConfiguration, type NetworkModes, type NonFungibleCryptoAsset, type NonFungibleCryptoAssetProtocol, NonFungibleCryptoAssetProtocols, type NumType, type OnChainActivity, type OnChainActivityStatus, OnChainActivityStatuses, type OnChainActivityType, OnChainActivityTypes, type OwnedUtxo, type Prettify, type QuoteCurrency, type ReceiveAssetActivity, type ReplaceTypes, type RuneAsset, STX20_API_BASE_URL_MAINNET, type SbtcBridgeTransferSwapExecutionData, type SendAssetActivity, type SignMessageActivity, type Sip10Asset, type Sip9Asset, type Sip9AssetContent, type Sip9Attribute, type Sip9Collection, type Sip9ContentType, type Src20Asset, type StackingDaoLstHolding, type StackingDaoLstPosition, type StackingDaoLstWithdrawal, type StackingDaoPooledStackingPosition, type StackingDaoReward, type StacksAddressInfo, type StacksChainConfig, type StacksContractCallSwapExecutionData, type StacksFeeEstimate, type StacksTransactionFeeQuote, type StacksTx, type StacksTxStatus, type StampAsset, type Stx20Asset, type StxAsset, type StxBalance, type StxTransfer, type SupportedBlockchains, type SwapAsset, type SwapAssetsActivity, type SwapDex, type SwapExecutionData, type SwapExecutionType, type SwapProvider, type SwapProviderAsset, type SwapProviderId, type SwapQuote, type SwappableFungibleCryptoAsset, type TransactionErrorKey, type TransactionFeeQuote, type TransactionFeeQuoteType, type TransactionFeeTier, type TransactionFees, type Utxo, type UtxoId, type ValueOf, type WalletActivity, type WalletActivityType, WalletActivityTypes, WalletDefaultNetworkConfigurationIds, type WalletId, type YieldPosition, type YieldProduct, YieldProductCategories, type YieldProductCategory, type YieldProductKey, YieldProductKeys, YieldProductToProtocolMap, type YieldProvider, type YieldProviderKey, YieldProviderKeys, type ZestBorrowAsset, type ZestBorrowPosition, accountAddressesSchema, accountDisplayPreferenceSchema, accountIdSchema, analyticsPreferenceSchema, bitcoinAddressInfoSchema, bitcoinNetworkModesSchema, bitcoinNetworkSchema, bitcoinNetworkToNetworkMode, bitcoinNetworks, bitcoinUnitSchema, bnsContractAddress, bnsContractName, btcTxTimeMap, createMarketData, createMarketPair, defaultCurrentNetwork, defaultNetworkConfigurationsSchema, defaultNetworksKeyedById, emailAddressSchema, enrichPositionWithMetadata, enrichPositionWithProduct, enrichPositionWithProtocol, filterPositionsByCategory, filterPositionsByProduct, filterPositionsByProtocol, formatMarketPair, getCategoryDisplayName, getCategoryForProduct, getPositionsInCategories, getProductsForProtocol, getProductsInCategory, getProtocolForProduct, groupPositionsByCategory, groupPositionsByProtocol, hasPositionsInCategory, hasPositionsInProtocol, historicalPeriods, inscriptionMimeTypes, isBitflowPosition, isBrc20Asset, isBtcAsset, isFungibleAsset, isGranitePosition, isInscriptionAsset, isNativeAsset, isNonFungibleAsset, isProductInProtocol, isRuneAsset, isSip10Asset, isSip9Asset, isSrc20Asset, isStackingDaoLstPosition, isStackingDaoPooledPosition, isStampAsset, isStx20Asset, isStxAsset, isSwappableAsset, isZestPosition, networkConfigurationSchema, networkModes, sip9ContentTypes, sortPositionsByApy, sortPositionsByBalance, sortPositionsByUpdateTime, stacksAddressInfoSchema, supportedBlockchains, swapExecutionTypes, swapProviderIds, testnetModes, transactionFeeQuoteType, transactionFeeTiers, walletIdSchema };
1208
+ export { type AccountAddresses, type AccountDisplayPreference, type AccountDisplayPreferenceInfo, type AccountId, type AccountLevelActivity, type Activity, type ActivityLevel, ActivityLevels, type ActivityType, type AllowAdditionalProperties, type AnalyticsPreference, type AppLevelActivity, type AverageBitcoinFeeRates, BESTINSLOT_API_BASE_URL_MAINNET, BESTINSLOT_API_BASE_URL_TESTNET, BITCOIN_API_BASE_URL_MAINNET, BITCOIN_API_BASE_URL_SIGNET, BITCOIN_API_BASE_URL_TESTNET3, BITCOIN_API_BASE_URL_TESTNET4, BNS_V2_API_BASE_URL, type BaseActivity, type BaseCryptoAsset, type BaseCryptoAssetBalance, type BaseNonFungibleCryptoAsset, type BaseOnChainActivity, type BasePooledStackingPosition, type BaseSwapExecutionData, type BaseTransactionFeeQuote, type BaseWalletActivity, type BaseYieldPosition, type BaseYieldProduct, type BitcoinAddress, type BitcoinAddressInfo, type BitcoinChainConfig, type BitcoinNetwork, type BitcoinNetworkModes, type BitcoinTransaction, type BitcoinTransactionFeeQuote, type BitcoinTransactionVectorInput, type BitcoinTransactionVectorOutput, type BitcoinTransactionVin, type BitcoinTransactionVout, type BitcoinTx, type BitcoinUnit, type BitcoinUnitInfo, type BitcoinUnitSymbol, type BitflowAmmLpPosition, type BitflowAmmStakingPosition, type Blockchain, type BnsName, type BnsProfile, type BnsProfileData, type BnsProfileDataAddresses, type Brc20Asset, type BtcAsset, type BtcBalance, BtcFeeType, ChainId, type ConnectAppActivity, type CryptoAsset, type CryptoAssetBalance, CryptoAssetCategories, type CryptoAssetCategory, type CryptoAssetChain, CryptoAssetChains, type CryptoAssetId, type CryptoAssetProtocol, CryptoAssetProtocols, type CryptoCurrency, type Currency, type DefaultNetworkConfigurations, type DeploySmartContractActivity, type EmailAddress, type Entries, type EvmTransactionFeeQuote, type ExecuteSmartContractActivity, type FastPoolPooledStackingPosition, FeeCalculationTypes, FeeTypes, type Fees, type FlatTransactionFeeQuote, type FtTransfer, type FungibleAssetId, type FungibleCryptoAsset, type FungibleCryptoAssetProtocol, FungibleCryptoAssetProtocols, type GeneralActivity, type GeneralActivityType, GeneralActivityTypes, type GraniteV1BorrowPosition, type GraniteV1CollateralAsset, type GraniteV1EarnPosition, HIRO_API_BASE_URL_MAINNET, HIRO_API_BASE_URL_MAINNET_EXTENDED, HIRO_API_BASE_URL_NAKAMOTO_TESTNET, HIRO_API_BASE_URL_TESTNET, HIRO_API_BASE_URL_TESTNET_EXTENDED, type HermeticaStaking, type HermeticaUsdhStakingPosition, type HistoricalPeriod, type InscriptionAsset, type InscriptionMimeType, type LisaLiStxPosition, type LisaLiquidStakingPosition, type LisaLstHolding, type LiteralUnion, type LockAssetActivity, type MarketData, type MarketPriceHistory, type MarketPriceSnapshot, type Money, type NativeCryptoAsset, type NetworkConfiguration, type NetworkModes, type NonFungibleCryptoAsset, type NonFungibleCryptoAssetProtocol, NonFungibleCryptoAssetProtocols, type NumType, type OnChainActivity, type OnChainActivityStatus, OnChainActivityStatuses, type OnChainActivityType, OnChainActivityTypes, type OwnedUtxo, type PooledStackingYieldProduct, type Prettify, type QuoteCurrency, type ReceiveAssetActivity, type ReplaceTypes, type RuneAsset, STX20_API_BASE_URL_MAINNET, type SbtcBridgeTransferSwapExecutionData, type SendAssetActivity, type SignMessageActivity, type Sip10Asset, type Sip9Asset, type Sip9AssetContent, type Sip9Attribute, type Sip9Collection, type Sip9ContentType, type Src20Asset, type StackingDaoLstHolding, type StackingDaoLstWithdrawal, type StackingDaoPooledStackingPosition, type StackingDaoReward, type StackingDaoStStxBtcPosition, type StackingDaoStStxPosition, type StacksAddressInfo, type StacksChainConfig, type StacksContractCallSwapExecutionData, type StacksFeeEstimate, type StacksTransactionFeeQuote, type StacksTx, type StacksTxStatus, type StampAsset, type Stx20Asset, type StxAsset, type StxBalance, type StxTransfer, type SupportedBlockchains, type SwapAsset, type SwapAssetsActivity, type SwapDex, type SwapExecutionData, type SwapExecutionType, type SwapProvider, type SwapProviderAsset, type SwapProviderId, type SwapQuote, type SwappableFungibleCryptoAsset, type TransactionErrorKey, type TransactionFeeQuote, type TransactionFeeQuoteType, type TransactionFeeTier, type TransactionFees, type Utxo, type UtxoId, type ValueOf, type VelarAmmLpPosition, type VelarFarmPosition, type WalletActivity, type WalletActivityType, WalletActivityTypes, WalletDefaultNetworkConfigurationIds, type WalletId, type XversePooledStackingPosition, type YieldPosition, type YieldProduct, YieldProductCategories, type YieldProductCategory, type YieldProductKey, YieldProductKeys, YieldProductToProviderMap, type YieldProvider, type YieldProviderKey, YieldProviderKeys, type ZestBorrowAsset, type ZestBorrowMarketPosition, accountAddressesSchema, accountDisplayPreferenceSchema, accountIdSchema, analyticsPreferenceSchema, bitcoinAddressInfoSchema, bitcoinNetworkModesSchema, bitcoinNetworkSchema, bitcoinNetworkToNetworkMode, bitcoinNetworks, bitcoinUnitSchema, bnsContractAddress, bnsContractName, btcTxTimeMap, createMarketData, createMarketPair, defaultCurrentNetwork, defaultNetworkConfigurationsSchema, defaultNetworksKeyedById, emailAddressSchema, enrichPositionWithMetadata, enrichPositionWithProduct, enrichPositionWithProvider, filterPositionsByCategory, filterPositionsByProduct, filterPositionsByProvider, formatMarketPair, getCategoryDisplayName, getCategoryForProduct, getPositionsInCategories, getProductsForProvider, getProductsInCategory, getProviderForProduct, groupPositionsByCategory, groupPositionsByProvider, hasPositionsInCategory, hasPositionsInProvider, historicalPeriods, inscriptionMimeTypes, isBitflowAmmLpPosition, isBitflowAmmStakingPosition, isBrc20Asset, isBtcAsset, isFungibleAsset, isGraniteBorrowPosition, isGraniteEarnPosition, isInscriptionAsset, isNativeAsset, isNonFungibleAsset, isProductInProvider, isRuneAsset, isSip10Asset, isSip9Asset, isSrc20Asset, isStackingDaoPooledPosition, isStackingDaoStStxBtcPosition, isStackingDaoStStxPosition, isStampAsset, isStx20Asset, isStxAsset, isSwappableAsset, isZestPosition, networkConfigurationSchema, networkModes, sip9ContentTypes, sortPositionsByApy, sortPositionsByBalance, sortPositionsByUpdateTime, stacksAddressInfoSchema, supportedBlockchains, swapExecutionTypes, swapProviderIds, testnetModes, transactionFeeQuoteType, transactionFeeTiers, walletIdSchema };