@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
@@ -9,6 +9,13 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/orca.webp',
10
10
  defiLlamaId: 'orca',
11
11
  website: 'https://www.orca.so/',
12
+ discord: 'https://discord.orca.so/',
13
+ github: 'https://github.com/orca-so',
14
+ twitter: 'https://twitter.com/orca_so',
15
+ medium: 'https://orca-so.medium.com/',
16
+ documentation: 'https://docs.orca.so/',
17
+ tokens: ['orcaEKTdK7LKz57vaAYr9QeNsVEPfiu6QeMU1kektZE'],
18
+ description: 'Orca is the go-to place to trade tokens and provide liquidity on Solana',
12
19
  };
13
20
  exports.orcaStakingPlatformId = 'orca-staking';
14
21
  exports.orcaStakingPlatform = {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE,4BAA4B;IACpC,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,6BAA6B;IACrC,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EACT,yEAAyE;CAC5E,CAAC;AAEW,QAAA,qBAAqB,GAAG,cAAc,CAAC;AACvC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAG,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -50,6 +50,8 @@ function getOrcaNftFetcher(platformId, programId) {
50
50
  networkId: portfolio_core_1.NetworkId.solana,
51
51
  }),
52
52
  ]);
53
+ if (!allWhirlpoolsInfo)
54
+ throw new Error('Whirlpool info not found in cache.');
53
55
  const whirlpoolMap = new Map();
54
56
  allWhirlpoolsInfo.forEach((wInfo) => {
55
57
  if (!wInfo)
@@ -1 +1 @@
1
- {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/getWhirlpoolPositions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAIoC;AACpC,6CAA4C;AAC5C,2CAIqB;AACrB,iDAAsD;AACtD,+CAG4B;AAE5B,mDAAgE;AAEhE,iDAAwE;AACxE,gFAA6E;AAGhE,QAAA,qBAAqB,GAAG,iBAAiB,CACpD,sBAAc,EACd,4BAAgB,CACjB,CAAC;AAEF,SAAgB,iBAAiB,CAC/B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AAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC,CAAA,CAAC;AACJ,CAAC;AA5ID,8CA4IC"}
1
+ {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/getWhirlpoolPositions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAIoC;AACpC,6CAA4C;AAC5C,2CAIqB;AACrB,iDAAsD;AACtD,+CAG4B;AAE5B,mDAAgE;AAEhE,iDAAwE;AACxE,gFAA6E;AAGhE,QAAA,qBAAqB,GAAG,iBAAiB,CACpD,sBAAc,EACd,4BAAgB,CACjB,CAAC;AAEF,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,SAAoB;IAEpB,OAAO,CACL,KAAY,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AI,cAAc,EAAE,CAAC;gBACnB,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,UAAU;oBACjC,MAAM,EAAE,cAAc,CAAC,QAAQ;iBAChC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;gBAEH,SAAS,CAAC,cAAc,CAAC;oBACvB,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,cAAc,CAAC,WAAW;iBACnC,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC,CAAA,CAAC;AACJ,CAAC;AA9ID,8CA8IC"}
@@ -7,12 +7,12 @@ export declare const platformId = "parcl";
7
7
  export declare const platformImage = "https://sonar.watch/img/platforms/parcl.webp";
8
8
  export declare const platformWebsite = "https://app.parcl.co/";
9
9
  export declare const platformName = "Parcl";
10
+ export declare const prclMint = "4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs";
10
11
  export declare const platform: Platform;
11
12
  export declare const programId: PublicKey;
12
13
  export declare const stakingProgramId: PublicKey;
13
14
  export declare const airdropApi = "https://gnome-api-mainnet.fly.dev/user/";
14
15
  export declare const allocationPrefix = "parcl-allocation";
15
- export declare const prclMint = "4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs";
16
16
  export declare const prclDecimals = 6;
17
17
  export declare const merkleApi = "https://worker.jup.ag/jup-claim-proof";
18
18
  export declare const merkleTree = "5nRBuSmpA98JgrznGYEAFTvQAA7hCdFkVKS9e41N8mBQ";
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.stakingProgramId = exports.programId = exports.platform = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.allocationPrefix = exports.airdropApi = exports.stakingProgramId = exports.programId = exports.platform = exports.prclMint = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'parcl';
6
6
  exports.platformImage = 'https://sonar.watch/img/platforms/parcl.webp';
7
7
  exports.platformWebsite = 'https://app.parcl.co/';
8
8
  exports.platformName = 'Parcl';
9
+ exports.prclMint = '4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs';
9
10
  exports.platform = {
10
11
  id: exports.platformId,
11
12
  name: exports.platformName,
@@ -13,12 +14,16 @@ exports.platform = {
13
14
  defiLlamaId: 'parent#parcl', // from https://defillama.com/docs/api
14
15
  website: exports.platformWebsite,
15
16
  twitter: 'https://twitter.com/Parcl',
17
+ description: 'Making investing in real estate faster, simpler, and smarter. ',
18
+ discord: 'https://discord.gg/parcl',
19
+ documentation: 'https://docs.parcl.co/',
20
+ github: 'https://github.com/ParclFinance',
21
+ tokens: [exports.prclMint],
16
22
  };
17
23
  exports.programId = new web3_js_1.PublicKey('3parcLrT7WnXAcyPfkCz49oofuuf2guUKkjuFkAhZW8Y');
18
24
  exports.stakingProgramId = new web3_js_1.PublicKey('2gWf5xLAzZaKX9tQj9vuXsaxTWtzTZDFRn21J3zjNVgu');
19
25
  exports.airdropApi = 'https://gnome-api-mainnet.fly.dev/user/';
20
26
  exports.allocationPrefix = `${exports.platformId}-allocation`;
21
- exports.prclMint = '4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs';
22
27
  exports.prclDecimals = 6;
23
28
  exports.merkleApi = 'https://worker.jup.ag/jup-claim-proof';
24
29
  exports.merkleTree = '5nRBuSmpA98JgrznGYEAFTvQAA7hCdFkVKS9e41N8mBQ';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,gEAAgE;IAC7E,OAAO,EAAE,0BAA0B;IACnC,aAAa,EAAE,wBAAwB;IACvC,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
@@ -9,6 +9,11 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/perena.webp',
10
10
  website: 'https://perena.org/numeraire',
11
11
  twitter: 'https://x.com/Perena__',
12
+ description: 'Perena is building the infrastructure for stablecoins on Solana, starting with a novel AMM, Numéraire.',
13
+ documentation: 'https://perena.notion.site/Product-Documentation-15fa37a29ca48060afd9cabb21b44d5c',
14
+ telegram: 'https://t.me/perena_community',
15
+ defiLlamaId: 'perena',
16
+ discord: 'https://discord.com/invite/vaNnNBqXMt',
12
17
  };
13
18
  exports.pid = new web3_js_1.PublicKey('NUMERUNsFCP3kuNmWZuXtm1AaQCPj9uw6Guv2Ekoi5P');
14
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/perena/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,wBAAwB;CAClC,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/perena/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,wBAAwB;IACjC,WAAW,EACT,wGAAwG;IAC1G,aAAa,EACX,mFAAmF;IACrF,QAAQ,EAAE,+BAA+B;IACzC,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,uCAAuC;CACjD,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
@@ -10,6 +10,10 @@ exports.platform = {
10
10
  website: 'https://www.phoenix.trade/',
11
11
  twitter: 'https://twitter.com/PhoenixTrade',
12
12
  defiLlamaId: 'phoenix', // from https://defillama.com/docs/api
13
+ discord: 'discord.gg/ESaTYGzqpd',
14
+ github: 'https://github.com/Ellipsis-Labs',
15
+ documentation: 'https://ellipsis-labs.gitbook.io/phoenix-dex/tRIkEFlLUzWK9uKO3W2V',
16
+ description: 'Phoenix is a decentralized limit order book on Solana, supporting markets for spot assets.',
13
17
  };
14
18
  exports.marketsCachePrefix = `${exports.platformId}-markets`;
15
19
  exports.phoenixPid = new web3_js_1.PublicKey('PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/phoenix/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,SAAS,EAAE,sCAAsC;CAC/D,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/phoenix/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,kCAAkC;IAC1C,aAAa,EACX,mEAAmE;IACrE,WAAW,EACT,4FAA4F;CAC/F,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,MAAM,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "photofinish";
3
+ export declare const crownMint = "GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG";
3
4
  export declare const platform: Platform;
4
5
  export declare const apiUrl = "https://api.photofinish.live/users/external/staked-crown/";
5
- export declare const crownMint = "GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG";
@@ -1,14 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.crownMint = exports.apiUrl = exports.platform = exports.platformId = void 0;
3
+ exports.apiUrl = exports.platform = exports.crownMint = exports.platformId = void 0;
4
4
  exports.platformId = 'photofinish';
5
+ exports.crownMint = 'GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG';
5
6
  exports.platform = {
6
7
  id: exports.platformId,
7
8
  name: 'Photo Finish',
8
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/photofinish.webp',
9
10
  website: 'https://photofinish.live/',
10
11
  twitter: 'https://x.com/photofinishgame',
12
+ discord: 'https://discord.com/invite/AsEMTAnJaS',
13
+ tokens: [exports.crownMint],
14
+ description: 'Experience the thrill of owning a race horse without any of the hassle.',
11
15
  };
12
16
  exports.apiUrl = 'https://api.photofinish.live/users/external/staked-crown/';
13
- exports.crownMint = 'GDfnEsia2WLAW5t8yx2X5j2mkfA74i5kwGdDuZHt7XmG';
14
17
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/photofinish/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,iFAAiF;IACnF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,MAAM,GACjB,2DAA2D,CAAC;AACjD,QAAA,SAAS,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/photofinish/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,iFAAiF;IACnF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,uCAAuC;IAChD,MAAM,EAAE,CAAC,iBAAS,CAAC;IACnB,WAAW,EACT,yEAAyE;CAC5E,CAAC;AAEW,QAAA,MAAM,GACjB,2DAA2D,CAAC"}
@@ -11,6 +11,13 @@ exports.platform = {
11
11
  website: 'https://app.picasso.network/solana-staking/',
12
12
  twitter: 'https://x.com/picasso_network',
13
13
  // defiLlamaId: 'composable-finance', // from https://defillama.com/docs/api
14
+ discord: 'https://discord.com/invite/composable',
15
+ telegram: 'https://t.me/composablechat',
16
+ github: 'https://github.com/ComposableFi',
17
+ documentation: 'https://docs.picasso.network/',
18
+ medium: 'https://medium.com/@Picasso_Network',
19
+ tokens: ['966vsqwoS3ZBrHesTyAvE7esFV2kaHaDFLLXs4asPdLJ'],
20
+ description: 'Picasso L1 Protocol enables secure bridging and multi-asset restaking through cross-chain Inter-Blockchain-Communication (IBC).',
14
21
  };
15
22
  exports.unstakingNftsCacheKey = `unstaking-nfts`;
16
23
  exports.unstakingNftsCachePrefix = `${exports.platformId}`;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAqC;AAExB,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,6CAA6C;IACtD,OAAO,EAAE,+BAA+B;IACxC,4EAA4E;CAC7E,CAAC;AAEW,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AACzC,QAAA,wBAAwB,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE3C,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,kBAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAqC;AAExB,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,6CAA6C;IACtD,OAAO,EAAE,+BAA+B;IACxC,4EAA4E;IAC5E,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,6BAA6B;IACvC,MAAM,EAAE,iCAAiC;IACzC,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,CAAC,8CAA8C,CAAC;IACxD,WAAW,EACT,iIAAiI;CACpI,CAAC;AAEW,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AACzC,QAAA,wBAAwB,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE3C,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,kBAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -25,8 +25,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
25
25
  // NFTs for active positions are in wallet
26
26
  // NFTS for unstaking positions are in 'unstakingOwner' wallet
27
27
  const allVaults = yield allVaultsMemo.getItem(cache);
28
- if (!allVaults || allVaults.length === 0)
29
- return [];
28
+ if (!allVaults)
29
+ throw new Error('Vaults not cached');
30
30
  const myVaults = allVaults.filter((v) => { var _a; return ((_a = v.withdrawalRequest) === null || _a === void 0 ? void 0 : _a.owner) === owner; });
31
31
  if (myVaults.length === 0)
32
32
  return [];
@@ -1 +1 @@
1
- {"version":3,"file":"unstakingPositionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/unstakingPositionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AAErC,2CAIqB;AAErB,qGAA6E;AAE7E,kEAA+D;AAG/D,MAAM,aAAa,GAAG,IAAI,6BAAa,CACrC,iCAAqB,EACrB;IACE,MAAM,EAAE,oCAAwB;IAChC,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,0CAA0C;IAC1C,8DAA8D;IAE9D,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAErD,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEpD,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAC/B,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,CAAC,CAAC,iBAAiB,0CAAE,KAAK,MAAK,KAAK,CAAA,EAAA,CAC5C,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,UAAU,GAAG;QACjB,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,CAAC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,EAAV,sBAAU;YACV,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACjD,IAAI,EAAE;gBACJ,MAAM;gBACN,IAAI,EAAE,qCAAqC;aAC5C;SACF;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,sBAAsB;IACvC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"unstakingPositionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/picasso/unstakingPositionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AAErC,2CAIqB;AAErB,qGAA6E;AAE7E,kEAA+D;AAG/D,MAAM,aAAa,GAAG,IAAI,6BAAa,CACrC,iCAAqB,EACrB;IACE,MAAM,EAAE,oCAAwB;IAChC,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,0CAA0C;IAC1C,8DAA8D;IAE9D,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAErD,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAErD,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAC/B,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,CAAA,MAAA,CAAC,CAAC,iBAAiB,0CAAE,KAAK,MAAK,KAAK,CAAA,EAAA,CAC5C,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE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,CAAC,CAAC,CAAC;IAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEnC,OAAO;QACL;YACE,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,KAAK,EAAE,QAAQ;YACf,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACjD,IAAI,EAAE;gBACJ,MAAM;gBACN,IAAI,EAAE,qCAAqC;aAC5C;SACF;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,sBAAsB;IACvC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  website: 'https://pluto.so/',
11
11
  twitter: 'https://x.com/plutoleverage',
12
12
  discord: 'https://discord.com/invite/plutoleverage',
13
+ documentation: 'https://docs.pluto.so/',
14
+ telegram: 'https://t.me/PlutoLeverage',
15
+ description: 'Leveraged Yield Machine on Solana',
16
+ defiLlamaId: 'pluto',
17
+ github: 'https://github.com/plutoleverage/',
13
18
  };
14
19
  exports.plutoProgramId = new web3_js_1.PublicKey('5UFYdXHgXLMsDzHyv6pQW9zv3fNkRSNqHwhR7UPnkhzy');
15
20
  exports.earnVaultDataSize = 1128;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0CAA0C;CACpD,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACzB,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,qBAAqB,GAAG,IAAI,CAAC;AAC7B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,iBAAiB,GAAG,iBAAiB,CAAC;AACtC,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE7C,QAAA,oBAAoB,GAC/B,sDAAsD,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pluto/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0CAA0C;IACnD,aAAa,EAAE,wBAAwB;IACvC,QAAQ,EAAE,4BAA4B;IACtC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE,OAAO;IACpB,MAAM,EAAE,mCAAmC;CAC5C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACzB,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,qBAAqB,GAAG,IAAI,CAAC;AAC7B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,aAAa,GAAG,aAAa,CAAC;AAC9B,QAAA,iBAAiB,GAAG,iBAAiB,CAAC;AACtC,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE7C,QAAA,oBAAoB,GAC/B,sDAAsD,CAAC"}
@@ -10,6 +10,9 @@ exports.platform = {
10
10
  defiLlamaId: 'port-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://mainnet.port.finance/lending',
12
12
  // twitter: 'https://twitter.com/myplatform',
13
+ github: 'https://github.com/port-finance',
14
+ isDeprecated: true,
15
+ tokens: ['PoRTjZMPXb9T7dyU7tpLEZRQj7e6ssfAE62j2oQuc6y'],
13
16
  };
14
17
  exports.portApi = 'https://api-v1.port.finance';
15
18
  exports.programId = new web3_js_1.PublicKey('Port7uDYB3wk6GJAw4KT1WpTeMtSu9bTcChBHkX2LfR');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,sCAAsC;IAC/C,6CAA6C;CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,sCAAsC;IAC/C,6CAA6C;IAC7C,MAAM,EAAE,iCAAiC;IACzC,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,CAAC,6CAA6C,CAAC;CACxD,CAAC;AAEW,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC"}
@@ -32,6 +32,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
32
32
  prefix: constants_1.platformId,
33
33
  networkId: portfolio_core_1.NetworkId.solana,
34
34
  });
35
+ if (!reservesInfo)
36
+ throw new Error('Reserves not cached');
35
37
  const allReserves = reservesInfo.flat();
36
38
  const reservesByMarket = new Map();
37
39
  obligations.forEach((obli, index) => {
@@ -1 +1 @@
1
- {"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AACpC,gEAAqC;AAGrC,2CAAoD;AAEpD,+CAA8D;AAC9D,uCAA6C;AAC7C,iDAAsD;AACtD,uCAA8C;AAC9C,uCAAoD;AACpD,qGAA6E;AAC7E,6FAAoE;AACpE,iDAAgD;AAEhD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAwB,EAChD,MAAM,EACN,0BAAgB,EAChB,qBAAS,EACT,IAAA,2BAAiB,EAAC,KAAK,CAAC,CACzB,CAAC;IACF,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,QAAQ,CACvC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,EAClD;QACE,MAAM,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BACb,cAAc;gBACd,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,KAAK;aACN;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/port/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AACpC,gEAAqC;AAGrC,2CAAoD;AAEpD,+CAA8D;AAC9D,uCAA6C;AAC7C,iDAAsD;AACtD,uCAA8C;AAC9C,uCAAoD;AACpD,qGAA6E;AAC7E,6FAAoE;AACpE,iDAAgD;AAEhD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAwB,EAChD,MAAM,EACN,0BAAgB,EAChB,qBAAS,EACT,IAAA,2BAAiB,EAAC,KAAK,CAAC,CACzB,CAAC;IACF,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,QAAQ,CACvC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,EAClD;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IACF,IAAI,CAAC,YAAY;QAAE,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC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AAY;gBACZ,WAAW;gBACX,KAAK;aACN;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { AirdropStatics } from '../../AirdropFetcher';
3
3
  export declare const platformId = "pudgy";
4
- export declare const platform: Platform;
5
4
  export declare const pudgyMint = "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv";
5
+ export declare const platform: Platform;
6
6
  export declare const airdropApi = "https://api.clusters.xyz/v0.1/airdrops/pengu/eligibility/";
7
7
  export declare const airdropStatics: AirdropStatics;
@@ -1,15 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.airdropApi = exports.pudgyMint = exports.platform = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.airdropApi = exports.platform = exports.pudgyMint = exports.platformId = void 0;
4
4
  exports.platformId = 'pudgy';
5
+ exports.pudgyMint = '2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv';
5
6
  exports.platform = {
6
7
  id: exports.platformId,
7
8
  name: 'Pudgy Penguins',
8
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/pudgypenguins.webp',
9
10
  website: 'https://pudgypenguins.com/',
10
11
  twitter: 'https://x.com/pudgypenguins',
12
+ discord: 'discord.gg/pudgypenguins',
13
+ tokens: [exports.pudgyMint],
11
14
  };
12
- exports.pudgyMint = '2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv';
13
15
  exports.airdropApi = 'https://api.clusters.xyz/v0.1/airdrops/pengu/eligibility/';
14
16
  exports.airdropStatics = {
15
17
  claimLink: 'https://claim.pudgypenguins.com/',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pudgypenguins/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EACH,mFAAmF;IACrF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,UAAU,GACrB,2DAA2D,CAAC;AAEjD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,gBAAgB;IAC7B,EAAE,EAAE,eAAe;IACnB,KAAK,EACH,mFAAmF;IACrF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pudgypenguins/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EACH,mFAAmF;IACrF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,0BAA0B;IACnC,MAAM,EAAE,CAAC,iBAAS,CAAC;CACpB,CAAC;AAEW,QAAA,UAAU,GACrB,2DAA2D,CAAC;AAEjD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,kCAAkC;IAC7C,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,gBAAgB;IAC7B,EAAE,EAAE,eAAe;IACnB,KAAK,EACH,mFAAmF;IACrF,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
@@ -3,6 +3,6 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  export declare const platformId = "pyth";
6
+ export declare const pythMint = "HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3";
6
7
  export declare const platform: Platform;
7
8
  export declare const stakingProgramId: PublicKey;
8
- export declare const pythMint = "HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3";
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pythMint = exports.stakingProgramId = exports.platform = exports.platformId = void 0;
3
+ exports.stakingProgramId = exports.platform = exports.pythMint = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'pyth';
6
+ exports.pythMint = 'HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
8
9
  name: 'Pyth',
@@ -10,7 +11,11 @@ exports.platform = {
10
11
  defiLlamaId: 'pyth-network', // from https://defillama.com/docs/api
11
12
  website: 'https://staking.pyth.network/',
12
13
  twitter: 'https://twitter.com/PythNetwork',
14
+ github: 'https://github.com/pyth-network',
15
+ discord: 'https://discord.com/invite/pythnetwork',
16
+ documentation: 'https://docs.pyth.network/home',
17
+ tokens: [exports.pythMint],
18
+ description: 'Secure your smart contracts with reliable, low-latency market data from institutional sources. Build apps with high-fidelity oracle feeds designed for mission-critical systems.',
13
19
  };
14
20
  exports.stakingProgramId = new web3_js_1.PublicKey('pytS9TjG1qyAZypk7n8rw8gfW9sUaqqYyMhJQ4E7JCQ');
15
- exports.pythMint = 'HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3';
16
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,iCAAiC;CAC3C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,iCAAiC;IAC1C,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE,wCAAwC;IACjD,aAAa,EAAE,gCAAgC;IAC/C,MAAM,EAAE,CAAC,gBAAQ,CAAC;IAClB,WAAW,EACT,kLAAkL;CACrL,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -16,6 +16,7 @@ const clients_1 = require("../../utils/clients");
16
16
  const helpers_1 = require("../../utils/solana/pyth/helpers");
17
17
  const constants_2 = require("../../utils/sui/constants");
18
18
  const solana_1 = require("../../utils/solana");
19
+ const constants_3 = require("../marinade/constants");
19
20
  // https://www.pyth.network/developers/price-feed-ids#solana-price-feed-accounts
20
21
  const feedsToFetch = [
21
22
  // SOL
@@ -153,7 +154,7 @@ const feedsToFetch = [
153
154
  address: new web3_js_1.PublicKey('5CKzb9j4ChgLUt8Gfm5CNGLN6khXKiqMbnGAW4cgXgxK'),
154
155
  tokens: [
155
156
  {
156
- mint: 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So',
157
+ mint: constants_3.mSOLMint,
157
158
  networkdId: 'solana',
158
159
  decimals: 9,
159
160
  },
@@ -1 +1 @@
1
- {"version":3,"file":"pricingJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/pricingJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAA4C;AAC5C,+DASoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,6DAGyC;AACzC,yDAKmC;AACnC,+CAAwE;AAExE,gFAAgF;AAChF,MAAM,YAAY,GAAe;IAC/B,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,oCAAmB;gBACzB,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;YACD;gBACE,IAAI,EAAE,2CAA0B;gBAChC,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;SACF;KACF;IACD,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,iCAAgB;gBACtB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;SACF;KACF;IACD,M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BACE,IAAI,EAAE,8CAA8C;gBACpD,UAAU,EAAE,QAAQ;gBACpB,QAAQ,EAAE,CAAC;aACZ;SACF;KACF;IACD,QAAQ;IACR;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,8CAA8C;gBACpD,UAAU,EAAE,QAAQ;gBACpB,QAAQ,EAAE,CAAC;aACZ;SACF;KACF;CACF,CAAC;AAEF,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IACrC,MAAM,OAAO,GAAG,MAAM,IAAA,kCAAwB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACzE,MAAM,KAAK,CAAC,oBAAoB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;AACtE,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,MAAM,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"pricingJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/pricingJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAA4C;AAC5C,+DASoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,6DAGyC;AACzC,yDAKmC;AACnC,+CAAwE;AACxE,qDAAiD;AAEjD,gFAAgF;AAChF,MAAM,YAAY,GAAe;IAC/B,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,oCAAmB;gBACzB,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;YACD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 'https://app.quarry.so/',
15
15
  // twitter: 'https://x.com/QuarryProtocol',
16
16
  defiLlamaId: 'quarry', // from https://defillama.com/docs/api
17
+ github: 'https://github.com/QuarryProtocol',
18
+ isDeprecated: true,
17
19
  };
18
20
  exports.IOUTokensElementName = 'IOU Tokens';
19
21
  exports.rewardersCacheKey = `rewarders`;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/quarry/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,uCAAoC;AACpC,iDAA8C;AAC9C,2DAAwD;AACxD,+CAA4C;AAE/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,wBAAwB;IACjC,2CAA2C;IAC3C,WAAW,EAAE,QAAQ,EAAE,sCAAsC;CAC9D,CAAC;AAEW,QAAA,oBAAoB,GAAG,YAAY,CAAC;AAEpC,QAAA,iBAAiB,GAAG,WAAW,CAAC;AAChC,QAAA,YAAY,GAAG,iHAAiH,CAAC;AACjI,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,iBAAO;IACZ,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,2BAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,qBAAqB,GAAG;IACnC,SAAS,EAAE,+BAAuB,CAAC,QAAQ,EAAE;IAC7C,GAAG,EAAE,qCAAiB;IACtB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,eAAe,GAAG;IAC7B,SAAS,EAAE,yBAAiB,CAAC,QAAQ,EAAE;IACvC,GAAG,EAAE,yBAAW;IAChB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/quarry/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,uCAAoC;AACpC,iDAA8C;AAC9C,2DAAwD;AACxD,+CAA4C;AAE/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,wBAAwB;IACjC,2CAA2C;IAC3C,WAAW,EAAE,QAAQ,EAAE,sCAAsC;IAC7D,MAAM,EAAE,mCAAmC;IAC3C,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,oBAAoB,GAAG,YAAY,CAAC;AAEpC,QAAA,iBAAiB,GAAG,WAAW,CAAC;AAChC,QAAA,YAAY,GAAG,iHAAiH,CAAC;AACjI,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,iBAAO;IACZ,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,2BAAY;IACjB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,qBAAqB,GAAG;IACnC,SAAS,EAAE,+BAAuB,CAAC,QAAQ,EAAE;IAC7C,GAAG,EAAE,qCAAiB;IACtB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,eAAe,GAAG;IAC7B,SAAS,EAAE,yBAAiB,CAAC,QAAQ,EAAE;IACvC,GAAG,EAAE,yBAAW;IAChB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -41,7 +41,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
41
41
  const quarryAccounts = yield (0, solana_1.getAutoParsedMultipleAccountsInfo)(connection, constants_1.mineIdlItem, [...minerAccounts, ...[...replicaMinerAccounts.values()].flat()].map((m) => new web3_js_1.PublicKey(m.quarry))).then((accs) => accs.filter((acc) => acc !== null));
42
42
  const allRewarders = yield rewardersMemo.getItem(cache);
43
43
  if (!allRewarders)
44
- return [];
44
+ throw new Error('Rewarders not cached');
45
45
  const positions = (0, calculatePositions_1.calculatePositions)(mergeMinerAccounts, minerAccounts, replicaMinerAccounts, allRewarders, quarryAccounts, owner);
46
46
  if (positions.length === 0)
47
47
  return [];
@@ -1 +1 @@
1
- {"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/quarry/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AACrC,6CAA4C;AAE5C,2CAOqB;AACrB,qDAAyE;AACzE,kDAAmE;AAEnE,iDAAsD;AACtD,+CAI4B;AAQ5B,kEAA+D;AAC/D,qGAA6E;AAC7E,uGAA+E;AAC/E,uCAA4D;AAC5D,6DAA0D;AAE1D,MAAM,aAAa,GAAG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CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,WAAW,CAAC;QAE1B,IAAI,iBAAiB,CAAC;QAEtB,QAAQ,eAAe,CAAC,IAAI,EAAE,CAAC;YAC7B,KAAK,OAAO;gBACV,iBAAiB,GAAG,sBAAkB,CAAC;gBACvC,MAAM;YACR,KAAK,OAAO;gBACV,iBAAiB,GAAG,sBAAe,CAAC;gBACpC,MAAM;YACR;gBACE,iBAAiB,GAAG,sBAAU,CAAC;QACnC,CAAC;QAED,QAAQ,CAAC,IAAI,CAAC;YACZ,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,KAAK,EAAE,SAAS;YAChB,UAAU,EAAE,iBAAiB;YAC7B,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,KAAK;YACL,IAAI,EACF,iBAAiB,KAAK,sBAAU,CAAC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAQ,CAAC,IAAI;YACzE,IAAI,EAAE;gBACJ,WAAW,EAAE;oBACX;wBACE,MAAM;wBACN,WAAW;wBACX,YAAY;wBACZ,iBAAiB;wBACjB,KAAK;wBACL,MAAM,EAAE,EAAE;wBACV,GAAG,EAAE,QAAQ,CAAC,GAAG;wBACjB,UAAU,EAAE,QAAQ,CAAC,UAAU;qBAChC;iBACF;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,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/quarry/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+D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AE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -12,6 +12,11 @@ exports.platform = {
12
12
  defiLlamaId: 'rain.fi', // from https://defillama.com/docs/api
13
13
  website: 'https://rain.fi/',
14
14
  twitter: 'https://twitter.com/RainFi_',
15
+ discord: 'discord.gg/rainfi',
16
+ medium: 'https://medium.com/@rainfi_',
17
+ documentation: 'https://docs.rain.fi/',
18
+ github: 'https://github.com/rain-foundation',
19
+ description: 'RainFi is a peer-to-peer (P2P) lending protocol built on the Solana blockchain, offering innovative ways for users to access and utilize financial resources.',
15
20
  };
16
21
  exports.nftLendingProgramId = new web3_js_1.PublicKey('rNfTQD84kwMbcRpWpLR92BVmxbuwrZc3o5HTauAZiXs');
17
22
  exports.defiLendingProgramId = new web3_js_1.PublicKey('rDeFiHPjHZRLiz4iBzMw3zv6unZs4VwdU6qQcVd3NSK');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rain/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAC5C,+DAAiE;AACjE,kEAA+D;AAGlD,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AACW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,SAAS,GAAG,6BAA6B,CAAC;AAE1C,QAAA,cAAc,GAAG,aAAa,CAAC;AAE/B,QAAA,eAAe,GAAG,IAAI,6BAAa,CAAe,sBAAc,EAAE;IAC7E,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rain/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAC5C,+DAAiE;AACjE,kEAA+D;AAGlD,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,6BAA6B;IACtC,OAAO,EAAE,mBAAmB;IAC5B,MAAM,EAAE,6BAA6B;IACrC,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EACT,+JAA+J;CAClK,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AACW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,SAAS,GAAG,6BAA6B,CAAC;AAE1C,QAAA,cAAc,GAAG,aAAa,CAAC;AAE/B,QAAA,eAAe,GAAG,IAAI,6BAAa,CAAe,sBAAc,EAAE;IAC7E,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  website: 'https://rate-x.io/',
11
11
  twitter: 'https://x.com/RateX_Dex',
12
12
  defiLlamaId: 'ratex',
13
+ github: 'https://github.com/RateX-Protocol',
14
+ telegram: 'https://t.me/RateXofficial',
15
+ discord: 'https://discord.com/invite/ratex',
16
+ documentation: 'https://docs.rate-x.io/ratex',
17
+ description: 'RateX Protocol is a decentralized exchange (DEX) built on Solana, specializing in leveraged yield trading.',
13
18
  };
14
19
  exports.programIdLookupTable = new web3_js_1.PublicKey('Es56bH1dokFwohpWS8XYSfTXavvSEuyob2FnUYzF6pCL');
15
20
  exports.programsCacheKey = 'programs';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ratex/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,OAAO;CACrB,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,UAAU,CAAC;AAC9B,QAAA,UAAU,GAAG,GAAG,kBAAU,OAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ratex/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,OAAO;IACpB,MAAM,EAAE,mCAAmC;IAC3C,QAAQ,EAAE,4BAA4B;IACtC,OAAO,EAAE,kCAAkC;IAC3C,aAAa,EAAE,8BAA8B;IAC7C,WAAW,EACT,4GAA4G;CAC/G,CAAC;AAEW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,UAAU,CAAC;AAC9B,QAAA,UAAU,GAAG,GAAG,kBAAU,OAAO,CAAC"}
@@ -27,7 +27,7 @@ const programsMemo = new MemoizedCache_1.MemoizedCache(constants_1.programsCache
27
27
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
28
28
  const programs = yield programsMemo.getItem(cache);
29
29
  if (!programs)
30
- return [];
30
+ throw new Error('No programs cached.');
31
31
  const userStatsByProgram = yield (0, helpers_1.getUserStatsByProgram)(programs, owner);
32
32
  const [usersByProgram, lpDatasByProgram] = yield Promise.all([
33
33
  (0, helpers_1.getUsersByProgram)(programs, userStatsByProgram, owner),
@@ -1 +1 @@
1
- {"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ratex/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AAErC,2CAA2D;AAE3D,gFAA6E;AAC7E,kEAA+D;AAE/D,wFAAyF;AACzF,uCAKmB;AACnB,8EAA2E;AAE3E,MAAM,YAAY,GAAG,IAAI,6BAAa,CAAY,4BAAgB,EAAE;IAClE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAEnD,IAAI,CAAC,QAAQ;QAAE,OAAO,EAAE,CAAC;IAEzB,MAAM,kBAAkB,GAAG,MAAM,IAAA,+BAAqB,EAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAExE,MAAM,CAAC,cAAc,EAAE,gBAAgB,CAAC,GAA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cAAc,EAAE,IAAI;iBACrB,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,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -3,6 +3,7 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  export declare const platformId = "raydium";
6
+ export declare const rayMint = "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R";
6
7
  export declare const platform: Platform;
7
8
  export declare const apiV3 = "https://api-v3.raydium.io/";
8
9
  export declare const AMM_PROGRAM_ID_V3: PublicKey;
@@ -11,5 +12,4 @@ export declare const AMM_PROGRAM_ID_V5: PublicKey;
11
12
  export declare const raydiumProgram: PublicKey;
12
13
  export declare const cpmmProgramId: PublicKey;
13
14
  export declare const positionsIdentifier = "Raydium Concentrated Liquidity";
14
- export declare const rayMint = "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R";
15
15
  export declare const rayDecimals = 6;