@sonarwatch/portfolio-plugins 0.14.95 → 0.14.97

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 (299) hide show
  1. package/CHANGELOG.md +1976 -1968
  2. package/README.md +3 -3
  3. package/package.json +3 -3
  4. package/src/plugins/01/constants.d.ts +1 -0
  5. package/src/plugins/01/helpers.d.ts +1 -0
  6. package/src/plugins/01/struct.d.ts +1 -0
  7. package/src/plugins/accessprotocol/constants.d.ts +1 -0
  8. package/src/plugins/accessprotocol/filters.d.ts +1 -0
  9. package/src/plugins/accessprotocol/structs.d.ts +1 -0
  10. package/src/plugins/adrastea/constants.d.ts +1 -0
  11. package/src/plugins/adrastea/structs.d.ts +1 -0
  12. package/src/plugins/adrena/constants.d.ts +1 -0
  13. package/src/plugins/adrena/filters.d.ts +1 -0
  14. package/src/plugins/adrena/helpers.d.ts +1 -0
  15. package/src/plugins/adrena/structs.d.ts +1 -0
  16. package/src/plugins/allbridge/constants.d.ts +1 -0
  17. package/src/plugins/allbridge/helpers.d.ts +1 -0
  18. package/src/plugins/armada-staking/constants.d.ts +1 -0
  19. package/src/plugins/armada-staking/filters.d.ts +1 -0
  20. package/src/plugins/armada-staking/structs.d.ts +1 -0
  21. package/src/plugins/atrix/constants.d.ts +1 -0
  22. package/src/plugins/atrix/structs.d.ts +1 -0
  23. package/src/plugins/aurory/constants.d.ts +1 -0
  24. package/src/plugins/aurory/helpers.d.ts +1 -0
  25. package/src/plugins/balancer/helpers/pools.js +21 -21
  26. package/src/plugins/banx/constants.d.ts +1 -0
  27. package/src/plugins/banx/filters.d.ts +1 -0
  28. package/src/plugins/banx/structs.d.ts +1 -0
  29. package/src/plugins/bonfida/constants.d.ts +1 -0
  30. package/src/plugins/bonfida/filters.d.ts +1 -0
  31. package/src/plugins/bonfida/structs.d.ts +1 -0
  32. package/src/plugins/bonkrewards/constants.d.ts +1 -0
  33. package/src/plugins/bonkrewards/filters.d.ts +1 -0
  34. package/src/plugins/bonkrewards/structs.d.ts +1 -0
  35. package/src/plugins/bskt/constants.d.ts +1 -0
  36. package/src/plugins/bskt/filters.d.ts +1 -0
  37. package/src/plugins/bskt/structs.d.ts +1 -0
  38. package/src/plugins/citrus/constants.d.ts +1 -0
  39. package/src/plugins/citrus/filters.d.ts +1 -0
  40. package/src/plugins/clone/constants.d.ts +1 -0
  41. package/src/plugins/clone/helpers.d.ts +1 -0
  42. package/src/plugins/clone/structs.d.ts +1 -0
  43. package/src/plugins/cropper/constants.d.ts +1 -0
  44. package/src/plugins/cyberfrogs/constants.d.ts +1 -0
  45. package/src/plugins/cyberfrogs/structs.d.ts +1 -0
  46. package/src/plugins/daos/constants.d.ts +1 -0
  47. package/src/plugins/daos/helpers.d.ts +1 -0
  48. package/src/plugins/daos/structs/realms.d.ts +1 -0
  49. package/src/plugins/daos/types.d.ts +1 -0
  50. package/src/plugins/debridge/constants.d.ts +1 -0
  51. package/src/plugins/defiland/constants.d.ts +1 -0
  52. package/src/plugins/defiland/structs.d.ts +1 -0
  53. package/src/plugins/defituna/constants.d.ts +1 -0
  54. package/src/plugins/defituna/structs.d.ts +1 -0
  55. package/src/plugins/divvy/constants.d.ts +1 -0
  56. package/src/plugins/divvy/types.d.ts +1 -0
  57. package/src/plugins/doubleup/structs.d.ts +1 -0
  58. package/src/plugins/drift/constants.d.ts +1 -0
  59. package/src/plugins/drift/filters.d.ts +1 -0
  60. package/src/plugins/drift/helpers.d.ts +1 -0
  61. package/src/plugins/drift/struct.d.ts +1 -0
  62. package/src/plugins/drift-market-maker-vault/constants.d.ts +1 -0
  63. package/src/plugins/drift-market-maker-vault/filters.d.ts +1 -0
  64. package/src/plugins/drift-market-maker-vault/structs.d.ts +1 -0
  65. package/src/plugins/elemental/filters.d.ts +1 -0
  66. package/src/plugins/elemental/helpers.d.ts +1 -0
  67. package/src/plugins/elemental/structs.d.ts +1 -0
  68. package/src/plugins/exponent/constants.d.ts +1 -0
  69. package/src/plugins/exponent/structs.d.ts +1 -0
  70. package/src/plugins/famousfoxfederation/constants.d.ts +1 -0
  71. package/src/plugins/flash/constants.d.ts +1 -0
  72. package/src/plugins/flash/filters.d.ts +1 -0
  73. package/src/plugins/flash/helpers.d.ts +1 -0
  74. package/src/plugins/flash/structs.d.ts +1 -0
  75. package/src/plugins/fluxbeam/structs.d.ts +1 -0
  76. package/src/plugins/foo/structs.d.ts +1 -0
  77. package/src/plugins/fragmetric/constants.d.ts +1 -0
  78. package/src/plugins/fragmetric/structs.d.ts +1 -0
  79. package/src/plugins/francium/constants.d.ts +1 -0
  80. package/src/plugins/francium/helpers.d.ts +1 -0
  81. package/src/plugins/francium/structs.d.ts +1 -0
  82. package/src/plugins/francium/tokens.d.ts +1 -0
  83. package/src/plugins/francium/types.d.ts +1 -0
  84. package/src/plugins/futarchy/constants.d.ts +1 -0
  85. package/src/plugins/futarchy/structs.d.ts +1 -0
  86. package/src/plugins/genesysgo/constants.d.ts +1 -0
  87. package/src/plugins/goosefx/constants.d.ts +1 -0
  88. package/src/plugins/goosefx/filters.d.ts +1 -0
  89. package/src/plugins/goosefx/structs.d.ts +1 -0
  90. package/src/plugins/gpool/constants.d.ts +1 -0
  91. package/src/plugins/gpool/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/constants.d.ts +1 -0
  101. package/src/plugins/jito/structs.d.ts +1 -0
  102. package/src/plugins/joule/structs.d.ts +1 -0
  103. package/src/plugins/jupiter/exchange/constants.d.ts +1 -0
  104. package/src/plugins/jupiter/exchange/filters.d.ts +1 -0
  105. package/src/plugins/jupiter/exchange/structs.d.ts +1 -0
  106. package/src/plugins/jupiter/filters.d.ts +1 -0
  107. package/src/plugins/jupiter/helpers.d.ts +1 -0
  108. package/src/plugins/jupiter/launchpad/constants.d.ts +1 -0
  109. package/src/plugins/jupiter/launchpad/structs.d.ts +1 -0
  110. package/src/plugins/kamino/constants.d.ts +1 -0
  111. package/src/plugins/kamino/filters.d.ts +1 -0
  112. package/src/plugins/kamino/helpers/pdas.d.ts +1 -0
  113. package/src/plugins/kamino/structs/klend.d.ts +1 -0
  114. package/src/plugins/kamino/structs/vaults.d.ts +1 -0
  115. package/src/plugins/lifinity/constants.d.ts +1 -0
  116. package/src/plugins/lifinity/filters.d.ts +1 -0
  117. package/src/plugins/lifinity/structs.d.ts +1 -0
  118. package/src/plugins/loopscale/constants.d.ts +1 -0
  119. package/src/plugins/loopscale/filters.d.ts +1 -0
  120. package/src/plugins/loopscale/helpers.d.ts +1 -0
  121. package/src/plugins/loopscale/structs.d.ts +1 -0
  122. package/src/plugins/loverflow/constants.d.ts +1 -0
  123. package/src/plugins/loverflow/helpers.d.ts +1 -0
  124. package/src/plugins/loverflow/structs.d.ts +1 -0
  125. package/src/plugins/lulo/constants.d.ts +1 -0
  126. package/src/plugins/lulo/struct.d.ts +1 -0
  127. package/src/plugins/magiceden/constants.d.ts +1 -0
  128. package/src/plugins/magiceden/helpers.d.ts +1 -0
  129. package/src/plugins/magiceden/structs.d.ts +1 -0
  130. package/src/plugins/mango/constants.d.ts +1 -0
  131. package/src/plugins/mango/filters.d.ts +1 -0
  132. package/src/plugins/mango/struct.d.ts +1 -0
  133. package/src/plugins/maple/solanaJob.js +2 -2
  134. package/src/plugins/maple/solanaJob.js.map +1 -1
  135. package/src/plugins/marginfi/constants.d.ts +1 -0
  136. package/src/plugins/marginfi/filters.d.ts +1 -0
  137. package/src/plugins/marginfi/structs/Bank.d.ts +1 -0
  138. package/src/plugins/marginfi/structs/MarginfiAccount.d.ts +1 -0
  139. package/src/plugins/marinade/constants.d.ts +1 -0
  140. package/src/plugins/marinade/filters.d.ts +1 -0
  141. package/src/plugins/marinade/helpers.d.ts +1 -0
  142. package/src/plugins/marinade/structs.d.ts +1 -0
  143. package/src/plugins/meso/structs.d.ts +1 -0
  144. package/src/plugins/metaplex/constants.d.ts +1 -0
  145. package/src/plugins/metaplex/helpers.d.ts +1 -0
  146. package/src/plugins/meteora/constants.d.ts +1 -0
  147. package/src/plugins/meteora/dlmmHelper.d.ts +1 -0
  148. package/src/plugins/meteora/filters.d.ts +1 -0
  149. package/src/plugins/meteora/helpers.d.ts +1 -0
  150. package/src/plugins/meteora/struct.d.ts +1 -0
  151. package/src/plugins/meteora/types.d.ts +1 -0
  152. package/src/plugins/moonwalk/constants.d.ts +1 -0
  153. package/src/plugins/moonwalk/structs.d.ts +1 -0
  154. package/src/plugins/native-stake/solana/constants.d.ts +1 -0
  155. package/src/plugins/native-stake/solana/filters.d.ts +1 -0
  156. package/src/plugins/native-stake/solana/structs.d.ts +1 -0
  157. package/src/plugins/nosana/constants.d.ts +1 -0
  158. package/src/plugins/nosana/helpers.d.ts +1 -0
  159. package/src/plugins/nosana/structs.d.ts +1 -0
  160. package/src/plugins/nxfinance/constants.d.ts +1 -0
  161. package/src/plugins/orca/constants.d.ts +1 -0
  162. package/src/plugins/orca/filters.d.ts +1 -0
  163. package/src/plugins/orca/getWhirlpoolPositions.d.ts +1 -0
  164. package/src/plugins/orca/getWhirlpoolsJob.d.ts +1 -0
  165. package/src/plugins/orca/structs/oldLiquidities.d.ts +1 -0
  166. package/src/plugins/orca/structs/whirlpool.d.ts +1 -0
  167. package/src/plugins/orders/clobs-solana/filters.d.ts +1 -0
  168. package/src/plugins/orders/clobs-solana/structs.d.ts +1 -0
  169. package/src/plugins/parcl/constants.d.ts +1 -0
  170. package/src/plugins/parcl/filters.d.ts +1 -0
  171. package/src/plugins/parcl/helpers.d.ts +1 -0
  172. package/src/plugins/parcl/structs.d.ts +1 -0
  173. package/src/plugins/perena/constants.d.ts +1 -0
  174. package/src/plugins/perena/structs.d.ts +1 -0
  175. package/src/plugins/phoenix/constants.d.ts +1 -0
  176. package/src/plugins/phoenix/helpers/misc.d.ts +1 -0
  177. package/src/plugins/phoenix/structs/marketHeader.d.ts +1 -0
  178. package/src/plugins/phoenix/structs/misc.d.ts +1 -0
  179. package/src/plugins/phoenix/structs/seat.d.ts +1 -0
  180. package/src/plugins/picasso/constants.d.ts +1 -0
  181. package/src/plugins/picasso/helpers.d.ts +1 -0
  182. package/src/plugins/port/constants.d.ts +1 -0
  183. package/src/plugins/port/filters.d.ts +1 -0
  184. package/src/plugins/port/structs.d.ts +1 -0
  185. package/src/plugins/pudgypenguins/structs.d.ts +1 -0
  186. package/src/plugins/pyth/constants.d.ts +1 -0
  187. package/src/plugins/pyth/structs.d.ts +1 -0
  188. package/src/plugins/quarry/constants.d.ts +1 -0
  189. package/src/plugins/quarry/filters.d.ts +1 -0
  190. package/src/plugins/quarry/helpers.d.ts +1 -0
  191. package/src/plugins/quarry/types.d.ts +1 -0
  192. package/src/plugins/rain/constants.d.ts +1 -0
  193. package/src/plugins/rain/filters.d.ts +1 -0
  194. package/src/plugins/rain/helpers.d.ts +1 -0
  195. package/src/plugins/rain/structs/loan.d.ts +1 -0
  196. package/src/plugins/rain/structs/pool.d.ts +1 -0
  197. package/src/plugins/ratex/constants.d.ts +1 -0
  198. package/src/plugins/ratex/getPool.d.ts +1 -0
  199. package/src/plugins/raydium/constants.d.ts +1 -0
  200. package/src/plugins/raydium/farmsJob.d.ts +1 -0
  201. package/src/plugins/raydium/filters.d.ts +1 -0
  202. package/src/plugins/raydium/helpers.d.ts +1 -0
  203. package/src/plugins/raydium/structs/amms.d.ts +1 -0
  204. package/src/plugins/raydium/structs/clmms.d.ts +1 -0
  205. package/src/plugins/raydium/structs/cpmm.d.ts +1 -0
  206. package/src/plugins/raydium/structs/farms.d.ts +1 -0
  207. package/src/plugins/raydium/structs/openOrders.d.ts +1 -0
  208. package/src/plugins/raydium/structs/staking.d.ts +1 -0
  209. package/src/plugins/raydium/types.d.ts +1 -0
  210. package/src/plugins/sandglass/constants.d.ts +1 -0
  211. package/src/plugins/sandglass/filters.d.ts +1 -0
  212. package/src/plugins/sandglass/structs.d.ts +1 -0
  213. package/src/plugins/save/constants.d.ts +1 -0
  214. package/src/plugins/save/structs.d.ts +1 -0
  215. package/src/plugins/save/types.d.ts +1 -0
  216. package/src/plugins/sharky/constants.d.ts +1 -0
  217. package/src/plugins/sharky/filters.d.ts +1 -0
  218. package/src/plugins/solayer/constants.d.ts +1 -0
  219. package/src/plugins/solayer/structs.d.ts +1 -0
  220. package/src/plugins/spdr/constants.d.ts +1 -0
  221. package/src/plugins/spdr/structs.d.ts +1 -0
  222. package/src/plugins/stabble/filters.d.ts +1 -0
  223. package/src/plugins/staratlas/constants.d.ts +1 -0
  224. package/src/plugins/staratlas/helpers.d.ts +1 -0
  225. package/src/plugins/staratlas/structs.d.ts +1 -0
  226. package/src/plugins/streamflow/constants.d.ts +1 -0
  227. package/src/plugins/streamflow/filters.d.ts +1 -0
  228. package/src/plugins/streamflow/structs.d.ts +1 -0
  229. package/src/plugins/sushiswap/helpers.js +24 -24
  230. package/src/plugins/switchboard/helpers/getSwitchboardOnDemandPrice.d.ts +1 -0
  231. package/src/plugins/switchboard/helpers/getSwitchboardOnDemandPrices.d.ts +1 -0
  232. package/src/plugins/switchboard/helpers/getSwitchboardPrice.d.ts +1 -0
  233. package/src/plugins/switchboard/helpers/getSwitchboardPrices.d.ts +1 -0
  234. package/src/plugins/switchboard/structs.d.ts +1 -0
  235. package/src/plugins/symmetry/constants.d.ts +1 -0
  236. package/src/plugins/symmetry/filters.d.ts +1 -0
  237. package/src/plugins/symmetry/structs.d.ts +1 -0
  238. package/src/plugins/tensor/constants.d.ts +1 -0
  239. package/src/plugins/tensor/filters.d.ts +1 -0
  240. package/src/plugins/tensor/helpers.d.ts +1 -0
  241. package/src/plugins/tensor/struct.d.ts +1 -0
  242. package/src/plugins/texture/constants.d.ts +1 -0
  243. package/src/plugins/texture/structs.d.ts +1 -0
  244. package/src/plugins/tokens/fetchers/solana.js +1 -0
  245. package/src/plugins/tokens/fetchers/solana.js.map +1 -1
  246. package/src/plugins/tulip/constants.d.ts +1 -0
  247. package/src/plugins/tulip/structs.d.ts +1 -0
  248. package/src/plugins/uniswap-v2/helpers.js +22 -22
  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/structs.d.ts +1 -0
  255. package/src/plugins/wormhole/constants.d.ts +1 -0
  256. package/src/plugins/wormhole/helpers.d.ts +1 -0
  257. package/src/plugins/wormhole/structs.d.ts +1 -0
  258. package/src/plugins/zelo/constants.d.ts +1 -0
  259. package/src/plugins/zelo/structs.d.ts +1 -0
  260. package/src/plugins/zeta/constants.d.ts +1 -0
  261. package/src/plugins/zeta/helpers.d.ts +1 -0
  262. package/src/plugins/zeta/structs.d.ts +1 -0
  263. package/src/utils/clients/types.d.ts +1 -0
  264. package/src/utils/elementbuilder/ConcentratedLiquidityParams.d.ts +1 -0
  265. package/src/utils/elementbuilder/PortfolioAssetGenericParams.d.ts +1 -0
  266. package/src/utils/elementbuilder/PortfolioAssetTokenParams.d.ts +1 -0
  267. package/src/utils/name-service/getNames.js +4 -8
  268. package/src/utils/name-service/getNames.js.map +1 -1
  269. package/src/utils/name-service/services/bonfida.d.ts +10 -0
  270. package/src/utils/name-service/services/bonfida.js +29 -12
  271. package/src/utils/name-service/services/bonfida.js.map +1 -1
  272. package/src/utils/sei/constants.js +8 -8
  273. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  274. package/src/utils/solana/constants.d.ts +1 -0
  275. package/src/utils/solana/das/getAssetsByOwnerDas.d.ts +2 -2
  276. package/src/utils/solana/das/getAssetsByOwnerDas.js +9 -6
  277. package/src/utils/solana/das/getAssetsByOwnerDas.js.map +1 -1
  278. package/src/utils/solana/das/types.d.ts +3 -0
  279. package/src/utils/solana/fetchTokenSupplyAndDecimals.d.ts +1 -0
  280. package/src/utils/solana/filters.d.ts +1 -0
  281. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.d.ts +1 -0
  282. package/src/utils/solana/getAutoParsedProgramAccounts.d.ts +1 -0
  283. package/src/utils/solana/getDecimals.d.ts +1 -0
  284. package/src/utils/solana/getMultipleAccountsInfoSafe.d.ts +1 -0
  285. package/src/utils/solana/getMultipleDecimals.d.ts +1 -0
  286. package/src/utils/solana/getMultipleDecimalsAsMap.d.ts +1 -0
  287. package/src/utils/solana/getParsedAccountInfo.d.ts +1 -0
  288. package/src/utils/solana/getParsedMultipleAccountsInfo.d.ts +1 -0
  289. package/src/utils/solana/getParsedProgramAccounts.d.ts +1 -0
  290. package/src/utils/solana/getProgramAccounts.d.ts +1 -0
  291. package/src/utils/solana/getSupply.d.ts +1 -0
  292. package/src/utils/solana/jupiter/deriveClaimStatus.d.ts +1 -0
  293. package/src/utils/solana/jupiter/deriveClaimStatuses.d.ts +1 -0
  294. package/src/utils/solana/jupiter/getMerkleDistributorPda.d.ts +1 -0
  295. package/src/utils/solana/pyth/helpers.d.ts +1 -0
  296. package/src/utils/solana/pyth/structs.d.ts +1 -0
  297. package/src/utils/solana/pyth/structsOld.d.ts +1 -0
  298. package/src/utils/solana/structs.d.ts +1 -0
  299. package/src/utils/solana/types.d.ts +1 -0
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # @sonarwatch/portfolio-plugins
2
-
3
- This library is @sonarwatch/portfolio-plugins
1
+ # @sonarwatch/portfolio-plugins
2
+
3
+ This library is @sonarwatch/portfolio-plugins
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.14.95",
3
+ "version": "0.14.97",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -10,7 +10,7 @@
10
10
  "@aave/contract-helpers": "^1.28.2",
11
11
  "@aave/math-utils": "^1.28.2",
12
12
  "@aptos-labs/ts-sdk": "^1.19.0",
13
- "@bonfida/spl-name-service": "^1.0.10",
13
+ "@bonfida/spl-name-service": "^3.0.8",
14
14
  "@cosmjs/cosmwasm-stargate": "^0.31.1",
15
15
  "@drift-labs/sdk": "^2.104.0-beta.13",
16
16
  "@drift-labs/vaults-sdk": "^0.2.7",
@@ -27,7 +27,7 @@
27
27
  "@project-serum/anchor": "^0.26.0",
28
28
  "@sei-js/core": "^3.2.1",
29
29
  "@sei-js/proto": "^3.1.0",
30
- "@solana/web3.js": "^1.91.8",
30
+ "@solana/web3.js": "^1.98.0",
31
31
  "@solanafm/explorer-kit": "^1.1.3",
32
32
  "@solanafm/explorer-kit-idls": "^1.1.3",
33
33
  "axios": "^1.7.9",
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Contract, Platform, Service, ServiceConfig } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export declare function getPda(owner: PublicKey): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import { BeetStruct } from '@metaplex-foundation/beet';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const stakeAccountStructFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
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';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const positionFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export declare function getStakingPda(stakedTokenMint: PublicKey): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import BigNumber from 'bignumber.js';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const stakeFilters: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export declare function getStakingAccountAddress(owner: string): PublicKey;
@@ -36,27 +36,27 @@ exports.getBalancerPoolsV2 = void 0;
36
36
  const graphql_request_1 = __importStar(require("graphql-request"));
37
37
  function getBalancerPoolsV2(url) {
38
38
  return __awaiter(this, void 0, void 0, function* () {
39
- const query = (0, graphql_request_1.gql) `
40
- query pools {
41
- pools(
42
- first: 1000
43
- orderBy: totalLiquidity
44
- orderDirection: desc
45
- where: { totalLiquidity_gt: "500" }
46
- ) {
47
- id
48
- address
49
- symbol
50
- totalLiquidity
51
- totalShares
52
- tokens {
53
- balance
54
- decimals
55
- symbol
56
- address
57
- }
58
- }
59
- }
39
+ const query = (0, graphql_request_1.gql) `
40
+ query pools {
41
+ pools(
42
+ first: 1000
43
+ orderBy: totalLiquidity
44
+ orderDirection: desc
45
+ where: { totalLiquidity_gt: "500" }
46
+ ) {
47
+ id
48
+ address
49
+ symbol
50
+ totalLiquidity
51
+ totalShares
52
+ tokens {
53
+ balance
54
+ decimals
55
+ symbol
56
+ address
57
+ }
58
+ }
59
+ }
60
60
  `;
61
61
  const res = yield (0, graphql_request_1.default)(url, query);
62
62
  const pools = res.pools;
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const stakeFilters: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const claimFilters: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const stakeDepositReceiptFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const vestingAccountFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare function getLoanFilters(owner: string): [GetProgramAccountsFilter[], GetProgramAccountsFilter[]];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export declare function getUserAccount(owner: string): PublicKey;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PortfolioAssetCollectible, PortfolioElement } from '@sonarwatch/portfolio-core';
3
4
  import BigNumber from 'bignumber.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
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';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { PublicKey } from '@solana/web3.js';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { IdlItem } from '@solanafm/explorer-kit-idls';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  export type House = {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const accountsFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
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="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const vaultDepositorFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const positionFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { CachedPool } from './types';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import BigNumber from 'bignumber.js';
4
5
  import { BeetStruct } from '@metaplex-foundation/beet';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { IdlItem } from '@solanafm/explorer-kit-idls';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { Platform } from '@sonarwatch/portfolio-core';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { GetProgramAccountsFilter } from '@solana/web3.js';
3
4
  export declare const perpetualsPositionsFilter: (owner: string) => GetProgramAccountsFilter[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { SolanaClient } from '../../utils/clients/types';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import BigNumber from 'bignumber.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
4
  import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
4
5
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Platform } from '@sonarwatch/portfolio-core';
3
4
  import { PublicKey } from '@solana/web3.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
1
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
2
3
  import { Connection, PublicKey } from '@solana/web3.js';
3
4
  import BigNumber from 'bignumber.js';