@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
@@ -4,12 +4,12 @@ import { PublicKey } from '@solana/web3.js';
4
4
  import { Platform } from '@sonarwatch/portfolio-core';
5
5
  import { IdlItem } from '@solanafm/explorer-kit-idls';
6
6
  import { AirdropStatics } from '../../AirdropFetcher';
7
+ export declare const zexMint = "ZEXy1pqteRu3n13kdyh4LwPQknkFk3GzmMYMuNadWPo";
7
8
  export declare const platformId = "zeta";
8
9
  export declare const platform: Platform;
9
10
  export declare const programId: PublicKey;
10
11
  export declare const graphqlApi = "https://api-gql.zeta.markets/graphql";
11
12
  export declare const airdropStatics: AirdropStatics;
12
- export declare const zexMint = "ZEXy1pqteRu3n13kdyh4LwPQknkFk3GzmMYMuNadWPo";
13
13
  export declare const zexDecimals = 6;
14
14
  export declare const distributorPid = "4JSALTb4QbipG7NNLryAFJg4y8X5C1ELErSncsVMA3gZ";
15
15
  export declare const distributors: string[];
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zetaIdlItem = exports.stakingPid = exports.distributors = exports.distributorPid = exports.zexDecimals = exports.zexMint = exports.airdropStatics = exports.graphqlApi = exports.programId = exports.platform = exports.platformId = void 0;
3
+ exports.zetaIdlItem = exports.stakingPid = exports.distributors = exports.distributorPid = exports.zexDecimals = exports.airdropStatics = exports.graphqlApi = exports.programId = exports.platform = exports.platformId = exports.zexMint = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  const idls_1 = require("./idls");
6
+ exports.zexMint = 'ZEXy1pqteRu3n13kdyh4LwPQknkFk3GzmMYMuNadWPo';
6
7
  exports.platformId = 'zeta';
7
8
  exports.platform = {
8
9
  id: exports.platformId,
@@ -10,6 +11,13 @@ exports.platform = {
10
11
  image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/zeta.webp',
11
12
  defiLlamaId: 'zeta',
12
13
  website: 'https://www.zeta.markets/',
14
+ twitter: 'https://x.com/ZetaMarkets',
15
+ documentation: 'https://docs.zeta.markets/',
16
+ tokens: [exports.zexMint],
17
+ telegram: 'https://t.me/realzetamarkets',
18
+ discord: 'https://discord.gg/Xn9HCJaDZd',
19
+ github: 'https://github.com/zetamarkets',
20
+ description: 'Zeta Markets is the premier derivatives protocol on Solana.',
13
21
  };
14
22
  exports.programId = new web3_js_1.PublicKey('ZETAxsqBRek56DhiGXrn75yj2NHU3aYUnxvHXpkf3aD');
15
23
  exports.graphqlApi = 'https://api-gql.zeta.markets/graphql';
@@ -22,7 +30,6 @@ exports.airdropStatics = {
22
30
  claimStart: 1719475200000,
23
31
  claimEnd: 1727251200000,
24
32
  };
25
- exports.zexMint = 'ZEXy1pqteRu3n13kdyh4LwPQknkFk3GzmMYMuNadWPo';
26
33
  exports.zexDecimals = 6;
27
34
  exports.distributorPid = '4JSALTb4QbipG7NNLryAFJg4y8X5C1ELErSncsVMA3gZ';
28
35
  exports.distributors = [
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,iCAA+C;AAGlC,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,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,UAAU,GAAG,sCAAsC,CAAC;AAEpD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,6BAA6B;IACxC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,MAAM;IACnB,EAAE,EAAE,cAAc;IAClB,KAAK,EACH,0EAA0E;IAC5E,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAChE,QAAA,YAAY,GAAG;IAC1B,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,WAAa;IAClB,OAAO,EAAE,QAAQ;CACP,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,iCAA+C;AAGlC,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,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,2BAA2B;IACpC,OAAO,EAAE,2BAA2B;IACpC,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,CAAC,eAAO,CAAC;IACjB,QAAQ,EAAE,8BAA8B;IACxC,OAAO,EAAE,+BAA+B;IACxC,MAAM,EAAE,gCAAgC;IACxC,WAAW,EAAE,6DAA6D;CAC3E,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,UAAU,GAAG,sCAAsC,CAAC;AAEpD,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,6BAA6B;IACxC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,MAAM;IACnB,EAAE,EAAE,cAAc;IAClB,KAAK,EACH,0EAA0E;IAC5E,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC;AAEW,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAChE,QAAA,YAAY,GAAG;IAC1B,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,6CAA6C;IAC7C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;IAC9C,8CAA8C;CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,WAAa;IAClB,OAAO,EAAE,QAAQ;CACP,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Contract, Platform } from '@sonarwatch/portfolio-core';
2
+ export declare const zeusMint = "ZEUS1aR7aX8DFFJf5QjWj2ftDDdNTroMNGo8YoQm3Gq";
3
+ export declare const platformId = "zeus";
4
+ export declare const platform: Platform;
5
+ export declare const zeusNodeDelegateContract: Contract;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zeusNodeDelegateContract = exports.platform = exports.platformId = exports.zeusMint = void 0;
4
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
5
+ exports.zeusMint = 'ZEUS1aR7aX8DFFJf5QjWj2ftDDdNTroMNGo8YoQm3Gq';
6
+ exports.platformId = 'zeus';
7
+ exports.platform = {
8
+ id: exports.platformId,
9
+ name: 'Zeus',
10
+ image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/zeusnode.webp',
11
+ website: 'https://app.zeusguardian.io/',
12
+ twitter: 'https://x.com/ZeusNetworkHQ',
13
+ documentation: 'https://docs.zeusnetwork.xyz/',
14
+ tokens: [exports.zeusMint],
15
+ github: 'https://github.com/ZeusNetworkHQ',
16
+ discord: 'https://discord.com/invite/zeusnetwork',
17
+ medium: 'https://medium.com/@zeus-network',
18
+ description: 'First Multichain Layer on Solana.',
19
+ };
20
+ exports.zeusNodeDelegateContract = {
21
+ name: `${exports.platform.name} Delegate`,
22
+ address: 'ZPLt7XEyRvRxEZcGFGnRKGLBymFjQbwmgTZhMAMfGAU',
23
+ network: portfolio_core_1.NetworkId.solana,
24
+ };
25
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/constants.ts"],"names":[],"mappings":";;;AAAA,+DAA2E;AAE9D,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE,CAAC,gBAAQ,CAAC;IAClB,MAAM,EAAE,kCAAkC;IAC1C,OAAO,EAAE,wCAAwC;IACjD,MAAM,EAAE,kCAAkC;IAC1C,WAAW,EAAE,mCAAmC;CACjD,CAAC;AAEW,QAAA,wBAAwB,GAAa;IAChD,IAAI,EAAE,GAAG,gBAAQ,CAAC,IAAI,WAAW;IACjC,OAAO,EAAE,6CAA6C;IACtD,OAAO,EAAE,0BAAS,CAAC,MAAM;CAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fetcher } from '../../Fetcher';
2
+ declare const fetcher: Fetcher;
3
+ export default fetcher;
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
+ const web3_js_1 = require("@solana/web3.js");
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const constants_1 = require("./constants");
19
+ const clients_1 = require("../../utils/clients");
20
+ const ParsedGpa_1 = require("../../utils/solana/beets/ParsedGpa");
21
+ const structs_1 = require("./structs");
22
+ const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
23
+ const secondsInADay = 86400;
24
+ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
25
+ const client = (0, clients_1.getClientSolana)();
26
+ const accounts = yield ParsedGpa_1.ParsedGpa.build(client, structs_1.delegationStruct, new web3_js_1.PublicKey(constants_1.zeusNodeDelegateContract.address))
27
+ .addFilter('accountDiscriminator', [47, 21, 138, 89, 209, 154, 59, 130])
28
+ .addFilter('delegator', new web3_js_1.PublicKey(owner))
29
+ .run();
30
+ const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
31
+ accounts.forEach((account) => {
32
+ const element = elementRegistry.addElementMultiple({
33
+ label: 'Staked',
34
+ ref: account.pubkey.toString(),
35
+ link: 'https://app.zeusguardian.io/delegations',
36
+ });
37
+ const startedRemovalAt = account.startedRemovalAt.isZero()
38
+ ? new bignumber_js_1.default(Date.now()).dividedBy(1000)
39
+ : account.startedRemovalAt;
40
+ let elpasedDays = startedRemovalAt
41
+ .minus(account.createdAt)
42
+ .dividedBy(secondsInADay)
43
+ .toNumber();
44
+ if (elpasedDays < 0) {
45
+ elpasedDays = 0;
46
+ }
47
+ else if (elpasedDays > account.lockDays) {
48
+ elpasedDays = account.lockDays;
49
+ }
50
+ const rewardAmount = account.amount
51
+ .times(account.derivedRewardRate)
52
+ .times(elpasedDays)
53
+ .dividedBy(1000000);
54
+ const claimableAmount = rewardAmount.isGreaterThan(account.claimedReward)
55
+ ? rewardAmount.minus(account.claimedReward)
56
+ : new bignumber_js_1.default(0);
57
+ const lockedUntil = account.createdAt
58
+ .plus(account.lockDays * secondsInADay)
59
+ .times(1000)
60
+ .toNumber();
61
+ element.addAsset({
62
+ address: constants_1.zeusMint,
63
+ amount: claimableAmount,
64
+ });
65
+ if (Date.now() < lockedUntil) {
66
+ element.addAsset({
67
+ address: constants_1.zeusMint,
68
+ amount: account.claimableAmount,
69
+ attributes: {
70
+ lockedUntil,
71
+ },
72
+ });
73
+ }
74
+ });
75
+ return elementRegistry.getElements(cache);
76
+ });
77
+ const fetcher = {
78
+ id: `${constants_1.platformId}-delegations`,
79
+ networkId: portfolio_core_1.NetworkId.solana,
80
+ executor,
81
+ };
82
+ exports.default = fetcher;
83
+ //# sourceMappingURL=delegationsFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/delegationsFetcher.ts"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O,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ export declare const jobs: Job[];
5
+ export declare const fetchers: Fetcher[];
6
+ export declare const platforms: Platform[];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.platforms = exports.fetchers = exports.jobs = void 0;
7
+ const constants_1 = require("../zeta/constants");
8
+ const delegationsFetcher_1 = __importDefault(require("./delegationsFetcher"));
9
+ exports.jobs = [];
10
+ exports.fetchers = [delegationsFetcher_1.default];
11
+ exports.platforms = [constants_1.platform];
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/index.ts"],"names":[],"mappings":";;;;;;AAGA,iDAA6C;AAC7C,8EAAsD;AAEzC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,4BAAkB,CAAC,CAAC;AAC3C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
+ import { PublicKey } from '@solana/web3.js';
4
+ import { BeetStruct } from '@metaplex-foundation/beet';
5
+ import BigNumber from 'bignumber.js';
6
+ declare enum DelegationStatus {
7
+ Activated = 0,
8
+ StartDelegationRemoval = 1,
9
+ FinalizeDelegationRemoval = 2
10
+ }
11
+ export type Delegation = {
12
+ accountDiscriminator: number[];
13
+ delegator: PublicKey;
14
+ guardianSetting: PublicKey;
15
+ seed: number;
16
+ status: DelegationStatus;
17
+ lockDays: number;
18
+ amount: BigNumber;
19
+ claimableAmount: BigNumber;
20
+ claimedReward: BigNumber;
21
+ baseRewardRate: number;
22
+ derivedRewardRate: number;
23
+ previousAccumulatedAmount: BigNumber;
24
+ createdAt: BigNumber;
25
+ startedRemovalAt: BigNumber;
26
+ finalizedRemovalAt: BigNumber;
27
+ };
28
+ export declare const delegationStruct: BeetStruct<Delegation, Partial<Delegation>>;
29
+ export {};
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.delegationStruct = void 0;
4
+ const beet_1 = require("@metaplex-foundation/beet");
5
+ const beet_solana_1 = require("@metaplex-foundation/beet-solana");
6
+ const solana_1 = require("../../utils/solana");
7
+ var DelegationStatus;
8
+ (function (DelegationStatus) {
9
+ DelegationStatus[DelegationStatus["Activated"] = 0] = "Activated";
10
+ DelegationStatus[DelegationStatus["StartDelegationRemoval"] = 1] = "StartDelegationRemoval";
11
+ DelegationStatus[DelegationStatus["FinalizeDelegationRemoval"] = 2] = "FinalizeDelegationRemoval";
12
+ })(DelegationStatus || (DelegationStatus = {}));
13
+ exports.delegationStruct = new beet_1.BeetStruct([
14
+ ['accountDiscriminator', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 8)],
15
+ ['delegator', beet_solana_1.publicKey],
16
+ ['guardianSetting', beet_solana_1.publicKey],
17
+ ['seed', beet_1.u32],
18
+ ['status', beet_1.u8],
19
+ ['lockDays', beet_1.u16],
20
+ ['amount', solana_1.u64],
21
+ ['claimableAmount', solana_1.u64],
22
+ ['claimedReward', solana_1.u64],
23
+ ['baseRewardRate', beet_1.u32],
24
+ ['derivedRewardRate', beet_1.u32],
25
+ ['previousAccumulatedAmount', solana_1.u64],
26
+ ['createdAt', solana_1.i64],
27
+ ['startedRemovalAt', solana_1.i64],
28
+ ['finalizedRemovalAt', solana_1.i64],
29
+ ], (args) => args);
30
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeus/structs.ts"],"names":[],"mappings":";;;AACA,oDAMmC;AACnC,kEAA6D;AAE7D,+CAA8C;AAE9C,IAAK,gBAIJ;AAJD,WAAK,gBAAgB;IACnB,iEAAS,CAAA;IACT,2FAAsB,CAAA;IACtB,iGAAyB,CAAA;AAC3B,CAAC,EAJI,gBAAgB,KAAhB,gBAAgB,QAIpB;AAoBY,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,sBAAsB,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,iBAAiB,EAAE,uBAAS,CAAC;IAC9B,CAAC,MAAM,EAAE,UAAG,CAAC;IACb,CAAC,QAAQ,EAAE,SAAE,CAAC;IACd,CAAC,UAAU,EAAE,UAAG,CAAC;IACjB,CAAC,QAAQ,EAAE,YAAG,CAAC;IACf,CAAC,iBAAiB,EAAE,YAAG,CAAC;IACxB,CAAC,eAAe,EAAE,YAAG,CAAC;IACtB,CAAC,gBAAgB,EAAE,UAAG,CAAC;IACvB,CAAC,mBAAmB,EAAE,UAAG,CAAC;IAC1B,CAAC,2BAA2B,EAAE,YAAG,CAAC;IAClC,CAAC,WAAW,EAAE,YAAG,CAAC;IAClB,CAAC,kBAAkB,EAAE,YAAG,CAAC;IACzB,CAAC,oBAAoB,EAAE,YAAG,CAAC;CAC5B,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
@@ -18,6 +18,8 @@ const getSourceWeight_1 = __importDefault(require("./getSourceWeight"));
18
18
  const getCachedDecimalsForToken_1 = require("./getCachedDecimalsForToken");
19
19
  const constants_1 = require("../../plugins/tokens/constants");
20
20
  const solana_1 = require("../solana");
21
+ const constants_2 = require("../../plugins/marinade/constants");
22
+ const constants_3 = require("../../plugins/jito/constants");
21
23
  /**
22
24
  * @deprecated
23
25
  * This function has been deprecated. Use the getLpUnderlyingTokenSource instead.
@@ -42,8 +44,8 @@ exports.tokensToRelyOnByNetwork = new Map([
42
44
  [
43
45
  portfolio_core_1.networks.solana.native.address,
44
46
  portfolio_core_1.solanaNativeWrappedAddress, // WSOL
45
- 'J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn', // jito SOL
46
- 'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So', // mSOL
47
+ constants_3.jitoSOLMint, // jito SOL
48
+ constants_2.mSOLMint, // mSOL
47
49
  '7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj', // lido SOL
48
50
  solana_1.usdcSolanaMint, // USDC
49
51
  'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', // USDT
@@ -1 +1 @@
1
- {"version":3,"file":"checkComputeAndStoreTokensPrices.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/checkComputeAndStoreTokensPrices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,wEAAgD;AAChD,2EAAwE;AACxE,8DAAsE;AACtE,sCAA2C;AAe3C;;;;;;;;;GASG;AACU,QAAA,uBAAuB,GAAiC,IAAI,GAAG,CAAC;IAC3E;QACE,0BAAS,CAAC,GAAG;QACb;YACE,yBAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO;YAC3B,sEAAsE,EAAE,OAAO;YAC/E,qHAAqH,EAAE,SAAS;SACjI;KACF;IACD;QACE,0BAAS,CAAC,MAAM;QAChB;YACE,yBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO;YAC9B,2CAA0B,EAAE,OAAO;YACnC,8CAA8C,EAAE,WAAW;YAC3D,6CAA6C,EAAE,OAAO;YACt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AS;gBACT,UAAU,EAAE,gCAAoB,CAAC,EAAE;gBACnC,QAAQ;gBACR,KAAK;gBACL,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACtB,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,MAAM,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;YACtD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AA5ID,mDA4IC"}
1
+ {"version":3,"file":"checkComputeAndStoreTokensPrices.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/checkComputeAndStoreTokensPrices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,wEAAgD;AAChD,2EAAwE;AACxE,8DAAsE;AACtE,sCAA2C;AAC3C,gEAA4D;AAC5D,4DAA2D;AAe3D;;;;;;;;;GASG;AACU,QAAA,uBAAuB,GAAiC,IAAI,GAAG,CAAC;IAC3E;QACE,0BAAS,CAAC,GAAG;QACb;YACE,yBAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO;YAC3B,sEAAsE,EAAE,OAAO;YAC/E,qHAAqH,EAAE,SAAS;SACjI;KACF;IACD;QACE,0BAAS,CAAC,MAAM;QAChB;YACE,yBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO;YAC9B,2CAA0B,EAAE,OAAO;YACnC,uBAAW,EAAE,WAAW;YACxB,oBAAQ,EAAE,OAAO;YACjB,8CAA8C,EAAE,WAAW;YAC3D,uBAA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,EAAE;gBACnC,QAAQ;gBACR,KAAK;gBACL,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;aACtB,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,MAAM,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;YACtD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC;QAC9D,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AA5ID,mDA4IC"}
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
4
- exports.infoQueryMsg = JSON.parse(`{
5
- "info": {}
4
+ exports.infoQueryMsg = JSON.parse(`{
5
+ "info": {}
6
6
  }`);
7
- exports.tokenInfoQueryMsg = JSON.parse(`{
8
- "token_info": {}
7
+ exports.tokenInfoQueryMsg = JSON.parse(`{
8
+ "token_info": {}
9
9
  }`);
10
- exports.minterQueryMsg = JSON.parse(`{
11
- "minter": {}
10
+ exports.minterQueryMsg = JSON.parse(`{
11
+ "minter": {}
12
12
  }`);
13
- exports.poolQueryMsg = JSON.parse(`{
14
- "pool": {}
13
+ exports.poolQueryMsg = JSON.parse(`{
14
+ "pool": {}
15
15
  }`);
16
16
  //# sourceMappingURL=constants.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function getQueryBalanceByOwner(owner) {
4
- return JSON.parse(`{
5
- "balance": {
6
- "address": "${owner}"
7
- }
4
+ return JSON.parse(`{
5
+ "balance": {
6
+ "address": "${owner}"
7
+ }
8
8
  }`);
9
9
  }
10
10
  exports.default = getQueryBalanceByOwner;