@sonarwatch/portfolio-plugins 0.14.139 → 0.14.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/CHANGELOG.md +2173 -2169
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/index.js +2 -0
  5. package/src/index.js.map +1 -1
  6. package/src/orphanPlatforms.js +10 -0
  7. package/src/orphanPlatforms.js.map +1 -1
  8. package/src/plugins/01/constants.js +8 -3
  9. package/src/plugins/01/constants.js.map +1 -1
  10. package/src/plugins/01/depostisFetcher.js +2 -1
  11. package/src/plugins/01/depostisFetcher.js.map +1 -1
  12. package/src/plugins/accessprotocol/constants.d.ts +1 -1
  13. package/src/plugins/accessprotocol/constants.js +8 -3
  14. package/src/plugins/accessprotocol/constants.js.map +1 -1
  15. package/src/plugins/adrastea/constants.js +4 -0
  16. package/src/plugins/adrastea/constants.js.map +1 -1
  17. package/src/plugins/adrena/constants.d.ts +2 -2
  18. package/src/plugins/adrena/constants.js +8 -3
  19. package/src/plugins/adrena/constants.js.map +1 -1
  20. package/src/plugins/allbridge/constants.js +6 -0
  21. package/src/plugins/allbridge/constants.js.map +1 -1
  22. package/src/plugins/armada-staking/constants.js +7 -0
  23. package/src/plugins/armada-staking/constants.js.map +1 -1
  24. package/src/plugins/atrix/constants.js +4 -1
  25. package/src/plugins/atrix/constants.js.map +1 -1
  26. package/src/plugins/aurory/constants.d.ts +1 -1
  27. package/src/plugins/aurory/constants.js +7 -2
  28. package/src/plugins/aurory/constants.js.map +1 -1
  29. package/src/plugins/balancer/helpers/pools.js +21 -21
  30. package/src/plugins/banx/constants.d.ts +1 -1
  31. package/src/plugins/banx/constants.js +7 -2
  32. package/src/plugins/banx/constants.js.map +1 -1
  33. package/src/plugins/baskt/constants.js +3 -0
  34. package/src/plugins/baskt/constants.js.map +1 -1
  35. package/src/plugins/bonfida/constants.d.ts +1 -1
  36. package/src/plugins/bonfida/constants.js +8 -2
  37. package/src/plugins/bonfida/constants.js.map +1 -1
  38. package/src/plugins/bonkrewards/constants.d.ts +1 -1
  39. package/src/plugins/bonkrewards/constants.js +7 -2
  40. package/src/plugins/bonkrewards/constants.js.map +1 -1
  41. package/src/plugins/bskt/constants.d.ts +1 -1
  42. package/src/plugins/bskt/constants.js +7 -2
  43. package/src/plugins/bskt/constants.js.map +1 -1
  44. package/src/plugins/citrus/constants.js +3 -0
  45. package/src/plugins/citrus/constants.js.map +1 -1
  46. package/src/plugins/clone/constants.js +2 -0
  47. package/src/plugins/clone/constants.js.map +1 -1
  48. package/src/plugins/clone/depositsFetcher.js +1 -1
  49. package/src/plugins/clone/depositsFetcher.js.map +1 -1
  50. package/src/plugins/cropper/constants.d.ts +1 -0
  51. package/src/plugins/cropper/constants.js +9 -1
  52. package/src/plugins/cropper/constants.js.map +1 -1
  53. package/src/plugins/cyberfrogs/constants.js +2 -0
  54. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  55. package/src/plugins/daos/constants.js +4 -0
  56. package/src/plugins/daos/constants.js.map +1 -1
  57. package/src/plugins/debridge/constants.d.ts +1 -1
  58. package/src/plugins/debridge/constants.js +8 -2
  59. package/src/plugins/debridge/constants.js.map +1 -1
  60. package/src/plugins/defiland/constants.d.ts +1 -1
  61. package/src/plugins/defiland/constants.js +7 -2
  62. package/src/plugins/defiland/constants.js.map +1 -1
  63. package/src/plugins/defituna/constants.js +3 -0
  64. package/src/plugins/defituna/constants.js.map +1 -1
  65. package/src/plugins/defituna/lendingFetcher.js +2 -0
  66. package/src/plugins/defituna/lendingFetcher.js.map +1 -1
  67. package/src/plugins/defituna/positionsFetcher.js +2 -0
  68. package/src/plugins/defituna/positionsFetcher.js.map +1 -1
  69. package/src/plugins/divvy/constants.d.ts +1 -1
  70. package/src/plugins/divvy/constants.js +7 -2
  71. package/src/plugins/divvy/constants.js.map +1 -1
  72. package/src/plugins/divvy/housePoolFetcher.js +2 -0
  73. package/src/plugins/divvy/housePoolFetcher.js.map +1 -1
  74. package/src/plugins/drift/constants.d.ts +1 -1
  75. package/src/plugins/drift/constants.js +8 -2
  76. package/src/plugins/drift/constants.js.map +1 -1
  77. package/src/plugins/drift/depositsFetcher.js +2 -0
  78. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  79. package/src/plugins/drift-market-maker-vault/constants.js +24 -1
  80. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  81. package/src/plugins/drift-market-maker-vault/depositsFetcher.js +2 -0
  82. package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
  83. package/src/plugins/elemental/constants.js +4 -0
  84. package/src/plugins/elemental/constants.js.map +1 -1
  85. package/src/plugins/elemental/depositFetcher.js +1 -1
  86. package/src/plugins/elemental/depositFetcher.js.map +1 -1
  87. package/src/plugins/ensofi/constants.js +5 -0
  88. package/src/plugins/ensofi/constants.js.map +1 -1
  89. package/src/plugins/exponent/constants.js +5 -0
  90. package/src/plugins/exponent/constants.js.map +1 -1
  91. package/src/plugins/exponent/liquidityFetcher.js +1 -1
  92. package/src/plugins/exponent/liquidityFetcher.js.map +1 -1
  93. package/src/plugins/famousfoxfederation/constants.d.ts +1 -1
  94. package/src/plugins/famousfoxfederation/constants.js +4 -2
  95. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  96. package/src/plugins/famousfoxfederation/stakingFetcher.js +4 -2
  97. package/src/plugins/famousfoxfederation/stakingFetcher.js.map +1 -1
  98. package/src/plugins/flash/constants.js +4 -0
  99. package/src/plugins/flash/constants.js.map +1 -1
  100. package/src/plugins/flash/perpetualFetcher.js +1 -1
  101. package/src/plugins/flash/perpetualFetcher.js.map +1 -1
  102. package/src/plugins/flash/stakeFetcher.js +12 -10
  103. package/src/plugins/flash/stakeFetcher.js.map +1 -1
  104. package/src/plugins/fluxbeam/constants.js +6 -0
  105. package/src/plugins/fluxbeam/constants.js.map +1 -1
  106. package/src/plugins/fragmetric/constants.js +10 -0
  107. package/src/plugins/fragmetric/constants.js.map +1 -1
  108. package/src/plugins/francium/constants.js +8 -1
  109. package/src/plugins/francium/constants.js.map +1 -1
  110. package/src/plugins/francium/lendingFetcher.js +1 -1
  111. package/src/plugins/francium/lendingFetcher.js.map +1 -1
  112. package/src/plugins/francium/tokens.js +2 -1
  113. package/src/plugins/francium/tokens.js.map +1 -1
  114. package/src/plugins/futarchy/constants.d.ts +1 -0
  115. package/src/plugins/futarchy/constants.js +7 -1
  116. package/src/plugins/futarchy/constants.js.map +1 -1
  117. package/src/plugins/genesysgo/constants.d.ts +1 -1
  118. package/src/plugins/genesysgo/constants.js +7 -2
  119. package/src/plugins/genesysgo/constants.js.map +1 -1
  120. package/src/plugins/goosefx/constants.d.ts +1 -1
  121. package/src/plugins/goosefx/constants.js +8 -4
  122. package/src/plugins/goosefx/constants.js.map +1 -1
  123. package/src/plugins/grass/constants.d.ts +1 -1
  124. package/src/plugins/grass/constants.js +6 -2
  125. package/src/plugins/grass/constants.js.map +1 -1
  126. package/src/plugins/hawksight/constants.js +4 -0
  127. package/src/plugins/hawksight/constants.js.map +1 -1
  128. package/src/plugins/hawksight/positionsFetcher.js +2 -2
  129. package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
  130. package/src/plugins/hedgehog/constants.js +4 -0
  131. package/src/plugins/hedgehog/constants.js.map +1 -1
  132. package/src/plugins/holdium/constants.js +2 -0
  133. package/src/plugins/holdium/constants.js.map +1 -1
  134. package/src/plugins/hxro/constants.d.ts +1 -1
  135. package/src/plugins/hxro/constants.js +7 -2
  136. package/src/plugins/hxro/constants.js.map +1 -1
  137. package/src/plugins/iloop/constants.js +4 -0
  138. package/src/plugins/iloop/constants.js.map +1 -1
  139. package/src/plugins/jito/constants.d.ts +2 -1
  140. package/src/plugins/jito/constants.js +16 -2
  141. package/src/plugins/jito/constants.js.map +1 -1
  142. package/src/plugins/jito/ticketFetcher.js +3 -1
  143. package/src/plugins/jito/ticketFetcher.js.map +1 -1
  144. package/src/plugins/jupiter/exchange/constants.d.ts +2 -1
  145. package/src/plugins/jupiter/exchange/constants.js +8 -2
  146. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  147. package/src/plugins/jupiter/exchange/perpetualFetcher.js +4 -2
  148. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  149. package/src/plugins/jupiter/governance/constants.js +7 -5
  150. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  151. package/src/plugins/jupiter/launchpad/constants.js +7 -6
  152. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  153. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js +2 -1
  154. package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js.map +1 -1
  155. package/src/plugins/kamino/constants.d.ts +1 -1
  156. package/src/plugins/kamino/constants.js +20 -38
  157. package/src/plugins/kamino/constants.js.map +1 -1
  158. package/src/plugins/kamino/farmsFetcher.js +1 -1
  159. package/src/plugins/kamino/farmsFetcher.js.map +1 -1
  160. package/src/plugins/kamino/lendsFetcher.js +2 -2
  161. package/src/plugins/kamino/lendsFetcher.js.map +1 -1
  162. package/src/plugins/layer3/constants.d.ts +1 -1
  163. package/src/plugins/layer3/constants.js +8 -2
  164. package/src/plugins/layer3/constants.js.map +1 -1
  165. package/src/plugins/lifinity/constants.d.ts +2 -2
  166. package/src/plugins/lifinity/constants.js +10 -4
  167. package/src/plugins/lifinity/constants.js.map +1 -1
  168. package/src/plugins/loopscale/constants.js +4 -0
  169. package/src/plugins/loopscale/constants.js.map +1 -1
  170. package/src/plugins/lulo/constants.js +5 -0
  171. package/src/plugins/lulo/constants.js.map +1 -1
  172. package/src/plugins/magiceden/constants.d.ts +1 -1
  173. package/src/plugins/magiceden/constants.js +8 -3
  174. package/src/plugins/magiceden/constants.js.map +1 -1
  175. package/src/plugins/mango/collateralFetcher.js +1 -1
  176. package/src/plugins/mango/collateralFetcher.js.map +1 -1
  177. package/src/plugins/mango/constants.js +9 -2
  178. package/src/plugins/mango/constants.js.map +1 -1
  179. package/src/plugins/mango/redeemFetcher.js +2 -1
  180. package/src/plugins/mango/redeemFetcher.js.map +1 -1
  181. package/src/plugins/marginfi/constants.js +6 -0
  182. package/src/plugins/marginfi/constants.js.map +1 -1
  183. package/src/plugins/marginfi/depositsFetcher.js +2 -2
  184. package/src/plugins/marginfi/depositsFetcher.js.map +1 -1
  185. package/src/plugins/marinade/constants.d.ts +2 -1
  186. package/src/plugins/marinade/constants.js +9 -2
  187. package/src/plugins/marinade/constants.js.map +1 -1
  188. package/src/plugins/metaplex/constants.js +5 -0
  189. package/src/plugins/metaplex/constants.js.map +1 -1
  190. package/src/plugins/meteora/constants.js +5 -0
  191. package/src/plugins/meteora/constants.js.map +1 -1
  192. package/src/plugins/meteora/dlmmVaultsFetcher.js +1 -1
  193. package/src/plugins/meteora/dlmmVaultsFetcher.js.map +1 -1
  194. package/src/plugins/meteora/farmsFetcher.js +1 -1
  195. package/src/plugins/meteora/farmsFetcher.js.map +1 -1
  196. package/src/plugins/meteora/stakeForFeeFetcher.js +2 -0
  197. package/src/plugins/meteora/stakeForFeeFetcher.js.map +1 -1
  198. package/src/plugins/moonwalk/constants.js +4 -1
  199. package/src/plugins/moonwalk/constants.js.map +1 -1
  200. package/src/plugins/nosana/constants.js +6 -1
  201. package/src/plugins/nosana/constants.js.map +1 -1
  202. package/src/plugins/nxfinance/constants.js +1 -0
  203. package/src/plugins/nxfinance/constants.js.map +1 -1
  204. package/src/plugins/nxfinance/positionsFetcher.js +2 -0
  205. package/src/plugins/nxfinance/positionsFetcher.js.map +1 -1
  206. package/src/plugins/nxfinance/stakingFetcher.js.map +1 -1
  207. package/src/plugins/orca/constants.js +7 -0
  208. package/src/plugins/orca/constants.js.map +1 -1
  209. package/src/plugins/orca/getWhirlpoolPositions.js +2 -0
  210. package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
  211. package/src/plugins/parcl/constants.d.ts +1 -1
  212. package/src/plugins/parcl/constants.js +7 -2
  213. package/src/plugins/parcl/constants.js.map +1 -1
  214. package/src/plugins/perena/constants.js +5 -0
  215. package/src/plugins/perena/constants.js.map +1 -1
  216. package/src/plugins/phoenix/constants.js +4 -0
  217. package/src/plugins/phoenix/constants.js.map +1 -1
  218. package/src/plugins/photofinish/constants.d.ts +1 -1
  219. package/src/plugins/photofinish/constants.js +5 -2
  220. package/src/plugins/photofinish/constants.js.map +1 -1
  221. package/src/plugins/picasso/constants.js +7 -0
  222. package/src/plugins/picasso/constants.js.map +1 -1
  223. package/src/plugins/picasso/unstakingPositionsFetcher.js +2 -2
  224. package/src/plugins/picasso/unstakingPositionsFetcher.js.map +1 -1
  225. package/src/plugins/pluto/constants.js +5 -0
  226. package/src/plugins/pluto/constants.js.map +1 -1
  227. package/src/plugins/port/constants.js +3 -0
  228. package/src/plugins/port/constants.js.map +1 -1
  229. package/src/plugins/port/obligationsFetcher.js +2 -0
  230. package/src/plugins/port/obligationsFetcher.js.map +1 -1
  231. package/src/plugins/pudgypenguins/constants.d.ts +1 -1
  232. package/src/plugins/pudgypenguins/constants.js +4 -2
  233. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  234. package/src/plugins/pyth/constants.d.ts +1 -1
  235. package/src/plugins/pyth/constants.js +7 -2
  236. package/src/plugins/pyth/constants.js.map +1 -1
  237. package/src/plugins/pyth/pricingJob.js +2 -1
  238. package/src/plugins/pyth/pricingJob.js.map +1 -1
  239. package/src/plugins/quarry/constants.js +2 -0
  240. package/src/plugins/quarry/constants.js.map +1 -1
  241. package/src/plugins/quarry/positionsFetcher.js +1 -1
  242. package/src/plugins/quarry/positionsFetcher.js.map +1 -1
  243. package/src/plugins/rain/constants.js +5 -0
  244. package/src/plugins/rain/constants.js.map +1 -1
  245. package/src/plugins/ratex/constants.js +5 -0
  246. package/src/plugins/ratex/constants.js.map +1 -1
  247. package/src/plugins/ratex/positionsFetcher.js +1 -1
  248. package/src/plugins/ratex/positionsFetcher.js.map +1 -1
  249. package/src/plugins/raydium/constants.d.ts +1 -1
  250. package/src/plugins/raydium/constants.js +8 -2
  251. package/src/plugins/raydium/constants.js.map +1 -1
  252. package/src/plugins/raydium/farmsFetcher.js +2 -0
  253. package/src/plugins/raydium/farmsFetcher.js.map +1 -1
  254. package/src/plugins/saber/constants.js +1 -0
  255. package/src/plugins/saber/constants.js.map +1 -1
  256. package/src/plugins/sanctum/constants.d.ts +1 -1
  257. package/src/plugins/sanctum/constants.js +7 -2
  258. package/src/plugins/sanctum/constants.js.map +1 -1
  259. package/src/plugins/sandglass/constants.js +2 -0
  260. package/src/plugins/sandglass/constants.js.map +1 -1
  261. package/src/plugins/sandglass/depositFetcher.js +1 -1
  262. package/src/plugins/sandglass/depositFetcher.js.map +1 -1
  263. package/src/plugins/save/constants.d.ts +1 -1
  264. package/src/plugins/save/constants.js +8 -2
  265. package/src/plugins/save/constants.js.map +1 -1
  266. package/src/plugins/save/obligationsFetcher.js +2 -2
  267. package/src/plugins/save/obligationsFetcher.js.map +1 -1
  268. package/src/plugins/sharky/constants.js +4 -0
  269. package/src/plugins/sharky/constants.js.map +1 -1
  270. package/src/plugins/solayer/constants.d.ts +4 -4
  271. package/src/plugins/solayer/constants.js +11 -5
  272. package/src/plugins/solayer/constants.js.map +1 -1
  273. package/src/plugins/sonic/constants.d.ts +1 -1
  274. package/src/plugins/sonic/constants.js +7 -2
  275. package/src/plugins/sonic/constants.js.map +1 -1
  276. package/src/plugins/spdr/constants.d.ts +1 -1
  277. package/src/plugins/spdr/constants.js +8 -2
  278. package/src/plugins/spdr/constants.js.map +1 -1
  279. package/src/plugins/stabble/constants.js +6 -0
  280. package/src/plugins/stabble/constants.js.map +1 -1
  281. package/src/plugins/staratlas/constants.d.ts +2 -2
  282. package/src/plugins/staratlas/constants.js +9 -3
  283. package/src/plugins/staratlas/constants.js.map +1 -1
  284. package/src/plugins/streamflow/constants.d.ts +1 -1
  285. package/src/plugins/streamflow/constants.js +8 -2
  286. package/src/plugins/streamflow/constants.js.map +1 -1
  287. package/src/plugins/sushiswap/helpers.js +24 -24
  288. package/src/plugins/switchboard/constants.d.ts +2 -0
  289. package/src/plugins/switchboard/constants.js +14 -1
  290. package/src/plugins/switchboard/constants.js.map +1 -1
  291. package/src/plugins/switchboard/index.js +2 -1
  292. package/src/plugins/switchboard/index.js.map +1 -1
  293. package/src/plugins/symmetry/constants.js +6 -0
  294. package/src/plugins/symmetry/constants.js.map +1 -1
  295. package/src/plugins/tensor/constants.d.ts +1 -1
  296. package/src/plugins/tensor/constants.js +7 -2
  297. package/src/plugins/tensor/constants.js.map +1 -1
  298. package/src/plugins/texture/constants.js +5 -1
  299. package/src/plugins/texture/constants.js.map +1 -1
  300. package/src/plugins/thevault/constants.js +5 -0
  301. package/src/plugins/thevault/constants.js.map +1 -1
  302. package/src/plugins/triad/constants.js +6 -0
  303. package/src/plugins/triad/constants.js.map +1 -1
  304. package/src/plugins/tulip/constants.d.ts +1 -1
  305. package/src/plugins/tulip/constants.js +10 -2
  306. package/src/plugins/tulip/constants.js.map +1 -1
  307. package/src/plugins/tulip/depositsFetcher.js +1 -1
  308. package/src/plugins/tulip/depositsFetcher.js.map +1 -1
  309. package/src/plugins/uniswap-v2/helpers.js +22 -22
  310. package/src/plugins/uxd/constants.d.ts +1 -1
  311. package/src/plugins/uxd/constants.js +9 -2
  312. package/src/plugins/uxd/constants.js.map +1 -1
  313. package/src/plugins/vaultka/constants.js +5 -0
  314. package/src/plugins/vaultka/constants.js.map +1 -1
  315. package/src/plugins/vaultka/lendingFetcher.js +1 -1
  316. package/src/plugins/vaultka/lendingFetcher.js.map +1 -1
  317. package/src/plugins/vaultka/strategyFetcher.js +1 -1
  318. package/src/plugins/vaultka/strategyFetcher.js.map +1 -1
  319. package/src/plugins/whalesmarket/constants.js +5 -0
  320. package/src/plugins/whalesmarket/constants.js.map +1 -1
  321. package/src/plugins/wormhole/constants.d.ts +1 -1
  322. package/src/plugins/wormhole/constants.js +8 -2
  323. package/src/plugins/wormhole/constants.js.map +1 -1
  324. package/src/plugins/zelo/constants.js +4 -1
  325. package/src/plugins/zelo/constants.js.map +1 -1
  326. package/src/plugins/zeta/airdropFetcher.d.ts +1 -2
  327. package/src/plugins/zeta/airdropFetcher.js +0 -2
  328. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  329. package/src/plugins/zeta/constants.d.ts +1 -1
  330. package/src/plugins/zeta/constants.js +9 -2
  331. package/src/plugins/zeta/constants.js.map +1 -1
  332. package/src/plugins/zeus/constants.d.ts +5 -0
  333. package/src/plugins/zeus/constants.js +25 -0
  334. package/src/plugins/zeus/constants.js.map +1 -0
  335. package/src/plugins/zeus/delegationsFetcher.d.ts +3 -0
  336. package/src/plugins/zeus/delegationsFetcher.js +83 -0
  337. package/src/plugins/zeus/delegationsFetcher.js.map +1 -0
  338. package/src/plugins/zeus/index.d.ts +6 -0
  339. package/src/plugins/zeus/index.js +12 -0
  340. package/src/plugins/zeus/index.js.map +1 -0
  341. package/src/plugins/zeus/structs.d.ts +29 -0
  342. package/src/plugins/zeus/structs.js +30 -0
  343. package/src/plugins/zeus/structs.js.map +1 -0
  344. package/src/utils/misc/checkComputeAndStoreTokensPrices.js +4 -2
  345. package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
  346. package/src/utils/sei/constants.js +8 -8
  347. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -54,30 +54,30 @@ function sushiV3PairToUniV2(pair) {
54
54
  }
55
55
  function getV3PairsAddresses(url, length = 300) {
56
56
  return __awaiter(this, void 0, void 0, function* () {
57
- const query = (0, graphql_request_1.gql) `
58
- {
59
- pools(
60
- orderBy: totalValueLockedUSD
61
- first: ${length}
62
- orderDirection: desc
63
- where: { volumeUSD_not: "0", liquidity_not: "0" }
64
- ) {
65
- id
66
- token0Price
67
- token1Price
68
- liquidity
69
- token0 {
70
- id
71
- totalSupply
72
- decimals
73
- }
74
- token1 {
75
- id
76
- totalSupply
77
- decimals
78
- }
79
- }
80
- }
57
+ const query = (0, graphql_request_1.gql) `
58
+ {
59
+ pools(
60
+ orderBy: totalValueLockedUSD
61
+ first: ${length}
62
+ orderDirection: desc
63
+ where: { volumeUSD_not: "0", liquidity_not: "0" }
64
+ ) {
65
+ id
66
+ token0Price
67
+ token1Price
68
+ liquidity
69
+ token0 {
70
+ id
71
+ totalSupply
72
+ decimals
73
+ }
74
+ token1 {
75
+ id
76
+ totalSupply
77
+ decimals
78
+ }
79
+ }
80
+ }
81
81
  `;
82
82
  const res = yield (0, graphql_request_1.default)(url, query);
83
83
  const pools = res.pools;
@@ -1 +1,3 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
1
2
  export declare const platformId = "switchboard";
3
+ export declare const platform: Platform;
@@ -1,5 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.platformId = void 0;
3
+ exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'switchboard';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
+ name: 'Switchboard',
8
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/switchboard.webp',
9
+ website: 'https://switchboard.xyz/',
10
+ twitter: 'https://x.com/switchboardxyz',
11
+ discord: 'https://discord.gg/switchboardxyz',
12
+ telegram: 'https://t.me/switchboardxyz',
13
+ github: 'https://github.com/switchboard-xyz',
14
+ medium: 'https://switchboardxyz.medium.com/',
15
+ documentation: 'https://docs.switchboard.xyz/',
16
+ description: 'Switchboard is a permissionless oracle network that seamlessly connects dapps to real-world data.',
17
+ };
5
18
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/switchboard/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/switchboard/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,aAAa,CAAC;AAE3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EACH,iFAAiF;IACnF,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,mCAAmC;IAC5C,QAAQ,EAAE,6BAA6B;IACvC,MAAM,EAAE,oCAAoC;IAC5C,MAAM,EAAE,oCAAoC;IAC5C,aAAa,EAAE,+BAA+B;IAC9C,WAAW,EACT,mGAAmG;CACtG,CAAC"}
@@ -4,9 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.platforms = exports.fetchers = exports.jobs = void 0;
7
+ const constants_1 = require("./constants");
7
8
  const pricingJob_1 = __importDefault(require("./pricingJob"));
8
9
  const onDemandPricingJob_1 = __importDefault(require("./onDemandPricingJob"));
9
10
  exports.jobs = [pricingJob_1.default, onDemandPricingJob_1.default];
10
11
  exports.fetchers = [];
11
- exports.platforms = [];
12
+ exports.platforms = [constants_1.platform];
12
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/switchboard/index.ts"],"names":[],"mappings":";;;;;;AAGA,8DAAsC;AACtC,8EAAsD;AAEzC,QAAA,IAAI,GAAU,CAAC,oBAAU,EAAE,4BAAkB,CAAC,CAAC;AAC/C,QAAA,QAAQ,GAAc,EAAE,CAAC;AAEzB,QAAA,SAAS,GAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/switchboard/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,8DAAsC;AACtC,8EAAsD;AAEzC,QAAA,IAAI,GAAU,CAAC,oBAAU,EAAE,4BAAkB,CAAC,CAAC;AAC/C,QAAA,QAAQ,GAAc,EAAE,CAAC;AAEzB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -10,6 +10,12 @@ exports.platform = {
10
10
  website: 'https://www.symmetry.fi/',
11
11
  twitter: 'https://twitter.com/symmetry_fi',
12
12
  defiLlamaId: 'symmetry', // from https://defillama.com/docs/api
13
+ description: "Solana's on-chain asset management infrastructure layer",
14
+ github: 'https://github.com/symmetry-protocol',
15
+ discord: 'http://discord.gg/ahdqBRgE7G',
16
+ documentation: 'https://docs.symmetry.fi/',
17
+ medium: 'https://symmetry-fi.medium.com/',
18
+ telegram: 'https://t.me/symmetry_fi',
13
19
  };
14
20
  exports.basketsCachePrefix = `${exports.platformId}-baskets`;
15
21
  exports.basketProgramId = new web3_js_1.PublicKey('2KehYt3KsEQR53jYcxjbQp2d2kCp4AkuQW68atufRwSr');
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/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,0BAA0B;IACnC,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/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,0BAA0B;IACnC,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,UAAU,EAAE,sCAAsC;IAC/D,WAAW,EAAE,yDAAyD;IACtE,MAAM,EAAE,sCAAsC;IAC9C,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,iCAAiC;IACzC,QAAQ,EAAE,0BAA0B;CACrC,CAAC;AAEW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC"}
@@ -3,10 +3,10 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  import { AirdropStatics } from '../../AirdropFetcher';
6
+ export declare const tnsrMint = "TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6";
6
7
  export declare const platformId = "tensor";
7
8
  export declare const platform: Platform;
8
9
  export declare const tensorPid: PublicKey;
9
- export declare const tnsrMint = "TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6";
10
10
  export declare const magmaProgramId = "3zK38YBP6u3BpLUpaa6QhRHh4VXdv3J8cmD24fFpuyqy";
11
11
  export declare const s4Statics: AirdropStatics;
12
12
  export declare const powerUsersStatics: AirdropStatics;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.powerUsersStatics = exports.s4Statics = exports.magmaProgramId = exports.tnsrMint = exports.tensorPid = exports.platform = exports.platformId = void 0;
3
+ exports.powerUsersStatics = exports.s4Statics = exports.magmaProgramId = exports.tensorPid = exports.platform = exports.platformId = exports.tnsrMint = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
+ exports.tnsrMint = 'TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6';
5
6
  exports.platformId = 'tensor';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
@@ -9,9 +10,13 @@ exports.platform = {
9
10
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/tensor.webp',
10
11
  twitter: 'https://twitter.com/tensor_hq',
11
12
  website: 'https://www.tensor.trade/',
13
+ tokens: [exports.tnsrMint],
14
+ documentation: 'https://docs.tensor.trade/',
15
+ discord: 'https://discord.gg/tensor',
16
+ github: 'https://github.com/tensor-hq',
17
+ description: "Solana's Leading NFT Marketplace",
12
18
  };
13
19
  exports.tensorPid = new web3_js_1.PublicKey('TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN');
14
- exports.tnsrMint = 'TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6';
15
20
  exports.magmaProgramId = '3zK38YBP6u3BpLUpaa6QhRHh4VXdv3J8cmD24fFpuyqy';
16
21
  exports.s4Statics = {
17
22
  claimStart: 1738281600000,
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/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,+BAA+B;IACxC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AAEzD,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,SAAS,GAAmB;IACvC,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,mCAAmC;IAC9C,KAAK,EACH,4EAA4E;CAC/E,CAAC;AAEW,QAAA,iBAAiB,GAAmB;IAC/C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,mBAAmB;IACvB,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,0CAA0C;IACrD,KAAK,EACH,4EAA4E;CAC/E,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,CAAC,gBAAQ,CAAC;IAClB,aAAa,EAAE,4BAA4B;IAC3C,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,8BAA8B;IACtC,WAAW,EAAE,kCAAkC;CAChD,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,SAAS,GAAmB;IACvC,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,mCAAmC;IAC9C,KAAK,EACH,4EAA4E;CAC/E,CAAC;AAEW,QAAA,iBAAiB,GAAmB;IAC/C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,mBAAmB;IACvB,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,0CAA0C;IACrD,KAAK,EACH,4EAA4E;CAC/E,CAAC"}
@@ -9,7 +9,11 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/texture.webp',
10
10
  website: 'https://texture.finance',
11
11
  twitter: 'https://twitter.com/texture_fi',
12
- // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
12
+ discord: 'https://discord.gg/6YvjpXzsqp',
13
+ documentation: 'https://texture.gitbook.io/texture',
14
+ telegram: 'https://t.me/+R9Ah7VZVfspjODky',
15
+ github: 'https://github.com/texture-finance',
16
+ description: "Solana's New Age Modular Lending Platform",
13
17
  };
14
18
  exports.pid = new web3_js_1.PublicKey('MLENdNkmK61mGd4Go8BJX9PhYPN3azrAKRQsAC7u55v');
15
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/texture/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,yBAAyB;IAClC,OAAO,EAAE,gCAAgC;IACzC,qEAAqE;CACtE,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/texture/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,yBAAyB;IAClC,OAAO,EAAE,gCAAgC;IACzC,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,oCAAoC;IACnD,QAAQ,EAAE,gCAAgC;IAC1C,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EAAE,2CAA2C;CACzD,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC"}
@@ -8,5 +8,10 @@ exports.platform = {
8
8
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/thevault.webp',
9
9
  defiLlamaId: 'the-vault',
10
10
  website: 'https://thevault.finance/',
11
+ discord: 'https://discord.gg/aQC53CGgQY',
12
+ twitter: 'https://twitter.com/thevaultfinance',
13
+ tokens: ['vSoLxydx6akxyMD9XEcPvGYNGq6Nn66oqVb3UkGkei7'],
14
+ documentation: 'https://docs.thevault.finance/',
15
+ github: 'https://github.com/SolanaVault',
11
16
  };
12
17
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/thevault/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,2BAA2B;CACrC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/thevault/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,qCAAqC;IAC9C,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,aAAa,EAAE,gCAAgC;IAC/C,MAAM,EAAE,gCAAgC;CACzC,CAAC"}
@@ -9,6 +9,12 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/triad.webp',
10
10
  website: 'https://app.triadfi.co/',
11
11
  twitter: 'https://x.com/triadfi',
12
+ documentation: 'https://docs.triadfi.co/',
13
+ telegram: 'https://t.me/triad369',
14
+ github: 'https://github.com/triadxyz',
15
+ discord: 'http://discord.gg/triadfi',
16
+ description: 'Prediction markets on Solana. Trade politics, crypto, sports & culture.',
17
+ tokens: ['t3DohmswhKk94PPbPYwA6ZKACyY3y5kbcqeQerAJjmV'],
12
18
  };
13
19
  exports.programId = new web3_js_1.PublicKey('TRDwq3BN4mP3m9KsuNUWSN6QDff93VKGSwE95Jbr9Ss');
14
20
  exports.marketsCacheKey = 'markets';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/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,yBAAyB;IAClC,OAAO,EAAE,uBAAuB;CACjC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/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,yBAAyB;IAClC,OAAO,EAAE,uBAAuB;IAChC,aAAa,EAAE,0BAA0B;IACzC,QAAQ,EAAE,uBAAuB;IACjC,MAAM,EAAE,6BAA6B;IACrC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EACT,yEAAyE;IAC3E,MAAM,EAAE,CAAC,6CAA6C,CAAC;CACxD,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC"}
@@ -2,11 +2,11 @@
2
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
+ export declare const tulipMint = "TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs";
5
6
  export declare const platformId = "tulip";
6
7
  export declare const platform: Platform;
7
8
  export declare const tulipV2ProgramId: PublicKey;
8
9
  export declare const tulipLendingProgramId: PublicKey;
9
10
  export declare const leverageProgramId: PublicKey;
10
- export declare const tulipMint = "TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs";
11
11
  export declare const tulipDecimals = 6;
12
12
  export declare const vaultsKey = "vaults";
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.vaultsKey = exports.tulipDecimals = exports.tulipMint = exports.leverageProgramId = exports.tulipLendingProgramId = exports.tulipV2ProgramId = exports.platform = exports.platformId = void 0;
3
+ exports.vaultsKey = exports.tulipDecimals = exports.leverageProgramId = exports.tulipLendingProgramId = exports.tulipV2ProgramId = exports.platform = exports.platformId = exports.tulipMint = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
+ exports.tulipMint = 'TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs';
5
6
  exports.platformId = 'tulip';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
@@ -10,11 +11,18 @@ exports.platform = {
10
11
  defiLlamaId: 'tulip-protocol',
11
12
  website: 'https://tulip.garden/',
12
13
  twitter: 'https://twitter.com/TulipProtocol',
14
+ isDeprecated: true,
15
+ documentation: 'https://tulip-protocol.gitbook.io/tulip-protocol',
16
+ discord: 'https://discord.gg/tulipgarden',
17
+ telegram: 'https://t.me/TulipProtocol',
18
+ medium: 'https://medium.com/tulipprotocol',
19
+ github: 'https://github.com/sol-farm',
20
+ tokens: [exports.tulipMint],
21
+ description: 'The Efficient Solana Yield Aggregator',
13
22
  };
14
23
  exports.tulipV2ProgramId = new web3_js_1.PublicKey('TLPv2tuSVvn3fSk8RgW3yPddkp5oFivzZV3rA9hQxtX');
15
24
  exports.tulipLendingProgramId = new web3_js_1.PublicKey('4bcFeLv4nydFrsZqV5CgwCVrPhkQKsXtzfy2KyMz7ozM');
16
25
  exports.leverageProgramId = new web3_js_1.PublicKey('Bt2WPMmbwHPk36i4CRucNDyLcmoGdC7xEdrVuxgJaNE6');
17
- exports.tulipMint = 'TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs';
18
26
  exports.tulipDecimals = 6;
19
27
  exports.vaultsKey = 'vaults';
20
28
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tulip/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,gBAAgB;IAC7B,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,SAAS,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tulip/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,mCAAmC;IAC5C,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,kDAAkD;IACjE,OAAO,EAAE,gCAAgC;IACzC,QAAQ,EAAE,4BAA4B;IACtC,MAAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,6BAA6B;IACrC,MAAM,EAAE,CAAC,iBAAS,CAAC;IACnB,WAAW,EAAE,uCAAuC;CACrD,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,SAAS,GAAG,QAAQ,CAAC"}
@@ -29,7 +29,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
29
29
  networkId: portfolio_core_1.NetworkId.solana,
30
30
  });
31
31
  if (!vaults)
32
- return [];
32
+ throw new Error('Vaults not cached');
33
33
  const tokenPriceById = yield cache.getTokenPricesAsMap(vaults.map((vault) => vault.base.sharesMint.toString()), portfolio_core_1.NetworkId.solana);
34
34
  const vaultById = new Map();
35
35
  vaults.forEach((vault) => vaultById.set(vault.pubkey.toString(), vault));
@@ -1 +1 @@
1
- {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tulip/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,2CAAsE;AACtE,iDAAsD;AACtD,+CAA6E;AAC7E,uCAA6E;AAC7E,uCAAsD;AACtD,uGAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,kBAAkB,GAAG,MAAM,IAAA,iCAAwB,EACvD,MAAM,EACN,iCAAuB,EACvB,4BAAgB,EAChB,IAAA,mCAAyB,EAAC,KAAK,CAAC,CACjC,CAAC;IACF,IAAI,CAAC,kBAAkB;QAAE,OAAO,EAAE,CAAC;IAEnC,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,OAAO,CAChC,qBAAS,EACT;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IACF,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,CAAC;IAEvB,MAAM,cAAc,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACpD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EACvD,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,SAAS,GAAyC,IAAI,GAAG,EAAE,CAAC;IAClE,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC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EAAE,CAAC;IACnC,OAAO;QACL;YACE,UAAU,EAAV,sBAAU;YACV,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACzD,KAAK,EAAE,SAAS;YAChB,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,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/tulip/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,2CAAsE;AACtE,iDAAsD;AACtD,+CAA6E;AAC7E,uCAA6E;AAC7E,uCAAsD;AACtD,uGAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,kBAAkB,GAAG,MAAM,IAAA,iCAAwB,EACvD,MAAM,EACN,iCAAuB,EACvB,4BAAgB,EAChB,IAAA,mCAAyB,EAAC,KAAK,CAAC,CACjC,CAAC;IACF,IAAI,CAAC,kBAAkB;QAAE,OAAO,EAAE,CAAC;IAEnC,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,OAAO,CAChC,qBAAS,EACT;QACE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IACF,IAAI,CAAC,MAAM;QAAE,MA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EACxB,YAAY,CAAC,OAAO,EACpB,MAAM,EACN,0BAAS,CAAC,MAAM,EAChB,YAAY,CACb,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iCACZ,KAAK,KACR,GAAG,EAAE,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,EACxC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,IACnE,CAAC,CACJ,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACnC,OAAO;QACL;YACE,UAAU,EAAV,sBAAU;YACV,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACzD,KAAK,EAAE,SAAS;YAChB,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,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -40,28 +40,28 @@ function getPairKey(version) {
40
40
  exports.getPairKey = getPairKey;
41
41
  function getPairsV2FromTheGraph(url, length = 300) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
- const query = (0, graphql_request_1.gql) `
44
- {
45
- pairs(
46
- orderBy: reserveUSD
47
- first: ${length}
48
- orderDirection: desc
49
- where: { trackedReserveETH_not: "0" }
50
- ) {
51
- id
52
- reserve0
53
- reserve1
54
- totalSupply
55
- token0 {
56
- id
57
- decimals
58
- }
59
- token1 {
60
- id
61
- decimals
62
- }
63
- }
64
- }
43
+ const query = (0, graphql_request_1.gql) `
44
+ {
45
+ pairs(
46
+ orderBy: reserveUSD
47
+ first: ${length}
48
+ orderDirection: desc
49
+ where: { trackedReserveETH_not: "0" }
50
+ ) {
51
+ id
52
+ reserve0
53
+ reserve1
54
+ totalSupply
55
+ token0 {
56
+ id
57
+ decimals
58
+ }
59
+ token1 {
60
+ id
61
+ decimals
62
+ }
63
+ }
64
+ }
65
65
  `;
66
66
  const res = yield (0, graphql_request_1.default)(url, query);
67
67
  const pairs = res.pairs;
@@ -3,9 +3,9 @@
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  import BigNumber from 'bignumber.js';
6
+ export declare const uxpMint = "UXPhBoR3qG4UCiGNJfV7MqhHyFqKN68g45GoYvAeL2M";
6
7
  export declare const platformId = "uxd";
7
8
  export declare const platform: Platform;
8
9
  export declare const stakingProgramId: PublicKey;
9
- export declare const uxpMint = "UXPhBoR3qG4UCiGNJfV7MqhHyFqKN68g45GoYvAeL2M";
10
10
  export declare const uxpDecimal = 9;
11
11
  export declare const uxpFactor: BigNumber;
@@ -3,9 +3,10 @@ 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.uxpFactor = exports.uxpDecimal = exports.uxpMint = exports.stakingProgramId = exports.platform = exports.platformId = void 0;
6
+ exports.uxpFactor = exports.uxpDecimal = exports.stakingProgramId = exports.platform = exports.platformId = exports.uxpMint = void 0;
7
7
  const web3_js_1 = require("@solana/web3.js");
8
8
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
9
+ exports.uxpMint = 'UXPhBoR3qG4UCiGNJfV7MqhHyFqKN68g45GoYvAeL2M';
9
10
  exports.platformId = 'uxd';
10
11
  exports.platform = {
11
12
  id: exports.platformId,
@@ -14,9 +15,15 @@ exports.platform = {
14
15
  defiLlamaId: 'uxd', // from https://defillama.com/docs/api
15
16
  website: 'https://uxd.fi/',
16
17
  twitter: 'https://twitter.com/UXDProtocol',
18
+ isDeprecated: true,
19
+ tokens: [exports.uxpMint, '7kbnvuGBxxj8AG9qp8Scn56muWGaRaFqxg1FsRp3PaFT'],
20
+ github: 'https://github.com/uxdprotocol',
21
+ medium: 'https://uxdprotocol.medium.com/',
22
+ documentation: 'https://docs.uxd.fi/uxdprotocol',
23
+ discord: 'https://discord.gg/CAuFvvd5qw',
24
+ description: 'Decentralized stablecoin stabilized by an asset liability management module',
17
25
  };
18
26
  exports.stakingProgramId = new web3_js_1.PublicKey('UXDSkps5NR8Lu1HB5uPLFfuB34hZ6DCk7RhYZZtGzbF');
19
- exports.uxpMint = 'UXPhBoR3qG4UCiGNJfV7MqhHyFqKN68g45GoYvAeL2M';
20
27
  exports.uxpDecimal = 9;
21
28
  exports.uxpFactor = new bignumber_js_1.default(Math.pow(10, exports.uxpDecimal));
22
29
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/uxd/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAE5C,gEAAqC;AAExB,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,KAAK;IACX,KAAK,EACH,yEAAyE;IAC3E,WAAW,EAAE,KAAK,EAAE,sCAAsC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,iCAAiC;CAC3C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,UAAU,GAAG,CAAC,CAAC;AACf,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,kBAAU,CAAA,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/uxd/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAE5C,gEAAqC;AAExB,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,KAAK;IACX,KAAK,EACH,yEAAyE;IAC3E,WAAW,EAAE,KAAK,EAAE,sCAAsC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,iCAAiC;IAC1C,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,CAAC,eAAO,EAAE,8CAA8C,CAAC;IACjE,MAAM,EAAE,gCAAgC;IACxC,MAAM,EAAE,iCAAiC;IACzC,aAAa,EAAE,iCAAiC;IAChD,OAAO,EAAE,+BAA+B;IACxC,WAAW,EACT,6EAA6E;CAChF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GAAG,CAAC,CAAC;AACf,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,kBAAU,CAAA,CAAC,CAAC"}
@@ -10,7 +10,12 @@ exports.platform = {
10
10
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/vaultka.webp',
11
11
  website: 'https://solana.vaultka.com/',
12
12
  twitter: 'https://x.com/Vaultkaofficial',
13
+ discord: 'https://discord.com/invite/hXagEmhN8F',
13
14
  defiLlamaId: 'vaultka', // from https://defillama.com/docs/api
15
+ documentation: 'https://docs.vaultka.com/',
16
+ medium: 'https://medium.com/@Vaultka',
17
+ github: 'https://github.com/Vaultka-Project',
18
+ description: 'Liquidity optimization layer for yield bearing tokens.',
14
19
  };
15
20
  exports.lendingsCacheKey = `lendings`;
16
21
  exports.lendingProgramIds = [
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/vaultka/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,uCAKmB;AAEN,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,6BAA6B;IACtC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,SAAS,EAAE,sCAAsC;CAC/D,CAAC;AAEW,QAAA,gBAAgB,GAAG,UAAU,CAAC;AAE9B,QAAA,iBAAiB,GAAG;IAC/B,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,6CAA6C,CAAC;IAC5D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,kBAAkB,GAAG,YAAY,CAAC;AAElC,QAAA,UAAU,GAAmB;IACxC;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,6CAA6C;QACrD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/vaultka/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,uCAKmB;AAEN,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,6BAA6B;IACtC,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,uCAAuC;IAChD,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,6BAA6B;IACrC,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EAAE,wDAAwD;CACtE,CAAC;AAEW,QAAA,gBAAgB,GAAG,UAAU,CAAC;AAE9B,QAAA,iBAAiB,GAAG;IAC/B,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,6CAA6C,CAAC;IAC5D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,kBAAkB,GAAG,YAAY,CAAC;AAElC,QAAA,UAAU,GAAmB;IACxC;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,6CAA6C;QACrD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAd,wBAAc;QACd,kBAAkB,EAAlB,4BAAkB;KACnB;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;IACD;QACE,MAAM,EAAE,8CAA8C;QACtD,cAAc,EAAE,2BAAiB;QACjC,kBAAkB,EAAE,+BAAqB;KAC1C;CACF,CAAC"}
@@ -30,7 +30,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
30
30
  networkId: portfolio_core_1.NetworkId.solana,
31
31
  });
32
32
  if (!lendings)
33
- return [];
33
+ throw new Error('Lendings not cached');
34
34
  const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
35
35
  const element = elementRegistry.addElementMultiple({
36
36
  label: 'Lending',
@@ -1 +1 @@
1
- {"version":3,"file":"lendingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/vaultka/lendingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAC5C,gEAAqC;AAErC,2CAA8E;AAE9E,iDAAsD;AACtD,+CAG4B;AAC5B,uCAAoD;AACpD,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,SAAS,GAAG,MAAM,IAAA,sCAA6B,EACnD,UAAU,EACV,wBAAc,EACd,6BAAiB,CAAC,GAAG,CACnB,CAAC,gBAAgB,EAAE,EAAE,CACnB,mBAAS,CAAC,sBAAsB,CAC9B,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,EA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C,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"}
@@ -32,7 +32,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
32
32
  networkId: portfolio_core_1.NetworkId.solana,
33
33
  });
34
34
  if (!strategiesInfo)
35
- return [];
35
+ throw new Error('Strategies not cached');
36
36
  const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
37
37
  positionInfos.forEach((positionInfo, i) => {
38
38
  if (positionInfo[0] &&
@@ -1 +1 @@
1
- {"version":3,"file":"strategyFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/vaultka/strategyFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAE5C,2CAAyE;AAEzE,iDAAsD;AACtD,+CAA6E;AAC7E,gFAA6E;AAQ7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,GAAG,CACrC,sBAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAC1B,IAAA,iCAAwB,EACtB,UAAU,EACV,QAAQ,CAAC,kBAAkB,EAC3B,IAAI,mBAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC9B;QACE;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;KACF,CACF,CACF,CACF,CAAC;IAEF,IAAI,CAAC,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC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AAC,CAAC;YACH,OAAO,CAAC,gBAAgB,CAAC;gBACvB,OAAO,EAAE,UAAU;gBACnB,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,eAAe;aACxC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,SAAS,aAAa,CACpB,QAAgC;IAEhC,OAAO,CAAC,CAAC,aAAa,IAAI,QAAQ,CAAC,CAAC;AACtC,CAAC;AAED,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":"strategyFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/vaultka/strategyFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAE5C,2CAAyE;AAEzE,iDAAsD;AACtD,+CAA6E;AAC7E,gFAA6E;AAQ7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,GAAG,CACrC,sBAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAC1B,IAAA,iCAAwB,EACtB,UAAU,EACV,QAAQ,CAAC,kBAAkB,EAC3B,IAAI,mBAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC9B;QACE;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;KACF,CACF,CACF,CACF,CAAC;IAEF,IAAI,CAAC,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CA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M,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,eAAe;aACxC,CAAC,CAAC;YACH,OAAO,CAAC,gBAAgB,CAAC;gBACvB,OAAO,EAAE,UAAU;gBACnB,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,eAAe;aACxC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,SAAS,aAAa,CACpB,QAAgC;IAEhC,OAAO,CAAC,CAAC,aAAa,IAAI,QAAQ,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -10,6 +10,11 @@ exports.platform = {
10
10
  defiLlamaId: 'whales-market', // from https://defillama.com/docs/api
11
11
  website: 'https://app.whales.market/',
12
12
  twitter: 'https://twitter.com/WhalesMarket',
13
+ tokens: ['GTH3wG3NErjwcf7VGCoXEXkgXSHvYhx5gtATeeM5JAS1'],
14
+ discord: 'https://discord.com/invite/whalesmarket',
15
+ documentation: 'https://docs.whales.market/',
16
+ github: 'https://github.com/Whales-Market/',
17
+ description: 'Trade like a pro with advanced tools and features at your fingertips',
13
18
  };
14
19
  exports.pid = new web3_js_1.PublicKey('stPdYNaJNsV3ytS9Xtx4GXXXRcVqVS6x66ZFa26K39S');
15
20
  exports.whalesApi = 'https://api.whales.market/v2/tokens';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/whalesmarket/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,cAAc,CAAC;AAC5B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,kFAAkF;IACpF,WAAW,EAAE,eAAe,EAAE,sCAAsC;IACpE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AACnE,QAAA,SAAS,GAAG,qCAAqC,CAAC;AAElD,QAAA,SAAS,GAAG,QAAQ,CAAC;AACrB,QAAA,YAAY,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/whalesmarket/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,cAAc,CAAC;AAC5B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,kFAAkF;IACpF,WAAW,EAAE,eAAe,EAAE,sCAAsC;IACpE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;IAC3C,MAAM,EAAE,CAAC,8CAA8C,CAAC;IACxD,OAAO,EAAE,yCAAyC;IAClD,aAAa,EAAE,6BAA6B;IAC5C,MAAM,EAAE,mCAAmC;IAC3C,WAAW,EACT,sEAAsE;CACzE,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AACnE,QAAA,SAAS,GAAG,qCAAqC,CAAC;AAElD,QAAA,SAAS,GAAG,QAAQ,CAAC;AACrB,QAAA,YAAY,GAAG,WAAW,CAAC"}
@@ -2,8 +2,8 @@
2
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
3
  import { Platform } from '@sonarwatch/portfolio-core';
4
4
  import { PublicKey } from '@solana/web3.js';
5
+ export declare const wMint = "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ";
5
6
  export declare const platformId = "wormhole";
6
7
  export declare const platform: Platform;
7
8
  export declare const apiUrl = "https://prod-flat-files-min.wormhole.com/";
8
- export declare const wMint = "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ";
9
9
  export declare const stakingProgramId: PublicKey;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stakingProgramId = exports.wMint = exports.apiUrl = exports.platform = exports.platformId = void 0;
3
+ exports.stakingProgramId = exports.apiUrl = exports.platform = exports.platformId = exports.wMint = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
+ exports.wMint = '85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ';
5
6
  exports.platformId = 'wormhole';
6
7
  exports.platform = {
7
8
  id: exports.platformId,
@@ -9,8 +10,13 @@ exports.platform = {
9
10
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/wormhole.webp',
10
11
  website: 'https://w.wormhole.com/',
11
12
  twitter: 'https://twitter.com/wormhole',
13
+ discord: 'https://discord.com/invite/wormholecrypto',
14
+ telegram: 'https://t.me/wormholecrypto',
15
+ github: 'https://github.com/wormhole-foundation',
16
+ documentation: 'https://wormhole.com/docs/',
17
+ description: 'Future-proof, permissionless tooling to empower multichain builders',
18
+ tokens: [exports.wMint],
12
19
  };
13
20
  exports.apiUrl = 'https://prod-flat-files-min.wormhole.com/';
14
- exports.wMint = '85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ';
15
21
  exports.stakingProgramId = new web3_js_1.PublicKey('sspu65omPW2zJGWDxmx8btqxudHezoQHSGZmnW8jbVz');
16
22
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/wormhole/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/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,yBAAyB;IAClC,OAAO,EAAE,8BAA8B;CACxC,CAAC;AAEW,QAAA,MAAM,GAAG,2CAA2C,CAAC;AACrD,QAAA,KAAK,GAAG,8CAA8C,CAAC;AAEvD,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/wormhole/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,KAAK,GAAG,8CAA8C,CAAC;AACvD,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,2CAA2C;IACpD,QAAQ,EAAE,6BAA6B;IACvC,MAAM,EAAE,wCAAwC;IAChD,aAAa,EAAE,4BAA4B;IAC3C,WAAW,EACT,qEAAqE;IACvE,MAAM,EAAE,CAAC,aAAK,CAAC;CAChB,CAAC;AAEW,QAAA,MAAM,GAAG,2CAA2C,CAAC;AAErD,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -9,7 +9,10 @@ exports.platform = {
9
9
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/zelo.webp',
10
10
  website: 'https://www.zelofi.io/',
11
11
  twitter: 'https://x.com/zelofinance',
12
- // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
12
+ documentation: 'https://blocksmithlabs-1.gitbook.io/zelo-docs',
13
+ discord: 'https://discord.gg/blocksmithlabs',
14
+ github: 'https://github.com/Blocksmith-Labs',
15
+ description: "Solana's Lossless Lottery Savings Protocol ",
13
16
  };
14
17
  exports.programId = new web3_js_1.PublicKey('3weDTR2PBop8SoYXpQEhdRCA9Wr2JK7gj3CxuUbMo2VJ');
15
18
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zelo/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;IACpC,qEAAqE;CACtE,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zelo/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;IACpC,aAAa,EAAE,+CAA+C;IAC9D,OAAO,EAAE,mCAAmC;IAC5C,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EAAE,6CAA6C;CAC3D,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
@@ -1,4 +1,3 @@
1
- import { Fetcher } from '../../Fetcher';
2
1
  import { AirdropFetcher } from '../../AirdropFetcher';
3
2
  export declare const airdropFetcher: AirdropFetcher;
4
- export declare const fetcher: Fetcher;
3
+ export declare const fetcher: import("../..").Fetcher;
@@ -55,7 +55,6 @@ const query = (0, graphql_request_1.gql) `
55
55
  }
56
56
  }
57
57
  `;
58
- const networkId = portfolio_core_1.NetworkId.solana;
59
58
  const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
60
59
  const res = yield (0, graphql_request_1.default)(constants_1.graphqlApi, query, {
61
60
  authority: owner,
@@ -92,7 +91,6 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
92
91
  const claimStatuses = (0, helpers_1.deriveZetaClaimStatuses)(owner, constants_1.distributors);
93
92
  const client = (0, clients_1.getClientSolana)();
94
93
  const claimStatusesAccount = yield (0, getMultipleAccountsInfoSafe_1.getMultipleAccountsInfoSafe)(client, claimStatuses);
95
- console.log('constexecutor:AirdropFetcherExecutor= ~ claimStatusesAccount:', claimStatusesAccount);
96
94
  if (claimStatusesAccount.some((account) => account))
97
95
  return (0, AirdropFetcher_1.getAirdropRaw)({
98
96
  statics: constants_1.airdropStatics,
@@ -1 +1 @@
1
- {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAuE;AACvE,mEAA+C;AAE/C,2CAMqB;AAErB,iDAAsD;AACtD,gGAA6F;AAC7F,uCAAoD;AACpD,yDAK8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;CAchB,CAAC;AAEF,MAAM,SAAS,GAAG,0BAAS,CAAC,MAAM,CAAC;AAEnC,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,GAAG,GAAG,MAAM,IAAA,yBAAO,EACvB,sBAAU,EACV,KAAK,EACL;QACE,SAAS,EAAE,KAAK;KACjB,EACD;QACE,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE,6BAA6B;QACvC,WAAW,EAAE,gCAAgC;KAC9C,CACF,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IACpB,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC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gBACZ,OAAO,EAAE,mBAAO;aACjB;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,wCAAuB,EAC5C,sBAAc,EACd,oBAAQ,CAAC,EAAE,EACX,cAAc,EACd,0BAAc,CAAC,QAAQ,CACxB,CAAC"}
1
+ {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,mEAA+C;AAC/C,2CAMqB;AAErB,iDAAsD;AACtD,gGAA6F;AAC7F,uCAAoD;AACpD,yDAK8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;CAchB,CAAC;AAEF,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,GAAG,GAAG,MAAM,IAAA,yBAAO,EACvB,sBAAU,EACV,KAAK,EACL;QACE,SAAS,EAAE,KAAK;KACjB,EACD;QACE,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE,6BAA6B;QACvC,WAAW,EAAE,gCAAgC;KAC9C,CACF,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IACpB,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,uBAAuB;QACtC,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,0BAAc;YACvB,KAAK,EAAE;gBACL;oBACE,MAAM,EAAE,CAAC;oBACT,SAAS,EAAE,KAAK;oBAChB,KAAK,EAAE,KAAK;oBACZ,OAAO,EAAE,mBAAO;iBACjB;aACF;SACF,CAAC,CAAC;IAEL,MAAM,MA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