@sonarwatch/portfolio-plugins 0.14.139 → 0.14.141

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 (350) hide show
  1. package/CHANGELOG.md +2177 -2169
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/Fetcher.d.ts +1 -0
  5. package/src/Fetcher.js +35 -1
  6. package/src/Fetcher.js.map +1 -1
  7. package/src/index.js +2 -0
  8. package/src/index.js.map +1 -1
  9. package/src/orphanPlatforms.js +10 -0
  10. package/src/orphanPlatforms.js.map +1 -1
  11. package/src/plugins/01/constants.js +8 -3
  12. package/src/plugins/01/constants.js.map +1 -1
  13. package/src/plugins/01/depostisFetcher.js +2 -1
  14. package/src/plugins/01/depostisFetcher.js.map +1 -1
  15. package/src/plugins/accessprotocol/constants.d.ts +1 -1
  16. package/src/plugins/accessprotocol/constants.js +8 -3
  17. package/src/plugins/accessprotocol/constants.js.map +1 -1
  18. package/src/plugins/adrastea/constants.js +4 -0
  19. package/src/plugins/adrastea/constants.js.map +1 -1
  20. package/src/plugins/adrena/constants.d.ts +2 -2
  21. package/src/plugins/adrena/constants.js +8 -3
  22. package/src/plugins/adrena/constants.js.map +1 -1
  23. package/src/plugins/allbridge/constants.js +6 -0
  24. package/src/plugins/allbridge/constants.js.map +1 -1
  25. package/src/plugins/armada-staking/constants.js +7 -0
  26. package/src/plugins/armada-staking/constants.js.map +1 -1
  27. package/src/plugins/atrix/constants.js +4 -1
  28. package/src/plugins/atrix/constants.js.map +1 -1
  29. package/src/plugins/aurory/constants.d.ts +1 -1
  30. package/src/plugins/aurory/constants.js +7 -2
  31. package/src/plugins/aurory/constants.js.map +1 -1
  32. package/src/plugins/balancer/helpers/pools.js +21 -21
  33. package/src/plugins/banx/constants.d.ts +1 -1
  34. package/src/plugins/banx/constants.js +7 -2
  35. package/src/plugins/banx/constants.js.map +1 -1
  36. package/src/plugins/baskt/constants.js +3 -0
  37. package/src/plugins/baskt/constants.js.map +1 -1
  38. package/src/plugins/bonfida/constants.d.ts +1 -1
  39. package/src/plugins/bonfida/constants.js +8 -2
  40. package/src/plugins/bonfida/constants.js.map +1 -1
  41. package/src/plugins/bonkrewards/constants.d.ts +1 -1
  42. package/src/plugins/bonkrewards/constants.js +7 -2
  43. package/src/plugins/bonkrewards/constants.js.map +1 -1
  44. package/src/plugins/bskt/constants.d.ts +1 -1
  45. package/src/plugins/bskt/constants.js +7 -2
  46. package/src/plugins/bskt/constants.js.map +1 -1
  47. package/src/plugins/citrus/constants.js +3 -0
  48. package/src/plugins/citrus/constants.js.map +1 -1
  49. package/src/plugins/clone/constants.js +2 -0
  50. package/src/plugins/clone/constants.js.map +1 -1
  51. package/src/plugins/clone/depositsFetcher.js +1 -1
  52. package/src/plugins/clone/depositsFetcher.js.map +1 -1
  53. package/src/plugins/cropper/constants.d.ts +1 -0
  54. package/src/plugins/cropper/constants.js +9 -1
  55. package/src/plugins/cropper/constants.js.map +1 -1
  56. package/src/plugins/cyberfrogs/constants.js +2 -0
  57. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  58. package/src/plugins/daos/constants.js +4 -0
  59. package/src/plugins/daos/constants.js.map +1 -1
  60. package/src/plugins/debridge/constants.d.ts +1 -1
  61. package/src/plugins/debridge/constants.js +8 -2
  62. package/src/plugins/debridge/constants.js.map +1 -1
  63. package/src/plugins/defiland/constants.d.ts +1 -1
  64. package/src/plugins/defiland/constants.js +7 -2
  65. package/src/plugins/defiland/constants.js.map +1 -1
  66. package/src/plugins/defituna/constants.js +3 -0
  67. package/src/plugins/defituna/constants.js.map +1 -1
  68. package/src/plugins/defituna/lendingFetcher.js +2 -0
  69. package/src/plugins/defituna/lendingFetcher.js.map +1 -1
  70. package/src/plugins/defituna/positionsFetcher.js +2 -0
  71. package/src/plugins/defituna/positionsFetcher.js.map +1 -1
  72. package/src/plugins/divvy/constants.d.ts +1 -1
  73. package/src/plugins/divvy/constants.js +7 -2
  74. package/src/plugins/divvy/constants.js.map +1 -1
  75. package/src/plugins/divvy/housePoolFetcher.js +2 -0
  76. package/src/plugins/divvy/housePoolFetcher.js.map +1 -1
  77. package/src/plugins/drift/constants.d.ts +1 -1
  78. package/src/plugins/drift/constants.js +8 -2
  79. package/src/plugins/drift/constants.js.map +1 -1
  80. package/src/plugins/drift/depositsFetcher.js +2 -0
  81. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  82. package/src/plugins/drift-market-maker-vault/constants.js +24 -1
  83. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  84. package/src/plugins/drift-market-maker-vault/depositsFetcher.js +2 -0
  85. package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
  86. package/src/plugins/elemental/constants.js +4 -0
  87. package/src/plugins/elemental/constants.js.map +1 -1
  88. package/src/plugins/elemental/depositFetcher.js +1 -1
  89. package/src/plugins/elemental/depositFetcher.js.map +1 -1
  90. package/src/plugins/ensofi/constants.js +5 -0
  91. package/src/plugins/ensofi/constants.js.map +1 -1
  92. package/src/plugins/exponent/constants.js +5 -0
  93. package/src/plugins/exponent/constants.js.map +1 -1
  94. package/src/plugins/exponent/liquidityFetcher.js +1 -1
  95. package/src/plugins/exponent/liquidityFetcher.js.map +1 -1
  96. package/src/plugins/famousfoxfederation/constants.d.ts +1 -1
  97. package/src/plugins/famousfoxfederation/constants.js +4 -2
  98. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  99. package/src/plugins/famousfoxfederation/stakingFetcher.js +4 -2
  100. package/src/plugins/famousfoxfederation/stakingFetcher.js.map +1 -1
  101. package/src/plugins/flash/constants.js +4 -0
  102. package/src/plugins/flash/constants.js.map +1 -1
  103. package/src/plugins/flash/perpetualFetcher.js +1 -1
  104. package/src/plugins/flash/perpetualFetcher.js.map +1 -1
  105. package/src/plugins/flash/stakeFetcher.js +12 -10
  106. package/src/plugins/flash/stakeFetcher.js.map +1 -1
  107. package/src/plugins/fluxbeam/constants.js +6 -0
  108. package/src/plugins/fluxbeam/constants.js.map +1 -1
  109. package/src/plugins/fragmetric/constants.js +10 -0
  110. package/src/plugins/fragmetric/constants.js.map +1 -1
  111. package/src/plugins/francium/constants.js +8 -1
  112. package/src/plugins/francium/constants.js.map +1 -1
  113. package/src/plugins/francium/lendingFetcher.js +1 -1
  114. package/src/plugins/francium/lendingFetcher.js.map +1 -1
  115. package/src/plugins/francium/tokens.js +2 -1
  116. package/src/plugins/francium/tokens.js.map +1 -1
  117. package/src/plugins/futarchy/constants.d.ts +1 -0
  118. package/src/plugins/futarchy/constants.js +7 -1
  119. package/src/plugins/futarchy/constants.js.map +1 -1
  120. package/src/plugins/genesysgo/constants.d.ts +1 -1
  121. package/src/plugins/genesysgo/constants.js +7 -2
  122. package/src/plugins/genesysgo/constants.js.map +1 -1
  123. package/src/plugins/goosefx/constants.d.ts +1 -1
  124. package/src/plugins/goosefx/constants.js +8 -4
  125. package/src/plugins/goosefx/constants.js.map +1 -1
  126. package/src/plugins/grass/constants.d.ts +1 -1
  127. package/src/plugins/grass/constants.js +6 -2
  128. package/src/plugins/grass/constants.js.map +1 -1
  129. package/src/plugins/hawksight/constants.js +4 -0
  130. package/src/plugins/hawksight/constants.js.map +1 -1
  131. package/src/plugins/hawksight/positionsFetcher.js +2 -2
  132. package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
  133. package/src/plugins/hedgehog/constants.js +4 -0
  134. package/src/plugins/hedgehog/constants.js.map +1 -1
  135. package/src/plugins/holdium/constants.js +2 -0
  136. package/src/plugins/holdium/constants.js.map +1 -1
  137. package/src/plugins/hxro/constants.d.ts +1 -1
  138. package/src/plugins/hxro/constants.js +7 -2
  139. package/src/plugins/hxro/constants.js.map +1 -1
  140. package/src/plugins/iloop/constants.js +4 -0
  141. package/src/plugins/iloop/constants.js.map +1 -1
  142. package/src/plugins/jito/constants.d.ts +2 -1
  143. package/src/plugins/jito/constants.js +16 -2
  144. package/src/plugins/jito/constants.js.map +1 -1
  145. package/src/plugins/jito/ticketFetcher.js +3 -1
  146. package/src/plugins/jito/ticketFetcher.js.map +1 -1
  147. package/src/plugins/jupiter/exchange/constants.d.ts +2 -1
  148. package/src/plugins/jupiter/exchange/constants.js +8 -2
  149. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  150. package/src/plugins/jupiter/exchange/perpetualFetcher.js +4 -2
  151. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  152. package/src/plugins/jupiter/governance/constants.js +7 -5
  153. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  154. package/src/plugins/jupiter/launchpad/constants.js +7 -6
  155. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  156. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js +2 -1
  157. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js.map +1 -1
  158. package/src/plugins/kamino/constants.d.ts +1 -1
  159. package/src/plugins/kamino/constants.js +20 -38
  160. package/src/plugins/kamino/constants.js.map +1 -1
  161. package/src/plugins/kamino/farmsFetcher.js +1 -1
  162. package/src/plugins/kamino/farmsFetcher.js.map +1 -1
  163. package/src/plugins/kamino/lendsFetcher.js +2 -2
  164. package/src/plugins/kamino/lendsFetcher.js.map +1 -1
  165. package/src/plugins/layer3/constants.d.ts +1 -1
  166. package/src/plugins/layer3/constants.js +8 -2
  167. package/src/plugins/layer3/constants.js.map +1 -1
  168. package/src/plugins/lifinity/constants.d.ts +2 -2
  169. package/src/plugins/lifinity/constants.js +10 -4
  170. package/src/plugins/lifinity/constants.js.map +1 -1
  171. package/src/plugins/loopscale/constants.js +4 -0
  172. package/src/plugins/loopscale/constants.js.map +1 -1
  173. package/src/plugins/lulo/constants.js +5 -0
  174. package/src/plugins/lulo/constants.js.map +1 -1
  175. package/src/plugins/magiceden/constants.d.ts +1 -1
  176. package/src/plugins/magiceden/constants.js +8 -3
  177. package/src/plugins/magiceden/constants.js.map +1 -1
  178. package/src/plugins/mango/collateralFetcher.js +1 -1
  179. package/src/plugins/mango/collateralFetcher.js.map +1 -1
  180. package/src/plugins/mango/constants.js +9 -2
  181. package/src/plugins/mango/constants.js.map +1 -1
  182. package/src/plugins/mango/redeemFetcher.js +2 -1
  183. package/src/plugins/mango/redeemFetcher.js.map +1 -1
  184. package/src/plugins/marginfi/constants.js +6 -0
  185. package/src/plugins/marginfi/constants.js.map +1 -1
  186. package/src/plugins/marginfi/depositsFetcher.js +2 -2
  187. package/src/plugins/marginfi/depositsFetcher.js.map +1 -1
  188. package/src/plugins/marinade/constants.d.ts +2 -1
  189. package/src/plugins/marinade/constants.js +9 -2
  190. package/src/plugins/marinade/constants.js.map +1 -1
  191. package/src/plugins/metaplex/constants.js +5 -0
  192. package/src/plugins/metaplex/constants.js.map +1 -1
  193. package/src/plugins/meteora/constants.js +5 -0
  194. package/src/plugins/meteora/constants.js.map +1 -1
  195. package/src/plugins/meteora/dlmmVaultsFetcher.js +1 -1
  196. package/src/plugins/meteora/dlmmVaultsFetcher.js.map +1 -1
  197. package/src/plugins/meteora/farmsFetcher.js +1 -1
  198. package/src/plugins/meteora/farmsFetcher.js.map +1 -1
  199. package/src/plugins/meteora/stakeForFeeFetcher.js +2 -0
  200. package/src/plugins/meteora/stakeForFeeFetcher.js.map +1 -1
  201. package/src/plugins/moonwalk/constants.js +4 -1
  202. package/src/plugins/moonwalk/constants.js.map +1 -1
  203. package/src/plugins/nosana/constants.js +6 -1
  204. package/src/plugins/nosana/constants.js.map +1 -1
  205. package/src/plugins/nxfinance/constants.js +1 -0
  206. package/src/plugins/nxfinance/constants.js.map +1 -1
  207. package/src/plugins/nxfinance/positionsFetcher.js +2 -0
  208. package/src/plugins/nxfinance/positionsFetcher.js.map +1 -1
  209. package/src/plugins/nxfinance/stakingFetcher.js.map +1 -1
  210. package/src/plugins/orca/constants.js +7 -0
  211. package/src/plugins/orca/constants.js.map +1 -1
  212. package/src/plugins/orca/getWhirlpoolPositions.js +2 -0
  213. package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
  214. package/src/plugins/parcl/constants.d.ts +1 -1
  215. package/src/plugins/parcl/constants.js +7 -2
  216. package/src/plugins/parcl/constants.js.map +1 -1
  217. package/src/plugins/perena/constants.js +5 -0
  218. package/src/plugins/perena/constants.js.map +1 -1
  219. package/src/plugins/phoenix/constants.js +4 -0
  220. package/src/plugins/phoenix/constants.js.map +1 -1
  221. package/src/plugins/photofinish/constants.d.ts +1 -1
  222. package/src/plugins/photofinish/constants.js +5 -2
  223. package/src/plugins/photofinish/constants.js.map +1 -1
  224. package/src/plugins/picasso/constants.js +7 -0
  225. package/src/plugins/picasso/constants.js.map +1 -1
  226. package/src/plugins/picasso/unstakingPositionsFetcher.js +2 -2
  227. package/src/plugins/picasso/unstakingPositionsFetcher.js.map +1 -1
  228. package/src/plugins/pluto/constants.js +5 -0
  229. package/src/plugins/pluto/constants.js.map +1 -1
  230. package/src/plugins/port/constants.js +3 -0
  231. package/src/plugins/port/constants.js.map +1 -1
  232. package/src/plugins/port/obligationsFetcher.js +2 -0
  233. package/src/plugins/port/obligationsFetcher.js.map +1 -1
  234. package/src/plugins/pudgypenguins/constants.d.ts +1 -1
  235. package/src/plugins/pudgypenguins/constants.js +4 -2
  236. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  237. package/src/plugins/pyth/constants.d.ts +1 -1
  238. package/src/plugins/pyth/constants.js +7 -2
  239. package/src/plugins/pyth/constants.js.map +1 -1
  240. package/src/plugins/pyth/pricingJob.js +2 -1
  241. package/src/plugins/pyth/pricingJob.js.map +1 -1
  242. package/src/plugins/quarry/constants.js +2 -0
  243. package/src/plugins/quarry/constants.js.map +1 -1
  244. package/src/plugins/quarry/positionsFetcher.js +1 -1
  245. package/src/plugins/quarry/positionsFetcher.js.map +1 -1
  246. package/src/plugins/rain/constants.js +5 -0
  247. package/src/plugins/rain/constants.js.map +1 -1
  248. package/src/plugins/ratex/constants.js +5 -0
  249. package/src/plugins/ratex/constants.js.map +1 -1
  250. package/src/plugins/ratex/positionsFetcher.js +1 -1
  251. package/src/plugins/ratex/positionsFetcher.js.map +1 -1
  252. package/src/plugins/raydium/constants.d.ts +1 -1
  253. package/src/plugins/raydium/constants.js +8 -2
  254. package/src/plugins/raydium/constants.js.map +1 -1
  255. package/src/plugins/raydium/farmsFetcher.js +2 -0
  256. package/src/plugins/raydium/farmsFetcher.js.map +1 -1
  257. package/src/plugins/saber/constants.js +1 -0
  258. package/src/plugins/saber/constants.js.map +1 -1
  259. package/src/plugins/sanctum/constants.d.ts +1 -1
  260. package/src/plugins/sanctum/constants.js +7 -2
  261. package/src/plugins/sanctum/constants.js.map +1 -1
  262. package/src/plugins/sandglass/constants.js +2 -0
  263. package/src/plugins/sandglass/constants.js.map +1 -1
  264. package/src/plugins/sandglass/depositFetcher.js +1 -1
  265. package/src/plugins/sandglass/depositFetcher.js.map +1 -1
  266. package/src/plugins/save/constants.d.ts +1 -1
  267. package/src/plugins/save/constants.js +8 -2
  268. package/src/plugins/save/constants.js.map +1 -1
  269. package/src/plugins/save/obligationsFetcher.js +2 -2
  270. package/src/plugins/save/obligationsFetcher.js.map +1 -1
  271. package/src/plugins/sharky/constants.js +4 -0
  272. package/src/plugins/sharky/constants.js.map +1 -1
  273. package/src/plugins/solayer/constants.d.ts +4 -4
  274. package/src/plugins/solayer/constants.js +11 -5
  275. package/src/plugins/solayer/constants.js.map +1 -1
  276. package/src/plugins/sonic/constants.d.ts +1 -1
  277. package/src/plugins/sonic/constants.js +7 -2
  278. package/src/plugins/sonic/constants.js.map +1 -1
  279. package/src/plugins/spdr/constants.d.ts +1 -1
  280. package/src/plugins/spdr/constants.js +8 -2
  281. package/src/plugins/spdr/constants.js.map +1 -1
  282. package/src/plugins/stabble/constants.js +6 -0
  283. package/src/plugins/stabble/constants.js.map +1 -1
  284. package/src/plugins/staratlas/constants.d.ts +2 -2
  285. package/src/plugins/staratlas/constants.js +9 -3
  286. package/src/plugins/staratlas/constants.js.map +1 -1
  287. package/src/plugins/streamflow/constants.d.ts +1 -1
  288. package/src/plugins/streamflow/constants.js +8 -2
  289. package/src/plugins/streamflow/constants.js.map +1 -1
  290. package/src/plugins/sushiswap/helpers.js +24 -24
  291. package/src/plugins/switchboard/constants.d.ts +2 -0
  292. package/src/plugins/switchboard/constants.js +14 -1
  293. package/src/plugins/switchboard/constants.js.map +1 -1
  294. package/src/plugins/switchboard/index.js +2 -1
  295. package/src/plugins/switchboard/index.js.map +1 -1
  296. package/src/plugins/symmetry/constants.js +6 -0
  297. package/src/plugins/symmetry/constants.js.map +1 -1
  298. package/src/plugins/tensor/constants.d.ts +1 -1
  299. package/src/plugins/tensor/constants.js +7 -2
  300. package/src/plugins/tensor/constants.js.map +1 -1
  301. package/src/plugins/texture/constants.js +5 -1
  302. package/src/plugins/texture/constants.js.map +1 -1
  303. package/src/plugins/thevault/constants.js +5 -0
  304. package/src/plugins/thevault/constants.js.map +1 -1
  305. package/src/plugins/triad/constants.js +6 -0
  306. package/src/plugins/triad/constants.js.map +1 -1
  307. package/src/plugins/tulip/constants.d.ts +1 -1
  308. package/src/plugins/tulip/constants.js +10 -2
  309. package/src/plugins/tulip/constants.js.map +1 -1
  310. package/src/plugins/tulip/depositsFetcher.js +1 -1
  311. package/src/plugins/tulip/depositsFetcher.js.map +1 -1
  312. package/src/plugins/uniswap-v2/helpers.js +22 -22
  313. package/src/plugins/uxd/constants.d.ts +1 -1
  314. package/src/plugins/uxd/constants.js +9 -2
  315. package/src/plugins/uxd/constants.js.map +1 -1
  316. package/src/plugins/vaultka/constants.js +5 -0
  317. package/src/plugins/vaultka/constants.js.map +1 -1
  318. package/src/plugins/vaultka/lendingFetcher.js +1 -1
  319. package/src/plugins/vaultka/lendingFetcher.js.map +1 -1
  320. package/src/plugins/vaultka/strategyFetcher.js +1 -1
  321. package/src/plugins/vaultka/strategyFetcher.js.map +1 -1
  322. package/src/plugins/whalesmarket/constants.js +5 -0
  323. package/src/plugins/whalesmarket/constants.js.map +1 -1
  324. package/src/plugins/wormhole/constants.d.ts +1 -1
  325. package/src/plugins/wormhole/constants.js +8 -2
  326. package/src/plugins/wormhole/constants.js.map +1 -1
  327. package/src/plugins/zelo/constants.js +4 -1
  328. package/src/plugins/zelo/constants.js.map +1 -1
  329. package/src/plugins/zeta/airdropFetcher.d.ts +1 -2
  330. package/src/plugins/zeta/airdropFetcher.js +0 -2
  331. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  332. package/src/plugins/zeta/constants.d.ts +1 -1
  333. package/src/plugins/zeta/constants.js +9 -2
  334. package/src/plugins/zeta/constants.js.map +1 -1
  335. package/src/plugins/zeus/constants.d.ts +5 -0
  336. package/src/plugins/zeus/constants.js +25 -0
  337. package/src/plugins/zeus/constants.js.map +1 -0
  338. package/src/plugins/zeus/delegationsFetcher.d.ts +3 -0
  339. package/src/plugins/zeus/delegationsFetcher.js +83 -0
  340. package/src/plugins/zeus/delegationsFetcher.js.map +1 -0
  341. package/src/plugins/zeus/index.d.ts +6 -0
  342. package/src/plugins/zeus/index.js +12 -0
  343. package/src/plugins/zeus/index.js.map +1 -0
  344. package/src/plugins/zeus/structs.d.ts +29 -0
  345. package/src/plugins/zeus/structs.js +30 -0
  346. package/src/plugins/zeus/structs.js.map +1 -0
  347. package/src/utils/misc/checkComputeAndStoreTokensPrices.js +4 -2
  348. package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
  349. package/src/utils/sei/constants.js +8 -8
  350. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -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"}
@@ -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,GAAG,MAAM,IAAA,iCAAwB,EACjD,MAAM,EACN,2BAAkB,EAClB,sBAAU,EACV,IAAA,wBAAc,EAAC,KAAK,CAAC,CACtB,CAAC;IACF,IAAI,YAAY,CAAC,MAAM,KAAK,C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AU;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,EAAE,CAAC;IAEzC,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO,CAAiB,oBAAQ,EAAE;QAC1D,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC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c;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,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;QAC9B,IAAI,CAAC,CAAC,MAAM,KAAK,UAAU;YAAE,OAAO;QACpC,IAAI,CAAC,CAAC,CAAC,KAAK;YAAE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E,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,CAAC,aAAa,CAAC,IAAI,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC,CACvE,CAAC;IACF,MAAM,WAAW,GAA4B,IAAI,GAAG,EAAE,CAAC;IACvD,iBAAiB,CAAC,OAAO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ACN;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) => {
@@ -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,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,KAAK,CAAC,OAAO,CAA4B,oBAAQ,EAAE;QACzE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,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"}
@@ -4,12 +4,13 @@ import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } 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"}
@@ -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;AACtD,2CAA4E;AAE5E,+CAA8D;AAC9D,qCAAwC;AACxC,gFAA6E;AAE7E,yBAAyB;AAC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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,EAAE,KAAK;aACb;SACF;KACF,CACF,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAA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,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) => {
@@ -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,sC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AAE,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,C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,gCAAgC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE;SACjE,CAAC,CAAC;QAEH,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,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,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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iter(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,EA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C,QAAQ,CAAC;oBACf,OAAO,EAAE,2CAA0B;oBACnC,MAAM,EAAE,UAAU,CAAC,CAAC,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
+ {"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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AAM,EAAE,kBAAkB,CAAC,MAAM;SAClC,CAAC,CAAC;QACH,kBAAkB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;YACpD,IAAI,UAAU,CAAC,CAAC,CAAC;gBACf,OAAO,CAAC,QAAQ,CAAC;oBACf,OAAO,EAAE,2CAA0B;oBACnC,MAAM,EAAE,UAAU,CAAC,CAAC,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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EAAE,CAAC,CAAC,UAAU;iBAClC,YAAY,CAAC,IAAI,sBAAS,CAAC,GAAG,CAAC,CAAC;iBAChC,QAAQ,EAAE;SACd;KACF,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,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,SAA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