@sonarwatch/portfolio-plugins 0.14.63 → 0.14.65

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.
Files changed (313) hide show
  1. package/CHANGELOG.md +21 -13
  2. package/package.json +4 -1
  3. package/src/plugins/01/constants.d.ts +1 -0
  4. package/src/plugins/01/helpers.d.ts +1 -0
  5. package/src/plugins/01/struct.d.ts +1 -0
  6. package/src/plugins/accessprotocol/constants.d.ts +1 -0
  7. package/src/plugins/accessprotocol/filters.d.ts +1 -0
  8. package/src/plugins/accessprotocol/structs.d.ts +1 -0
  9. package/src/plugins/adrastea/constants.d.ts +1 -0
  10. package/src/plugins/adrastea/structs.d.ts +1 -0
  11. package/src/plugins/adrena/constants.d.ts +1 -0
  12. package/src/plugins/adrena/filters.d.ts +1 -0
  13. package/src/plugins/adrena/helpers.d.ts +1 -0
  14. package/src/plugins/adrena/structs.d.ts +1 -0
  15. package/src/plugins/allbridge/constants.d.ts +1 -0
  16. package/src/plugins/allbridge/helpers.d.ts +1 -0
  17. package/src/plugins/armada-staking/constants.d.ts +1 -0
  18. package/src/plugins/armada-staking/filters.d.ts +1 -0
  19. package/src/plugins/armada-staking/structs.d.ts +1 -0
  20. package/src/plugins/atrix/constants.d.ts +1 -0
  21. package/src/plugins/atrix/structs.d.ts +1 -0
  22. package/src/plugins/aurory/constants.d.ts +1 -0
  23. package/src/plugins/aurory/helpers.d.ts +1 -0
  24. package/src/plugins/banx/constants.d.ts +1 -0
  25. package/src/plugins/banx/filters.d.ts +1 -0
  26. package/src/plugins/banx/structs.d.ts +1 -0
  27. package/src/plugins/bonfida/constants.d.ts +1 -0
  28. package/src/plugins/bonfida/filters.d.ts +1 -0
  29. package/src/plugins/bonfida/structs.d.ts +1 -0
  30. package/src/plugins/bonkrewards/constants.d.ts +1 -0
  31. package/src/plugins/bonkrewards/filters.d.ts +1 -0
  32. package/src/plugins/bonkrewards/structs.d.ts +1 -0
  33. package/src/plugins/bskt/constants.d.ts +1 -0
  34. package/src/plugins/bskt/filters.d.ts +1 -0
  35. package/src/plugins/bskt/structs.d.ts +1 -0
  36. package/src/plugins/citrus/constants.d.ts +1 -0
  37. package/src/plugins/citrus/filters.d.ts +1 -0
  38. package/src/plugins/clone/constants.d.ts +1 -0
  39. package/src/plugins/clone/helpers.d.ts +1 -0
  40. package/src/plugins/clone/structs.d.ts +1 -0
  41. package/src/plugins/cropper/constants.d.ts +1 -0
  42. package/src/plugins/cyberfrogs/constants.d.ts +1 -0
  43. package/src/plugins/cyberfrogs/structs.d.ts +1 -0
  44. package/src/plugins/daos/constants.d.ts +1 -0
  45. package/src/plugins/daos/helpers.d.ts +1 -0
  46. package/src/plugins/daos/structs/realms.d.ts +1 -0
  47. package/src/plugins/daos/types.d.ts +1 -0
  48. package/src/plugins/debridge/constants.d.ts +1 -0
  49. package/src/plugins/doubleup/structs.d.ts +1 -0
  50. package/src/plugins/drift/constants.d.ts +1 -0
  51. package/src/plugins/drift/depositsFetcher.d.ts +3 -0
  52. package/src/plugins/drift/depositsFetcher.js +41 -95
  53. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  54. package/src/plugins/drift/filters.d.ts +1 -0
  55. package/src/plugins/drift/helpers.d.ts +1 -0
  56. package/src/plugins/drift/perpHelpers/constants.d.ts +1 -0
  57. package/src/plugins/drift/struct.d.ts +1 -0
  58. package/src/plugins/drift-market-maker-vault/constants.d.ts +1 -0
  59. package/src/plugins/drift-market-maker-vault/depositsFetcher.js +10 -2
  60. package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
  61. package/src/plugins/drift-market-maker-vault/filters.d.ts +1 -1
  62. package/src/plugins/drift-market-maker-vault/filters.js +1 -4
  63. package/src/plugins/drift-market-maker-vault/filters.js.map +1 -1
  64. package/src/plugins/drift-market-maker-vault/helpers.d.ts +1 -0
  65. package/src/plugins/drift-market-maker-vault/helpers.js +38 -0
  66. package/src/plugins/drift-market-maker-vault/helpers.js.map +1 -0
  67. package/src/plugins/drift-market-maker-vault/structs.d.ts +1 -0
  68. package/src/plugins/drift-market-maker-vault/types.d.ts +2 -3
  69. package/src/plugins/drift-market-maker-vault/vaultsJob.js +20 -14
  70. package/src/plugins/drift-market-maker-vault/vaultsJob.js.map +1 -1
  71. package/src/plugins/elemental/filters.d.ts +1 -0
  72. package/src/plugins/elemental/helpers.d.ts +1 -0
  73. package/src/plugins/elemental/structs.d.ts +1 -0
  74. package/src/plugins/famousfoxfederation/constants.d.ts +1 -0
  75. package/src/plugins/flash/constants.d.ts +1 -0
  76. package/src/plugins/flash/filters.d.ts +1 -0
  77. package/src/plugins/flash/helpers.d.ts +1 -0
  78. package/src/plugins/flash/structs.d.ts +1 -0
  79. package/src/plugins/fluxbeam/structs.d.ts +1 -0
  80. package/src/plugins/foo/structs.d.ts +1 -0
  81. package/src/plugins/francium/constants.d.ts +1 -0
  82. package/src/plugins/francium/helpers.d.ts +1 -0
  83. package/src/plugins/francium/structs.d.ts +1 -0
  84. package/src/plugins/francium/tokens.d.ts +1 -0
  85. package/src/plugins/francium/types.d.ts +1 -0
  86. package/src/plugins/futarchy/constants.d.ts +1 -0
  87. package/src/plugins/futarchy/structs.d.ts +1 -0
  88. package/src/plugins/genesysgo/constants.d.ts +1 -0
  89. package/src/plugins/goosefx/constants.d.ts +1 -0
  90. package/src/plugins/goosefx/filters.d.ts +1 -0
  91. package/src/plugins/goosefx/structs.d.ts +1 -0
  92. package/src/plugins/grass/constants.d.ts +1 -0
  93. package/src/plugins/grass/helpers.d.ts +1 -0
  94. package/src/plugins/grass/structs.d.ts +1 -0
  95. package/src/plugins/hawksight/helper.d.ts +1 -0
  96. package/src/plugins/hedgehog/constants.d.ts +1 -0
  97. package/src/plugins/hedgehog/structs.d.ts +1 -0
  98. package/src/plugins/hxro/constants.d.ts +1 -0
  99. package/src/plugins/hxro/structs.d.ts +1 -0
  100. package/src/plugins/jito/structs.d.ts +1 -0
  101. package/src/plugins/joule/structs.d.ts +1 -0
  102. package/src/plugins/jupiter/exchange/constants.d.ts +1 -0
  103. package/src/plugins/jupiter/exchange/filters.d.ts +1 -0
  104. package/src/plugins/jupiter/exchange/structs.d.ts +1 -0
  105. package/src/plugins/jupiter/filters.d.ts +1 -0
  106. package/src/plugins/jupiter/helpers.d.ts +1 -0
  107. package/src/plugins/jupiter/launchpad/constants.d.ts +1 -0
  108. package/src/plugins/jupiter/launchpad/structs.d.ts +1 -0
  109. package/src/plugins/kamino/constants.d.ts +1 -0
  110. package/src/plugins/kamino/filters.d.ts +1 -0
  111. package/src/plugins/kamino/helpers/pdas.d.ts +1 -0
  112. package/src/plugins/kamino/structs/klend.d.ts +1 -0
  113. package/src/plugins/kamino/structs/vaults.d.ts +1 -0
  114. package/src/plugins/lifinity/constants.d.ts +1 -0
  115. package/src/plugins/lifinity/filters.d.ts +1 -0
  116. package/src/plugins/lifinity/structs.d.ts +1 -0
  117. package/src/plugins/loopscale/constants.d.ts +1 -0
  118. package/src/plugins/loopscale/filters.d.ts +1 -0
  119. package/src/plugins/loopscale/helpers.d.ts +1 -0
  120. package/src/plugins/loopscale/structs.d.ts +1 -0
  121. package/src/plugins/loverflow/constants.d.ts +1 -0
  122. package/src/plugins/loverflow/helpers.d.ts +1 -0
  123. package/src/plugins/loverflow/structs.d.ts +1 -0
  124. package/src/plugins/lulo/constants.d.ts +1 -0
  125. package/src/plugins/lulo/struct.d.ts +1 -0
  126. package/src/plugins/magiceden/constants.d.ts +1 -0
  127. package/src/plugins/magiceden/helpers.d.ts +1 -0
  128. package/src/plugins/magiceden/structs.d.ts +1 -0
  129. package/src/plugins/mango/constants.d.ts +1 -0
  130. package/src/plugins/mango/filters.d.ts +1 -0
  131. package/src/plugins/mango/struct.d.ts +1 -0
  132. package/src/plugins/marginfi/constants.d.ts +1 -0
  133. package/src/plugins/marginfi/filters.d.ts +1 -0
  134. package/src/plugins/marginfi/structs/Bank.d.ts +1 -0
  135. package/src/plugins/marginfi/structs/MarginfiAccount.d.ts +1 -0
  136. package/src/plugins/marinade/constants.d.ts +1 -0
  137. package/src/plugins/marinade/filters.d.ts +1 -0
  138. package/src/plugins/marinade/helpers.d.ts +1 -0
  139. package/src/plugins/marinade/structs.d.ts +1 -0
  140. package/src/plugins/meso/structs.d.ts +1 -0
  141. package/src/plugins/metaplex/constants.d.ts +1 -0
  142. package/src/plugins/metaplex/helpers.d.ts +1 -0
  143. package/src/plugins/meteora/constants.d.ts +1 -0
  144. package/src/plugins/meteora/dlmmHelper.d.ts +1 -0
  145. package/src/plugins/meteora/filters.d.ts +1 -0
  146. package/src/plugins/meteora/helpers.d.ts +1 -0
  147. package/src/plugins/meteora/struct.d.ts +1 -0
  148. package/src/plugins/meteora/types.d.ts +1 -0
  149. package/src/plugins/moonwalk/constants.d.ts +1 -0
  150. package/src/plugins/moonwalk/structs.d.ts +1 -0
  151. package/src/plugins/native-stake/solana/constants.d.ts +1 -0
  152. package/src/plugins/native-stake/solana/filters.d.ts +1 -0
  153. package/src/plugins/native-stake/solana/structs.d.ts +1 -0
  154. package/src/plugins/nosana/constants.d.ts +1 -0
  155. package/src/plugins/nosana/helpers.d.ts +1 -0
  156. package/src/plugins/nosana/structs.d.ts +1 -0
  157. package/src/plugins/nxfinance/constants.d.ts +1 -0
  158. package/src/plugins/orca/constants.d.ts +1 -0
  159. package/src/plugins/orca/filters.d.ts +1 -0
  160. package/src/plugins/orca/getWhirlpoolPositions.d.ts +1 -0
  161. package/src/plugins/orca/getWhirlpoolsJob.d.ts +1 -0
  162. package/src/plugins/orca/structs/oldLiquidities.d.ts +1 -0
  163. package/src/plugins/orca/structs/whirlpool.d.ts +1 -0
  164. package/src/plugins/orders/clobs-solana/filters.d.ts +1 -0
  165. package/src/plugins/orders/clobs-solana/structs.d.ts +1 -0
  166. package/src/plugins/parcl/constants.d.ts +1 -0
  167. package/src/plugins/parcl/filters.d.ts +1 -0
  168. package/src/plugins/parcl/helpers.d.ts +1 -0
  169. package/src/plugins/parcl/structs.d.ts +1 -0
  170. package/src/plugins/phoenix/constants.d.ts +1 -0
  171. package/src/plugins/phoenix/helpers/misc.d.ts +1 -0
  172. package/src/plugins/phoenix/structs/marketHeader.d.ts +1 -0
  173. package/src/plugins/phoenix/structs/misc.d.ts +1 -0
  174. package/src/plugins/phoenix/structs/seat.d.ts +1 -0
  175. package/src/plugins/picasso/constants.d.ts +1 -0
  176. package/src/plugins/picasso/helpers.d.ts +1 -0
  177. package/src/plugins/port/constants.d.ts +1 -0
  178. package/src/plugins/port/filters.d.ts +1 -0
  179. package/src/plugins/port/structs.d.ts +1 -0
  180. package/src/plugins/pyth/constants.d.ts +1 -0
  181. package/src/plugins/pyth/structs.d.ts +1 -0
  182. package/src/plugins/quarry/constants.d.ts +1 -0
  183. package/src/plugins/quarry/filters.d.ts +1 -0
  184. package/src/plugins/quarry/helpers.d.ts +1 -0
  185. package/src/plugins/quarry/types.d.ts +1 -0
  186. package/src/plugins/rain/constants.d.ts +1 -0
  187. package/src/plugins/rain/filters.d.ts +1 -0
  188. package/src/plugins/rain/helpers.d.ts +1 -0
  189. package/src/plugins/rain/structs/loan.d.ts +1 -0
  190. package/src/plugins/rain/structs/pool.d.ts +1 -0
  191. package/src/plugins/raydium/constants.d.ts +1 -0
  192. package/src/plugins/raydium/farmsJob.d.ts +1 -0
  193. package/src/plugins/raydium/filters.d.ts +1 -0
  194. package/src/plugins/raydium/helpers.d.ts +3 -2
  195. package/src/plugins/raydium/structs/amms.d.ts +1 -0
  196. package/src/plugins/raydium/structs/clmms.d.ts +1 -0
  197. package/src/plugins/raydium/structs/cpmm.d.ts +1 -0
  198. package/src/plugins/raydium/structs/farms.d.ts +1 -0
  199. package/src/plugins/raydium/structs/openOrders.d.ts +1 -0
  200. package/src/plugins/raydium/structs/staking.d.ts +1 -0
  201. package/src/plugins/raydium/types.d.ts +1 -0
  202. package/src/plugins/sandglass/constants.d.ts +1 -0
  203. package/src/plugins/sandglass/filters.d.ts +1 -0
  204. package/src/plugins/sandglass/structs.d.ts +1 -0
  205. package/src/plugins/save/constants.d.ts +1 -0
  206. package/src/plugins/save/structs.d.ts +1 -0
  207. package/src/plugins/save/types.d.ts +1 -0
  208. package/src/plugins/sharky/constants.d.ts +1 -0
  209. package/src/plugins/sharky/filters.d.ts +1 -0
  210. package/src/plugins/solayer/constants.d.ts +1 -0
  211. package/src/plugins/solayer/structs.d.ts +1 -0
  212. package/src/plugins/spdr/constants.d.ts +1 -0
  213. package/src/plugins/spdr/structs.d.ts +1 -0
  214. package/src/plugins/stabble/filters.d.ts +1 -0
  215. package/src/plugins/staratlas/constants.d.ts +1 -0
  216. package/src/plugins/staratlas/helpers.d.ts +1 -0
  217. package/src/plugins/staratlas/structs.d.ts +1 -0
  218. package/src/plugins/streamflow/constants.d.ts +1 -0
  219. package/src/plugins/streamflow/filters.d.ts +1 -0
  220. package/src/plugins/streamflow/structs.d.ts +1 -0
  221. package/src/plugins/suilend/airdropFetcher.d.ts +1 -0
  222. package/src/plugins/suilend/airdropFetcher.js +66 -34
  223. package/src/plugins/suilend/airdropFetcher.js.map +1 -1
  224. package/src/plugins/suilend/burnEventsJob.d.ts +3 -0
  225. package/src/plugins/suilend/burnEventsJob.js +68 -0
  226. package/src/plugins/suilend/burnEventsJob.js.map +1 -0
  227. package/src/plugins/suilend/constants.d.ts +2 -1
  228. package/src/plugins/suilend/constants.js +5 -4
  229. package/src/plugins/suilend/constants.js.map +1 -1
  230. package/src/plugins/suilend/index.js +2 -1
  231. package/src/plugins/suilend/index.js.map +1 -1
  232. package/src/plugins/suilend/types.d.ts +23 -0
  233. package/src/plugins/switchboard/helpers/getSwitchboardOnDemandPrice.d.ts +1 -0
  234. package/src/plugins/switchboard/helpers/getSwitchboardOnDemandPrices.d.ts +1 -0
  235. package/src/plugins/switchboard/helpers/getSwitchboardPrice.d.ts +1 -0
  236. package/src/plugins/switchboard/helpers/getSwitchboardPrices.d.ts +1 -0
  237. package/src/plugins/switchboard/structs.d.ts +1 -0
  238. package/src/plugins/symmetry/constants.d.ts +1 -0
  239. package/src/plugins/symmetry/filters.d.ts +1 -0
  240. package/src/plugins/symmetry/structs.d.ts +1 -0
  241. package/src/plugins/tensor/constants.d.ts +1 -0
  242. package/src/plugins/tensor/filters.d.ts +1 -0
  243. package/src/plugins/tensor/helpers.d.ts +1 -0
  244. package/src/plugins/tensor/struct.d.ts +1 -0
  245. package/src/plugins/texture/constants.d.ts +1 -0
  246. package/src/plugins/texture/structs.d.ts +1 -0
  247. package/src/plugins/tulip/constants.d.ts +1 -0
  248. package/src/plugins/tulip/structs.d.ts +1 -0
  249. package/src/plugins/uxd/constants.d.ts +1 -0
  250. package/src/plugins/uxd/structs.d.ts +1 -0
  251. package/src/plugins/vaultka/constants.d.ts +1 -0
  252. package/src/plugins/vaultka/structs.d.ts +1 -0
  253. package/src/plugins/whalesmarket/constants.d.ts +1 -0
  254. package/src/plugins/whalesmarket/depositFetcher.js +3 -1
  255. package/src/plugins/whalesmarket/depositFetcher.js.map +1 -1
  256. package/src/plugins/whalesmarket/structs.d.ts +1 -0
  257. package/src/plugins/wormhole/constants.d.ts +1 -0
  258. package/src/plugins/wormhole/helpers.d.ts +1 -0
  259. package/src/plugins/wormhole/structs.d.ts +1 -0
  260. package/src/plugins/zelo/constants.d.ts +1 -0
  261. package/src/plugins/zelo/structs.d.ts +1 -0
  262. package/src/plugins/zeta/constants.d.ts +1 -0
  263. package/src/plugins/zeta/helpers.d.ts +1 -0
  264. package/src/plugins/zeta/structs.d.ts +1 -0
  265. package/src/utils/clients/types.d.ts +1 -0
  266. package/src/utils/elementbuilder/AssetBuilder.d.ts +4 -11
  267. package/src/utils/elementbuilder/AssetBuilder.js +0 -34
  268. package/src/utils/elementbuilder/AssetBuilder.js.map +1 -1
  269. package/src/utils/elementbuilder/AssetGenericBuilder.d.ts +10 -0
  270. package/src/utils/elementbuilder/AssetGenericBuilder.js +49 -0
  271. package/src/utils/elementbuilder/AssetGenericBuilder.js.map +1 -0
  272. package/src/utils/elementbuilder/AssetTokenBuilder.d.ts +15 -0
  273. package/src/utils/elementbuilder/AssetTokenBuilder.js +46 -0
  274. package/src/utils/elementbuilder/AssetTokenBuilder.js.map +1 -0
  275. package/src/utils/elementbuilder/ConcentratedLiquidityParams.d.ts +1 -0
  276. package/src/utils/elementbuilder/ElementBorrowlendBuilder.d.ts +11 -6
  277. package/src/utils/elementbuilder/ElementBorrowlendBuilder.js +24 -10
  278. package/src/utils/elementbuilder/ElementBorrowlendBuilder.js.map +1 -1
  279. package/src/utils/elementbuilder/ElementMultipleBuilder.d.ts +5 -3
  280. package/src/utils/elementbuilder/ElementMultipleBuilder.js +7 -3
  281. package/src/utils/elementbuilder/ElementMultipleBuilder.js.map +1 -1
  282. package/src/utils/elementbuilder/LiquidityBuilder.d.ts +6 -6
  283. package/src/utils/elementbuilder/LiquidityBuilder.js +3 -3
  284. package/src/utils/elementbuilder/LiquidityBuilder.js.map +1 -1
  285. package/src/utils/elementbuilder/PortfolioAssetGenericParams.d.ts +12 -0
  286. package/src/utils/elementbuilder/PortfolioAssetGenericParams.js +3 -0
  287. package/src/utils/elementbuilder/PortfolioAssetGenericParams.js.map +1 -0
  288. package/src/utils/elementbuilder/{PortfolioAssetParams.d.ts → PortfolioAssetTokenParams.d.ts} +2 -1
  289. package/src/utils/elementbuilder/{PortfolioAssetParams.js → PortfolioAssetTokenParams.js} +1 -1
  290. package/src/utils/elementbuilder/PortfolioAssetTokenParams.js.map +1 -0
  291. package/src/utils/solana/constants.d.ts +1 -0
  292. package/src/utils/solana/fetchTokenSupplyAndDecimals.d.ts +1 -0
  293. package/src/utils/solana/filters.d.ts +1 -0
  294. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.d.ts +1 -0
  295. package/src/utils/solana/getAutoParsedProgramAccounts.d.ts +1 -0
  296. package/src/utils/solana/getDecimals.d.ts +1 -0
  297. package/src/utils/solana/getMultipleAccountsInfoSafe.d.ts +1 -0
  298. package/src/utils/solana/getMultipleDecimals.d.ts +1 -0
  299. package/src/utils/solana/getMultipleDecimalsAsMap.d.ts +1 -0
  300. package/src/utils/solana/getParsedAccountInfo.d.ts +1 -0
  301. package/src/utils/solana/getParsedMultipleAccountsInfo.d.ts +1 -0
  302. package/src/utils/solana/getParsedProgramAccounts.d.ts +1 -0
  303. package/src/utils/solana/getProgramAccounts.d.ts +1 -0
  304. package/src/utils/solana/getSupply.d.ts +1 -0
  305. package/src/utils/solana/jupiter/deriveClaimStatus.d.ts +1 -0
  306. package/src/utils/solana/jupiter/deriveClaimStatuses.d.ts +1 -0
  307. package/src/utils/solana/jupiter/getMerkleDistributorPda.d.ts +1 -0
  308. package/src/utils/solana/pyth/helpers.d.ts +1 -0
  309. package/src/utils/solana/pyth/structs.d.ts +1 -0
  310. package/src/utils/solana/pyth/structsOld.d.ts +1 -0
  311. package/src/utils/solana/structs.d.ts +1 -0
  312. package/src/utils/solana/types.d.ts +1 -0
  313. package/src/utils/elementbuilder/PortfolioAssetParams.js.map +0 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "lifinity";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const escrowFilter: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const lockerFilter: () => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { Platform } from '@sonarwatch/portfolio-core';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export declare const platformId = "loopscale";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const roleFilters: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const escrowFilters: (organization_identifier: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { Connection, PublicKey } from '@solana/web3.js';
2
3
  import { ParsedAccount } from '../../utils/solana';
3
4
  import { EscrowAccount, Ledger, LoanVault, Order } from './structs';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "loverflow";
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getPda(owner: string): PublicKey;
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { BeetStruct } from '@metaplex-foundation/beet';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "flexlend";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "magiceden";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getEscrowAccount(owner: string): PublicKey;
3
4
  export declare function getStakingAccount(owner: string): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "mango";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const accountsFilter: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const boostAccountsFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const accountsFilter: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const banksFilters: () => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, bignum } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import { WrappedI80F48 } from './common';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const ticketFilters: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const claimRecordFilters: (owner: string) => GetProgramAccountsFilter[];
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getClaimPda(owner: string): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import BigNumber from 'bignumber.js';
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "metaplex";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getEditionPubkeyOfNft(mint: PublicKey): PublicKey;
3
4
  export declare function getMetadataPubkey(mint: PublicKey): PublicKey;
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "meteora";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import BN from 'bn.js';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const vaultsFilters: GetProgramAccountsFilter[];
3
4
  export declare const constantPoolsFilters: GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { TokenPriceSource } from '@sonarwatch/portfolio-core';
3
4
  import { Farm, PoolState } from './struct';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import BigNumber from 'bignumber.js';
3
4
  import { DlmmVault, LbPair } from './struct';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "moonwalk";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare const epochInfoCacheKey = "epoch-info";
3
4
  export declare const stakeProgramId: PublicKey;
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const stakeAccountsFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "nosana";
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getStakePubKey(owner: string): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { Platform } from '@sonarwatch/portfolio-core';
2
3
  import { IdlItem } from '@solanafm/explorer-kit-idls';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "orca";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const aquafarmFilters: GetProgramAccountsFilter[];
3
4
  export declare const poolsFilters: GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { NftFetcher } from '../tokens/types';
3
4
  export declare const getWhirlpoolPositions: NftFetcher;
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { JobExecutor } from '../../Job';
3
4
  export default function getWhirlpoolsJob(programId: PublicKey): JobExecutor;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { CLOBOrderStruct } from './structs';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { AirdropStatics } from '../../AirdropFetcher';
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const marginAccountFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare function getOldLpAccountPda(owner: string): PublicKey;
3
4
  export declare function getLpPositionsPdas(owner: string, start: number, end: number): PublicKey[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "phoenix";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { MarketHeader } from '../types';
3
4
  import { MarketHeaderAccount } from '../structs/marketHeader';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { BeetArgsStruct, BeetStruct, COption, FixableBeetStruct, bignum } from '@metaplex-foundation/beet';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { BeetStruct } from '@metaplex-foundation/beet';
2
3
  import BigNumber from 'bignumber.js';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { Platform } from '@sonarwatch/portfolio-core';
2
3
  import { IdlItem } from '@solanafm/explorer-kit-idls';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { PortfolioAssetCollectible, PortfolioElement } from '@sonarwatch/portfolio-core';
3
4
  import { Cache } from '../../Cache';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "port";
@@ -1,2 +1,3 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const obligationsFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "pyth";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  export type Position = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { Platform } from '@sonarwatch/portfolio-core';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { IdlItem } from '@solanafm/explorer-kit-idls';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const minerFilters: (authority: string) => GetProgramAccountsFilter[];
3
4
  export declare const mergeMinerFilters: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { MergeMiner, Miner, QuarryPDA, Rewarder } from './types';
3
4
  import { ParsedAccount } from '../../utils/solana';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import BigNumber from 'bignumber.js';
3
4
  export type TokenInfo = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "rain";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const poolFilter: (owner: string) => GetProgramAccountsFilter[];
3
4
  export declare const loanBorrowerFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Collection, Pool } from './types';
3
4
  export declare function getPool(pool: string): Promise<Pool | undefined>;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  export declare const platformId = "raydium";
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  import { Job } from '../../Job';
3
4
  import { FarmConfig, UserFarmConfig } from './types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
3
  export declare const ammV4Filter: GetProgramAccountsFilter[];
3
4
  export declare const ammV5Filter: GetProgramAccountsFilter[];
@@ -1,10 +1,11 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import BigNumber from 'bignumber.js';
2
3
  import BN from 'bn.js';
3
4
  import { PortfolioAssetCollectible, TokenPrice, Yield } from '@sonarwatch/portfolio-core';
4
5
  import { PublicKey } from '@solana/web3.js';
5
6
  import { PersonalPositionState, PoolState, TickArrayState } from './structs/clmms';
6
7
  import { ParsedAccount } from '../../utils/solana';
7
- import { PortfolioAssetParams } from '../../utils/elementbuilder/PortfolioAssetParams';
8
+ import { PortfolioAssetTokenParams } from '../../utils/elementbuilder/PortfolioAssetTokenParams';
8
9
  export declare function isARaydiumPosition(nft: PortfolioAssetCollectible): boolean;
9
10
  export declare function raydiumTickToPriceX64(tick: number): BN;
10
11
  export declare function getRaydiumTokenAmountsFromLiquidity(sqrtPriceCurrentX64: BigNumber, sqrtPriceX64A: BigNumber, sqrtPriceX64B: BigNumber, liquidity: BigNumber, roundUp: boolean): {
@@ -13,7 +14,7 @@ export declare function getRaydiumTokenAmountsFromLiquidity(sqrtPriceCurrentX64:
13
14
  };
14
15
  export declare function getStakePubKey(owner: string): PublicKey;
15
16
  export declare function getFarmYield(rewardToken: TokenPrice, rewardPerBlock: BigNumber, tvl: number, slotsPerSec?: number): Yield;
16
- export declare function getPendingAssetParams(depositBalance: BigNumber, rewardDebt: BigNumber, perShare: BigNumber, rewardToken: TokenPrice, multiplier: number | BigNumber): PortfolioAssetParams;
17
+ export declare function getPendingAssetParams(depositBalance: BigNumber, rewardDebt: BigNumber, perShare: BigNumber, rewardToken: TokenPrice, multiplier: number | BigNumber): PortfolioAssetTokenParams;
17
18
  export declare const getTickArrayAddress: (programId: string, poolId: string, tickNumber: number, tickSpacing: number) => PublicKey;
18
19
  export declare const getFeesAndRewardsBalance: (personalPositionInfo: ParsedAccount<PersonalPositionState>, poolStateInfo: ParsedAccount<PoolState>, tickArrays: (ParsedAccount<TickArrayState> | null)[]) => {
19
20
  tokenFeeAmountA: BigNumber;
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
2
3
  import BigNumber from 'bignumber.js';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { BeetStruct } from '@metaplex-foundation/beet';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { BeetStruct } from '@metaplex-foundation/beet';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
2
  import { GetProgramAccountsFilter, PublicKey } from '@solana/web3.js';
2
3
  import { BeetStruct } from '@metaplex-foundation/beet';
3
4
  import { TokenPrice, Yield } from '@sonarwatch/portfolio-core';