@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
@@ -1 +1 @@
1
- {"version":3,"file":"farmsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/farmsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAAmD;AACnD,iDAAsD;AACtD,+CAAmE;AACnE,qCAA6C;AAE7C,uCAA+C;AAC/C,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO,CAAkB,oBAAQ,EAAE;QAC3D,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IAEtB,MAAM,SAAS,GAA+B,IAAI,GAAG,EAAE,CAAC;IACxD,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrB,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACjC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,MAAM,wBAAwB,GAAG,IAAA,4BAAkB,EAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,MAAM,IAAA,sCAA6B,EACzD,MAAM,EACN,0BAAiB,EACjB,wBAAwB,CACzB,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAE1E,KAAK,MAAM,cAAc,IAAI,eAAe,EAAE,CAAC;QAC7C,IAAI,CAAC,cAAc;YAAE,SAAS;QAE9B,MAA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,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/D,IAAI,CAAC,QAAQ;YAAE,SAAS;QAExB,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC;QAE3D,MAAM,OAAO,GAAG,eAAe,CAAC,mBAAmB,CAAC;YAClD,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,8BAA8B;SACrC,CAAC,CAAC;QAEH,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC;YACrC,GAAG,EAAE,cAAc,CAAC,MAAM;YAC1B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC;SACpE,CAAC,CAAC;QAEH,SAAS,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,aAAa;SACtB,CAAC,CAAC;QAEH,SAAS,CAAC,cAAc,CAAC;YACvB,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,sBAAsB;SAC/B,CAAC,CAAC;QAEH,SAAS,CAAC,cAAc,CAAC;YACvB,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,sBAAsB;SAC/B,CAAC,CAAC;IACL,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -28,6 +28,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
28
28
  return [];
29
29
  const unstakes = yield Promise.all(stakeEscrows.map((stakeEscrow) => (0, solana_1.getParsedProgramAccounts)(client, struct_1.unstakeStruct, constants_1.stakeForFeeProgramId, (0, filters_1.unstakeFilter)(stakeEscrow.pubkey.toString()))));
30
30
  const feeVaults = yield feeVaultsMemo.getItem(cache);
31
+ if (!feeVaults)
32
+ throw new Error('Fee vaults not cached');
31
33
  const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
32
34
  stakeEscrows.forEach((stakeEscrow, i) => {
33
35
  const feeVault = feeVaults.find((v) => v.pubkey.toString() === stakeEscrow.vault.toString());
@@ -1 +1 @@
1
- {"version":3,"file":"stakeForFeeFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/stakeForFeeFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA6E;AAC7E,iDAAsD;AACtD,gFAA6E;AAC7E,+CAA6E;AAC7E,qCAAsE;AACtE,kEAA+D;AAC/D,uCAA6D;AAE7D,MAAM,aAAa,GAAG,IAAI,6BAAa,CACrC,wBAAY,EACZ;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,MAAM,IAAA,iCAAwB,EACjD,MAAM,EACN,0BAAiB,EACjB,gCAAoB,EACpB,IAAA,2BAAiB,EAAC,KAAK,CAAC,CACzB,CAAC;IAEF,IAAI,CAAC,YAAY;QAAE,OAAO,EAAE,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAChC,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAC/B,IAAA,iCAAwB,EACtB,MAAM,EACN,sBAAa,EACb,gCAAoB,EACpB,IAAA,uBAAa,EAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAC7C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CAAC,CAAC,OAAO,EAAE,EAAE;gBAC9B,OAAO,CAAC,QAAQ,CAAC;oBACf,OAAO,EAAE,QAAQ,CAAC,SAAS;oBAC3B,MAAM,EAAE,OAAO,CAAC,aAAa;oBAC7B,UAAU,EAAE;wBACV,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;qBAC1C;iBACF,CAAC,CAAC;YACL,CAAC,CAAC,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,gBAAgB;IACjC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"stakeForFeeFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/stakeForFeeFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA6E;AAC7E,iDAAsD;AACtD,gFAA6E;AAC7E,+CAA6E;AAC7E,qCAAsE;AACtE,kEAA+D;AAC/D,uCAA6D;AAE7D,MAAM,aAAa,GAAG,IAAI,6BAAa,CACrC,wBAAY,EACZ;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,MAAM,IAAA,iCAAwB,EACjD,MAAM,EACN,0BAAiB,EACjB,gCAAoB,EACpB,IAAA,2BAAiB,EAAC,KAAK,CAAC,CACzB,CAAC;IAEF,IAAI,CAAC,YAAY;QAAE,OAAO,EAAE,CAAC;IAE7B,MAAM,QAAQ,GAA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QAAQ,CAAC,SAAS;YAC3B,MAAM,EAAE,WAAW,CAAC,WAAW;SAChC,CAAC,CAAC;QAEH,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,QAAQ,CAAC,SAAS;YAC3B,MAAM,EAAE,WAAW,CAAC,WAAW;SAChC,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAChB,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBAC9B,OAAO,CAAC,QAAQ,CAAC;oBACf,OAAO,EAAE,QAAQ,CAAC,SAAS;oBAC3B,MAAM,EAAE,OAAO,CAAC,aAAa;oBAC7B,UAAU,EAAE;wBACV,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;qBAC1C;iBACF,CAAC,CAAC;YACL,CAAC,CAAC,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,gBAAgB;IACjC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -9,7 +9,10 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/moonwalk.webp',
10
10
  website: 'https://app.moonwalk.fit/',
11
11
  twitter: 'https://twitter.com/moonwalkfitness',
12
- // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
12
+ discord: 'https://discord.com/invite/jBhgHWUJ9U',
13
+ telegram: 'https://t.me/+x0hEQqQP1GpjZGZh',
14
+ description: 'Gamify your Fitness Journey',
15
+ documentation: 'https://moonwalk.fit/faq',
13
16
  };
14
17
  exports.gamesCacheId = `games`;
15
18
  exports.programId = new web3_js_1.PublicKey('FitAFk15vtx2PBjfr7QTnefaHRx6HwajRiZMt1DdSSKU');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/moonwalk/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,qCAAqC;IAC9C,qEAAqE;CACtE,CAAC;AACW,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,MAAM,GAAG,gDAAgD,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/moonwalk/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,qCAAqC;IAC9C,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EAAE,6BAA6B;IAC1C,aAAa,EAAE,0BAA0B;CAC1C,CAAC;AACW,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,MAAM,GAAG,gDAAgD,CAAC"}
@@ -9,7 +9,12 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/nosana.webp',
10
10
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://app.nosana.io/',
12
- twitter: 'https://twitter.com/nosana_ci',
12
+ twitter: 'https://x.com/nosana_ai',
13
+ github: 'https://github.com/nosana-ci',
14
+ discord: 'http://discord.gg/nosana-ai',
15
+ telegram: 'http://t.me/NosanaCompute',
16
+ description: 'Nosana is your go-to GPU marketplace for AI inference. Save up to 6x on compute costs and scale your AI workloads effortlessly.',
17
+ documentation: 'https://docs.nosana.com/',
13
18
  };
14
19
  exports.nosMint = 'nosXBVoaCTtYdLvKY6Csb4AC8JCdQKKAaWYtx2ZMoo7';
15
20
  exports.nosDecimals = 6;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,yBAAyB;IAClC,MAAM,EAAE,8BAA8B;IACtC,OAAO,EAAE,6BAA6B;IACtC,QAAQ,EAAE,2BAA2B;IACrC,WAAW,EACT,iIAAiI;IACnI,aAAa,EAAE,0BAA0B;CAC1C,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -13,6 +13,7 @@ exports.platform = {
13
13
  website: 'https://nxfinance.io/',
14
14
  twitter: 'https://twitter.com/NX_Finance',
15
15
  defiLlamaId: 'nx-finance',
16
+ discord: 'https://discord.com/invite/nxfinance',
16
17
  };
17
18
  // https://nxfinance.io/nx-data/doc
18
19
  exports.ID = new web3_js_1.PublicKey('RaXcyfW8jK295UAU1XN2uLMTHnTWEaeCcNWLeDB4iD6');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+CAAqD;AACrD,uCAA6C;AAC7C,6CAAmD;AAEtC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,gCAAgC;IACzC,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,mCAAmC;AAEtB,QAAA,EAAE,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AAElE,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG;IACjC,8CAA8C,EAAE,MAAM;IACtD,6CAA6C,EAAE,SAAS;IACxD,6CAA6C,EAAE,OAAO;IACtD,6CAA6C,EAAE,OAAO;IACtD,8CAA8C,EAAE,SAAS;CAC1D,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,2BAAmB,CAAC,QAAQ,EAAE;IACzC,GAAG,EAAE,kCAAoB;IACzB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,0BAAgB;IACrB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,cAAc,GAAG,eAAe,CAAC;AACjC,QAAA,cAAc,GAAG,cAAc,CAAC;AAChC,QAAA,cAAc,GAAG,eAAe,CAAC;AAEjC,QAAA,YAAY,GAAG;IAC1B,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,gBAAgB,GAAG,8CAA8C,CAAC;AAElE,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,IAAI,mBAAS,CAAC,wBAAgB,CAAC,CAAC,QAAQ,EAAE;IACrD,GAAG,EAAE,gCAAmB;IACxB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+CAAqD;AACrD,uCAA6C;AAC7C,6CAAmD;AAEtC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,gCAAgC;IACzC,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,sCAAsC;CAChD,CAAC;AAEF,mCAAmC;AAEtB,QAAA,EAAE,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AAElE,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG;IACjC,8CAA8C,EAAE,MAAM;IACtD,6CAA6C,EAAE,SAAS;IACxD,6CAA6C,EAAE,OAAO;IACtD,6CAA6C,EAAE,OAAO;IACtD,8CAA8C,EAAE,SAAS;CAC1D,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,2BAAmB,CAAC,QAAQ,EAAE;IACzC,GAAG,EAAE,kCAAoB;IACzB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,0BAAgB;IACrB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,cAAc,GAAG,eAAe,CAAC;AACjC,QAAA,cAAc,GAAG,cAAc,CAAC;AAChC,QAAA,cAAc,GAAG,eAAe,CAAC;AAEjC,QAAA,YAAY,GAAG;IAC1B,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,gBAAgB,GAAG,8CAA8C,CAAC;AAElE,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,IAAI,mBAAS,CAAC,wBAAgB,CAAC,CAAC,QAAQ,EAAE;IACrD,GAAG,EAAE,gCAAmB;IACxB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -33,6 +33,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
33
33
  ]);
34
34
  if (!lendingPools)
35
35
  throw new Error('Lending pools missing in cache.');
36
+ if (!solayerPools)
37
+ throw new Error('Solayer pools missing in cache.');
36
38
  const [lendingAccounts, vSolPositionsAccounts, marginAccount, solayerUserAccounts,] = yield Promise.all([
37
39
  (0, helpers_1.getLendingAccounts)(lendingPools, owner), // JLP
38
40
  (0, helpers_1.getVSolPositionAccounts)(lendingPools, owner), // vSOL
@@ -1 +1 @@
1
- {"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,gEAAqC;AAErC,2CAKqB;AAIrB,kEAA+D;AAC/D,uCASmB;AACnB,gFAA6E;AAE7E,MAAM,gBAAgB,GAAG,IAAI,6BAAa,CACxC,0BAAc,EACd;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAI,6BAAa,CACxC,0BAAc,EACd;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACrD,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;QAC/B,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;KAChC,CAAC,CAAC;IACH,IAAI,CAAC,YAAY;QAAE,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IAEtE,MAAM,CACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACpB,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACpB,IAAA,4BAAkB,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM;QAC/C,IAAA,iCAAuB,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE,OAAO;QACrD,IAAA,0BAAgB,EAAC,KAAK,CAAC,EAAE,uBAAuB;QAChD,IAAA,gCAAsB,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE,UAAU;KACxD,CAAC,CAAC;IAEH,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AEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,gEAAqC;AAErC,2CAKqB;AAIrB,kEAA+D;AAC/D,uCASmB;AACnB,gFAA6E;AAE7E,MAAM,gBAAgB,GAAG,IAAI,6BAAa,CACxC,0BAAc,EACd;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AACF,MAAM,gBAAgB,GAAG,IAAI,6BAAa,CACxC,0BAAc,EACd;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACrD,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;QAC/B,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;KAChC,CAAC,CAAC;IACH,IAAI,CAAC,YAAY;QAAE,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACtE,IAAI,CAAC,YAAY;QAAE,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IAEtE,MAAM,CACJ,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACpB,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACpB,IAAA,4BAAkB,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM;QAC/C,IAAA,iCAAuB,EAAC,YAAY,E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AAC,CAAC,CAAC,SAAS;iBAChC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,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,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAC5C,gEAAqC;AAErC,2CAMqB;AAErB,iDAAsD;AACtD,+CAAuE;AAEvE,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,cAAc,GAAG,CACrB,MAAM,IAAA,0CAAiC,EACrC,UAAU,EACV,mCAAuB,EACvB;QACE,mBAAS,CAAC,sBAAsB,CAC9B;YACE,IAAI,mBAAS,CAAC,qBAAS,CAAC,CAAC,QAAQ,EAAE;YACnC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC;YACjC,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;SAChC,EACD,IAAI,mBAAS,CAAC,4BAAgB,CAAC,CAChC,CAAC,CAAC,CAAC;KACL,CACF,CACF,CAAC,CAAC,CAAC,CAAC;IACL,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAE/B,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,OAAO,CAC1C,0BAAc,EACd;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,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,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAC5C,gEAAqC;AAErC,2CAMqB;AAErB,iDAAsD;AACtD,+CAAuE;AAEvE,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,cAAc,GAAG,CACrB,MAAM,IAAA,0CAAiC,EACrC,UAAU,EACV,mCAAuB,EACvB;QACE,mBAAS,CAAC,sBAAsB,CAC9B;YACE,IAAI,mBAAS,CAAC,qBAAS,CAAC,CAAC,QAAQ,EAAE;YACnC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC;YACjC,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;SAChC,EACD,IAAI,mBAAS,CAAC,4BAAgB,CAAC,CAChC,CAAC,CAAC,CAAC;KACL,CACF,CACF,CAAC,CAAC,CAAC,CAAC;IACL,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAE/B,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,OAAO,CAC1C,0BAAc,EACd;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IACF,IAAI,CAAC,gBAAgB;QAAE,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IAEzE,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,C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: 'https://www.orca.so/',
12
+ discord: 'https://discord.orca.so/',
13
+ github: 'https://github.com/orca-so',
14
+ twitter: 'https://twitter.com/orca_so',
15
+ medium: 'https://orca-so.medium.com/',
16
+ documentation: 'https://docs.orca.so/',
17
+ tokens: ['orcaEKTdK7LKz57vaAYr9QeNsVEPfiu6QeMU1kektZE'],
18
+ description: 'Orca is the go-to place to trade tokens and provide liquidity on Solana',
12
19
  };
13
20
  exports.orcaStakingPlatformId = 'orca-staking';
14
21
  exports.orcaStakingPlatform = {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE,4BAA4B;IACpC,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,6BAA6B;IACrC,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EACT,yEAAyE;CAC5E,CAAC;AAEW,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -50,6 +50,8 @@ function getOrcaNftFetcher(platformId, programId) {
50
50
  networkId: portfolio_core_1.NetworkId.solana,
51
51
  }),
52
52
  ]);
53
+ if (!allWhirlpoolsInfo)
54
+ throw new Error('Whirlpool info not found in cache.');
53
55
  const whirlpoolMap = new Map();
54
56
  allWhirlpoolsInfo.forEach((wInfo) => {
55
57
  if (!wInfo)
@@ -1 +1 @@
1
- {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/or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AAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,CACxD,0CAAE,aAAa;aACjB,CAAC,CAAC;YAEH,MAAM,cAAc,GAAG,IAAA,iCAAkB,EACvC,aAAa,EACb,YAAY,EACZ,UAAU,CACX,CAAC;YAEF,IAAI,cAAc,EAAE,CAAC;gBACnB,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC,CAAA,CAAC;AACJ,CAAC;AA5ID,8CA4IC"}
1
+ {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/getWhirlpoolPositions.ts"],"names":[],"mappings":";;;;;;;;;;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AAC,IAAI,CACpC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,CACxD,0CAAE,aAAa;aACjB,CAAC,CAAC;YAEH,MAAM,cAAc,GAAG,IAAA,iCAAkB,EACvC,aAAa,EACb,YAAY,EACZ,UAAU,CACX,CAAC;YAEF,IAAI,cAAc,EAAE,CAAC;gBACnB,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC,CAAA,CAAC;AACJ,CAAC;AA9ID,8CA8IC"}
@@ -7,12 +7,12 @@ export declare const platformId = "parcl";
7
7
  export declare const platformImage = "https://sonar.watch/img/platforms/parcl.webp";
8
8
  export declare const platformWebsite = "https://app.parcl.co/";
9
9
  export declare const platformName = "Parcl";
10
+ export declare const prclMint = "4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs";
10
11
  export declare const platform: Platform;
11
12
  export declare const programId: PublicKey;
12
13
  export declare const stakingProgramId: PublicKey;
13
14
  export declare const airdropApi = "https://gnome-api-mainnet.fly.dev/user/";
14
15
  export declare const allocationPrefix = "parcl-allocation";
15
- export declare const prclMint = "4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs";
16
16
  export declare const prclDecimals = 6;
17
17
  export declare const merkleApi = "https://worker.jup.ag/jup-claim-proof";
18
18
  export declare const merkleTree = "5nRBuSmpA98JgrznGYEAFTvQAA7hCdFkVKS9e41N8mBQ";
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.stakingProgramId = exports.programId = exports.platform = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.allocationPrefix = exports.airdropApi = exports.stakingProgramId = exports.programId = exports.platform = exports.prclMint = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'parcl';
6
6
  exports.platformImage = 'https://sonar.watch/img/platforms/parcl.webp';
7
7
  exports.platformWebsite = 'https://app.parcl.co/';
8
8
  exports.platformName = 'Parcl';
9
+ exports.prclMint = '4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs';
9
10
  exports.platform = {
10
11
  id: exports.platformId,
11
12
  name: exports.platformName,
@@ -13,12 +14,16 @@ exports.platform = {
13
14
  defiLlamaId: 'parent#parcl', // from https://defillama.com/docs/api
14
15
  website: exports.platformWebsite,
15
16
  twitter: 'https://twitter.com/Parcl',
17
+ description: 'Making investing in real estate faster, simpler, and smarter. ',
18
+ discord: 'https://discord.gg/parcl',
19
+ documentation: 'https://docs.parcl.co/',
20
+ github: 'https://github.com/ParclFinance',
21
+ tokens: [exports.prclMint],
16
22
  };
17
23
  exports.programId = new web3_js_1.PublicKey('3parcLrT7WnXAcyPfkCz49oofuuf2guUKkjuFkAhZW8Y');
18
24
  exports.stakingProgramId = new web3_js_1.PublicKey('2gWf5xLAzZaKX9tQj9vuXsaxTWtzTZDFRn21J3zjNVgu');
19
25
  exports.airdropApi = 'https://gnome-api-mainnet.fly.dev/user/';
20
26
  exports.allocationPrefix = `${exports.platformId}-allocation`;
21
- exports.prclMint = '4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs';
22
27
  exports.prclDecimals = 6;
23
28
  exports.merkleApi = 'https://worker.jup.ag/jup-claim-proof';
24
29
  exports.merkleTree = '5nRBuSmpA98JgrznGYEAFTvQAA7hCdFkVKS9e41N8mBQ';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,gEAAgE;IAC7E,OAAO,EAAE,0BAA0B;IACnC,aAAa,EAAE,wBAAwB;IACvC,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
3
  import { Fetcher } from '../../Fetcher';
3
4
  import { Job } from '../../Job';
4
- export { airdropFetcher } from './helpersAirdrop';
5
5
  export declare const platforms: Platform[];
6
6
  export declare const jobs: Job[];
7
7
  export declare const fetchers: Fetcher[];
8
+ export declare const airdropFetchers: AirdropFetcher[];
@@ -3,14 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.fetchers = exports.jobs = exports.platforms = exports.airdropFetcher = void 0;
6
+ exports.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
9
9
  const marginFetcher_1 = __importDefault(require("./marginFetcher"));
10
10
  const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
11
- // import airdropFetcher from './airdropFetcher';
12
- var helpersAirdrop_1 = require("./helpersAirdrop");
13
- Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return helpersAirdrop_1.airdropFetcher; } });
11
+ const helpersAirdrop_1 = require("./helpersAirdrop");
14
12
  exports.platforms = [constants_1.platform];
15
13
  exports.jobs = [];
16
14
  exports.fetchers = [
@@ -19,4 +17,5 @@ exports.fetchers = [
19
17
  stakingFetcher_1.default,
20
18
  // airdropFetcher,
21
19
  ];
20
+ exports.airdropFetchers = [helpersAirdrop_1.airdropFetcher];
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAC9C,iDAAiD;AAEjD,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;IACd,kBAAkB;CACnB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAC9C,qDAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;IACd,kBAAkB;CACnB,CAAC;AACW,QAAA,eAAe,GAAqB,CAAC,+BAAc,CAAC,CAAC"}
@@ -9,6 +9,11 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/perena.webp',
10
10
  website: 'https://perena.org/numeraire',
11
11
  twitter: 'https://x.com/Perena__',
12
+ description: 'Perena is building the infrastructure for stablecoins on Solana, starting with a novel AMM, Numéraire.',
13
+ documentation: 'https://perena.notion.site/Product-Documentation-15fa37a29ca48060afd9cabb21b44d5c',
14
+ telegram: 'https://t.me/perena_community',
15
+ defiLlamaId: 'perena',
16
+ discord: 'https://discord.com/invite/vaNnNBqXMt',
12
17
  };
13
18
  exports.pid = new web3_js_1.PublicKey('NUMERUNsFCP3kuNmWZuXtm1AaQCPj9uw6Guv2Ekoi5P');
14
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/perena/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/perena/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,wBAAwB;IACjC,WAAW,EACT,wGAAwG;IAC1G,aAAa,EACX,mFAAmF;IACrF,QAAQ,EAAE,+BAA+B;IACzC,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,uCAAuC;CACjD,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
@@ -10,6 +10,10 @@ exports.platform = {
10
10
  website: 'https://www.phoenix.trade/',
11
11
  twitter: 'https://twitter.com/PhoenixTrade',
12
12
  defiLlamaId: 'phoenix', // from https://defillama.com/docs/api
13
+ discord: 'discord.gg/ESaTYGzqpd',
14
+ github: 'https://github.com/Ellipsis-Labs',
15
+ documentation: 'https://ellipsis-labs.gitbook.io/phoenix-dex/tRIkEFlLUzWK9uKO3W2V',
16
+ description: 'Phoenix is a decentralized limit order book on Solana, supporting markets for spot assets.',
13
17
  };
14
18
  exports.marketsCachePrefix = `${exports.platformId}-markets`;
15
19
  exports.phoenixPid = new web3_js_1.PublicKey('PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/phoenix/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,SAAS,EAAE,sCAAsC;CAC/D,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/phoenix/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,kCAAkC;IAC1C,aAAa,EACX,mEAAmE;IACrE,WAAW,EACT,4FAA4F;CAC/F,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,MAAM,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "photofinish";
3
+ export declare const crownMint = "GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG";
3
4
  export declare const platform: Platform;
4
5
  export declare const apiUrl = "https://api.photofinish.live/users/external/staked-crown/";
5
- export declare const crownMint = "GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG";
@@ -1,14 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crownMint = exports.apiUrl = exports.platform = exports.platformId = void 0;
3
+ exports.apiUrl = exports.platform = exports.crownMint = exports.platformId = void 0;
4
4
  exports.platformId = 'photofinish';
5
+ exports.crownMint = 'GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG';
5
6
  exports.platform = {
6
7
  id: exports.platformId,
7
8
  name: 'Photo Finish',
8
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/photofinish.webp',
9
10
  website: 'https://photofinish.live/',
10
11
  twitter: 'https://x.com/photofinishgame',
12
+ discord: 'https://discord.com/invite/AsEMTAnJaS',
13
+ tokens: [exports.crownMint],
14
+ description: 'Experience the thrill of owning a race horse without any of the hassle.',
11
15
  };
12
16
  exports.apiUrl = 'https://api.photofinish.live/users/external/staked-crown/';
13
- exports.crownMint = 'GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG';
14
17
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/photofinish/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,iFAAiF;IACnF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,MAAM,GACjB,2DAA2D,CAAC;AACjD,QAAA,SAAS,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/photofinish/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,iFAAiF;IACnF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,uCAAuC;IAChD,MAAM,EAAE,CAAC,iBAAS,CAAC;IACnB,WAAW,EACT,yEAAyE;CAC5E,CAAC;AAEW,QAAA,MAAM,GACjB,2DAA2D,CAAC"}
@@ -11,6 +11,13 @@ exports.platform = {
11
11
  website: 'https://app.picasso.network/solana-staking/',
12
12
  twitter: 'https://x.com/picasso_network',
13
13
  // defiLlamaId: 'composable-finance', // from https://defillama.com/docs/api
14
+ discord: 'https://discord.com/invite/composable',
15
+ telegram: 'https://t.me/composablechat',
16
+ github: 'https://github.com/ComposableFi',
17
+ documentation: 'https://docs.picasso.network/',
18
+ medium: 'https://medium.com/@Picasso_Network',
19
+ tokens: ['966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ'],
20
+ description: 'Picasso L1 Protocol enables secure bridging and multi-asset restaking through cross-chain Inter-Blockchain-Communication (IBC).',
14
21
  };
15
22
  exports.unstakingNftsCacheKey = `unstaking-nfts`;
16
23
  exports.unstakingNftsCachePrefix = `${exports.platformId}`;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAqC;AAExB,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,6CAA6C;IACtD,OAAO,EAAE,+BAA+B;IACxC,4EAA4E;CAC7E,CAAC;AAEW,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AACzC,QAAA,wBAAwB,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE3C,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,kBAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAqC;AAExB,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,6CAA6C;IACtD,OAAO,EAAE,+BAA+B;IACxC,4EAA4E;IAC5E,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,6BAA6B;IACvC,MAAM,EAAE,iCAAiC;IACzC,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,CAAC,8CAA8C,CAAC;IACxD,WAAW,EACT,iIAAiI;CACpI,CAAC;AAEW,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AACzC,QAAA,wBAAwB,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE3C,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,kBAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -25,8 +25,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
25
25
  // NFTs for active positions are in wallet
26
26
  // NFTS for unstaking positions are in 'unstakingOwner' wallet
27
27
  const allVaults = yield allVaultsMemo.getItem(cache);
28
- if (!allVaults || allVaults.length === 0)
29
- return [];
28
+ if (!allVaults)
29
+ throw new Error('Vaults not cached');
30
30
  const myVaults = allVaults.filter((v) => { var _a; return ((_a = v.withdrawalRequest) === null || _a === void 0 ? void 0 : _a.owner) === owner; });
31
31
  if (myVaults.length === 0)
32
32
  return [];
@@ -1 +1 @@
1
- {"version":3,"file":"unstakingPositionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/unstakingPositionsFetcher.ts"],"names":[],"mappings":";;;;;;;;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,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"unstakingPositionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/unstakingPositionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AAErC,2CAIqB;AAErB,qGAA6E;AAE7E,kEAA+D;AAG/D,MAAM,aAAa,GAAG,IAAI,6BAAa,CACrC,iCAAqB,EACrB;IACE,MAAM,EAAE,oCAAwB;IAChC,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,0CAA0C;IAC1C,8DAA8D;IAE9D,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAErD,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAErD,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAC/B,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,CAAC,CAAC,iBAAiB,0CAAE,KAAK,MAAK,KAAK,CAAA,EAAA,CAC5C,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,UAAU,GAAG;QACjB,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,CAAC;KAC5D,CAAC;IAEF,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACjD,UAAU,EACV,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,MAAM,GAA0B,EAAE,CAAC;IAEzC,QAAQ,CAAC,OAAO,CAAC,CAAC,KA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;gBACJ,MAAM;gBACN,IAAI,EAAE,qCAAqC;aAC5C;SACF;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,sBAAsB;IACvC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  website: 'https://pluto.so/',
11
11
  twitter: 'https://x.com/plutoleverage',
12
12
  discord: 'https://discord.com/invite/plutoleverage',
13
+ documentation: 'https://docs.pluto.so/',
14
+ telegram: 'https://t.me/PlutoLeverage',
15
+ description: 'Leveraged Yield Machine on Solana',
16
+ defiLlamaId: 'pluto',
17
+ github: 'https://github.com/plutoleverage/',
13
18
  };
14
19
  exports.plutoProgramId = new web3_js_1.PublicKey('5UFYdXHgXLMsDzHyv6pQW9zv3fNkRSNqHwhR7UPnkhzy');
15
20
  exports.earnVaultDataSize = 1128;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0CAA0C;CACpD,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACzB,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,qBAAqB,GAAG,IAAI,CAAC;AAC7B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,iBAAiB,GAAG,iBAAiB,CAAC;AACtC,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE7C,QAAA,oBAAoB,GAC/B,sDAAsD,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0CAA0C;IACnD,aAAa,EAAE,wBAAwB;IACvC,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE,OAAO;IACpB,MAAM,EAAE,mCAAmC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACzB,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,qBAAqB,GAAG,IAAI,CAAC;AAC7B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,iBAAiB,GAAG,iBAAiB,CAAC;AACtC,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE7C,QAAA,oBAAoB,GAC/B,sDAAsD,CAAC"}
@@ -10,6 +10,9 @@ exports.platform = {
10
10
  defiLlamaId: 'port-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://mainnet.port.finance/lending',
12
12
  // twitter: 'https://twitter.com/myplatform',
13
+ github: 'https://github.com/port-finance',
14
+ isDeprecated: true,
15
+ tokens: ['PoRTjZMPXb9T7dyU7tpLEZRQj7e6ssfAE62j2oQuc6y'],
13
16
  };
14
17
  exports.portApi = 'https://api-v1.port.finance';
15
18
  exports.programId = new web3_js_1.PublicKey('Port7uDYB3wk6GJAw4KT1WpTeMtSu9bTcChBHkX2LfR');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,sCAAsC;IAC/C,6CAA6C;CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,sCAAsC;IAC/C,6CAA6C;IAC7C,MAAM,EAAE,iCAAiC;IACzC,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,CAAC,6CAA6C,CAAC;CACxD,CAAC;AAEW,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC"}
@@ -32,6 +32,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
32
32
  prefix: constants_1.platformId,
33
33
  networkId: portfolio_core_1.NetworkId.solana,
34
34
  });
35
+ if (!reservesInfo)
36
+ throw new Error('Reserves not cached');
35
37
  const allReserves = reservesInfo.flat();
36
38
  const reservesByMarket = new Map();
37
39
  obligations.forEach((obli, index) => {
@@ -1 +1 @@
1
- {"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AACpC,gEAAqC;AAGrC,2CAAoD;AAEpD,+CAA8D;AAC9D,uCAA6C;AAC7C,iDAAsD;AACtD,uCAA8C;AAC9C,uCAAoD;AACpD,qGAA6E;AAC7E,6FAAoE;AACpE,iDAAgD;AAEhD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAwB,EAChD,MAAM,EACN,0BAAgB,EAChB,qBAAS,EACT,IAAA,2BAAiB,EAAC,KAAK,CAAC,CACzB,CAAC;IACF,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,QAAQ,CACvC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,EAClD;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IAEF,MAAM,WAAW,GAAG,YAAY,CAAC,IAAI,EAAE,CAAC;IACxC,MAAM,gBAAgB,GAAmC,IAAI,GAAG,EAAE,CAAC;IACnE,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAClC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;QACrC,IAAI,QAAQ;YAAE,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,C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MAAM,eAAe,GAAY;wBAC/B;4BACE,GAAG,EAAE,CAAC,IAAA,yBAAQ,EAAC,GAAG,CAAC;4BACnB,GAAG,EAAE,CAAC,GAAG;yBACV;qBACF,CAAC;oBACF,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;oBACrC,cAAc,CAAC,IAAI,CACjB,IAAA,gCAAsB,EACpB,KAAK,EACL,cAAc,EACd,0BAAS,CAAC,MAAM,EAChB,WAAW,CACZ,CACF,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QACD,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAEzE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,GACrE,IAAA,wCAAuB,EAAC,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,CAAC;QAE5E,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,UAAU;YACrC,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,KAAK,EAAE,SAAS;YAChB,KAAK;YACL,IAAI,EAAE;gBACJ,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,KAAK;aACN;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,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"}
@@ -1,7 +1,7 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { AirdropStatics } from '../../AirdropFetcher';
3
3
  export declare const platformId = "pudgy";
4
- export declare const platform: Platform;
5
4
  export declare const pudgyMint = "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv";
5
+ export declare const platform: Platform;
6
6
  export declare const airdropApi = "https://api.clusters.xyz/v0.1/airdrops/pengu/eligibility/";
7
7
  export declare const airdropStatics: AirdropStatics;
@@ -1,15 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.airdropApi = exports.pudgyMint = exports.platform = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.airdropApi = exports.platform = exports.pudgyMint = exports.platformId = void 0;
4
4
  exports.platformId = 'pudgy';
5
+ exports.pudgyMint = '2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv';
5
6
  exports.platform = {
6
7
  id: exports.platformId,
7
8
  name: 'Pudgy Penguins',
8
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/pudgypenguins.webp',
9
10
  website: 'https://pudgypenguins.com/',
10
11
  twitter: 'https://x.com/pudgypenguins',
12
+ discord: 'discord.gg/pudgypenguins',
13
+ tokens: [exports.pudgyMint],
11
14
  };
12
- exports.pudgyMint = '2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv';
13
15
  exports.airdropApi = 'https://api.clusters.xyz/v0.1/airdrops/pengu/eligibility/';
14
16
  exports.airdropStatics = {
15
17
  claimLink: 'https://claim.pudgypenguins.com/',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pudgypenguins/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EACH,mFAAmF;IACrF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,UAAU,GACrB,2DAA2D,CAAC;AAEjD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,gBAAgB;IAC7B,EAAE,EAAE,eAAe;IACnB,KAAK,EACH,mFAAmF;IACrF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pudgypenguins/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EACH,mFAAmF;IACrF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE,CAAC,iBAAS,CAAC;CACpB,CAAC;AAEW,QAAA,UAAU,GACrB,2DAA2D,CAAC;AAEjD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,gBAAgB;IAC7B,EAAE,EAAE,eAAe;IACnB,KAAK,EACH,mFAAmF;IACrF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
@@ -3,6 +3,6 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  export declare const platformId = "pyth";
6
+ export declare const pythMint = "HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3";
6
7
  export declare const platform: Platform;
7
8
  export declare const stakingProgramId: PublicKey;
8
- export declare const pythMint = "HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3";
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pythMint = exports.stakingProgramId = exports.platform = exports.platformId = void 0;
3
+ exports.stakingProgramId = exports.platform = exports.pythMint = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'pyth';
6
+ exports.pythMint = 'HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
8
9
  name: 'Pyth',
@@ -10,7 +11,11 @@ exports.platform = {
10
11
  defiLlamaId: 'pyth-network', // from https://defillama.com/docs/api
11
12
  website: 'https://staking.pyth.network/',
12
13
  twitter: 'https://twitter.com/PythNetwork',
14
+ github: 'https://github.com/pyth-network',
15
+ discord: 'https://discord.com/invite/pythnetwork',
16
+ documentation: 'https://docs.pyth.network/home',
17
+ tokens: [exports.pythMint],
18
+ description: 'Secure your smart contracts with reliable, low-latency market data from institutional sources. Build apps with high-fidelity oracle feeds designed for mission-critical systems.',
13
19
  };
14
20
  exports.stakingProgramId = new web3_js_1.PublicKey('pytS9TjG1qyAZypk7n8rw8gfW9sUaqqYyMhJQ4E7JCQ');
15
- exports.pythMint = 'HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3';
16
21
  //# sourceMappingURL=constants.js.map