@sonarwatch/portfolio-plugins 0.14.138 → 0.14.140

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 (400) hide show
  1. package/CHANGELOG.md +18 -10
  2. package/package.json +1 -1
  3. package/src/index.js +358 -639
  4. package/src/index.js.map +1 -1
  5. package/src/orphanPlatforms.d.ts +1 -0
  6. package/src/orphanPlatforms.js +12 -1
  7. package/src/orphanPlatforms.js.map +1 -1
  8. package/src/plugins/01/constants.js +8 -3
  9. package/src/plugins/01/constants.js.map +1 -1
  10. package/src/plugins/01/depostisFetcher.js +2 -1
  11. package/src/plugins/01/depostisFetcher.js.map +1 -1
  12. package/src/plugins/accessprotocol/constants.d.ts +1 -1
  13. package/src/plugins/accessprotocol/constants.js +8 -3
  14. package/src/plugins/accessprotocol/constants.js.map +1 -1
  15. package/src/plugins/adrastea/constants.js +4 -0
  16. package/src/plugins/adrastea/constants.js.map +1 -1
  17. package/src/plugins/adrena/constants.d.ts +2 -2
  18. package/src/plugins/adrena/constants.js +8 -3
  19. package/src/plugins/adrena/constants.js.map +1 -1
  20. package/src/plugins/allbridge/constants.js +6 -0
  21. package/src/plugins/allbridge/constants.js.map +1 -1
  22. package/src/plugins/armada-staking/constants.js +7 -0
  23. package/src/plugins/armada-staking/constants.js.map +1 -1
  24. package/src/plugins/atrix/constants.js +4 -1
  25. package/src/plugins/atrix/constants.js.map +1 -1
  26. package/src/plugins/aurory/constants.d.ts +1 -1
  27. package/src/plugins/aurory/constants.js +7 -2
  28. package/src/plugins/aurory/constants.js.map +1 -1
  29. package/src/plugins/banx/constants.d.ts +1 -1
  30. package/src/plugins/banx/constants.js +7 -2
  31. package/src/plugins/banx/constants.js.map +1 -1
  32. package/src/plugins/baskt/constants.js +3 -0
  33. package/src/plugins/baskt/constants.js.map +1 -1
  34. package/src/plugins/bluefin/index.d.ts +2 -2
  35. package/src/plugins/bluefin/index.js +2 -2
  36. package/src/plugins/bluefin/index.js.map +1 -1
  37. package/src/plugins/bonfida/constants.d.ts +1 -1
  38. package/src/plugins/bonfida/constants.js +8 -2
  39. package/src/plugins/bonfida/constants.js.map +1 -1
  40. package/src/plugins/bonkrewards/constants.d.ts +1 -1
  41. package/src/plugins/bonkrewards/constants.js +7 -2
  42. package/src/plugins/bonkrewards/constants.js.map +1 -1
  43. package/src/plugins/bskt/constants.d.ts +1 -1
  44. package/src/plugins/bskt/constants.js +7 -2
  45. package/src/plugins/bskt/constants.js.map +1 -1
  46. package/src/plugins/citrus/constants.js +3 -0
  47. package/src/plugins/citrus/constants.js.map +1 -1
  48. package/src/plugins/clone/constants.js +2 -0
  49. package/src/plugins/clone/constants.js.map +1 -1
  50. package/src/plugins/clone/depositsFetcher.js +1 -1
  51. package/src/plugins/clone/depositsFetcher.js.map +1 -1
  52. package/src/plugins/cropper/constants.d.ts +1 -0
  53. package/src/plugins/cropper/constants.js +9 -1
  54. package/src/plugins/cropper/constants.js.map +1 -1
  55. package/src/plugins/cyberfrogs/constants.js +2 -0
  56. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  57. package/src/plugins/daos/constants.js +4 -0
  58. package/src/plugins/daos/constants.js.map +1 -1
  59. package/src/plugins/debridge/constants.d.ts +1 -1
  60. package/src/plugins/debridge/constants.js +8 -2
  61. package/src/plugins/debridge/constants.js.map +1 -1
  62. package/src/plugins/deepbook/index.d.ts +2 -0
  63. package/src/plugins/deepbook/index.js +2 -1
  64. package/src/plugins/deepbook/index.js.map +1 -1
  65. package/src/plugins/defiland/constants.d.ts +1 -1
  66. package/src/plugins/defiland/constants.js +7 -2
  67. package/src/plugins/defiland/constants.js.map +1 -1
  68. package/src/plugins/defituna/constants.js +3 -0
  69. package/src/plugins/defituna/constants.js.map +1 -1
  70. package/src/plugins/defituna/lendingFetcher.js +2 -0
  71. package/src/plugins/defituna/lendingFetcher.js.map +1 -1
  72. package/src/plugins/defituna/positionsFetcher.js +2 -0
  73. package/src/plugins/defituna/positionsFetcher.js.map +1 -1
  74. package/src/plugins/divvy/constants.d.ts +1 -1
  75. package/src/plugins/divvy/constants.js +7 -2
  76. package/src/plugins/divvy/constants.js.map +1 -1
  77. package/src/plugins/divvy/housePoolFetcher.js +2 -0
  78. package/src/plugins/divvy/housePoolFetcher.js.map +1 -1
  79. package/src/plugins/drift/constants.d.ts +1 -1
  80. package/src/plugins/drift/constants.js +8 -2
  81. package/src/plugins/drift/constants.js.map +1 -1
  82. package/src/plugins/drift/depositsFetcher.js +2 -0
  83. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  84. package/src/plugins/drift/index.d.ts +2 -1
  85. package/src/plugins/drift/index.js +3 -4
  86. package/src/plugins/drift/index.js.map +1 -1
  87. package/src/plugins/drift-market-maker-vault/constants.js +24 -1
  88. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  89. package/src/plugins/drift-market-maker-vault/depositsFetcher.js +2 -0
  90. package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
  91. package/src/plugins/elemental/constants.js +4 -0
  92. package/src/plugins/elemental/constants.js.map +1 -1
  93. package/src/plugins/elemental/depositFetcher.js +1 -1
  94. package/src/plugins/elemental/depositFetcher.js.map +1 -1
  95. package/src/plugins/ensofi/constants.js +5 -0
  96. package/src/plugins/ensofi/constants.js.map +1 -1
  97. package/src/plugins/exponent/constants.js +5 -0
  98. package/src/plugins/exponent/constants.js.map +1 -1
  99. package/src/plugins/exponent/liquidityFetcher.js +1 -1
  100. package/src/plugins/exponent/liquidityFetcher.js.map +1 -1
  101. package/src/plugins/famousfoxfederation/constants.d.ts +1 -1
  102. package/src/plugins/famousfoxfederation/constants.js +4 -2
  103. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  104. package/src/plugins/famousfoxfederation/stakingFetcher.js +4 -2
  105. package/src/plugins/famousfoxfederation/stakingFetcher.js.map +1 -1
  106. package/src/plugins/flash/constants.js +4 -0
  107. package/src/plugins/flash/constants.js.map +1 -1
  108. package/src/plugins/flash/perpetualFetcher.js +1 -1
  109. package/src/plugins/flash/perpetualFetcher.js.map +1 -1
  110. package/src/plugins/flash/stakeFetcher.js +12 -10
  111. package/src/plugins/flash/stakeFetcher.js.map +1 -1
  112. package/src/plugins/fluxbeam/constants.js +6 -0
  113. package/src/plugins/fluxbeam/constants.js.map +1 -1
  114. package/src/plugins/fragmetric/constants.js +10 -0
  115. package/src/plugins/fragmetric/constants.js.map +1 -1
  116. package/src/plugins/francium/constants.js +8 -1
  117. package/src/plugins/francium/constants.js.map +1 -1
  118. package/src/plugins/francium/lendingFetcher.js +1 -1
  119. package/src/plugins/francium/lendingFetcher.js.map +1 -1
  120. package/src/plugins/francium/tokens.js +2 -1
  121. package/src/plugins/francium/tokens.js.map +1 -1
  122. package/src/plugins/futarchy/constants.d.ts +1 -0
  123. package/src/plugins/futarchy/constants.js +7 -1
  124. package/src/plugins/futarchy/constants.js.map +1 -1
  125. package/src/plugins/genesysgo/constants.d.ts +1 -1
  126. package/src/plugins/genesysgo/constants.js +7 -2
  127. package/src/plugins/genesysgo/constants.js.map +1 -1
  128. package/src/plugins/goosefx/constants.d.ts +1 -1
  129. package/src/plugins/goosefx/constants.js +8 -4
  130. package/src/plugins/goosefx/constants.js.map +1 -1
  131. package/src/plugins/grass/constants.d.ts +1 -1
  132. package/src/plugins/grass/constants.js +6 -2
  133. package/src/plugins/grass/constants.js.map +1 -1
  134. package/src/plugins/grass/index.d.ts +2 -2
  135. package/src/plugins/grass/index.js +2 -2
  136. package/src/plugins/grass/index.js.map +1 -1
  137. package/src/plugins/hawksight/constants.js +4 -0
  138. package/src/plugins/hawksight/constants.js.map +1 -1
  139. package/src/plugins/hawksight/positionsFetcher.js +2 -2
  140. package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
  141. package/src/plugins/hedgehog/constants.js +4 -0
  142. package/src/plugins/hedgehog/constants.js.map +1 -1
  143. package/src/plugins/holdium/constants.js +2 -0
  144. package/src/plugins/holdium/constants.js.map +1 -1
  145. package/src/plugins/hxro/constants.d.ts +1 -1
  146. package/src/plugins/hxro/constants.js +7 -2
  147. package/src/plugins/hxro/constants.js.map +1 -1
  148. package/src/plugins/iloop/constants.js +4 -0
  149. package/src/plugins/iloop/constants.js.map +1 -1
  150. package/src/plugins/jito/constants.d.ts +2 -1
  151. package/src/plugins/jito/constants.js +16 -2
  152. package/src/plugins/jito/constants.js.map +1 -1
  153. package/src/plugins/jito/ticketFetcher.js +3 -1
  154. package/src/plugins/jito/ticketFetcher.js.map +1 -1
  155. package/src/plugins/jupiter/exchange/constants.d.ts +2 -1
  156. package/src/plugins/jupiter/exchange/constants.js +8 -2
  157. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  158. package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
  159. package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
  160. package/src/plugins/jupiter/exchange/limitFetcher.js +1 -1
  161. package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
  162. package/src/plugins/jupiter/exchange/perpetualFetcher.js +5 -3
  163. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  164. package/src/plugins/jupiter/governance/constants.js +7 -5
  165. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  166. package/src/plugins/jupiter/launchpad/constants.js +7 -6
  167. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  168. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js +2 -1
  169. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js.map +1 -1
  170. package/src/plugins/kamino/constants.d.ts +1 -1
  171. package/src/plugins/kamino/constants.js +20 -38
  172. package/src/plugins/kamino/constants.js.map +1 -1
  173. package/src/plugins/kamino/farmsFetcher.js +1 -1
  174. package/src/plugins/kamino/farmsFetcher.js.map +1 -1
  175. package/src/plugins/kamino/lendsFetcher.js +2 -2
  176. package/src/plugins/kamino/lendsFetcher.js.map +1 -1
  177. package/src/plugins/layer3/constants.d.ts +1 -1
  178. package/src/plugins/layer3/constants.js +8 -2
  179. package/src/plugins/layer3/constants.js.map +1 -1
  180. package/src/plugins/lifinity/constants.d.ts +2 -2
  181. package/src/plugins/lifinity/constants.js +10 -4
  182. package/src/plugins/lifinity/constants.js.map +1 -1
  183. package/src/plugins/loopscale/constants.js +4 -0
  184. package/src/plugins/loopscale/constants.js.map +1 -1
  185. package/src/plugins/lulo/constants.js +5 -0
  186. package/src/plugins/lulo/constants.js.map +1 -1
  187. package/src/plugins/magiceden/constants.d.ts +1 -1
  188. package/src/plugins/magiceden/constants.js +8 -3
  189. package/src/plugins/magiceden/constants.js.map +1 -1
  190. package/src/plugins/magiceden/index.d.ts +2 -2
  191. package/src/plugins/magiceden/index.js +2 -2
  192. package/src/plugins/magiceden/index.js.map +1 -1
  193. package/src/plugins/mango/collateralFetcher.js +1 -1
  194. package/src/plugins/mango/collateralFetcher.js.map +1 -1
  195. package/src/plugins/mango/constants.js +9 -2
  196. package/src/plugins/mango/constants.js.map +1 -1
  197. package/src/plugins/mango/redeemFetcher.js +2 -1
  198. package/src/plugins/mango/redeemFetcher.js.map +1 -1
  199. package/src/plugins/marginfi/constants.js +6 -0
  200. package/src/plugins/marginfi/constants.js.map +1 -1
  201. package/src/plugins/marginfi/depositsFetcher.js +2 -2
  202. package/src/plugins/marginfi/depositsFetcher.js.map +1 -1
  203. package/src/plugins/marinade/constants.d.ts +2 -1
  204. package/src/plugins/marinade/constants.js +9 -2
  205. package/src/plugins/marinade/constants.js.map +1 -1
  206. package/src/plugins/marinade/index.d.ts +2 -0
  207. package/src/plugins/marinade/index.js +2 -1
  208. package/src/plugins/marinade/index.js.map +1 -1
  209. package/src/plugins/metaplex/constants.js +5 -0
  210. package/src/plugins/metaplex/constants.js.map +1 -1
  211. package/src/plugins/meteora/constants.js +5 -0
  212. package/src/plugins/meteora/constants.js.map +1 -1
  213. package/src/plugins/meteora/dlmmVaultsFetcher.js +1 -1
  214. package/src/plugins/meteora/dlmmVaultsFetcher.js.map +1 -1
  215. package/src/plugins/meteora/farmsFetcher.js +1 -1
  216. package/src/plugins/meteora/farmsFetcher.js.map +1 -1
  217. package/src/plugins/meteora/stakeForFeeFetcher.js +2 -0
  218. package/src/plugins/meteora/stakeForFeeFetcher.js.map +1 -1
  219. package/src/plugins/moonwalk/constants.js +4 -1
  220. package/src/plugins/moonwalk/constants.js.map +1 -1
  221. package/src/plugins/nosana/constants.js +6 -1
  222. package/src/plugins/nosana/constants.js.map +1 -1
  223. package/src/plugins/nxfinance/constants.js +1 -0
  224. package/src/plugins/nxfinance/constants.js.map +1 -1
  225. package/src/plugins/nxfinance/positionsFetcher.js +2 -0
  226. package/src/plugins/nxfinance/positionsFetcher.js.map +1 -1
  227. package/src/plugins/nxfinance/stakingFetcher.js.map +1 -1
  228. package/src/plugins/orca/constants.js +7 -0
  229. package/src/plugins/orca/constants.js.map +1 -1
  230. package/src/plugins/orca/getWhirlpoolPositions.js +2 -0
  231. package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
  232. package/src/plugins/parcl/constants.d.ts +1 -1
  233. package/src/plugins/parcl/constants.js +7 -2
  234. package/src/plugins/parcl/constants.js.map +1 -1
  235. package/src/plugins/parcl/index.d.ts +2 -1
  236. package/src/plugins/parcl/index.js +3 -4
  237. package/src/plugins/parcl/index.js.map +1 -1
  238. package/src/plugins/perena/constants.js +5 -0
  239. package/src/plugins/perena/constants.js.map +1 -1
  240. package/src/plugins/phoenix/constants.js +4 -0
  241. package/src/plugins/phoenix/constants.js.map +1 -1
  242. package/src/plugins/photofinish/constants.d.ts +1 -1
  243. package/src/plugins/photofinish/constants.js +5 -2
  244. package/src/plugins/photofinish/constants.js.map +1 -1
  245. package/src/plugins/picasso/constants.js +7 -0
  246. package/src/plugins/picasso/constants.js.map +1 -1
  247. package/src/plugins/picasso/unstakingPositionsFetcher.js +2 -2
  248. package/src/plugins/picasso/unstakingPositionsFetcher.js.map +1 -1
  249. package/src/plugins/pluto/constants.js +5 -0
  250. package/src/plugins/pluto/constants.js.map +1 -1
  251. package/src/plugins/port/constants.js +3 -0
  252. package/src/plugins/port/constants.js.map +1 -1
  253. package/src/plugins/port/obligationsFetcher.js +2 -0
  254. package/src/plugins/port/obligationsFetcher.js.map +1 -1
  255. package/src/plugins/pudgypenguins/constants.d.ts +1 -1
  256. package/src/plugins/pudgypenguins/constants.js +4 -2
  257. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  258. package/src/plugins/pyth/constants.d.ts +1 -1
  259. package/src/plugins/pyth/constants.js +7 -2
  260. package/src/plugins/pyth/constants.js.map +1 -1
  261. package/src/plugins/pyth/pricingJob.js +2 -1
  262. package/src/plugins/pyth/pricingJob.js.map +1 -1
  263. package/src/plugins/quarry/constants.js +2 -0
  264. package/src/plugins/quarry/constants.js.map +1 -1
  265. package/src/plugins/quarry/positionsFetcher.js +1 -1
  266. package/src/plugins/quarry/positionsFetcher.js.map +1 -1
  267. package/src/plugins/rain/constants.js +5 -0
  268. package/src/plugins/rain/constants.js.map +1 -1
  269. package/src/plugins/ratex/constants.js +5 -0
  270. package/src/plugins/ratex/constants.js.map +1 -1
  271. package/src/plugins/ratex/positionsFetcher.js +1 -1
  272. package/src/plugins/ratex/positionsFetcher.js.map +1 -1
  273. package/src/plugins/raydium/constants.d.ts +1 -1
  274. package/src/plugins/raydium/constants.js +8 -2
  275. package/src/plugins/raydium/constants.js.map +1 -1
  276. package/src/plugins/raydium/farmsFetcher.js +2 -0
  277. package/src/plugins/raydium/farmsFetcher.js.map +1 -1
  278. package/src/plugins/saber/constants.js +1 -0
  279. package/src/plugins/saber/constants.js.map +1 -1
  280. package/src/plugins/saber/index.d.ts +2 -0
  281. package/src/plugins/saber/index.js +2 -1
  282. package/src/plugins/saber/index.js.map +1 -1
  283. package/src/plugins/sanctum/constants.d.ts +1 -1
  284. package/src/plugins/sanctum/constants.js +7 -2
  285. package/src/plugins/sanctum/constants.js.map +1 -1
  286. package/src/plugins/sandglass/constants.js +2 -0
  287. package/src/plugins/sandglass/constants.js.map +1 -1
  288. package/src/plugins/sandglass/depositFetcher.js +1 -1
  289. package/src/plugins/sandglass/depositFetcher.js.map +1 -1
  290. package/src/plugins/save/constants.d.ts +1 -1
  291. package/src/plugins/save/constants.js +8 -2
  292. package/src/plugins/save/constants.js.map +1 -1
  293. package/src/plugins/save/obligationsFetcher.js +2 -2
  294. package/src/plugins/save/obligationsFetcher.js.map +1 -1
  295. package/src/plugins/sharky/constants.js +4 -0
  296. package/src/plugins/sharky/constants.js.map +1 -1
  297. package/src/plugins/solayer/constants.d.ts +4 -4
  298. package/src/plugins/solayer/constants.js +12 -6
  299. package/src/plugins/solayer/constants.js.map +1 -1
  300. package/src/plugins/solayer/index.d.ts +2 -2
  301. package/src/plugins/solayer/index.js +2 -2
  302. package/src/plugins/solayer/index.js.map +1 -1
  303. package/src/plugins/sonic/constants.d.ts +1 -1
  304. package/src/plugins/sonic/constants.js +7 -2
  305. package/src/plugins/sonic/constants.js.map +1 -1
  306. package/src/plugins/sonic/index.d.ts +2 -2
  307. package/src/plugins/sonic/index.js +2 -2
  308. package/src/plugins/sonic/index.js.map +1 -1
  309. package/src/plugins/spdr/constants.d.ts +1 -1
  310. package/src/plugins/spdr/constants.js +8 -2
  311. package/src/plugins/spdr/constants.js.map +1 -1
  312. package/src/plugins/stabble/constants.js +6 -0
  313. package/src/plugins/stabble/constants.js.map +1 -1
  314. package/src/plugins/staratlas/constants.d.ts +2 -2
  315. package/src/plugins/staratlas/constants.js +9 -3
  316. package/src/plugins/staratlas/constants.js.map +1 -1
  317. package/src/plugins/streamflow/constants.d.ts +1 -1
  318. package/src/plugins/streamflow/constants.js +8 -2
  319. package/src/plugins/streamflow/constants.js.map +1 -1
  320. package/src/plugins/suilend/index.d.ts +2 -2
  321. package/src/plugins/suilend/index.js +2 -2
  322. package/src/plugins/suilend/index.js.map +1 -1
  323. package/src/plugins/suins/index.d.ts +2 -2
  324. package/src/plugins/suins/index.js +2 -2
  325. package/src/plugins/suins/index.js.map +1 -1
  326. package/src/plugins/switchboard/constants.d.ts +2 -0
  327. package/src/plugins/switchboard/constants.js +14 -1
  328. package/src/plugins/switchboard/constants.js.map +1 -1
  329. package/src/plugins/switchboard/index.d.ts +2 -0
  330. package/src/plugins/switchboard/index.js +3 -1
  331. package/src/plugins/switchboard/index.js.map +1 -1
  332. package/src/plugins/symmetry/constants.js +6 -0
  333. package/src/plugins/symmetry/constants.js.map +1 -1
  334. package/src/plugins/tensor/constants.d.ts +1 -1
  335. package/src/plugins/tensor/constants.js +7 -2
  336. package/src/plugins/tensor/constants.js.map +1 -1
  337. package/src/plugins/tensor/index.d.ts +3 -1
  338. package/src/plugins/tensor/index.js +3 -2
  339. package/src/plugins/tensor/index.js.map +1 -1
  340. package/src/plugins/texture/constants.js +5 -1
  341. package/src/plugins/texture/constants.js.map +1 -1
  342. package/src/plugins/thevault/constants.js +5 -0
  343. package/src/plugins/thevault/constants.js.map +1 -1
  344. package/src/plugins/top-tokens/index.d.ts +4 -0
  345. package/src/plugins/top-tokens/index.js +3 -1
  346. package/src/plugins/top-tokens/index.js.map +1 -1
  347. package/src/plugins/triad/constants.js +6 -0
  348. package/src/plugins/triad/constants.js.map +1 -1
  349. package/src/plugins/tulip/constants.d.ts +1 -1
  350. package/src/plugins/tulip/constants.js +10 -2
  351. package/src/plugins/tulip/constants.js.map +1 -1
  352. package/src/plugins/tulip/depositsFetcher.js +1 -1
  353. package/src/plugins/tulip/depositsFetcher.js.map +1 -1
  354. package/src/plugins/uniswap-v2/index.d.ts +2 -0
  355. package/src/plugins/uniswap-v2/index.js +2 -1
  356. package/src/plugins/uniswap-v2/index.js.map +1 -1
  357. package/src/plugins/uxd/constants.d.ts +1 -1
  358. package/src/plugins/uxd/constants.js +9 -2
  359. package/src/plugins/uxd/constants.js.map +1 -1
  360. package/src/plugins/vaultka/constants.js +5 -0
  361. package/src/plugins/vaultka/constants.js.map +1 -1
  362. package/src/plugins/vaultka/lendingFetcher.js +1 -1
  363. package/src/plugins/vaultka/lendingFetcher.js.map +1 -1
  364. package/src/plugins/vaultka/strategyFetcher.js +1 -1
  365. package/src/plugins/vaultka/strategyFetcher.js.map +1 -1
  366. package/src/plugins/whalesmarket/constants.js +5 -0
  367. package/src/plugins/whalesmarket/constants.js.map +1 -1
  368. package/src/plugins/wormhole/constants.d.ts +1 -1
  369. package/src/plugins/wormhole/constants.js +8 -2
  370. package/src/plugins/wormhole/constants.js.map +1 -1
  371. package/src/plugins/zelo/constants.js +4 -1
  372. package/src/plugins/zelo/constants.js.map +1 -1
  373. package/src/plugins/zeta/airdropFetcher.d.ts +1 -2
  374. package/src/plugins/zeta/airdropFetcher.js +14 -16
  375. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  376. package/src/plugins/zeta/constants.d.ts +1 -1
  377. package/src/plugins/zeta/constants.js +9 -2
  378. package/src/plugins/zeta/constants.js.map +1 -1
  379. package/src/plugins/zeta/index.d.ts +2 -2
  380. package/src/plugins/zeta/index.js +2 -2
  381. package/src/plugins/zeta/index.js.map +1 -1
  382. package/src/plugins/zeus/constants.d.ts +5 -0
  383. package/src/plugins/zeus/constants.js +25 -0
  384. package/src/plugins/zeus/constants.js.map +1 -0
  385. package/src/plugins/zeus/delegationsFetcher.d.ts +3 -0
  386. package/src/plugins/zeus/delegationsFetcher.js +83 -0
  387. package/src/plugins/zeus/delegationsFetcher.js.map +1 -0
  388. package/src/plugins/zeus/index.d.ts +6 -0
  389. package/src/plugins/zeus/index.js +12 -0
  390. package/src/plugins/zeus/index.js.map +1 -0
  391. package/src/plugins/zeus/structs.d.ts +29 -0
  392. package/src/plugins/zeus/structs.js +30 -0
  393. package/src/plugins/zeus/structs.js.map +1 -0
  394. package/src/utils/clients/getClientSolana.d.ts +7 -1
  395. package/src/utils/clients/getClientSolana.js +2 -1
  396. package/src/utils/clients/getClientSolana.js.map +1 -1
  397. package/src/utils/misc/checkComputeAndStoreTokensPrices.js +4 -2
  398. package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
  399. package/src/utils/solana/getProgramAccounts.js +0 -1
  400. package/src/utils/solana/getProgramAccounts.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/delegationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,gEAAqC;AAGrC,2CAA6E;AAC7E,iDAAsD;AACtD,kEAA+D;AAC/D,uCAA6C;AAC7C,gFAA6E;AAE7E,MAAM,aAAa,GAAG,KAAK,CAAC;AAE5B,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,QAAQ,GAAG,MAAM,qBAAS,CAAC,KAAK,CACpC,MAAM,EACN,0BAAgB,EAChB,IAAI,mBAAS,CAAC,oCAAwB,CAAC,OAAO,CAAC,CAChD;SACE,SAAS,CAAC,sBAAsB,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;SACvE,SAAS,CAAC,WAAW,EAAE,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC;SAC5C,GAAG,EAAE,CAAC;IAET,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAE1E,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;YACjD,KAAK,EAAE,QAAQ;YACf,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC9B,IAAI,EAAE,yCAAyC;SAChD,CAAC,CAAC;QAEH,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,EAAE;YACxD,CAAC,CAAC,IAAI,sBAAS,CAAC,IAAI,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CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ export declare const jobs: Job[];
5
+ export declare const fetchers: Fetcher[];
6
+ export declare const platforms: Platform[];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.platforms = exports.fetchers = exports.jobs = void 0;
7
+ const constants_1 = require("../zeta/constants");
8
+ const delegationsFetcher_1 = __importDefault(require("./delegationsFetcher"));
9
+ exports.jobs = [];
10
+ exports.fetchers = [delegationsFetcher_1.default];
11
+ exports.platforms = [constants_1.platform];
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/index.ts"],"names":[],"mappings":";;;;;;AAGA,iDAA6C;AAC7C,8EAAsD;AAEzC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,4BAAkB,CAAC,CAAC;AAC3C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
+ import { PublicKey } from '@solana/web3.js';
4
+ import { BeetStruct } from '@metaplex-foundation/beet';
5
+ import BigNumber from 'bignumber.js';
6
+ declare enum DelegationStatus {
7
+ Activated = 0,
8
+ StartDelegationRemoval = 1,
9
+ FinalizeDelegationRemoval = 2
10
+ }
11
+ export type Delegation = {
12
+ accountDiscriminator: number[];
13
+ delegator: PublicKey;
14
+ guardianSetting: PublicKey;
15
+ seed: number;
16
+ status: DelegationStatus;
17
+ lockDays: number;
18
+ amount: BigNumber;
19
+ claimableAmount: BigNumber;
20
+ claimedReward: BigNumber;
21
+ baseRewardRate: number;
22
+ derivedRewardRate: number;
23
+ previousAccumulatedAmount: BigNumber;
24
+ createdAt: BigNumber;
25
+ startedRemovalAt: BigNumber;
26
+ finalizedRemovalAt: BigNumber;
27
+ };
28
+ export declare const delegationStruct: BeetStruct<Delegation, Partial<Delegation>>;
29
+ export {};
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.delegationStruct = void 0;
4
+ const beet_1 = require("@metaplex-foundation/beet");
5
+ const beet_solana_1 = require("@metaplex-foundation/beet-solana");
6
+ const solana_1 = require("../../utils/solana");
7
+ var DelegationStatus;
8
+ (function (DelegationStatus) {
9
+ DelegationStatus[DelegationStatus["Activated"] = 0] = "Activated";
10
+ DelegationStatus[DelegationStatus["StartDelegationRemoval"] = 1] = "StartDelegationRemoval";
11
+ DelegationStatus[DelegationStatus["FinalizeDelegationRemoval"] = 2] = "FinalizeDelegationRemoval";
12
+ })(DelegationStatus || (DelegationStatus = {}));
13
+ exports.delegationStruct = new beet_1.BeetStruct([
14
+ ['accountDiscriminator', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 8)],
15
+ ['delegator', beet_solana_1.publicKey],
16
+ ['guardianSetting', beet_solana_1.publicKey],
17
+ ['seed', beet_1.u32],
18
+ ['status', beet_1.u8],
19
+ ['lockDays', beet_1.u16],
20
+ ['amount', solana_1.u64],
21
+ ['claimableAmount', solana_1.u64],
22
+ ['claimedReward', solana_1.u64],
23
+ ['baseRewardRate', beet_1.u32],
24
+ ['derivedRewardRate', beet_1.u32],
25
+ ['previousAccumulatedAmount', solana_1.u64],
26
+ ['createdAt', solana_1.i64],
27
+ ['startedRemovalAt', solana_1.i64],
28
+ ['finalizedRemovalAt', solana_1.i64],
29
+ ], (args) => args);
30
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/structs.ts"],"names":[],"mappings":";;;AACA,oDAMmC;AACnC,kEAA6D;AAE7D,+CAA8C;AAE9C,IAAK,gBAIJ;AAJD,WAAK,gBAAgB;IACnB,iEAAS,CAAA;IACT,2FAAsB,CAAA;IACtB,iGAAyB,CAAA;AAC3B,CAAC,EAJI,gBAAgB,KAAhB,gBAAgB,QAIpB;AAoBY,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,sBAAsB,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,iBAAiB,EAAE,uBAAS,CAAC;IAC9B,CAAC,MAAM,EAAE,UAAG,CAAC;IACb,CAAC,QAAQ,EAAE,SAAE,CAAC;IACd,CAAC,UAAU,EAAE,UAAG,CAAC;IACjB,CAAC,QAAQ,EAAE,YAAG,CAAC;IACf,CAAC,iBAAiB,EAAE,YAAG,CAAC;IACxB,CAAC,eAAe,EAAE,YAAG,CAAC;IACtB,CAAC,gBAAgB,EAAE,UAAG,CAAC;IACvB,CAAC,mBAAmB,EAAE,UAAG,CAAC;IAC1B,CAAC,2BAA2B,EAAE,YAAG,CAAC;IAClC,CAAC,WAAW,EAAE,YAAG,CAAC;IAClB,CAAC,kBAAkB,EAAE,YAAG,CAAC;IACzB,CAAC,oBAAoB,EAAE,YAAG,CAAC;CAC5B,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
@@ -1,2 +1,8 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
+ import { Commitment } from '@solana/web3.js';
1
4
  import { SolanaClient } from './types';
2
- export default function getClientSolana(): SolanaClient;
5
+ export type SolanaClientParams = {
6
+ commitment?: Commitment;
7
+ };
8
+ export default function getClientSolana(params?: SolanaClientParams): SolanaClient;
@@ -4,7 +4,7 @@ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  const getBasicAuthHeaders_1 = require("../misc/getBasicAuthHeaders");
6
6
  const constants_1 = require("./constants");
7
- function getClientSolana() {
7
+ function getClientSolana(params) {
8
8
  const rpcEndpoint = (0, constants_1.getRpcEndpoint)(portfolio_core_1.NetworkId.solana);
9
9
  const httpHeaders = rpcEndpoint.basicAuth
10
10
  ? (0, getBasicAuthHeaders_1.getBasicAuthHeaders)(rpcEndpoint.basicAuth.username, rpcEndpoint.basicAuth.password)
@@ -31,6 +31,7 @@ function getClientSolana() {
31
31
  };
32
32
  }
33
33
  return new web3_js_1.Connection(rpcEndpoint.url, {
34
+ commitment: (params === null || params === void 0 ? void 0 : params.commitment) || 'confirmed',
34
35
  httpHeaders,
35
36
  fetchMiddleware,
36
37
  });
@@ -1 +1 @@
1
- {"version":3,"file":"getClientSolana.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/clients/getClientSolana.ts"],"names":[],"mappings":";;AAAA,+DAAuD;AACvD,6CAA8D;AAC9D,qEAAkE;AAClE,2CAA6C;AAG7C,SAAwB,eAAe;IACrC,MAAM,WAAW,GAAG,IAAA,0BAAc,EAAC,0BAAS,CAAC,MAAM,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,WAAW,CAAC,SAAS;QACvC,CAAC,CAAC,IAAA,yCAAmB,EACjB,WAAW,CAAC,SAAS,CAAC,QAAQ,EAC9B,WAAW,CAAC,SAAS,CAAC,QAAQ,CAC/B;QACH,CAAC,CAAC,SAAS,CAAC;IAEd,IAAI,eAA4C,CAAC;IACjD,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,KAAK,MAAM,EAAE,CAAC;QACjD,MAAM,IAAI,GAA2B;YACnC,KAAK,EAAE,CAAC;SACT,CAAC;QACF,eAAe,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;;YACtC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,0CAAE,QAAQ,EAAE,KAAI,IAAI,CAAC,CAAC;YAC9D,IAAI,OAAO,MAAM,KAAK,QAAQ;gBAAE,OAAO;YACvC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;gBAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACpC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAClB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACnB,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5B,sCAAsC;gBACtC,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YACrE,CAAC;YACD,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACpB,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,oBAAU,CAAC,WAAW,CAAC,GAAG,EAAE;QACrC,WAAW;QACX,eAAe;KAChB,CAAC,CAAC;AACL,CAAC;AAhCD,kCAgCC"}
1
+ {"version":3,"file":"getClientSolana.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/clients/getClientSolana.ts"],"names":[],"mappings":";;AAAA,+DAAuD;AACvD,6CAA0E;AAC1E,qEAAkE;AAClE,2CAA6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,IAAI,oBAAU,CAAC,WAAW,CAAC,GAAG,EAAE;QACrC,UAAU,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,KAAI,WAAW;QAC7C,WAAW;QACX,eAAe;KAChB,CAAC,CAAC;AACL,CAAC;AAnCD,kCAmCC"}
@@ -18,6 +18,8 @@ const getSourceWeight_1 = __importDefault(require("./getSourceWeight"));
18
18
  const getCachedDecimalsForToken_1 = require("./getCachedDecimalsForToken");
19
19
  const constants_1 = require("../../plugins/tokens/constants");
20
20
  const solana_1 = require("../solana");
21
+ const constants_2 = require("../../plugins/marinade/constants");
22
+ const constants_3 = require("../../plugins/jito/constants");
21
23
  /**
22
24
  * @deprecated
23
25
  * This function has been deprecated. Use the getLpUnderlyingTokenSource instead.
@@ -42,8 +44,8 @@ exports.tokensToRelyOnByNetwork = new Map([
42
44
  [
43
45
  portfolio_core_1.networks.solana.native.address,
44
46
  portfolio_core_1.solanaNativeWrappedAddress, // WSOL
45
- 'J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn', // jito SOL
46
- 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So', // mSOL
47
+ constants_3.jitoSOLMint, // jito SOL
48
+ constants_2.mSOLMint, // mSOL
47
49
  '7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj', // lido SOL
48
50
  solana_1.usdcSolanaMint, // USDC
49
51
  'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', // USDT
@@ -1 +1 @@
1
- {"version":3,"file":"checkComputeAndStoreTokensPrices.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/checkComputeAndStoreTokensPrices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,wEAAgD;AAChD,2EAAwE;AACxE,8DAAsE;AACtE,sCAA2C;AAe3C;;;;;;;;;GASG;AACU,QAAA,uBAAuB,GAAiC,IA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M,CAAC,IAAI,CAAC;YACxD,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;YAC5C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC;YAC/D,IAAI,QAAQ,KAAK,SAAS;gBAAE,OAAO,SAAS,CAAC;YAE7C,MAAM,oBAAoB,GAAqB;gBAC7C,EAAE,EAAE,MAAM;gBACV,MAAM;gBACN,OAAO;gBACP,SAAS;gBACT,UAAU,EAAE,gCAAoB,CAAC,EAAE;gBACnC,QAAQ;gBACR,KAAK;gBACL,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACtB,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,MAAM,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;YACtD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AA5ID,mDA4IC"}
1
+ {"version":3,"file":"checkComputeAndStoreTokensPrices.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/checkComputeAndStoreTokensPrices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,wEAAgD;AAChD,2EAAwE;AACxE,8DAAsE;AACtE,sCAA2C;AAC3C,gEAA4D;AAC5D,4DAA2D;AAe3D;;;;;;;;;GASG;AACU,QAAA,uBAAuB,GAAiC,IAAI,GAAG,CAAC;IAC3E;QACE,0BAA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AK,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;YAC5C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC;YAC/D,IAAI,QAAQ,KAAK,SAAS;gBAAE,OAAO,SAAS,CAAC;YAE7C,MAAM,oBAAoB,GAAqB;gBAC7C,EAAE,EAAE,MAAM;gBACV,MAAM;gBACN,OAAO;gBACP,SAAS;gBACT,UAAU,EAAE,gCAAoB,CAAC,EAAE;gBACnC,QAAQ;gBACR,KAAK;gBACL,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACtB,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,MAAM,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;YACtD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AA5ID,mDA4IC"}
@@ -13,7 +13,6 @@ exports.getProgramAccounts = void 0;
13
13
  function getProgramAccounts(connection, programId, filters, maxAccounts = 0) {
14
14
  return __awaiter(this, void 0, void 0, function* () {
15
15
  const config = {
16
- commitment: 'confirmed',
17
16
  encoding: 'base64',
18
17
  filters,
19
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getProgramAccounts.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/solana/getProgramAccounts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,SAAsB,kBAAkB,CACtC,UAAsB,EACtB,SAAoB,EACpB,OAAoC,EACpC,WAAW,GAAG,CAAC;;QAEf,MAAM,MAAM,GAA6B;YACvC,UAAU,EAAE,WAAW;YACvB,QAAQ,EAAE,QAAQ;YAClB,OAAO;SACR,CAAC;QAEF,IAAI,WAAW,IAAI,CAAC;YAAE,OAAO,UAAU,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAE9E,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,kBAAkB,CAAC,SAAS,kCAC5D,MAAM,KACT,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IACnC,CAAC;QACH,IAAI,WAAW,CAAC,MAAM,GAAG,WAAW;YAClC,MAAM,IAAI,KAAK,CAAC,6BAA6B,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC;QAEtE,OAAO,UAAU,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;CAAA;AAtBD,gDAsBC"}
1
+ {"version":3,"file":"getProgramAccounts.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/solana/getProgramAccounts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,SAAsB,kBAAkB,CACtC,UAAsB,EACtB,SAAoB,EACpB,OAAoC,EACpC,WAAW,GAAG,CAAC;;QAEf,MAAM,MAAM,GAA6B;YACvC,QAAQ,EAAE,QAAQ;YAClB,OAAO;SACR,CAAC;QAEF,IAAI,WAAW,IAAI,CAAC;YAAE,OAAO,UAAU,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAE9E,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,kBAAkB,CAAC,SAAS,kCAC5D,MAAM,KACT,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IACnC,CAAC;QACH,IAAI,WAAW,CAAC,MAAM,GAAG,WAAW;YAClC,MAAM,IAAI,KAAK,CAAC,6BAA6B,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC;QAEtE,OAAO,UAAU,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;CAAA;AArBD,gDAqBC"}