@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":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AACrC,2CAMqB;AAGrB,iDAAsD;AACtD,2CAAmE;AAEnE,+CAAmE;AACnE,yCAIwB;AACxB,6CAAsE;AACtE,gFAA6E;AAC7E,kEAA+D;AAC/D,4DAAyD;AAEzD,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,WAAW,GAAG,IAAI,6BAAa,CAAW,sBAAU,EAAE;IAC1D,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,IAAI,6BAAa,CAInD,8BAAkB,EAClB;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAyB,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAC7D,CAAC;AAEF,MAAM,YAAY,GAAG,IAAI,6BAAa,CACpC,uBAAW,EACX;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,OAAO,GAAG,MAAM,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjD,IAAI,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAExB,MAAM,CAAC,WAAW,EAAE,YAAY,EAAE,YAAY,CAAC,GAAG;QAChD,IAAA,oBAAa,EAAC,KAAK,EAAE,OAAO,CAAC;QAC7B,IAAA,sBAA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AAG,CAC3D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AACrC,2CAMqB;AAGrB,iDAAsD;AACtD,2CAAmE;AAEnE,+CAAmE;AACnE,yCAIwB;AACxB,6CAAsE;AACtE,gFAA6E;AAC7E,kEAA+D;AAC/D,4DAAyD;AAEzD,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,WAAW,GAAG,IAAI,6BAAa,CAAW,sBAAU,EAAE;IAC1D,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,IAAI,6BAAa,CAInD,8BAAkB,EAClB;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAyB,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAC7D,CAAC;AAEF,MAAM,YAAY,GAAG,IAAI,6BAAa,CACpC,uBAAW,EACX;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,OAAO,G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,IAAI,CAAC,EAAE,CAAC;YAC5C,MAAM,eAAe,GAAG,gBAAgB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YAChE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;YAE7D,OAAO,CAAC,OAAO,CACb,GAAG,OAAO,CAAC,IAAI,IAAI,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,CAC3D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,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 = "layer3";
6
+ export declare const l3Mint: PublicKey;
6
7
  export declare const platform: Platform;
7
8
  export declare const programId: PublicKey;
8
- export declare const l3Mint: PublicKey;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.l3Mint = exports.programId = exports.platform = exports.platformId = void 0;
3
+ exports.programId = exports.platform = exports.l3Mint = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'layer3';
6
+ exports.l3Mint = new web3_js_1.PublicKey('5k84VjAKoGPXa7ias1BNgKUrX7e61eMPWhZDqsiD4Bpe');
6
7
  exports.platform = {
7
8
  id: exports.platformId,
8
9
  name: 'Layer3',
9
10
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/layer3.webp',
10
11
  website: 'https://solana.layer3.xyz/',
12
+ description: 'Powering the next generation of consumer attention.',
13
+ github: 'https://github.com/layer3xyz',
14
+ discord: 'https://discord.gg/layer3',
15
+ twitter: 'https://twitter.com/layer3xyz',
16
+ documentation: 'https://docs.layer3.xyz/',
17
+ tokens: [exports.l3Mint.toString()],
11
18
  };
12
19
  exports.programId = new web3_js_1.PublicKey('HE6bCtjsrra8DRbJnexKoVPSr5dYs57s3cuGHfotiQbq');
13
- exports.l3Mint = new web3_js_1.PublicKey('5k84VjAKoGPXa7ias1BNgKUrX7e61eMPWhZDqsiD4Bpe');
14
20
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/layer3/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,4BAA4B;CACtC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AACW,QAAA,MAAM,GAAG,IAAI,mBAAS,CACjC,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/layer3/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,MAAM,GAAG,IAAI,mBAAS,CACjC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,8BAA8B;IACtC,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,CAAC,cAAM,CAAC,QAAQ,EAAE,CAAC;CAC5B,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
@@ -3,10 +3,10 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  export declare const platformId = "lifinity";
6
+ export declare const xLfntyMint = "xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu";
7
+ export declare const lfntyMint = "LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp";
6
8
  export declare const platform: Platform;
7
9
  export declare const LifinityLockerProgramId: PublicKey;
8
10
  export declare const rewarder: PublicKey;
9
11
  export declare const lfntyDecimals = 6;
10
- export declare const lfntyMint = "LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp";
11
12
  export declare const xLfntyDecimals = 6;
12
- export declare const xLfntyMint = "xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu";
@@ -1,20 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.xLfntyMint = exports.xLfntyDecimals = exports.lfntyMint = exports.lfntyDecimals = exports.rewarder = exports.LifinityLockerProgramId = exports.platform = exports.platformId = void 0;
3
+ exports.xLfntyDecimals = exports.lfntyDecimals = exports.rewarder = exports.LifinityLockerProgramId = exports.platform = exports.lfntyMint = exports.xLfntyMint = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'lifinity';
6
+ exports.xLfntyMint = 'xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu';
7
+ exports.lfntyMint = 'LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp';
6
8
  exports.platform = {
7
9
  id: exports.platformId,
8
10
  name: 'Lifinity',
9
11
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/lifinity.webp',
10
12
  defiLlamaId: 'parent#lifinity', // from https://defillama.com/docs/api
11
13
  website: 'https://ido.lifinity.io/rewards',
12
- // twitter: 'https://twitter.com/myplatform',
14
+ twitter: 'https://x.com/Lifinity_io',
15
+ documentation: 'https://docs.lifinity.io/',
16
+ medium: 'https://medium.com/@lifinity.io',
17
+ discord: 'http://discord.gg/K2tvfcXwWr',
18
+ github: 'https://github.com/Lifinity-Labs',
19
+ tokens: [exports.lfntyMint, exports.xLfntyMint],
20
+ description: "Solana's oracle-based DEX, designed to improve capital efficiency and reverse impermanent loss.",
13
21
  };
14
22
  exports.LifinityLockerProgramId = new web3_js_1.PublicKey('LLoc8JX5dLAMVzbzTNKG6EFpkyJ9XCsVAGkqwQKUJoa');
15
23
  exports.rewarder = new web3_js_1.PublicKey('LRewdYDnxyP9HXCL6DQYgTaeL9FKb5Pc8Gr4UbVrtnj');
16
24
  exports.lfntyDecimals = 6;
17
- exports.lfntyMint = 'LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp';
18
25
  exports.xLfntyDecimals = 6;
19
- exports.xLfntyMint = 'xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu';
20
26
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lifinity/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,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;IACtE,OAAO,EAAE,iCAAiC;IAC1C,6CAA6C;CAC9C,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,cAAc,GAAG,CAAC,CAAC;AACnB,QAAA,UAAU,GAAG,6CAA6C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lifinity/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAC3D,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,iBAAiB,EAAE,sCAAsC;IACtE,OAAO,EAAE,iCAAiC;IAC1C,OAAO,EAAE,2BAA2B;IACpC,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,CAAC,iBAAS,EAAE,kBAAU,CAAC;IAC/B,WAAW,EACT,iGAAiG;CACpG,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,cAAc,GAAG,CAAC,CAAC"}
@@ -10,6 +10,10 @@ exports.platform = {
10
10
  website: 'https://app.loopscale.com/',
11
11
  twitter: 'https://x.com/LoopscaleLabs',
12
12
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
13
+ documentation: 'https://docs.loopscale.com/',
14
+ discord: 'https://discord.gg/loopscale',
15
+ github: 'https://github.com/bridgesplit',
16
+ description: 'Loopscale is a new way to lend and borrow onchain with the best rates, any asset, and less risk.',
13
17
  };
14
18
  exports.marketsCachePrefix = `${exports.platformId}-markets`;
15
19
  exports.creditbookProgramId = new web3_js_1.PublicKey('abfcSQac2vK2Pa6UAJb37DzarVxF15bDTdphJzAqYYp');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loopscale/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;IACtC,qEAAqE;CACtE,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAE7C,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/loopscale/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;IACtC,qEAAqE;IACrE,aAAa,EAAE,6BAA6B;IAC5C,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,gCAAgC;IACxC,WAAW,EACT,kGAAkG;CACrG,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAE7C,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  defiLlamaId: 'lulo',
11
11
  website: 'https://www.lulo.fi',
12
12
  twitter: 'https://twitter.com/uselulo',
13
+ github: 'https://github.com/lulo-labs',
14
+ documentation: 'https://docs.lulo.fi/',
15
+ discord: 'https://discord.com/invite/lulo',
16
+ telegram: 'https://t.me/uselulo',
17
+ description: 'Lulo is a decentralized lending aggregator, which automatically optimizes users deposits by migrating their deposits to the lending pool with the best yield, while allowing for personalized risk settings',
13
18
  };
14
19
  exports.luloProgramId = new web3_js_1.PublicKey('FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q');
15
20
  exports.AUTOMATION_PUBLIC_KEY = new web3_js_1.PublicKey('8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lulo/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lulo/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,8BAA8B;IACtC,aAAa,EAAE,uBAAuB;IACtC,OAAO,EAAE,iCAAiC;IAC1C,QAAQ,EAAE,sBAAsB;IAChC,WAAW,EACT,6MAA6M;CAChN,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,aAAa,CAAC"}
@@ -4,11 +4,11 @@ import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  import { AirdropStatics } from '../../AirdropFetcher';
6
6
  export declare const platformId = "magiceden";
7
+ export declare const meMint = "MEFNBXixkEbait3xn9bkm8WsJzXtVsaJEn4c8Sam21u";
7
8
  export declare const platform: Platform;
8
9
  export declare const m2Prefix = "m2";
9
10
  export declare const m2Program: PublicKey;
10
11
  export declare const m2AuctionHouse: PublicKey;
11
12
  export declare const stakingPid: PublicKey;
12
- export declare const meMint = "MEFNBXixkEbait3xn9bkm8WsJzXtVsaJEn4c8Sam21u";
13
13
  export declare const airdropApi = "https://mefoundation.com/api/trpc/allocation.queryClaimStatus?input=";
14
14
  export declare const airdropStatics: AirdropStatics;
@@ -1,20 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.airdropApi = exports.meMint = exports.stakingPid = exports.m2AuctionHouse = exports.m2Program = exports.m2Prefix = exports.platform = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.airdropApi = exports.stakingPid = exports.m2AuctionHouse = exports.m2Program = exports.m2Prefix = exports.platform = exports.meMint = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'magiceden';
6
+ exports.meMint = 'MEFNBXixkEbait3xn9bkm8WsJzXtVsaJEn4c8Sam21u';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
8
9
  name: 'MagicEden',
9
10
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/magiceden.webp',
10
- website: 'https://magiceden.io/',
11
+ website: 'https://magiceden.io/solana',
11
12
  twitter: 'https://twitter.com/MagicEden',
13
+ discord: 'https://discord.gg/magiceden',
14
+ documentation: 'https://community.magiceden.io/learn',
15
+ github: 'https://github.com/magiceden',
16
+ description: 'The NFT Marketplace.',
17
+ tokens: [exports.meMint],
12
18
  };
13
19
  exports.m2Prefix = 'm2';
14
20
  exports.m2Program = new web3_js_1.PublicKey('M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K');
15
21
  exports.m2AuctionHouse = new web3_js_1.PublicKey('E8cU1WiRWjanGxmn96ewBgk9vPTcL6AEZ1t6F6fkgUWe');
16
22
  exports.stakingPid = new web3_js_1.PublicKey('veTbq5fF2HWYpgmkwjGKTYLVpY6miWYYmakML7R7LRf');
17
- exports.meMint = 'MEFNBXixkEbait3xn9bkm8WsJzXtVsaJEn4c8Sam21u';
18
23
  exports.airdropApi = 'https://mefoundation.com/api/trpc/allocation.queryClaimStatus?input=';
19
24
  exports.airdropStatics = {
20
25
  claimLink: 'https://mefoundation.com/link',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,CAAC;AAChB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,MAAM,GAAG,6CAA6C,CAAC;AACvD,QAAA,UAAU,GACrB,sEAAsE,CAAC;AAE5D,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,WAAW;IACxB,EAAE,EAAE,mBAAmB;IACvB,KAAK,EACH,+EAA+E;IACjF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,MAAM,GAAG,6CAA6C,CAAC;AACvD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,sCAAsC;IACrD,MAAM,EAAE,8BAA8B;IACtC,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,CAAC,cAAM,CAAC;CACjB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,CAAC;AAChB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,UAAU,GACrB,sEAAsE,CAAC;AAE5D,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,WAAW;IACxB,EAAE,EAAE,mBAAmB;IACvB,KAAK,EACH,+EAA+E;IACjF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
@@ -1,8 +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
- import { airdropFetcher } from './airdropFetcher';
5
5
  export declare const platforms: Platform[];
6
6
  export declare const jobs: Job[];
7
7
  export declare const fetchers: Fetcher[];
8
- export { airdropFetcher };
8
+ export declare const airdropFetchers: AirdropFetcher[];
@@ -3,13 +3,13 @@ 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.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const escrowFetcher_1 = __importDefault(require("./escrowFetcher"));
9
9
  const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
10
10
  const airdropFetcher_1 = require("./airdropFetcher");
11
- Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return airdropFetcher_1.airdropFetcher; } });
12
11
  exports.platforms = [constants_1.platform];
13
12
  exports.jobs = [];
14
13
  exports.fetchers = [escrowFetcher_1.default, stakingFetcher_1.default];
14
+ exports.airdropFetchers = [airdropFetcher_1.airdropFetcher];
15
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,oEAA4C;AAC5C,sEAA8C;AAC9C,qDAAkD;AAKzC,+FALA,+BAAc,OAKA;AAHV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,uBAAa,EAAE,wBAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,oEAA4C;AAC5C,sEAA8C;AAC9C,qDAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,uBAAa,EAAE,wBAAc,CAAC,CAAC;AACtD,QAAA,eAAe,GAAqB,CAAC,+BAAc,CAAC,CAAC"}
@@ -31,7 +31,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
31
31
  networkId: portfolio_core_1.NetworkId.solana,
32
32
  });
33
33
  if (!banks)
34
- return [];
34
+ throw new Error('Banks not cached');
35
35
  const tokensMints = new Set();
36
36
  const bankByIndex = new Map();
37
37
  banks.forEach((bank) => {
@@ -1 +1 @@
1
- {"version":3,"file":"collateralFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/collateralFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,gEAAqC;AAGrC,2CAKqB;AACrB,iDAAsD;AACtD,qCAA8C;AAC9C,uCAA2C;AAC3C,+CAA+E;AAC/E,qGAA6E;AAC7E,6EAAqD;AAGrD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,YAAY,GA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Z,IAAI,EAAE,qCAAoB,CAAC,UAAU;YACrC,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,8BAAkB,CAAC,CAAC,CAAC,sBAAU;YACxD,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;YAC1C,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;YACD,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;SACnC,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,aAAa;IAC9B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"collateralFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/collateralFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,gEAAqC;AAGrC,2CAKqB;AACrB,iDAAsD;AACtD,qCAA8C;AAC9C,uCAA2C;AAC3C,+CAA+E;AAC/E,qGAA6E;AAC7E,6EAAqD;AAGrD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,YAAY,GAAG,MAAM,IAAA,iCAAwB,EACjD,MAAM,EACN,2BAAkB,EAClB,sBAAU,EACV,IAAA,wBAAc,EAAC,KAAK,CAAC,CACtB,CAAC;IACF,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAA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C,sBAAU;YACxD,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;YAC1C,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;YACD,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;SACnC,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,aAAa;IAC9B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -8,14 +8,21 @@ exports.platform = {
8
8
  name: 'Mango',
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/mango.webp',
10
10
  defiLlamaId: 'parent#mango-markets',
11
- website: 'https://mango.markets/',
11
+ website: 'mango-v4-ui.vercel.app ',
12
+ isDeprecated: true,
13
+ github: 'https://discord.gg/pcSkP3yJMUs',
14
+ discord: 'https://discord.com/invite/pcSkP3yJMU',
15
+ twitter: 'https://twitter.com/mangomarkets',
16
+ description: 'Perps and spot trading on Solana',
17
+ tokens: ['MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac'],
12
18
  };
13
19
  exports.yieldFanPlatformId = 'yieldfan';
14
20
  exports.yieldFanPlatform = {
15
21
  id: exports.yieldFanPlatformId,
16
22
  name: 'Yieldfan',
17
23
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/yieldfan.webp',
18
- website: 'https://yield.fan/',
24
+ website: 'https://yield.fan/dashboard',
25
+ isDeprecated: true,
19
26
  };
20
27
  exports.banksKey = `banks`;
21
28
  exports.rootBankPrefix = `${exports.platformId}-rootBank`;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAChC,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,0BAAkB;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,oBAAoB;CAC9B,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,cAAc,GAAG,GAAG,kBAAU,WAAW,CAAC;AAC1C,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,yBAAyB;IAClC,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,gCAAgC;IACxC,OAAO,EAAE,uCAAuC;IAChD,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,kCAAkC;IAC/C,MAAM,EAAE,CAAC,6CAA6C,CAAC;CACxD,CAAC;AAEW,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAChC,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,0BAAkB;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,IAAI;CACnB,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,cAAc,GAAG,GAAG,kBAAU,WAAW,CAAC;AAC1C,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
@@ -20,6 +20,7 @@ const filters_1 = require("./filters");
20
20
  const struct_1 = require("./struct");
21
21
  const runInBatch_1 = __importDefault(require("../../utils/misc/runInBatch"));
22
22
  const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
23
+ const constants_2 = require("../marinade/constants");
23
24
  const mints = [
24
25
  'MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac',
25
26
  '9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E',
@@ -31,7 +32,7 @@ const mints = [
31
32
  '11111111111111111111111111111111',
32
33
  'AGFEad2et2ZJif9jaGpdMixQqvW5i81aBdvKe7PHNfz3',
33
34
  '11111111111111111111111111111111',
34
- 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So',
35
+ constants_2.mSOLMint,
35
36
  '9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa',
36
37
  'KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE',
37
38
  '11111111111111111111111111111111',
@@ -1 +1 @@
1
- {"version":3,"file":"redeemFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/redeemFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AAGpC,2CAKqB;AACrB,iDAAsD;AACtD,+CAA8E;AAC9E,uCAAyC;AACzC,qCAAqE;AACrE,6EAAqD;AACrD,qGAA6E;AAE7E,MAAM,KAAK,GAAG;IACZ,6CAA6C;IAC7C,8CAA8C;IAC9C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,kCAAkC;IAClC,8CAA8C;IAC9C,kCAAkC;IAClC,6CAA6C;IAC7C,8CAA8C;IAC9C,6CAA6C;IAC7C,kCAAkC;IAClC,8CAA8C;IAC9C,uBAAc;CACf,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,cAAc,GAAG,MAAM,IAAA,iCAAwB,EACnD,MAAM,EACN,6BAAoB,EACpB,2BAAe,EACf,IAAA,sBAAY,EAAC,KAAK,CAAC,CACpB,CAAC;IAEF,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE3C,MAAM,iBAAiB,GAAG,MAAM,IAAA,oBAAU,EACxC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC,CACvE,CAAC;IACF,MAAM,WAAW,GAA4B,IAAI,GAAG,EAAE,CAAC;IACvD,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,WAAW;YACX,KAAK;SACN;QACD,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"redeemFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/redeemFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AAGpC,2CAKqB;AACrB,iDAAsD;AACtD,+CAA8E;AAC9E,uCAAyC;AACzC,qCAAqE;AACrE,6EAAqD;AACrD,qGAA6E;AAC7E,qDAAiD;AAEjD,MAAM,KAAK,GAAG;IACZ,6CAA6C;IAC7C,8CAA8C;IAC9C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,kCAAkC;IAClC,8CAA8C;IAC9C,kCAAkC;IAClC,oBAAQ;IACR,8CAA8C;IAC9C,6CAA6C;IAC7C,kCAAkC;IAClC,8CAA8C;IAC9C,uBAAc;CACf,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,cAAc,GAAG,MAAM,IAAA,iCAAwB,EACnD,MAAM,EACN,6BAAoB,EACpB,2BAAe,EACf,IAAA,sBAAY,EAAC,KAAK,CAAC,CACpB,CAAC;IAEF,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE3C,MAAM,iBAAiB,GAAG,MAAM,IAAA,oBAAU,EACxC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,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SAAS;QAChB,KAAK;QACL,IAAI,EAAE;YACJ,cAAc;YACd,aAAa;YACb,cAAc;YACd,cAAc;YACd,aAAa;YACb,cAAc;YACd,WAAW;YACX,YAAY;YACZ,WAAW;YACX,KAAK;SACN;QACD,IAAI,EAAE,WAAW;KAClB,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -14,6 +14,12 @@ exports.platform = {
14
14
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/marginfi.webp',
15
15
  defiLlamaId: 'parent#marginfi',
16
16
  website: 'https://www.marginfi.com/',
17
+ github: 'https://github.com/mrgnlabs/',
18
+ documentation: 'https://docs.marginfi.com/',
19
+ twitter: 'https://twitter.com/marginfi',
20
+ telegram: 'https://t.me/mrgnteam',
21
+ tokens: ['LSTxxxnJzKDFSLr4dUkPcmCf5VyryEqzPLz5j4bpxFp'],
22
+ description: 'A liquidity layer built for finance. Access native yield, embedded risk systems, and off-chain data plug-ins.',
17
23
  };
18
24
  exports.MarginfiProgram = new web3_js_1.PublicKey('MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA');
19
25
  exports.MarginfiAccountAddress = '4qp6Fx6tnZkY5Wropq9wUYgtFxXKwE6viZxFHg3rdAG8';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,sBAAsB,GACjC,8CAA8C,CAAC;AAEpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,8BAA8B;IACtC,aAAa,EAAE,4BAA4B;IAC3C,OAAO,EAAE,8BAA8B;IACvC,QAAQ,EAAE,uBAAuB;IACjC,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EACT,+GAA+G;CAClH,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,sBAAsB,GACjC,8CAA8C,CAAC;AAEpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC"}
@@ -25,8 +25,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
25
25
  prefix: constants_1.platformId,
26
26
  networkId: portfolio_core_1.NetworkId.solana,
27
27
  });
28
- if (!banksInfo || banksInfo.length === 0)
29
- return [];
28
+ if (!banksInfo)
29
+ throw new Error('Banks not cached');
30
30
  const banksInfoByAddress = new Map();
31
31
  const tokensAddresses = new Set();
32
32
  banksInfo.forEach((bankInfo) => {
@@ -1 +1 @@
1
- {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAyE;AACzE,2CAAoE;AACpE,+DAAkE;AAClE,uCAAkD;AAClD,uCAA2C;AAE3C,+CAA6E;AAC7E,iDAAsD;AAItD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,uCAAqB,EACrB,2BAAe,EACf,IAAA,wBAAc,EAAC,KAAK,CAAC,CACtB,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAA4B,oBAAQ,EAAE;QACzE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEpD,MAAM,kBAAkB,GAA0B,IAAI,GAAG,EAAE,CAAC;IAC5D,MAAM,eAAe,GAAgB,IAAI,GAAG,EAAE,CAAC;IAC/C,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC7B,IAAI,CAAC,QAAQ;YAAE,OAAO;QACtB,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,QAAoB,CAAC,CAAC;QACzE,eAAe,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACpD,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,EAC3B,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,QAAQ,GAAuB,EAAE,CAAC;IACxC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,MAAM,OAAO,GAAG,IAAA,+BAAqB,EACnC,OAAO,EACP,kBAAkB,EAClB,cAAc,CACf,CAAC;QACF,IAAI,OAAO;YAAE,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAyE;AACzE,2CAAoE;AACpE,+DAAkE;AAClE,uCAAkD;AAClD,uCAA2C;AAE3C,+CAA6E;AAC7E,iDAAsD;AAItD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,uCAAqB,EACrB,2BAAe,EACf,IAAA,wBAAc,EAAC,KAAK,CAAC,CACtB,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,SAAS,GAAG,MAAM,KA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form } from '@sonarwatch/portfolio-core';
5
5
  import BigNumber from 'bignumber.js';
6
6
  export declare const platformId = "marinade";
7
+ export declare const mndeMint = "MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey";
8
+ export declare const mSOLMint = "mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So";
7
9
  export declare const platform: Platform;
8
10
  export declare const cachePrefix = "marinade";
9
11
  export declare const season2RewardsPrefix = "marinade-s2Rewards";
10
12
  export declare const marinadeTicketProgramId: PublicKey;
11
13
  export declare const claimProgram: PublicKey;
12
- export declare const mndeMint = "MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey";
13
14
  export declare const mndeDecimals = 9;
14
15
  export declare const solFactor: BigNumber;
15
16
  export declare const baseRewardsUrl = "https://native-staking-referral.marinade.finance/v1/rewards/";
@@ -3,23 +3,30 @@ 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.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.mndeMint = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.platform = exports.platformId = void 0;
6
+ exports.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.platform = exports.mSOLMint = exports.mndeMint = exports.platformId = void 0;
7
7
  const web3_js_1 = require("@solana/web3.js");
8
8
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
9
9
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
10
10
  exports.platformId = 'marinade';
11
+ exports.mndeMint = 'MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey';
12
+ exports.mSOLMint = 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So';
11
13
  exports.platform = {
12
14
  id: exports.platformId,
13
15
  name: 'Marinade',
14
16
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/marinade.webp',
15
17
  defiLlamaId: 'parent#marinade-finance',
16
18
  website: 'https://marinade.finance/',
19
+ description: 'Marinade connects SOL holders with the best staking rates on Solana.',
20
+ discord: 'https://discord.gg/yTdH8YkYKg',
21
+ twitter: 'https://twitter.com/MarinadeFinance',
22
+ documentation: 'https://docs.marinade.finance/',
23
+ github: 'https://github.com/marinade-finance',
24
+ tokens: [exports.mndeMint, exports.mSOLMint],
17
25
  };
18
26
  exports.cachePrefix = 'marinade';
19
27
  exports.season2RewardsPrefix = `${exports.platformId}-s2Rewards`;
20
28
  exports.marinadeTicketProgramId = new web3_js_1.PublicKey('MarBmsSgKXdrN1egZf5sqe1TMai9K1rChYNDJgjq7aD');
21
29
  exports.claimProgram = new web3_js_1.PublicKey('indiXdKbsC4QSLQQnn6ngZvkqfywn6KgEeQbkGSpk1V');
22
- exports.mndeMint = 'MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey';
23
30
  exports.mndeDecimals = 9;
24
31
  exports.solFactor = new bignumber_js_1.default(Math.pow(10, portfolio_core_1.solanaNetwork.native.decimals));
25
32
  exports.baseRewardsUrl = 'https://native-staking-referral.marinade.finance/v1/rewards/';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,YAAY,CAAC;AACjD,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC;AAC/D,QAAA,cAAc,GACzB,8DAA8D,CAAC;AACpD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB;AAC1D,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EACT,sEAAsE;IACxE,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,qCAAqC;IAC9C,aAAa,EAAE,gCAAgC;IAC/C,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,CAAC,gBAAQ,EAAE,gBAAQ,CAAC;CAC7B,CAAC;AAEW,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,YAAY,CAAC;AACjD,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC;AAC/D,QAAA,cAAc,GACzB,8DAA8D,CAAC;AACpD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB;AAC1D,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB"}
@@ -1,4 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ export declare const jobs: Job[];
3
5
  export declare const platforms: Platform[];
4
6
  export declare const fetchers: Fetcher[];
@@ -3,10 +3,11 @@ 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.platforms = void 0;
6
+ exports.fetchers = exports.platforms = exports.jobs = void 0;
7
7
  const ticketsFetcher_1 = __importDefault(require("./ticketsFetcher"));
8
8
  const rewardsS1Fetcher_1 = __importDefault(require("./rewardsS1Fetcher"));
9
9
  const constants_1 = require("./constants");
10
+ exports.jobs = [];
10
11
  exports.platforms = [constants_1.platform];
11
12
  exports.fetchers = [
12
13
  ticketsFetcher_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,0EAAkD;AAClD,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,wBAAc;IACd,0BAAgB;IAChB,oBAAoB;CACrB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAGA,sEAA8C;AAC9C,0EAAkD;AAClD,2CAAuC;AAE1B,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AAEnC,QAAA,QAAQ,GAAc;IACjC,wBAAc;IACd,0BAAgB;IAChB,oBAAoB;CACrB,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  website: 'https://resize.metaplex.com',
11
11
  twitter: 'https://x.com/metaplex',
12
12
  // defiLlamaId: 'metaplex', // from https://defillama.com/docs/api
13
+ discord: 'discord.gg/metaplex',
14
+ github: 'https://github.com/metaplex-foundation',
15
+ documentation: 'https://www.metaplex.com/guides',
16
+ tokens: ['METAewgxyPbgwsseH8T16a39CQ5VyVxZi9zXiDPY18m'],
17
+ description: 'Build decentralizedapplications on Solana and the SVM',
13
18
  };
14
19
  exports.amountPerMasterEdition = 0.00232464;
15
20
  exports.amountPerBasicEdition = 0.00188616;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/metaplex/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,6BAA6B;IACtC,OAAO,EAAE,wBAAwB;IACjC,kEAAkE;CACnE,CAAC;AAEW,QAAA,sBAAsB,GAAG,UAAU,CAAC;AACpC,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/metaplex/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,6BAA6B;IACtC,OAAO,EAAE,wBAAwB;IACjC,kEAAkE;IAClE,OAAO,EAAE,qBAAqB;IAC9B,MAAM,EAAE,wCAAwC;IAChD,aAAa,EAAE,iCAAiC;IAChD,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EAAE,uDAAuD;CACrE,CAAC;AAEW,QAAA,sBAAsB,GAAG,UAAU,CAAC;AACpC,QAAA,qBAAqB,GAAG,UAAU,CAAC;AACnC,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
@@ -9,6 +9,11 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/meteora.webp',
10
10
  defiLlamaId: 'parent#meteora',
11
11
  website: 'https://meteora.ag/',
12
+ github: 'https://github.com/MeteoraAg',
13
+ documentation: 'https://docs.meteora.ag/',
14
+ discord: 'https://discord.gg/WwFwsVtvpH',
15
+ description: 'Building the most dynamic liquidity protocols in DeFi.',
16
+ twitter: 'https://x.com/MeteoraAG',
12
17
  };
13
18
  exports.prefixVaults = `${exports.platformId}-vaults`;
14
19
  exports.farmsKey = 'farms';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,kBAAU,SAAS,CAAC;AACtC,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,qBAAqB;IAC9B,MAAM,EAAE,8BAA8B;IACtC,aAAa,EAAE,0BAA0B;IACzC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,wDAAwD;IACrE,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,kBAAU,SAAS,CAAC;AACtC,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC"}
@@ -43,7 +43,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
43
43
  networkId: portfolio_core_1.NetworkId.solana,
44
44
  });
45
45
  if (!vaults)
46
- return [];
46
+ throw new Error('Vaults not cached');
47
47
  const time = Date.now();
48
48
  // Looks like Meteora is using timesteamp instead of slot now inside their accounts
49
49
  // if (!slot || Date.now() - slotTtl > slotUpdate) {
@@ -1 +1 @@
1
- {"version":3,"file":"dlmmVaultsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/dlmmVaultsFetcher.ts"],"names":[],"mappings":";AAAA,2BAA2B;AAC3B,mBAAmB;;;;;;;;;;;;;;AAEnB,+DAAuD;AACvD,gEAAqC;AAGrC,iDAAsD;A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WAAW,EAAE,IAAI;qBAClB;iBACF,CAAC,CAAC;YACL,CAAC;YAED,MAAM,aAAa,GAAG,eAAe,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YAC7D,IAAI,aAAa,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC5C,OAAO,CAAC,QAAQ,CAAC;oBACf,OAAO,EAAE,KAAK,CAAC,QAAQ;oBACvB,MAAM,EAAE,aAAa;iBACtB,CAAC,CAAC;YACL,CAAC;QACH,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"}
1
+ {"version":3,"file":"dlmmVaultsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/dlmmVaultsFetcher.ts"],"names":[],"mappings":";AAAA,2BAA2B;AAC3B,mBAAmB;;;;;;;;;;;;;;AAEnB,+DAAuD;AACvD,gEAAqC;AAGrC,iDAAsD;AACtD,2CAA4E;AAE5E,+CAA8D;AAC9D,qCAAwC;AACxC,gFAA6E;AAE7E,yBAAyB;AACzB,oCAAoC;AACpC,wBAAwB;AAExB,MAAM,UAAU,GAAG,OAAO,CAAC;AAE3B,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,qBAAY,EACZ,8BAAkB,EAClB;QACE,EAAE,QAAQ,EAAE,qBAAY,CAAC,QAAQ,EAAE;QACnC;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,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M,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -23,7 +23,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
23
23
  networkId: portfolio_core_1.NetworkId.solana,
24
24
  });
25
25
  if (!farms)
26
- return [];
26
+ throw new Error('Farms not cached.');
27
27
  const farmsById = new Map();
28
28
  const farmsMint = [];
29
29
  farms.forEach((farm) => {