@sonarwatch/portfolio-plugins 0.14.154 → 0.14.156

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 (1116) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/src/index.d.ts +2 -5
  4. package/src/index.js +1 -10
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/01/constants.d.ts +0 -2
  7. package/src/plugins/01/constants.js +1 -13
  8. package/src/plugins/01/constants.js.map +1 -1
  9. package/src/plugins/01/index.d.ts +0 -2
  10. package/src/plugins/01/index.js +1 -3
  11. package/src/plugins/01/index.js.map +1 -1
  12. package/src/plugins/aave/constants.d.ts +1 -2
  13. package/src/plugins/aave/constants.js +1 -8
  14. package/src/plugins/aave/constants.js.map +1 -1
  15. package/src/plugins/aave/index.d.ts +0 -2
  16. package/src/plugins/aave/index.js +1 -3
  17. package/src/plugins/aave/index.js.map +1 -1
  18. package/src/plugins/abex/constants.d.ts +0 -2
  19. package/src/plugins/abex/constants.js +1 -9
  20. package/src/plugins/abex/constants.js.map +1 -1
  21. package/src/plugins/abex/index.d.ts +0 -2
  22. package/src/plugins/abex/index.js +1 -3
  23. package/src/plugins/abex/index.js.map +1 -1
  24. package/src/plugins/abex/marketsJob.js +1 -2
  25. package/src/plugins/abex/marketsJob.js.map +1 -1
  26. package/src/plugins/accessprotocol/constants.d.ts +0 -2
  27. package/src/plugins/accessprotocol/constants.js +1 -14
  28. package/src/plugins/accessprotocol/constants.js.map +1 -1
  29. package/src/plugins/accessprotocol/index.d.ts +0 -2
  30. package/src/plugins/accessprotocol/index.js +1 -3
  31. package/src/plugins/accessprotocol/index.js.map +1 -1
  32. package/src/plugins/adrastea/constants.d.ts +0 -2
  33. package/src/plugins/adrastea/constants.js +1 -13
  34. package/src/plugins/adrastea/constants.js.map +1 -1
  35. package/src/plugins/adrastea/index.d.ts +0 -2
  36. package/src/plugins/adrastea/index.js +1 -3
  37. package/src/plugins/adrastea/index.js.map +1 -1
  38. package/src/plugins/adrena/constants.d.ts +0 -2
  39. package/src/plugins/adrena/constants.js +1 -14
  40. package/src/plugins/adrena/constants.js.map +1 -1
  41. package/src/plugins/adrena/index.d.ts +0 -2
  42. package/src/plugins/adrena/index.js +1 -3
  43. package/src/plugins/adrena/index.js.map +1 -1
  44. package/src/plugins/aftermath/constants.d.ts +0 -2
  45. package/src/plugins/aftermath/constants.js +1 -8
  46. package/src/plugins/aftermath/constants.js.map +1 -1
  47. package/src/plugins/aftermath/index.d.ts +0 -2
  48. package/src/plugins/aftermath/index.js +1 -3
  49. package/src/plugins/aftermath/index.js.map +1 -1
  50. package/src/plugins/allbridge/constants.d.ts +0 -2
  51. package/src/plugins/allbridge/constants.js +1 -15
  52. package/src/plugins/allbridge/constants.js.map +1 -1
  53. package/src/plugins/allbridge/index.d.ts +0 -2
  54. package/src/plugins/allbridge/index.js +1 -3
  55. package/src/plugins/allbridge/index.js.map +1 -1
  56. package/src/plugins/alphafi/constants.d.ts +0 -2
  57. package/src/plugins/alphafi/constants.js +1 -9
  58. package/src/plugins/alphafi/constants.js.map +1 -1
  59. package/src/plugins/alphafi/index.d.ts +0 -2
  60. package/src/plugins/alphafi/index.js +1 -3
  61. package/src/plugins/alphafi/index.js.map +1 -1
  62. package/src/plugins/aptin/constants.d.ts +0 -2
  63. package/src/plugins/aptin/constants.js +1 -9
  64. package/src/plugins/aptin/constants.js.map +1 -1
  65. package/src/plugins/aptin/index.d.ts +0 -2
  66. package/src/plugins/aptin/index.js +1 -3
  67. package/src/plugins/aptin/index.js.map +1 -1
  68. package/src/plugins/aries/constants.d.ts +0 -2
  69. package/src/plugins/aries/constants.js +1 -9
  70. package/src/plugins/aries/constants.js.map +1 -1
  71. package/src/plugins/aries/index.d.ts +0 -2
  72. package/src/plugins/aries/index.js +1 -3
  73. package/src/plugins/aries/index.js.map +1 -1
  74. package/src/plugins/armada-staking/constants.d.ts +0 -12
  75. package/src/plugins/armada-staking/constants.js +1 -81
  76. package/src/plugins/armada-staking/constants.js.map +1 -1
  77. package/src/plugins/armada-staking/index.d.ts +0 -2
  78. package/src/plugins/armada-staking/index.js +1 -15
  79. package/src/plugins/armada-staking/index.js.map +1 -1
  80. package/src/plugins/atrix/constants.d.ts +0 -2
  81. package/src/plugins/atrix/constants.js +1 -12
  82. package/src/plugins/atrix/constants.js.map +1 -1
  83. package/src/plugins/atrix/index.d.ts +0 -2
  84. package/src/plugins/atrix/index.js +1 -3
  85. package/src/plugins/atrix/index.js.map +1 -1
  86. package/src/plugins/aurory/constants.d.ts +0 -2
  87. package/src/plugins/aurory/constants.js +1 -14
  88. package/src/plugins/aurory/constants.js.map +1 -1
  89. package/src/plugins/aurory/index.d.ts +0 -2
  90. package/src/plugins/aurory/index.js +1 -3
  91. package/src/plugins/aurory/index.js.map +1 -1
  92. package/src/plugins/auxexchange/constants.d.ts +0 -2
  93. package/src/plugins/auxexchange/constants.js +1 -8
  94. package/src/plugins/auxexchange/constants.js.map +1 -1
  95. package/src/plugins/auxexchange/index.d.ts +0 -2
  96. package/src/plugins/auxexchange/index.js +1 -3
  97. package/src/plugins/auxexchange/index.js.map +1 -1
  98. package/src/plugins/balancer/constants.d.ts +0 -2
  99. package/src/plugins/balancer/constants.js +1 -8
  100. package/src/plugins/balancer/constants.js.map +1 -1
  101. package/src/plugins/balancer/index.d.ts +0 -2
  102. package/src/plugins/balancer/index.js +1 -3
  103. package/src/plugins/balancer/index.js.map +1 -1
  104. package/src/plugins/banx/constants.d.ts +0 -2
  105. package/src/plugins/banx/constants.js +1 -14
  106. package/src/plugins/banx/constants.js.map +1 -1
  107. package/src/plugins/banx/index.d.ts +0 -2
  108. package/src/plugins/banx/index.js +1 -3
  109. package/src/plugins/banx/index.js.map +1 -1
  110. package/src/plugins/baskt/constants.d.ts +0 -2
  111. package/src/plugins/baskt/constants.js +1 -11
  112. package/src/plugins/baskt/constants.js.map +1 -1
  113. package/src/plugins/baskt/index.d.ts +0 -2
  114. package/src/plugins/baskt/index.js +1 -3
  115. package/src/plugins/baskt/index.js.map +1 -1
  116. package/src/plugins/benqi/constants.d.ts +0 -2
  117. package/src/plugins/benqi/constants.js +1 -9
  118. package/src/plugins/benqi/constants.js.map +1 -1
  119. package/src/plugins/benqi/index.d.ts +0 -2
  120. package/src/plugins/benqi/index.js +1 -2
  121. package/src/plugins/benqi/index.js.map +1 -1
  122. package/src/plugins/bluefin/airdropFetcher.js +2 -2
  123. package/src/plugins/bluefin/airdropFetcher.js.map +1 -1
  124. package/src/plugins/bluefin/constants.d.ts +1 -2
  125. package/src/plugins/bluefin/constants.js +3 -10
  126. package/src/plugins/bluefin/constants.js.map +1 -1
  127. package/src/plugins/bluefin/index.d.ts +0 -2
  128. package/src/plugins/bluefin/index.js +1 -3
  129. package/src/plugins/bluefin/index.js.map +1 -1
  130. package/src/plugins/bluemove/constants.d.ts +0 -2
  131. package/src/plugins/bluemove/constants.js +1 -9
  132. package/src/plugins/bluemove/constants.js.map +1 -1
  133. package/src/plugins/bluemove/index.d.ts +0 -2
  134. package/src/plugins/bluemove/index.js +1 -3
  135. package/src/plugins/bluemove/index.js.map +1 -1
  136. package/src/plugins/bonfida/constants.d.ts +0 -2
  137. package/src/plugins/bonfida/constants.js +1 -15
  138. package/src/plugins/bonfida/constants.js.map +1 -1
  139. package/src/plugins/bonfida/index.d.ts +0 -2
  140. package/src/plugins/bonfida/index.js +1 -3
  141. package/src/plugins/bonfida/index.js.map +1 -1
  142. package/src/plugins/bonkrewards/constants.d.ts +0 -2
  143. package/src/plugins/bonkrewards/constants.js +1 -14
  144. package/src/plugins/bonkrewards/constants.js.map +1 -1
  145. package/src/plugins/bonkrewards/index.d.ts +0 -2
  146. package/src/plugins/bonkrewards/index.js +1 -3
  147. package/src/plugins/bonkrewards/index.js.map +1 -1
  148. package/src/plugins/bskt/constants.d.ts +0 -2
  149. package/src/plugins/bskt/constants.js +1 -14
  150. package/src/plugins/bskt/constants.js.map +1 -1
  151. package/src/plugins/bskt/index.d.ts +0 -2
  152. package/src/plugins/bskt/index.js +1 -3
  153. package/src/plugins/bskt/index.js.map +1 -1
  154. package/src/plugins/bucket/constants.d.ts +0 -2
  155. package/src/plugins/bucket/constants.js +1 -8
  156. package/src/plugins/bucket/constants.js.map +1 -1
  157. package/src/plugins/bucket/index.d.ts +0 -2
  158. package/src/plugins/bucket/index.js +1 -3
  159. package/src/plugins/bucket/index.js.map +1 -1
  160. package/src/plugins/cetus/constants.d.ts +0 -2
  161. package/src/plugins/cetus/constants.js +1 -8
  162. package/src/plugins/cetus/constants.js.map +1 -1
  163. package/src/plugins/cetus/index.d.ts +0 -2
  164. package/src/plugins/cetus/index.js +1 -3
  165. package/src/plugins/cetus/index.js.map +1 -1
  166. package/src/plugins/citrus/constants.d.ts +0 -2
  167. package/src/plugins/citrus/constants.js +1 -12
  168. package/src/plugins/citrus/constants.js.map +1 -1
  169. package/src/plugins/citrus/index.d.ts +0 -2
  170. package/src/plugins/citrus/index.js +1 -3
  171. package/src/plugins/citrus/index.js.map +1 -1
  172. package/src/plugins/clone/constants.d.ts +0 -2
  173. package/src/plugins/clone/constants.js +1 -11
  174. package/src/plugins/clone/constants.js.map +1 -1
  175. package/src/plugins/clone/index.d.ts +0 -2
  176. package/src/plugins/clone/index.js +1 -3
  177. package/src/plugins/clone/index.js.map +1 -1
  178. package/src/plugins/coingecko/index.d.ts +0 -2
  179. package/src/plugins/coingecko/index.js +1 -2
  180. package/src/plugins/coingecko/index.js.map +1 -1
  181. package/src/plugins/coinmarketcap/constants.d.ts +0 -2
  182. package/src/plugins/coinmarketcap/constants.js +1 -5
  183. package/src/plugins/coinmarketcap/constants.js.map +1 -1
  184. package/src/plugins/coinmarketcap/index.d.ts +0 -2
  185. package/src/plugins/coinmarketcap/index.js +1 -3
  186. package/src/plugins/coinmarketcap/index.js.map +1 -1
  187. package/src/plugins/coinmarketcap/pricingJob.js +7 -7
  188. package/src/plugins/coinmarketcap/pricingJob.js.map +1 -1
  189. package/src/plugins/compound/constants.d.ts +1 -2
  190. package/src/plugins/compound/constants.js +1 -8
  191. package/src/plugins/compound/constants.js.map +1 -1
  192. package/src/plugins/compound/index.d.ts +0 -2
  193. package/src/plugins/compound/index.js +1 -2
  194. package/src/plugins/compound/index.js.map +1 -1
  195. package/src/plugins/cropper/constants.d.ts +0 -2
  196. package/src/plugins/cropper/constants.js +1 -16
  197. package/src/plugins/cropper/constants.js.map +1 -1
  198. package/src/plugins/cropper/index.d.ts +0 -2
  199. package/src/plugins/cropper/index.js +1 -3
  200. package/src/plugins/cropper/index.js.map +1 -1
  201. package/src/plugins/curve/constants.d.ts +1 -2
  202. package/src/plugins/curve/constants.js +1 -8
  203. package/src/plugins/curve/constants.js.map +1 -1
  204. package/src/plugins/curve/index.d.ts +0 -2
  205. package/src/plugins/curve/index.js +1 -2
  206. package/src/plugins/curve/index.js.map +1 -1
  207. package/src/plugins/cyberfrogs/constants.d.ts +0 -2
  208. package/src/plugins/cyberfrogs/constants.js +1 -10
  209. package/src/plugins/cyberfrogs/constants.js.map +1 -1
  210. package/src/plugins/cyberfrogs/index.d.ts +0 -2
  211. package/src/plugins/cyberfrogs/index.js +1 -3
  212. package/src/plugins/cyberfrogs/index.js.map +1 -1
  213. package/src/plugins/daos/constants.d.ts +0 -3
  214. package/src/plugins/daos/constants.js +1 -19
  215. package/src/plugins/daos/constants.js.map +1 -1
  216. package/src/plugins/daos/index.d.ts +0 -2
  217. package/src/plugins/daos/index.js +1 -3
  218. package/src/plugins/daos/index.js.map +1 -1
  219. package/src/plugins/debridge/airdropFetcher.js +6 -6
  220. package/src/plugins/debridge/airdropFetcher.js.map +1 -1
  221. package/src/plugins/debridge/constants.d.ts +1 -2
  222. package/src/plugins/debridge/constants.js +2 -15
  223. package/src/plugins/debridge/constants.js.map +1 -1
  224. package/src/plugins/debridge/index.d.ts +0 -2
  225. package/src/plugins/debridge/index.js +1 -3
  226. package/src/plugins/debridge/index.js.map +1 -1
  227. package/src/plugins/deepbook/airdropFetcher.js +1 -1
  228. package/src/plugins/deepbook/airdropFetcher.js.map +1 -1
  229. package/src/plugins/deepbook/constants.d.ts +0 -2
  230. package/src/plugins/deepbook/constants.js +1 -9
  231. package/src/plugins/deepbook/constants.js.map +1 -1
  232. package/src/plugins/deepbook/index.d.ts +0 -2
  233. package/src/plugins/deepbook/index.js +1 -3
  234. package/src/plugins/deepbook/index.js.map +1 -1
  235. package/src/plugins/defiland/constants.d.ts +0 -2
  236. package/src/plugins/defiland/constants.js +1 -13
  237. package/src/plugins/defiland/constants.js.map +1 -1
  238. package/src/plugins/defiland/index.d.ts +0 -2
  239. package/src/plugins/defiland/index.js +1 -3
  240. package/src/plugins/defiland/index.js.map +1 -1
  241. package/src/plugins/defituna/constants.d.ts +0 -2
  242. package/src/plugins/defituna/constants.js +1 -11
  243. package/src/plugins/defituna/constants.js.map +1 -1
  244. package/src/plugins/defituna/index.d.ts +0 -2
  245. package/src/plugins/defituna/index.js +1 -3
  246. package/src/plugins/defituna/index.js.map +1 -1
  247. package/src/plugins/divvy/constants.d.ts +0 -2
  248. package/src/plugins/divvy/constants.js +1 -13
  249. package/src/plugins/divvy/constants.js.map +1 -1
  250. package/src/plugins/divvy/index.d.ts +0 -2
  251. package/src/plugins/divvy/index.js +1 -3
  252. package/src/plugins/divvy/index.js.map +1 -1
  253. package/src/plugins/doubleup/constants.d.ts +0 -2
  254. package/src/plugins/doubleup/constants.js +1 -9
  255. package/src/plugins/doubleup/constants.js.map +1 -1
  256. package/src/plugins/doubleup/index.d.ts +0 -2
  257. package/src/plugins/doubleup/index.js +1 -3
  258. package/src/plugins/doubleup/index.js.map +1 -1
  259. package/src/plugins/drift/constants.d.ts +0 -2
  260. package/src/plugins/drift/constants.js +1 -14
  261. package/src/plugins/drift/constants.js.map +1 -1
  262. package/src/plugins/drift/index.d.ts +0 -2
  263. package/src/plugins/drift/index.js +1 -3
  264. package/src/plugins/drift/index.js.map +1 -1
  265. package/src/plugins/drift-market-maker-vault/constants.d.ts +0 -10
  266. package/src/plugins/drift-market-maker-vault/constants.js +1 -86
  267. package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
  268. package/src/plugins/drift-market-maker-vault/index.d.ts +0 -2
  269. package/src/plugins/drift-market-maker-vault/index.js +1 -13
  270. package/src/plugins/drift-market-maker-vault/index.js.map +1 -1
  271. package/src/plugins/echelon/constants.d.ts +0 -2
  272. package/src/plugins/echelon/constants.js +1 -9
  273. package/src/plugins/echelon/constants.js.map +1 -1
  274. package/src/plugins/echelon/index.d.ts +0 -2
  275. package/src/plugins/echelon/index.js +1 -2
  276. package/src/plugins/echelon/index.js.map +1 -1
  277. package/src/plugins/elemental/constants.d.ts +0 -2
  278. package/src/plugins/elemental/constants.js +1 -13
  279. package/src/plugins/elemental/constants.js.map +1 -1
  280. package/src/plugins/elemental/index.d.ts +0 -2
  281. package/src/plugins/elemental/index.js +1 -3
  282. package/src/plugins/elemental/index.js.map +1 -1
  283. package/src/plugins/elixir/constants.d.ts +0 -2
  284. package/src/plugins/elixir/constants.js +1 -9
  285. package/src/plugins/elixir/constants.js.map +1 -1
  286. package/src/plugins/elixir/index.d.ts +0 -2
  287. package/src/plugins/elixir/index.js +1 -3
  288. package/src/plugins/elixir/index.js.map +1 -1
  289. package/src/plugins/ensofi/constants.d.ts +0 -2
  290. package/src/plugins/ensofi/constants.js +1 -13
  291. package/src/plugins/ensofi/constants.js.map +1 -1
  292. package/src/plugins/ensofi/index.d.ts +0 -2
  293. package/src/plugins/ensofi/index.js +1 -3
  294. package/src/plugins/ensofi/index.js.map +1 -1
  295. package/src/plugins/ensofi/solanaLoansJob.js.map +1 -1
  296. package/src/plugins/ensofi/structs.d.ts +3 -2
  297. package/src/plugins/ensofi/structs.js +3 -2
  298. package/src/plugins/ensofi/structs.js.map +1 -1
  299. package/src/plugins/exponent/constants.d.ts +0 -2
  300. package/src/plugins/exponent/constants.js +1 -13
  301. package/src/plugins/exponent/constants.js.map +1 -1
  302. package/src/plugins/exponent/index.d.ts +0 -2
  303. package/src/plugins/exponent/index.js +1 -3
  304. package/src/plugins/exponent/index.js.map +1 -1
  305. package/src/plugins/famousfoxfederation/constants.d.ts +0 -2
  306. package/src/plugins/famousfoxfederation/constants.js +1 -11
  307. package/src/plugins/famousfoxfederation/constants.js.map +1 -1
  308. package/src/plugins/famousfoxfederation/index.d.ts +0 -2
  309. package/src/plugins/famousfoxfederation/index.js +1 -3
  310. package/src/plugins/famousfoxfederation/index.js.map +1 -1
  311. package/src/plugins/flash/constants.d.ts +0 -2
  312. package/src/plugins/flash/constants.js +1 -13
  313. package/src/plugins/flash/constants.js.map +1 -1
  314. package/src/plugins/flash/index.d.ts +0 -2
  315. package/src/plugins/flash/index.js +1 -3
  316. package/src/plugins/flash/index.js.map +1 -1
  317. package/src/plugins/flash/poolJob.js +2 -3
  318. package/src/plugins/flash/poolJob.js.map +1 -1
  319. package/src/plugins/flowx/constants.d.ts +0 -2
  320. package/src/plugins/flowx/constants.js +1 -9
  321. package/src/plugins/flowx/constants.js.map +1 -1
  322. package/src/plugins/flowx/index.d.ts +0 -2
  323. package/src/plugins/flowx/index.js +1 -3
  324. package/src/plugins/flowx/index.js.map +1 -1
  325. package/src/plugins/fluxbeam/constants.d.ts +0 -2
  326. package/src/plugins/fluxbeam/constants.js +1 -14
  327. package/src/plugins/fluxbeam/constants.js.map +1 -1
  328. package/src/plugins/fluxbeam/index.d.ts +0 -2
  329. package/src/plugins/fluxbeam/index.js +1 -3
  330. package/src/plugins/fluxbeam/index.js.map +1 -1
  331. package/src/plugins/foo/airdropFetcher.js +1 -1
  332. package/src/plugins/foo/airdropFetcher.js.map +1 -1
  333. package/src/plugins/foo/constants.d.ts +0 -2
  334. package/src/plugins/foo/constants.js +1 -9
  335. package/src/plugins/foo/constants.js.map +1 -1
  336. package/src/plugins/foo/index.d.ts +0 -2
  337. package/src/plugins/foo/index.js +1 -3
  338. package/src/plugins/foo/index.js.map +1 -1
  339. package/src/plugins/fragmetric/constants.d.ts +0 -2
  340. package/src/plugins/fragmetric/constants.js +1 -18
  341. package/src/plugins/fragmetric/constants.js.map +1 -1
  342. package/src/plugins/fragmetric/index.d.ts +0 -2
  343. package/src/plugins/fragmetric/index.js +1 -3
  344. package/src/plugins/fragmetric/index.js.map +1 -1
  345. package/src/plugins/francium/constants.d.ts +0 -2
  346. package/src/plugins/francium/constants.js +1 -15
  347. package/src/plugins/francium/constants.js.map +1 -1
  348. package/src/plugins/francium/index.d.ts +0 -2
  349. package/src/plugins/francium/index.js +1 -3
  350. package/src/plugins/francium/index.js.map +1 -1
  351. package/src/plugins/futarchy/constants.d.ts +0 -2
  352. package/src/plugins/futarchy/constants.js +1 -14
  353. package/src/plugins/futarchy/constants.js.map +1 -1
  354. package/src/plugins/futarchy/index.d.ts +0 -2
  355. package/src/plugins/futarchy/index.js +1 -3
  356. package/src/plugins/futarchy/index.js.map +1 -1
  357. package/src/plugins/genesysgo/constants.d.ts +0 -2
  358. package/src/plugins/genesysgo/constants.js +1 -14
  359. package/src/plugins/genesysgo/constants.js.map +1 -1
  360. package/src/plugins/genesysgo/index.d.ts +0 -2
  361. package/src/plugins/genesysgo/index.js +1 -3
  362. package/src/plugins/genesysgo/index.js.map +1 -1
  363. package/src/plugins/goosefx/constants.d.ts +0 -2
  364. package/src/plugins/goosefx/constants.js +1 -13
  365. package/src/plugins/goosefx/constants.js.map +1 -1
  366. package/src/plugins/goosefx/index.d.ts +0 -2
  367. package/src/plugins/goosefx/index.js +1 -3
  368. package/src/plugins/goosefx/index.js.map +1 -1
  369. package/src/plugins/gpool/constants.d.ts +0 -2
  370. package/src/plugins/gpool/constants.js +1 -7
  371. package/src/plugins/gpool/constants.js.map +1 -1
  372. package/src/plugins/gpool/index.d.ts +0 -2
  373. package/src/plugins/gpool/index.js +1 -3
  374. package/src/plugins/gpool/index.js.map +1 -1
  375. package/src/plugins/grass/airdropFetcher.js +1 -1
  376. package/src/plugins/grass/airdropFetcher.js.map +1 -1
  377. package/src/plugins/grass/constants.d.ts +0 -2
  378. package/src/plugins/grass/constants.js +2 -13
  379. package/src/plugins/grass/constants.js.map +1 -1
  380. package/src/plugins/grass/index.d.ts +0 -2
  381. package/src/plugins/grass/index.js +1 -3
  382. package/src/plugins/grass/index.js.map +1 -1
  383. package/src/plugins/guano/constants.d.ts +0 -2
  384. package/src/plugins/guano/constants.js +1 -8
  385. package/src/plugins/guano/constants.js.map +1 -1
  386. package/src/plugins/guano/index.d.ts +0 -2
  387. package/src/plugins/guano/index.js +1 -3
  388. package/src/plugins/guano/index.js.map +1 -1
  389. package/src/plugins/haedal/constants.d.ts +0 -2
  390. package/src/plugins/haedal/constants.js +1 -9
  391. package/src/plugins/haedal/constants.js.map +1 -1
  392. package/src/plugins/haedal/index.d.ts +0 -2
  393. package/src/plugins/haedal/index.js +1 -3
  394. package/src/plugins/haedal/index.js.map +1 -1
  395. package/src/plugins/hawksight/constants.d.ts +0 -2
  396. package/src/plugins/hawksight/constants.js +1 -13
  397. package/src/plugins/hawksight/constants.js.map +1 -1
  398. package/src/plugins/hawksight/index.d.ts +0 -2
  399. package/src/plugins/hawksight/index.js +1 -3
  400. package/src/plugins/hawksight/index.js.map +1 -1
  401. package/src/plugins/hawksight/positionsFetcher.js +4 -5
  402. package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
  403. package/src/plugins/hedgehog/constants.d.ts +0 -2
  404. package/src/plugins/hedgehog/constants.js +1 -13
  405. package/src/plugins/hedgehog/constants.js.map +1 -1
  406. package/src/plugins/hedgehog/index.d.ts +0 -2
  407. package/src/plugins/hedgehog/index.js +1 -3
  408. package/src/plugins/hedgehog/index.js.map +1 -1
  409. package/src/plugins/holdium/constants.d.ts +0 -2
  410. package/src/plugins/holdium/constants.js +1 -11
  411. package/src/plugins/holdium/constants.js.map +1 -1
  412. package/src/plugins/holdium/index.d.ts +0 -2
  413. package/src/plugins/holdium/index.js +1 -3
  414. package/src/plugins/holdium/index.js.map +1 -1
  415. package/src/plugins/hxro/constants.d.ts +0 -2
  416. package/src/plugins/hxro/constants.js +1 -14
  417. package/src/plugins/hxro/constants.js.map +1 -1
  418. package/src/plugins/hxro/index.d.ts +0 -2
  419. package/src/plugins/hxro/index.js +1 -3
  420. package/src/plugins/hxro/index.js.map +1 -1
  421. package/src/plugins/iloop/constants.d.ts +0 -2
  422. package/src/plugins/iloop/constants.js +1 -13
  423. package/src/plugins/iloop/constants.js.map +1 -1
  424. package/src/plugins/iloop/index.d.ts +0 -2
  425. package/src/plugins/iloop/index.js +1 -3
  426. package/src/plugins/iloop/index.js.map +1 -1
  427. package/src/plugins/instadapp/constants.d.ts +0 -2
  428. package/src/plugins/instadapp/constants.js +1 -9
  429. package/src/plugins/instadapp/constants.js.map +1 -1
  430. package/src/plugins/instadapp/index.d.ts +0 -2
  431. package/src/plugins/instadapp/index.js +2 -3
  432. package/src/plugins/instadapp/index.js.map +1 -1
  433. package/src/plugins/jewel/constants.d.ts +0 -2
  434. package/src/plugins/jewel/constants.js +1 -9
  435. package/src/plugins/jewel/constants.js.map +1 -1
  436. package/src/plugins/jewel/index.d.ts +0 -2
  437. package/src/plugins/jewel/index.js +1 -3
  438. package/src/plugins/jewel/index.js.map +1 -1
  439. package/src/plugins/jito/constants.d.ts +0 -4
  440. package/src/plugins/jito/constants.js +1 -36
  441. package/src/plugins/jito/constants.js.map +1 -1
  442. package/src/plugins/jito/index.d.ts +0 -2
  443. package/src/plugins/jito/index.js +1 -3
  444. package/src/plugins/jito/index.js.map +1 -1
  445. package/src/plugins/joule/constants.d.ts +0 -2
  446. package/src/plugins/joule/constants.js +1 -9
  447. package/src/plugins/joule/constants.js.map +1 -1
  448. package/src/plugins/joule/index.d.ts +0 -2
  449. package/src/plugins/joule/index.js +1 -3
  450. package/src/plugins/joule/index.js.map +1 -1
  451. package/src/plugins/jupiter/exchange/constants.d.ts +0 -2
  452. package/src/plugins/jupiter/exchange/constants.js +1 -14
  453. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  454. package/src/plugins/jupiter/governance/constants.d.ts +0 -2
  455. package/src/plugins/jupiter/governance/constants.js +1 -11
  456. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  457. package/src/plugins/jupiter/index.d.ts +0 -2
  458. package/src/plugins/jupiter/index.js +1 -9
  459. package/src/plugins/jupiter/index.js.map +1 -1
  460. package/src/plugins/jupiter/launchpad/constants.d.ts +0 -2
  461. package/src/plugins/jupiter/launchpad/constants.js +1 -9
  462. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  463. package/src/plugins/jupiter/pricingJob.js +6 -7
  464. package/src/plugins/jupiter/pricingJob.js.map +1 -1
  465. package/src/plugins/kai/constants.d.ts +0 -2
  466. package/src/plugins/kai/constants.js +1 -9
  467. package/src/plugins/kai/constants.js.map +1 -1
  468. package/src/plugins/kai/index.d.ts +0 -2
  469. package/src/plugins/kai/index.js +1 -3
  470. package/src/plugins/kai/index.js.map +1 -1
  471. package/src/plugins/kamino/constants.d.ts +0 -2
  472. package/src/plugins/kamino/constants.js +1 -14
  473. package/src/plugins/kamino/constants.js.map +1 -1
  474. package/src/plugins/kamino/index.d.ts +0 -2
  475. package/src/plugins/kamino/index.js +1 -3
  476. package/src/plugins/kamino/index.js.map +1 -1
  477. package/src/plugins/kamino/s1AirdropFetcher.js +1 -1
  478. package/src/plugins/kamino/s1AirdropFetcher.js.map +1 -1
  479. package/src/plugins/kamino/s2AirdropFetcher.old.js +1 -1
  480. package/src/plugins/kamino/s2AirdropFetcher.old.js.map +1 -1
  481. package/src/plugins/kriya/constants.d.ts +0 -2
  482. package/src/plugins/kriya/constants.js +1 -9
  483. package/src/plugins/kriya/constants.js.map +1 -1
  484. package/src/plugins/kriya/index.d.ts +0 -2
  485. package/src/plugins/kriya/index.js +1 -3
  486. package/src/plugins/kriya/index.js.map +1 -1
  487. package/src/plugins/layer3/constants.d.ts +0 -2
  488. package/src/plugins/layer3/constants.js +1 -13
  489. package/src/plugins/layer3/constants.js.map +1 -1
  490. package/src/plugins/layer3/index.d.ts +0 -2
  491. package/src/plugins/layer3/index.js +1 -3
  492. package/src/plugins/layer3/index.js.map +1 -1
  493. package/src/plugins/lido/constants.d.ts +0 -2
  494. package/src/plugins/lido/constants.js +1 -8
  495. package/src/plugins/lido/constants.js.map +1 -1
  496. package/src/plugins/lido/index.d.ts +0 -2
  497. package/src/plugins/lido/index.js +1 -3
  498. package/src/plugins/lido/index.js.map +1 -1
  499. package/src/plugins/lifinity/constants.d.ts +0 -2
  500. package/src/plugins/lifinity/constants.js +1 -15
  501. package/src/plugins/lifinity/constants.js.map +1 -1
  502. package/src/plugins/lifinity/index.d.ts +0 -2
  503. package/src/plugins/lifinity/index.js +1 -3
  504. package/src/plugins/lifinity/index.js.map +1 -1
  505. package/src/plugins/lifinity/xLfntyJob.js +1 -2
  506. package/src/plugins/lifinity/xLfntyJob.js.map +1 -1
  507. package/src/plugins/liquiditypools-sei/constants.d.ts +0 -3
  508. package/src/plugins/liquiditypools-sei/constants.js +5 -18
  509. package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
  510. package/src/plugins/liquiditypools-sei/index.d.ts +0 -4
  511. package/src/plugins/liquiditypools-sei/index.js +1 -7
  512. package/src/plugins/liquiditypools-sei/index.js.map +1 -1
  513. package/src/plugins/liquidswap/constants.d.ts +0 -2
  514. package/src/plugins/liquidswap/constants.js +1 -8
  515. package/src/plugins/liquidswap/constants.js.map +1 -1
  516. package/src/plugins/liquidswap/index.d.ts +0 -2
  517. package/src/plugins/liquidswap/index.js +1 -3
  518. package/src/plugins/liquidswap/index.js.map +1 -1
  519. package/src/plugins/llama-protocols/getLlamaProtocolsJob.d.ts +4 -2
  520. package/src/plugins/llama-protocols/getLlamaProtocolsJob.js.map +1 -1
  521. package/src/plugins/loopscale/constants.d.ts +0 -2
  522. package/src/plugins/loopscale/constants.js +1 -13
  523. package/src/plugins/loopscale/constants.js.map +1 -1
  524. package/src/plugins/loopscale/index.d.ts +0 -2
  525. package/src/plugins/loopscale/index.js +1 -3
  526. package/src/plugins/loopscale/index.js.map +1 -1
  527. package/src/plugins/loopscale/lendVaultsFetcher.js +3 -3
  528. package/src/plugins/loopscale/lendVaultsFetcher.js.map +1 -1
  529. package/src/plugins/loverflow/constants.d.ts +0 -2
  530. package/src/plugins/loverflow/constants.js +1 -9
  531. package/src/plugins/loverflow/constants.js.map +1 -1
  532. package/src/plugins/loverflow/index.d.ts +0 -2
  533. package/src/plugins/loverflow/index.js +1 -3
  534. package/src/plugins/loverflow/index.js.map +1 -1
  535. package/src/plugins/lulo/constants.d.ts +0 -2
  536. package/src/plugins/lulo/constants.js +1 -14
  537. package/src/plugins/lulo/constants.js.map +1 -1
  538. package/src/plugins/lulo/depositsFetcher.js +6 -7
  539. package/src/plugins/lulo/depositsFetcher.js.map +1 -1
  540. package/src/plugins/lulo/index.d.ts +0 -2
  541. package/src/plugins/lulo/index.js +1 -3
  542. package/src/plugins/lulo/index.js.map +1 -1
  543. package/src/plugins/lulo/rewardsFetcher.js +1 -1
  544. package/src/plugins/lulo/rewardsFetcher.js.map +1 -1
  545. package/src/plugins/magiceden/airdropFetcher.js +1 -1
  546. package/src/plugins/magiceden/airdropFetcher.js.map +1 -1
  547. package/src/plugins/magiceden/constants.d.ts +0 -2
  548. package/src/plugins/magiceden/constants.js +1 -13
  549. package/src/plugins/magiceden/constants.js.map +1 -1
  550. package/src/plugins/magiceden/index.d.ts +0 -2
  551. package/src/plugins/magiceden/index.js +1 -3
  552. package/src/plugins/magiceden/index.js.map +1 -1
  553. package/src/plugins/maker/constants.d.ts +0 -2
  554. package/src/plugins/maker/constants.js +1 -8
  555. package/src/plugins/maker/constants.js.map +1 -1
  556. package/src/plugins/maker/index.d.ts +0 -2
  557. package/src/plugins/maker/index.js +1 -3
  558. package/src/plugins/maker/index.js.map +1 -1
  559. package/src/plugins/maker/sdaiJob.js +1 -2
  560. package/src/plugins/maker/sdaiJob.js.map +1 -1
  561. package/src/plugins/mango/constants.d.ts +0 -3
  562. package/src/plugins/mango/constants.js +1 -21
  563. package/src/plugins/mango/constants.js.map +1 -1
  564. package/src/plugins/mango/index.d.ts +0 -2
  565. package/src/plugins/mango/index.js +1 -3
  566. package/src/plugins/mango/index.js.map +1 -1
  567. package/src/plugins/maple/constants.d.ts +0 -2
  568. package/src/plugins/maple/constants.js +1 -8
  569. package/src/plugins/maple/constants.js.map +1 -1
  570. package/src/plugins/maple/index.d.ts +0 -2
  571. package/src/plugins/maple/index.js +1 -3
  572. package/src/plugins/maple/index.js.map +1 -1
  573. package/src/plugins/marginfi/constants.d.ts +0 -2
  574. package/src/plugins/marginfi/constants.js +1 -14
  575. package/src/plugins/marginfi/constants.js.map +1 -1
  576. package/src/plugins/marginfi/index.d.ts +0 -2
  577. package/src/plugins/marginfi/index.js +1 -3
  578. package/src/plugins/marginfi/index.js.map +1 -1
  579. package/src/plugins/marinade/constants.d.ts +0 -2
  580. package/src/plugins/marinade/constants.js +1 -14
  581. package/src/plugins/marinade/constants.js.map +1 -1
  582. package/src/plugins/marinade/index.d.ts +0 -2
  583. package/src/plugins/marinade/index.js +1 -3
  584. package/src/plugins/marinade/index.js.map +1 -1
  585. package/src/plugins/meso/constants.d.ts +0 -2
  586. package/src/plugins/meso/constants.js +1 -9
  587. package/src/plugins/meso/constants.js.map +1 -1
  588. package/src/plugins/meso/index.d.ts +0 -2
  589. package/src/plugins/meso/index.js +1 -3
  590. package/src/plugins/meso/index.js.map +1 -1
  591. package/src/plugins/metaplex/constants.d.ts +0 -2
  592. package/src/plugins/metaplex/constants.js +1 -14
  593. package/src/plugins/metaplex/constants.js.map +1 -1
  594. package/src/plugins/metaplex/index.d.ts +0 -2
  595. package/src/plugins/metaplex/index.js +1 -3
  596. package/src/plugins/metaplex/index.js.map +1 -1
  597. package/src/plugins/meteora/constants.d.ts +0 -2
  598. package/src/plugins/meteora/constants.js +1 -13
  599. package/src/plugins/meteora/constants.js.map +1 -1
  600. package/src/plugins/meteora/index.d.ts +0 -2
  601. package/src/plugins/meteora/index.js +1 -3
  602. package/src/plugins/meteora/index.js.map +1 -1
  603. package/src/plugins/mole/constants.d.ts +0 -2
  604. package/src/plugins/mole/constants.js +1 -9
  605. package/src/plugins/mole/constants.js.map +1 -1
  606. package/src/plugins/mole/index.d.ts +0 -2
  607. package/src/plugins/mole/index.js +1 -3
  608. package/src/plugins/mole/index.js.map +1 -1
  609. package/src/plugins/moonwalk/constants.d.ts +0 -2
  610. package/src/plugins/moonwalk/constants.js +1 -12
  611. package/src/plugins/moonwalk/constants.js.map +1 -1
  612. package/src/plugins/moonwalk/index.d.ts +0 -2
  613. package/src/plugins/moonwalk/index.js +1 -3
  614. package/src/plugins/moonwalk/index.js.map +1 -1
  615. package/src/plugins/morpho/constants.d.ts +0 -2
  616. package/src/plugins/morpho/constants.js +1 -8
  617. package/src/plugins/morpho/constants.js.map +1 -1
  618. package/src/plugins/morpho/index.d.ts +0 -2
  619. package/src/plugins/morpho/index.js +1 -3
  620. package/src/plugins/morpho/index.js.map +1 -1
  621. package/src/plugins/native-stake/activeValidatorsAptosJob.js +1 -1
  622. package/src/plugins/native-stake/activeValidatorsAptosJob.js.map +1 -1
  623. package/src/plugins/native-stake/activeValidatorsSuiJob.js +1 -1
  624. package/src/plugins/native-stake/activeValidatorsSuiJob.js.map +1 -1
  625. package/src/plugins/native-stake/aptosFetcher.js +2 -2
  626. package/src/plugins/native-stake/aptosFetcher.js.map +1 -1
  627. package/src/plugins/native-stake/constants.d.ts +0 -3
  628. package/src/plugins/native-stake/constants.js +3 -8
  629. package/src/plugins/native-stake/constants.js.map +1 -1
  630. package/src/plugins/native-stake/index.d.ts +0 -2
  631. package/src/plugins/native-stake/index.js +1 -3
  632. package/src/plugins/native-stake/index.js.map +1 -1
  633. package/src/plugins/native-stake/seiFetcher.js +2 -3
  634. package/src/plugins/native-stake/seiFetcher.js.map +1 -1
  635. package/src/plugins/native-stake/solana/solanaEpochJob.js +4 -5
  636. package/src/plugins/native-stake/solana/solanaEpochJob.js.map +1 -1
  637. package/src/plugins/native-stake/solana/solanaFetcher.js +4 -4
  638. package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
  639. package/src/plugins/native-stake/solana/solanaValidatorsJob.js +2 -2
  640. package/src/plugins/native-stake/solana/solanaValidatorsJob.js.map +1 -1
  641. package/src/plugins/native-stake/suiFetcher.js +2 -2
  642. package/src/plugins/native-stake/suiFetcher.js.map +1 -1
  643. package/src/plugins/navi/constants.d.ts +0 -2
  644. package/src/plugins/navi/constants.js +1 -9
  645. package/src/plugins/navi/constants.js.map +1 -1
  646. package/src/plugins/navi/index.d.ts +0 -2
  647. package/src/plugins/navi/index.js +1 -3
  648. package/src/plugins/navi/index.js.map +1 -1
  649. package/src/plugins/nosana/constants.d.ts +0 -2
  650. package/src/plugins/nosana/constants.js +1 -14
  651. package/src/plugins/nosana/constants.js.map +1 -1
  652. package/src/plugins/nosana/index.d.ts +0 -2
  653. package/src/plugins/nosana/index.js +1 -3
  654. package/src/plugins/nosana/index.js.map +1 -1
  655. package/src/plugins/nxfinance/constants.d.ts +0 -2
  656. package/src/plugins/nxfinance/constants.js +1 -10
  657. package/src/plugins/nxfinance/constants.js.map +1 -1
  658. package/src/plugins/nxfinance/index.d.ts +0 -2
  659. package/src/plugins/nxfinance/index.js +1 -3
  660. package/src/plugins/nxfinance/index.js.map +1 -1
  661. package/src/plugins/orca/constants.d.ts +0 -3
  662. package/src/plugins/orca/constants.js +1 -21
  663. package/src/plugins/orca/constants.js.map +1 -1
  664. package/src/plugins/orca/index.d.ts +0 -2
  665. package/src/plugins/orca/index.js +1 -3
  666. package/src/plugins/orca/index.js.map +1 -1
  667. package/src/plugins/orders/clobs-solana/constants.d.ts +2 -3
  668. package/src/plugins/orders/clobs-solana/constants.js +7 -17
  669. package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
  670. package/src/plugins/orders/clobs-solana/openbookFetcher.js +2 -2
  671. package/src/plugins/orders/clobs-solana/openbookFetcher.js.map +1 -1
  672. package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js +3 -3
  673. package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js.map +1 -1
  674. package/src/plugins/orders/index.d.ts +0 -2
  675. package/src/plugins/orders/index.js +1 -3
  676. package/src/plugins/orders/index.js.map +1 -1
  677. package/src/plugins/pancakeswap/constants.d.ts +0 -2
  678. package/src/plugins/pancakeswap/constants.js +1 -8
  679. package/src/plugins/pancakeswap/constants.js.map +1 -1
  680. package/src/plugins/pancakeswap/index.d.ts +0 -2
  681. package/src/plugins/pancakeswap/index.js +1 -2
  682. package/src/plugins/pancakeswap/index.js.map +1 -1
  683. package/src/plugins/paraswap/constants.d.ts +0 -2
  684. package/src/plugins/paraswap/constants.js +1 -8
  685. package/src/plugins/paraswap/constants.js.map +1 -1
  686. package/src/plugins/paraswap/index.d.ts +0 -2
  687. package/src/plugins/paraswap/index.js +1 -3
  688. package/src/plugins/paraswap/index.js.map +1 -1
  689. package/src/plugins/parcl/constants.d.ts +0 -2
  690. package/src/plugins/parcl/constants.js +1 -14
  691. package/src/plugins/parcl/constants.js.map +1 -1
  692. package/src/plugins/parcl/index.d.ts +0 -2
  693. package/src/plugins/parcl/index.js +1 -3
  694. package/src/plugins/parcl/index.js.map +1 -1
  695. package/src/plugins/perena/constants.d.ts +0 -2
  696. package/src/plugins/perena/constants.js +1 -13
  697. package/src/plugins/perena/constants.js.map +1 -1
  698. package/src/plugins/perena/index.d.ts +0 -2
  699. package/src/plugins/perena/index.js +1 -3
  700. package/src/plugins/perena/index.js.map +1 -1
  701. package/src/plugins/phoenix/constants.d.ts +0 -2
  702. package/src/plugins/phoenix/constants.js +1 -13
  703. package/src/plugins/phoenix/constants.js.map +1 -1
  704. package/src/plugins/phoenix/index.d.ts +0 -2
  705. package/src/plugins/phoenix/index.js +1 -3
  706. package/src/plugins/phoenix/index.js.map +1 -1
  707. package/src/plugins/photofinish/constants.d.ts +0 -2
  708. package/src/plugins/photofinish/constants.js +1 -11
  709. package/src/plugins/photofinish/constants.js.map +1 -1
  710. package/src/plugins/photofinish/index.d.ts +0 -2
  711. package/src/plugins/photofinish/index.js +1 -3
  712. package/src/plugins/photofinish/index.js.map +1 -1
  713. package/src/plugins/picasso/constants.d.ts +0 -2
  714. package/src/plugins/picasso/constants.js +1 -16
  715. package/src/plugins/picasso/constants.js.map +1 -1
  716. package/src/plugins/picasso/index.d.ts +0 -2
  717. package/src/plugins/picasso/index.js +1 -3
  718. package/src/plugins/picasso/index.js.map +1 -1
  719. package/src/plugins/pluto/constants.d.ts +0 -2
  720. package/src/plugins/pluto/constants.js +1 -14
  721. package/src/plugins/pluto/constants.js.map +1 -1
  722. package/src/plugins/pluto/index.d.ts +0 -2
  723. package/src/plugins/pluto/index.js +1 -3
  724. package/src/plugins/pluto/index.js.map +1 -1
  725. package/src/plugins/port/constants.d.ts +0 -2
  726. package/src/plugins/port/constants.js +1 -12
  727. package/src/plugins/port/constants.js.map +1 -1
  728. package/src/plugins/port/index.d.ts +0 -2
  729. package/src/plugins/port/index.js +1 -3
  730. package/src/plugins/port/index.js.map +1 -1
  731. package/src/plugins/pudgypenguins/airdropFetcher.js +1 -1
  732. package/src/plugins/pudgypenguins/airdropFetcher.js.map +1 -1
  733. package/src/plugins/pudgypenguins/constants.d.ts +0 -2
  734. package/src/plugins/pudgypenguins/constants.js +1 -10
  735. package/src/plugins/pudgypenguins/constants.js.map +1 -1
  736. package/src/plugins/pudgypenguins/index.d.ts +0 -2
  737. package/src/plugins/pudgypenguins/index.js +2 -6
  738. package/src/plugins/pudgypenguins/index.js.map +1 -1
  739. package/src/plugins/puffcoin/constants.d.ts +0 -2
  740. package/src/plugins/puffcoin/constants.js +1 -7
  741. package/src/plugins/puffcoin/constants.js.map +1 -1
  742. package/src/plugins/puffcoin/index.d.ts +0 -2
  743. package/src/plugins/puffcoin/index.js +1 -3
  744. package/src/plugins/puffcoin/index.js.map +1 -1
  745. package/src/plugins/pyth/constants.d.ts +0 -2
  746. package/src/plugins/pyth/constants.js +1 -14
  747. package/src/plugins/pyth/constants.js.map +1 -1
  748. package/src/plugins/pyth/index.d.ts +0 -2
  749. package/src/plugins/pyth/index.js +1 -3
  750. package/src/plugins/pyth/index.js.map +1 -1
  751. package/src/plugins/quarry/constants.d.ts +0 -2
  752. package/src/plugins/quarry/constants.js +1 -11
  753. package/src/plugins/quarry/constants.js.map +1 -1
  754. package/src/plugins/quarry/index.d.ts +0 -2
  755. package/src/plugins/quarry/index.js +1 -3
  756. package/src/plugins/quarry/index.js.map +1 -1
  757. package/src/plugins/quarry/positionsFetcher.js +1 -1
  758. package/src/plugins/quarry/positionsFetcher.js.map +1 -1
  759. package/src/plugins/rain/constants.d.ts +0 -2
  760. package/src/plugins/rain/constants.js +1 -14
  761. package/src/plugins/rain/constants.js.map +1 -1
  762. package/src/plugins/rain/index.d.ts +0 -2
  763. package/src/plugins/rain/index.js +1 -3
  764. package/src/plugins/rain/index.js.map +1 -1
  765. package/src/plugins/ratex/constants.d.ts +0 -2
  766. package/src/plugins/ratex/constants.js +1 -14
  767. package/src/plugins/ratex/constants.js.map +1 -1
  768. package/src/plugins/ratex/index.d.ts +0 -2
  769. package/src/plugins/ratex/index.js +1 -3
  770. package/src/plugins/ratex/index.js.map +1 -1
  771. package/src/plugins/raydium/ammV2ApiJob.js +7 -8
  772. package/src/plugins/raydium/ammV2ApiJob.js.map +1 -1
  773. package/src/plugins/raydium/clmmJob.js +1 -2
  774. package/src/plugins/raydium/clmmJob.js.map +1 -1
  775. package/src/plugins/raydium/constants.d.ts +0 -2
  776. package/src/plugins/raydium/constants.js +1 -14
  777. package/src/plugins/raydium/constants.js.map +1 -1
  778. package/src/plugins/raydium/index.d.ts +0 -2
  779. package/src/plugins/raydium/index.js +1 -3
  780. package/src/plugins/raydium/index.js.map +1 -1
  781. package/src/plugins/rocket-pool/constants.d.ts +0 -2
  782. package/src/plugins/rocket-pool/constants.js +1 -8
  783. package/src/plugins/rocket-pool/constants.js.map +1 -1
  784. package/src/plugins/rocket-pool/index.d.ts +0 -2
  785. package/src/plugins/rocket-pool/index.js +1 -3
  786. package/src/plugins/rocket-pool/index.js.map +1 -1
  787. package/src/plugins/saber/constants.d.ts +0 -2
  788. package/src/plugins/saber/constants.js +1 -9
  789. package/src/plugins/saber/constants.js.map +1 -1
  790. package/src/plugins/saber/index.d.ts +0 -2
  791. package/src/plugins/saber/index.js +1 -3
  792. package/src/plugins/saber/index.js.map +1 -1
  793. package/src/plugins/sanctum/constants.d.ts +0 -2
  794. package/src/plugins/sanctum/constants.js +1 -14
  795. package/src/plugins/sanctum/constants.js.map +1 -1
  796. package/src/plugins/sanctum/index.d.ts +0 -2
  797. package/src/plugins/sanctum/index.js +1 -3
  798. package/src/plugins/sanctum/index.js.map +1 -1
  799. package/src/plugins/sanctum/nclbAirdropFetcher.js +1 -1
  800. package/src/plugins/sanctum/nclbAirdropFetcher.js.map +1 -1
  801. package/src/plugins/sanctum/s1AirdropFetcher.js +1 -1
  802. package/src/plugins/sanctum/s1AirdropFetcher.js.map +1 -1
  803. package/src/plugins/sandglass/constants.d.ts +0 -2
  804. package/src/plugins/sandglass/constants.js +1 -11
  805. package/src/plugins/sandglass/constants.js.map +1 -1
  806. package/src/plugins/sandglass/index.d.ts +0 -2
  807. package/src/plugins/sandglass/index.js +1 -3
  808. package/src/plugins/sandglass/index.js.map +1 -1
  809. package/src/plugins/sandglass/marketsJob.js +3 -4
  810. package/src/plugins/sandglass/marketsJob.js.map +1 -1
  811. package/src/plugins/save/constants.d.ts +0 -3
  812. package/src/plugins/save/constants.js +1 -21
  813. package/src/plugins/save/constants.js.map +1 -1
  814. package/src/plugins/save/index.d.ts +0 -2
  815. package/src/plugins/save/index.js +1 -3
  816. package/src/plugins/save/index.js.map +1 -1
  817. package/src/plugins/scallop/constants.d.ts +0 -2
  818. package/src/plugins/scallop/constants.js +1 -8
  819. package/src/plugins/scallop/constants.js.map +1 -1
  820. package/src/plugins/scallop/index.d.ts +0 -2
  821. package/src/plugins/scallop/index.js +1 -3
  822. package/src/plugins/scallop/index.js.map +1 -1
  823. package/src/plugins/sharky/constants.d.ts +0 -2
  824. package/src/plugins/sharky/constants.js +1 -13
  825. package/src/plugins/sharky/constants.js.map +1 -1
  826. package/src/plugins/sharky/index.d.ts +0 -2
  827. package/src/plugins/sharky/index.js +1 -3
  828. package/src/plugins/sharky/index.js.map +1 -1
  829. package/src/plugins/solayer/airdropFetcher.js +1 -1
  830. package/src/plugins/solayer/airdropFetcher.js.map +1 -1
  831. package/src/plugins/solayer/constants.d.ts +0 -2
  832. package/src/plugins/solayer/constants.js +2 -16
  833. package/src/plugins/solayer/constants.js.map +1 -1
  834. package/src/plugins/solayer/index.d.ts +0 -2
  835. package/src/plugins/solayer/index.js +1 -3
  836. package/src/plugins/solayer/index.js.map +1 -1
  837. package/src/plugins/solayer/poolsJob.js +1 -2
  838. package/src/plugins/solayer/poolsJob.js.map +1 -1
  839. package/src/plugins/sonic/airdropFetcher.js +1 -1
  840. package/src/plugins/sonic/airdropFetcher.js.map +1 -1
  841. package/src/plugins/sonic/constants.d.ts +0 -2
  842. package/src/plugins/sonic/constants.js +2 -14
  843. package/src/plugins/sonic/constants.js.map +1 -1
  844. package/src/plugins/sonic/index.d.ts +0 -2
  845. package/src/plugins/sonic/index.js +1 -3
  846. package/src/plugins/sonic/index.js.map +1 -1
  847. package/src/plugins/spdr/constants.d.ts +0 -2
  848. package/src/plugins/spdr/constants.js +1 -15
  849. package/src/plugins/spdr/constants.js.map +1 -1
  850. package/src/plugins/spdr/index.d.ts +0 -2
  851. package/src/plugins/spdr/index.js +1 -3
  852. package/src/plugins/spdr/index.js.map +1 -1
  853. package/src/plugins/stabble/constants.d.ts +0 -2
  854. package/src/plugins/stabble/constants.js +1 -15
  855. package/src/plugins/stabble/constants.js.map +1 -1
  856. package/src/plugins/stabble/index.d.ts +0 -2
  857. package/src/plugins/stabble/index.js +1 -3
  858. package/src/plugins/stabble/index.js.map +1 -1
  859. package/src/plugins/stader/constants.d.ts +0 -2
  860. package/src/plugins/stader/constants.js +1 -8
  861. package/src/plugins/stader/constants.js.map +1 -1
  862. package/src/plugins/stader/index.d.ts +0 -2
  863. package/src/plugins/stader/index.js +1 -3
  864. package/src/plugins/stader/index.js.map +1 -1
  865. package/src/plugins/staking-aptos/constants.d.ts +1 -2
  866. package/src/plugins/staking-aptos/constants.js +3 -9
  867. package/src/plugins/staking-aptos/constants.js.map +1 -1
  868. package/src/plugins/staking-aptos/index.d.ts +0 -2
  869. package/src/plugins/staking-aptos/index.js +1 -3
  870. package/src/plugins/staking-aptos/index.js.map +1 -1
  871. package/src/plugins/staratlas/constants.d.ts +0 -2
  872. package/src/plugins/staratlas/constants.js +1 -15
  873. package/src/plugins/staratlas/constants.js.map +1 -1
  874. package/src/plugins/staratlas/index.d.ts +0 -2
  875. package/src/plugins/staratlas/index.js +1 -3
  876. package/src/plugins/staratlas/index.js.map +1 -1
  877. package/src/plugins/stargate/constants.d.ts +0 -2
  878. package/src/plugins/stargate/constants.js +1 -8
  879. package/src/plugins/stargate/constants.js.map +1 -1
  880. package/src/plugins/stargate/index.d.ts +0 -2
  881. package/src/plugins/stargate/index.js +1 -2
  882. package/src/plugins/stargate/index.js.map +1 -1
  883. package/src/plugins/streamflow/constants.d.ts +1 -2
  884. package/src/plugins/streamflow/constants.js +2 -15
  885. package/src/plugins/streamflow/constants.js.map +1 -1
  886. package/src/plugins/streamflow/helpers.js +4 -4
  887. package/src/plugins/streamflow/helpers.js.map +1 -1
  888. package/src/plugins/streamflow/index.d.ts +0 -2
  889. package/src/plugins/streamflow/index.js +1 -3
  890. package/src/plugins/streamflow/index.js.map +1 -1
  891. package/src/plugins/suilend/airdropFetcher.js +6 -6
  892. package/src/plugins/suilend/airdropFetcher.js.map +1 -1
  893. package/src/plugins/suilend/constants.d.ts +1 -2
  894. package/src/plugins/suilend/constants.js +2 -9
  895. package/src/plugins/suilend/constants.js.map +1 -1
  896. package/src/plugins/suilend/index.d.ts +0 -2
  897. package/src/plugins/suilend/index.js +1 -3
  898. package/src/plugins/suilend/index.js.map +1 -1
  899. package/src/plugins/suins/airdropFetcher.js +1 -1
  900. package/src/plugins/suins/airdropFetcher.js.map +1 -1
  901. package/src/plugins/suins/constants.d.ts +0 -2
  902. package/src/plugins/suins/constants.js +1 -9
  903. package/src/plugins/suins/constants.js.map +1 -1
  904. package/src/plugins/suins/index.d.ts +0 -2
  905. package/src/plugins/suins/index.js +1 -3
  906. package/src/plugins/suins/index.js.map +1 -1
  907. package/src/plugins/superposition/constants.d.ts +0 -2
  908. package/src/plugins/superposition/constants.js +1 -9
  909. package/src/plugins/superposition/constants.js.map +1 -1
  910. package/src/plugins/superposition/index.d.ts +0 -2
  911. package/src/plugins/superposition/index.js +1 -3
  912. package/src/plugins/superposition/index.js.map +1 -1
  913. package/src/plugins/sushiswap/constants.d.ts +0 -2
  914. package/src/plugins/sushiswap/constants.js +1 -9
  915. package/src/plugins/sushiswap/constants.js.map +1 -1
  916. package/src/plugins/sushiswap/index.d.ts +0 -2
  917. package/src/plugins/sushiswap/index.js +11 -12
  918. package/src/plugins/sushiswap/index.js.map +1 -1
  919. package/src/plugins/switchboard/constants.d.ts +0 -2
  920. package/src/plugins/switchboard/constants.js +1 -14
  921. package/src/plugins/switchboard/constants.js.map +1 -1
  922. package/src/plugins/switchboard/index.d.ts +0 -2
  923. package/src/plugins/switchboard/index.js +1 -3
  924. package/src/plugins/switchboard/index.js.map +1 -1
  925. package/src/plugins/switchboard/onDemandPricingJob.js +1 -2
  926. package/src/plugins/switchboard/onDemandPricingJob.js.map +1 -1
  927. package/src/plugins/switchboard/pricingJob.js +1 -2
  928. package/src/plugins/switchboard/pricingJob.js.map +1 -1
  929. package/src/plugins/symmetry/constants.d.ts +0 -2
  930. package/src/plugins/symmetry/constants.js +1 -15
  931. package/src/plugins/symmetry/constants.js.map +1 -1
  932. package/src/plugins/symmetry/index.d.ts +0 -2
  933. package/src/plugins/symmetry/index.js +1 -3
  934. package/src/plugins/symmetry/index.js.map +1 -1
  935. package/src/plugins/tensor/constants.d.ts +0 -2
  936. package/src/plugins/tensor/constants.js +1 -13
  937. package/src/plugins/tensor/constants.js.map +1 -1
  938. package/src/plugins/tensor/index.d.ts +0 -2
  939. package/src/plugins/tensor/index.js +2 -3
  940. package/src/plugins/tensor/index.js.map +1 -1
  941. package/src/plugins/tensor/powerUserAirdropFetcher.js +1 -1
  942. package/src/plugins/tensor/powerUserAirdropFetcher.js.map +1 -1
  943. package/src/plugins/tensor/season4AirdropFetcher.js +1 -1
  944. package/src/plugins/tensor/season4AirdropFetcher.js.map +1 -1
  945. package/src/plugins/texture/constants.d.ts +0 -2
  946. package/src/plugins/texture/constants.js +1 -13
  947. package/src/plugins/texture/constants.js.map +1 -1
  948. package/src/plugins/texture/index.d.ts +0 -2
  949. package/src/plugins/texture/index.js +1 -2
  950. package/src/plugins/texture/index.js.map +1 -1
  951. package/src/plugins/thala/constants.d.ts +0 -2
  952. package/src/plugins/thala/constants.js +1 -8
  953. package/src/plugins/thala/constants.js.map +1 -1
  954. package/src/plugins/thala/index.d.ts +0 -2
  955. package/src/plugins/thala/index.js +1 -3
  956. package/src/plugins/thala/index.js.map +1 -1
  957. package/src/plugins/thevault/constants.d.ts +0 -2
  958. package/src/plugins/thevault/constants.js +1 -13
  959. package/src/plugins/thevault/constants.js.map +1 -1
  960. package/src/plugins/thevault/index.d.ts +0 -2
  961. package/src/plugins/thevault/index.js +1 -3
  962. package/src/plugins/thevault/index.js.map +1 -1
  963. package/src/plugins/tokens/constants.d.ts +0 -3
  964. package/src/plugins/tokens/constants.js +1 -12
  965. package/src/plugins/tokens/constants.js.map +1 -1
  966. package/src/plugins/tokens/fetchers/aptos.js +3 -4
  967. package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
  968. package/src/plugins/tokens/fetchers/bitcoin.js +2 -3
  969. package/src/plugins/tokens/fetchers/bitcoin.js.map +1 -1
  970. package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js +1 -1
  971. package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js.map +1 -1
  972. package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js +1 -2
  973. package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js.map +1 -1
  974. package/src/plugins/tokens/fetchers/evms/index.js +3 -4
  975. package/src/plugins/tokens/fetchers/evms/index.js.map +1 -1
  976. package/src/plugins/tokens/fetchers/sei.js +2 -3
  977. package/src/plugins/tokens/fetchers/sei.js.map +1 -1
  978. package/src/plugins/tokens/fetchers/solana-native.js +2 -3
  979. package/src/plugins/tokens/fetchers/solana-native.js.map +1 -1
  980. package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js +5 -6
  981. package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js.map +1 -1
  982. package/src/plugins/tokens/fetchers/solana-simple.js +3 -4
  983. package/src/plugins/tokens/fetchers/solana-simple.js.map +1 -1
  984. package/src/plugins/tokens/fetchers/solana.js +5 -6
  985. package/src/plugins/tokens/fetchers/solana.js.map +1 -1
  986. package/src/plugins/tokens/fetchers/sui-nfts.js +2 -3
  987. package/src/plugins/tokens/fetchers/sui-nfts.js.map +1 -1
  988. package/src/plugins/tokens/fetchers/sui.js +3 -4
  989. package/src/plugins/tokens/fetchers/sui.js.map +1 -1
  990. package/src/plugins/tokens/helpers.js +2 -1
  991. package/src/plugins/tokens/helpers.js.map +1 -1
  992. package/src/plugins/tokens/index.d.ts +0 -2
  993. package/src/plugins/tokens/index.js +1 -3
  994. package/src/plugins/tokens/index.js.map +1 -1
  995. package/src/plugins/tokens/jobGenerator.js +1 -2
  996. package/src/plugins/tokens/jobGenerator.js.map +1 -1
  997. package/src/plugins/top-tokens/index.d.ts +0 -2
  998. package/src/plugins/top-tokens/index.js +1 -2
  999. package/src/plugins/top-tokens/index.js.map +1 -1
  1000. package/src/plugins/tradeport/constants.d.ts +0 -2
  1001. package/src/plugins/tradeport/constants.js +1 -9
  1002. package/src/plugins/tradeport/constants.js.map +1 -1
  1003. package/src/plugins/tradeport/index.d.ts +0 -2
  1004. package/src/plugins/tradeport/index.js +1 -3
  1005. package/src/plugins/tradeport/index.js.map +1 -1
  1006. package/src/plugins/triad/constants.d.ts +0 -2
  1007. package/src/plugins/triad/constants.js +1 -14
  1008. package/src/plugins/triad/constants.js.map +1 -1
  1009. package/src/plugins/triad/index.d.ts +0 -2
  1010. package/src/plugins/triad/index.js +1 -3
  1011. package/src/plugins/triad/index.js.map +1 -1
  1012. package/src/plugins/tulip/constants.d.ts +0 -2
  1013. package/src/plugins/tulip/constants.js +1 -17
  1014. package/src/plugins/tulip/constants.js.map +1 -1
  1015. package/src/plugins/tulip/index.d.ts +0 -2
  1016. package/src/plugins/tulip/index.js +1 -3
  1017. package/src/plugins/tulip/index.js.map +1 -1
  1018. package/src/plugins/turbos/constants.d.ts +0 -2
  1019. package/src/plugins/turbos/constants.js +1 -8
  1020. package/src/plugins/turbos/constants.js.map +1 -1
  1021. package/src/plugins/turbos/index.d.ts +0 -2
  1022. package/src/plugins/turbos/index.js +1 -3
  1023. package/src/plugins/turbos/index.js.map +1 -1
  1024. package/src/plugins/typus/constants.d.ts +0 -2
  1025. package/src/plugins/typus/constants.js +1 -9
  1026. package/src/plugins/typus/constants.js.map +1 -1
  1027. package/src/plugins/typus/index.d.ts +0 -2
  1028. package/src/plugins/typus/index.js +1 -3
  1029. package/src/plugins/typus/index.js.map +1 -1
  1030. package/src/plugins/uniswap/constants.d.ts +0 -2
  1031. package/src/plugins/uniswap/constants.js +1 -8
  1032. package/src/plugins/uniswap/constants.js.map +1 -1
  1033. package/src/plugins/uniswap/index.d.ts +0 -2
  1034. package/src/plugins/uniswap/index.js +1 -2
  1035. package/src/plugins/uniswap/index.js.map +1 -1
  1036. package/src/plugins/uniswap-v2/index.d.ts +0 -2
  1037. package/src/plugins/uniswap-v2/index.js +1 -2
  1038. package/src/plugins/uniswap-v2/index.js.map +1 -1
  1039. package/src/plugins/uxd/constants.d.ts +0 -2
  1040. package/src/plugins/uxd/constants.js +1 -16
  1041. package/src/plugins/uxd/constants.js.map +1 -1
  1042. package/src/plugins/uxd/index.d.ts +0 -2
  1043. package/src/plugins/uxd/index.js +1 -3
  1044. package/src/plugins/uxd/index.js.map +1 -1
  1045. package/src/plugins/vaultka/constants.d.ts +0 -2
  1046. package/src/plugins/vaultka/constants.js +1 -14
  1047. package/src/plugins/vaultka/constants.js.map +1 -1
  1048. package/src/plugins/vaultka/index.d.ts +0 -2
  1049. package/src/plugins/vaultka/index.js +1 -3
  1050. package/src/plugins/vaultka/index.js.map +1 -1
  1051. package/src/plugins/venus/constants.d.ts +0 -2
  1052. package/src/plugins/venus/constants.js +1 -8
  1053. package/src/plugins/venus/constants.js.map +1 -1
  1054. package/src/plugins/venus/index.d.ts +0 -2
  1055. package/src/plugins/venus/index.js +1 -2
  1056. package/src/plugins/venus/index.js.map +1 -1
  1057. package/src/plugins/whalesmarket/constants.d.ts +0 -2
  1058. package/src/plugins/whalesmarket/constants.js +1 -14
  1059. package/src/plugins/whalesmarket/constants.js.map +1 -1
  1060. package/src/plugins/whalesmarket/index.d.ts +0 -2
  1061. package/src/plugins/whalesmarket/index.js +1 -3
  1062. package/src/plugins/whalesmarket/index.js.map +1 -1
  1063. package/src/plugins/whalesmarket/tokensJob.js +1 -2
  1064. package/src/plugins/whalesmarket/tokensJob.js.map +1 -1
  1065. package/src/plugins/wormhole/constants.d.ts +0 -2
  1066. package/src/plugins/wormhole/constants.js +1 -14
  1067. package/src/plugins/wormhole/constants.js.map +1 -1
  1068. package/src/plugins/wormhole/index.d.ts +0 -2
  1069. package/src/plugins/wormhole/index.js +1 -3
  1070. package/src/plugins/wormhole/index.js.map +1 -1
  1071. package/src/plugins/x-staking-solana/constants.js +4 -3
  1072. package/src/plugins/x-staking-solana/constants.js.map +1 -1
  1073. package/src/plugins/x-staking-solana/index.d.ts +0 -2
  1074. package/src/plugins/x-staking-solana/index.js +1 -2
  1075. package/src/plugins/x-staking-solana/index.js.map +1 -1
  1076. package/src/plugins/x-staking-solana/stakingJob.js +1 -2
  1077. package/src/plugins/x-staking-solana/stakingJob.js.map +1 -1
  1078. package/src/plugins/yearn/constants.d.ts +0 -2
  1079. package/src/plugins/yearn/constants.js +1 -9
  1080. package/src/plugins/yearn/constants.js.map +1 -1
  1081. package/src/plugins/yearn/index.d.ts +0 -2
  1082. package/src/plugins/yearn/index.js +6 -7
  1083. package/src/plugins/yearn/index.js.map +1 -1
  1084. package/src/plugins/zelo/constants.d.ts +0 -2
  1085. package/src/plugins/zelo/constants.js +1 -12
  1086. package/src/plugins/zelo/constants.js.map +1 -1
  1087. package/src/plugins/zelo/index.d.ts +0 -2
  1088. package/src/plugins/zelo/index.js +1 -3
  1089. package/src/plugins/zelo/index.js.map +1 -1
  1090. package/src/plugins/zeta/airdropFetcher.js +1 -1
  1091. package/src/plugins/zeta/airdropFetcher.js.map +1 -1
  1092. package/src/plugins/zeta/constants.d.ts +0 -2
  1093. package/src/plugins/zeta/constants.js +1 -15
  1094. package/src/plugins/zeta/constants.js.map +1 -1
  1095. package/src/plugins/zeta/index.d.ts +0 -2
  1096. package/src/plugins/zeta/index.js +1 -3
  1097. package/src/plugins/zeta/index.js.map +1 -1
  1098. package/src/plugins/zeus/constants.d.ts +0 -2
  1099. package/src/plugins/zeus/constants.js +1 -14
  1100. package/src/plugins/zeus/constants.js.map +1 -1
  1101. package/src/plugins/zeus/index.d.ts +0 -2
  1102. package/src/plugins/zeus/index.js +1 -3
  1103. package/src/plugins/zeus/index.js.map +1 -1
  1104. package/src/utils/clmm/tokenPricesFromSqrt.js +2 -3
  1105. package/src/utils/clmm/tokenPricesFromSqrt.js.map +1 -1
  1106. package/src/utils/misc/checkComputeAndStoreTokensPrices.js +5 -6
  1107. package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
  1108. package/src/utils/misc/getLpUnderlyingTokenSource.js +7 -8
  1109. package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
  1110. package/src/utils/misc/getLpUnderlyingTokenSourceOld.js +1 -2
  1111. package/src/utils/misc/getLpUnderlyingTokenSourceOld.js.map +1 -1
  1112. package/src/utils/solana/pyth/helpers.js +2 -2
  1113. package/src/utils/solana/pyth/helpers.js.map +1 -1
  1114. package/src/orphanPlatforms.d.ts +0 -6
  1115. package/src/orphanPlatforms.js +0 -111
  1116. package/src/orphanPlatforms.js.map +0 -1
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const web3_js_1 = require("@solana/web3.js");
17
- const constants_1 = require("../constants");
18
17
  const clients_1 = require("../../../utils/clients");
19
18
  const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
20
19
  const solFactor = Math.pow(10, portfolio_core_1.solanaNetwork.native.decimals);
@@ -30,7 +29,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
30
29
  const element = {
31
30
  type: portfolio_core_1.PortfolioElementType.multiple,
32
31
  networkId: portfolio_core_1.NetworkId.solana,
33
- platformId: constants_1.walletTokensPlatform.id,
32
+ platformId: portfolio_core_1.walletTokensPlatformId,
34
33
  label: 'Wallet',
35
34
  value: asset.value,
36
35
  data: {
@@ -40,7 +39,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
40
39
  return [element];
41
40
  });
42
41
  const fetcher = {
43
- id: `${constants_1.walletTokensPlatform.id}-solana-native`,
42
+ id: `${portfolio_core_1.walletTokensPlatformId}-solana-native`,
44
43
  networkId: portfolio_core_1.NetworkId.solana,
45
44
  executor,
46
45
  };
@@ -1 +1 @@
1
- {"version":3,"file":"solana-native.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-native.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,6CAA4C;AAG5C,4CAAoD;AACpD,oDAAyD;AACzD,wGAAgF;AAEhF,MAAM,SAAS,GAAG,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC;AAEtD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC;IAEzC,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAC5D,IAAI,cAAc,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEpC,MAAM,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IAC1C,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAC7C,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,KAAK,GAAG,IAAA,gCAAsB,EAClC,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,MAAM,EACN,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,CAAC;IACF,MAAM,OAAO,GAA6B;QACxC,IAAI,EAAE,qCAAoB,CAAC,QAAQ;QACnC,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,UAAU,EAAE,gCAAoB,CAAC,EAAE;QACnC,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC,KAAK,CAAC;SAChB;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,gBAAgB;IAC9C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"solana-native.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-native.ts"],"names":[],"mappings":";;;;;;;;;;;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CAAC"}
@@ -13,7 +13,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
- const constants_1 = require("../constants");
17
16
  const getRaydiumCLMMPositions_1 = require("../../raydium/getRaydiumCLMMPositions");
18
17
  const getWhirlpoolPositions_1 = require("../../orca/getWhirlpoolPositions");
19
18
  const helpers_1 = require("../../raydium/helpers");
@@ -23,8 +22,8 @@ const helpers_4 = require("../../daos/helpers");
23
22
  const getSolanaDasEndpoint_1 = __importDefault(require("../../../utils/clients/getSolanaDasEndpoint"));
24
23
  const getAssetsByOwnerDas_1 = require("../../../utils/solana/das/getAssetsByOwnerDas");
25
24
  const heliusAssetToAssetCollectible_1 = require("../../../utils/solana/das/heliusAssetToAssetCollectible");
26
- const constants_2 = require("../../orca/constants");
27
- const constants_3 = require("../../cropper/constants");
25
+ const constants_1 = require("../../orca/constants");
26
+ const constants_2 = require("../../cropper/constants");
28
27
  const helpers_5 = require("../../picasso/helpers");
29
28
  const nftsUnderlyingsMap = new Map([
30
29
  [
@@ -35,14 +34,14 @@ const nftsUnderlyingsMap = new Map([
35
34
  'orca',
36
35
  {
37
36
  checker: helpers_2.isAnOrcaPosition,
38
- fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_2.platformId, constants_2.whirlpoolProgram),
37
+ fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_1.platformId, constants_1.whirlpoolProgram),
39
38
  },
40
39
  ],
41
40
  [
42
41
  'cropper',
43
42
  {
44
43
  checker: helpers_3.isClmmPosition,
45
- fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_3.platformId, constants_3.clmmPid),
44
+ fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_2.platformId, constants_2.clmmPid),
46
45
  },
47
46
  ],
48
47
  [
@@ -101,7 +100,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
101
100
  .flat();
102
101
  });
103
102
  const fetcher = {
104
- id: `${constants_1.walletTokensPlatform.id}-solana-nfts-underlyings`,
103
+ id: `${portfolio_core_1.walletTokensPlatformId}-solana-nfts-underlyings`,
105
104
  networkId: portfolio_core_1.NetworkId.solana,
106
105
  executor,
107
106
  };
@@ -1 +1 @@
1
- {"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,4CAAoD;AAEpD,mFAAgF;AAChF,4EAAqE;AACrE,mDAA2D;AAC3D,gDAAsD;AACtD,mDAA4E;AAE5E,gDAG4B;AAC5B,uGAA+E;AAC/E,uFAAoF;AAEpF,2GAAwG;AAExG,oDAG8B;AAC9B,uDAGiC;AACjC,mDAG+B;AAI/B,MAAM,kBAAkB,GAGpB,IAAI,GAAG,CAAC;IACV;QACE,SAAS;QACT,EAAE,OAAO,EAAE,4BAAkB,EAAE,OAAO,EAAE,iDAAuB,EAAE;KAClE;IACD;QACE,MAAM;QACN;YACE,OAAO,EAAE,0BAAgB;YACzB,OAAO,EAAE,IAAA,yCAAiB,EAAC,sBAAc,EAAE,4BAAgB,CAAC;SAC7D;KACF;IACD;QACE,SAAS;QACT;YACE,OAAO,EAAE,wBAAiB;YAC1B,OAAO,EAAE,IAAA,yCAAiB,EAAC,sBAAiB,EAAE,mBAAO,CAAC;SACvD;KACF;IACD;QACE,QAAQ;QACR;YACE,OAAO,EAAE,2BAAiB;YAC1B,OAAO,EAAE,mCAAyB;SACnC;KACF;IACD;QACE,SAAS;QACT;YACE,OAAO,EAAE,2BAAiB;YAC1B,OAAO,EAAE,oCAA0B;SACpC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,WAAW,GAAG,IAAA,8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,MAAM,IAAI,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxC,IAAI,IAAI;YAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IAC/C,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,MAAM;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SAC1D,IAAI,EAAE,CAAC;AACZ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,0BAA0B;IACxD,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AAIpC,mFAAgF;AAChF,4EAAqE;AACrE,mDAA2D;AAC3D,gDAAsD;AACtD,mDAA4E;AAE5E,gDAG4B;AAC5B,uGAA+E;AAC/E,uFAAoF;AAEpF,2GAAwG;AAExG,oDAG8B;AAC9B,uDAGiC;AACjC,mDAG+B;AAI/B,MAAM,kBAAkB,GAGpB,IAAI,GAAG,CAAC;IACV;QACE,SAAS;QACT,EAAE,OAAO,EAAE,4BAAkB,EAAE,OAAO,EAAE,iDAAuB,EAAE;KAClE;IACD;QACE,MAAM;QACN;YACE,OAAO,EAAE,0BAAgB;YACzB,OAAO,EAAE,IAAA,yCAAiB,EAAC,sBAAc,EAAE,4BAAgB,CAAC;SAC7D;KACF;IACD;QACE,SA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YAC5B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBAChC,iBAAiB,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACjC,CAAC;YACD,MAAA,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,0CAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YACtC,MAAM;QACR,CAAC;IACH,CAAC;IAED,MAAM,OAAO,GAAkC,EAAE,CAAC;IAClD,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,CAAC,IAAI,kBAAkB,EAAE,CAAC;QACpD,MAAM,IAAI,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxC,IAAI,IAAI;YAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IAC/C,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,MAAM;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SAC1D,IAAI,EAAE,CAAC;AACZ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,0BAA0B;IACvD,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const web3_js_1 = require("@solana/web3.js");
17
- const constants_1 = require("../constants");
18
17
  const clients_1 = require("../../../utils/clients");
19
18
  const solana_1 = require("../../../utils/solana");
20
19
  const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
@@ -39,7 +38,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
39
38
  if (decimals === 0)
40
39
  return;
41
40
  const tokenPrice = tokenPrices.get(mint);
42
- if (tokenPrice && tokenPrice.platformId !== constants_1.walletTokensPlatform.id)
41
+ if (tokenPrice && tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId)
43
42
  return;
44
43
  tokenAssets.push(Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(mint, amount, portfolio_core_1.NetworkId.solana, tokenPrice)), { ref: acc.pubkey.toString(), link: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.link, sourceRefs: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.sourceRefs }));
45
44
  });
@@ -48,7 +47,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
48
47
  const element = {
49
48
  type: portfolio_core_1.PortfolioElementType.multiple,
50
49
  networkId: portfolio_core_1.NetworkId.solana,
51
- platformId: constants_1.walletTokensPlatform.id,
50
+ platformId: portfolio_core_1.walletTokensPlatformId,
52
51
  label: 'Wallet',
53
52
  value: (0, portfolio_core_1.getUsdValueSum)(tokenAssets.map((a) => a.value)),
54
53
  data: {
@@ -58,7 +57,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
58
57
  return [element];
59
58
  });
60
59
  const fetcher = {
61
- id: `${constants_1.walletTokensPlatform.id}-solana-simple`,
60
+ id: `${portfolio_core_1.walletTokensPlatformId}-solana-simple`,
62
61
  networkId: portfolio_core_1.NetworkId.solana,
63
62
  executor,
64
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"solana-simple.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-simple.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAEpC,6C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ACJ,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,gBAAgB;IAC7C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
17
- const constants_1 = require("../constants");
18
17
  const helpers_1 = require("../helpers");
19
18
  const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
20
19
  const tokenPriceToLiquidity_1 = __importDefault(require("../../../utils/misc/tokenPriceToLiquidity"));
@@ -50,7 +49,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
50
49
  .toNumber()
51
50
  : 1;
52
51
  // If it's an LP Token
53
- if (tokenPrice && tokenPrice.platformId !== constants_1.walletTokensPlatform.id) {
52
+ if (tokenPrice && tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId) {
54
53
  const liquidity = (0, tokenPriceToLiquidity_1.default)(asset.id, amount, portfolio_core_1.NetworkId.solana, tokenPrice);
55
54
  const tag = (0, helpers_1.getLpTag)(tokenPrice.platformId, tokenPrice.elementName);
56
55
  if (!liquiditiesByTag[tag]) {
@@ -59,7 +58,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
59
58
  liquiditiesByTag[tag].push(liquidity);
60
59
  }
61
60
  // If it's a regular token
62
- else if (tokenPrice && tokenPrice.platformId === constants_1.walletTokensPlatform.id) {
61
+ else if (tokenPrice && tokenPrice.platformId === portfolio_core_1.walletTokensPlatformId) {
63
62
  tokenAssets.push(Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(address, amount, portfolio_core_1.NetworkId.solana, tokenPrice)), { ref: (_a = asset.token_info) === null || _a === void 0 ? void 0 : _a.associated_token_address, link: tokenPrice.link, sourceRefs: tokenPrice.sourceRefs }));
64
63
  }
65
64
  // If it's a NFT
@@ -74,7 +73,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
74
73
  elements.push({
75
74
  type: portfolio_core_1.PortfolioElementType.multiple,
76
75
  networkId: portfolio_core_1.NetworkId.solana,
77
- platformId: constants_1.walletNftsPlatform.id,
76
+ platformId: portfolio_core_1.walletNftsPlatformId,
78
77
  label: 'Wallet',
79
78
  value: null,
80
79
  data: {
@@ -87,7 +86,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
87
86
  elements.push({
88
87
  type: portfolio_core_1.PortfolioElementType.multiple,
89
88
  networkId: portfolio_core_1.NetworkId.solana,
90
- platformId: constants_1.walletTokensPlatform.id,
89
+ platformId: portfolio_core_1.walletTokensPlatformId,
91
90
  label: 'Wallet',
92
91
  value: (0, portfolio_core_1.getUsdValueSum)(tokenAssets.map((a) => a.value)),
93
92
  data: {
@@ -112,7 +111,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
112
111
  return elements;
113
112
  });
114
113
  const fetcher = {
115
- id: `${constants_1.walletTokensPlatform.id}-solana`,
114
+ id: `${portfolio_core_1.walletTokensPlatformId}-solana`,
116
115
  networkId: portfolio_core_1.NetworkId.solana,
117
116
  executor,
118
117
  };
@@ -1 +1 @@
1
- {"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AACpC,gEAAqC;AAErC,4CAAwE;AAExE,wCAAkD;AAClD,wGAAgF;AAChF,sGAA8E;AAC9E,2GAAwG;AACxG,uFAAoF;AACpF,2FAAwF;AACxF,uGAA+E;AAE/E,MAAM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AC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,SAAS;IACvC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAUoC;AACpC,gEAAqC;AAGrC,wCAAkD;AAClD,wGAAgF;AAChF,sGAA8E;AAC9E,2GAAwG;AACxG,uFAAoF;AACpF,2FAAwF;AACxF,uGAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,WAAW,GAAG,IAAA,8BAAoB,GAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,MAAM,IAAA,yCAAmB,EAAC,WAAW,EAAE,KAAK,EAAE;QAC1D,iBAAiB,EAAE,KAAK;QACxB,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE,KAAK;KACvB,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,SAAmB,EAAE,IAAI,EAAE,EAAE;QACnE,IAAI,IAAA,6CAAqB,EAAC,IAAI,CAAC;YAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACzD,OAAO,SAAS,CAAC;IACnB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACjD,iBAAiB,EACjB,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,M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AC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,MAAM,EAAE,WAAW;aACpB;SACF,CAAC,CAAC;IACL,CAAC;IACD,KAAK,MAAM,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,IAAA,oBAAU,EAAC,GAAG,CAAC,CAAC;QACpD,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU;YACV,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,eAAe;YACtB,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,SAAS;IACtC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -11,7 +11,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
13
13
  const clients_1 = require("../../../utils/clients");
14
- const constants_1 = require("../constants");
15
14
  const getKioskObjects_1 = require("../../../utils/sui/getKioskObjects");
16
15
  const getOwnedObjectsPreloaded_1 = require("../../../utils/sui/getOwnedObjectsPreloaded");
17
16
  const suiFrendTraitMap = new Map([
@@ -137,7 +136,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
137
136
  const element = {
138
137
  type: portfolio_core_1.PortfolioElementType.multiple,
139
138
  networkId: portfolio_core_1.NetworkId.sui,
140
- platformId: constants_1.walletNftsPlatform.id,
139
+ platformId: portfolio_core_1.walletNftsPlatformId,
141
140
  label: 'Wallet',
142
141
  value: null,
143
142
  data: {
@@ -147,7 +146,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
147
146
  return [element];
148
147
  });
149
148
  const fetcher = {
150
- id: `${constants_1.walletNftsPlatform.id}-${portfolio_core_1.NetworkId.sui}`,
149
+ id: `${portfolio_core_1.walletNftsPlatformId}-${portfolio_core_1.NetworkId.sui}`,
151
150
  networkId: portfolio_core_1.NetworkId.sui,
152
151
  executor,
153
152
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui-nfts.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAOoC;AAEpC,oDAAsD;AACtD,4CAAkD;AAMlD,wEAAmF;AACnF,0FAAuF;AAEvF,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC;IACpD,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,CAAC,CAAC,EAAE,gBAAgB,CAAC;IACrB,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,EAAE;IACxD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,YAAY,GAAG,MAAM,IAAA,mDAAwB,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACnE,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEzC,MAAM,YAAY,GAAG,MAAM,IAAA,+CAA6B,EAAC,YAAY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,SAAS,CAAC;YAEhB,6BAA6B;YAC7B,WAAW,CAAC,IAAI,CAAC,UAAU,GAAG;gBAC5B,IAAI,EAAE,MAAA,gBAAgB,CAAC,eAAe,mCAAI,cAAc;gBACxD,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI;gBACpB,UAAU,EAAE,IAAI;aACjB,CAAC;QACJ,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACnC,MAAM,OAAO,GAA6B;QACxC,IAAI,EAAE,qCAAoB,CAAC,QAAQ;QACnC,SAAS,EAAE,0BAAS,CAAC,GAAG;QACxB,UAAU,EAAE,8BAAkB,CAAC,EAAE;QACjC,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,IAAI;QACX,IAAI,EAAE;YACJ,MAAM;SACP;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,8BAAkB,CAAC,EAAE,IAAI,0BAAS,CAAC,GAAG,EAAE;IAC/C,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui-nfts.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAQoC;AAEpC,oDAAsD;AAMtD,wEAAmF;AACnF,0FAAuF;AAEvF,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC;IACpD,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,CAAC,CAAC,EAAE,gBAAgB,CAAC;IACrB,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,CAAC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folio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const clients_1 = require("../../../utils/clients");
17
17
  const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
18
- const constants_1 = require("../constants");
19
18
  const tokenPriceToAssetTokens_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetTokens"));
20
19
  const helpers_1 = require("../helpers");
21
20
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
@@ -34,7 +33,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
34
33
  if (!tokenPrice)
35
34
  continue;
36
35
  const amount = amountRaw / Math.pow(10, tokenPrice.decimals);
37
- if (tokenPrice.platformId !== constants_1.walletTokensPlatform.id) {
36
+ if (tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId) {
38
37
  const assets = (0, tokenPriceToAssetTokens_1.default)(coinType, amount, portfolio_core_1.NetworkId.sui, tokenPrice);
39
38
  const liquidity = {
40
39
  assets,
@@ -60,7 +59,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
60
59
  const walletTokensElement = {
61
60
  type: portfolio_core_1.PortfolioElementType.multiple,
62
61
  networkId: portfolio_core_1.NetworkId.sui,
63
- platformId: constants_1.walletTokensPlatform.id,
62
+ platformId: portfolio_core_1.walletTokensPlatformId,
64
63
  label: 'Wallet',
65
64
  value: (0, portfolio_core_1.getUsdValueSum)(walletTokensAssets.map((a) => a.value)),
66
65
  data: {
@@ -86,7 +85,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
86
85
  return elements;
87
86
  });
88
87
  const fetcher = {
89
- id: `${constants_1.walletTokensPlatform.id}-sui`,
88
+ id: `${portfolio_core_1.walletTokensPlatformId}-sui`,
90
89
  networkId: portfolio_core_1.NetworkId.sui,
91
90
  executor,
92
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sui.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui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CAAC,CAAC;YAC7D,IAAI,EAAE;gBACJ,MAAM,EAAE,kBAAkB;aAC3B;SACF,CAAC;QACF,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACrC,CAAC;IACD,KAAK,MAAM,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,IAAA,oBAAU,EAAC,GAAG,CAAC,CAAC;QAC3D,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,SAAS,EAAE,0BAAS,CAAC,GAAG;YACxB,UAAU;YACV,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,eAAe;YAC/B,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,MAAM;IACnC,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.parseLpTag = exports.getLpTag = exports.lpTagSeparator = exports.getTokensData = exports.getCoingeckoSources = exports.isLatestVersion = exports.compareVersion = void 0;
16
16
  const axios_1 = __importDefault(require("axios"));
17
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
17
18
  const constants_1 = require("./constants");
18
19
  const shuffleArray_1 = __importDefault(require("../../utils/misc/shuffleArray"));
19
20
  const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
@@ -115,7 +116,7 @@ function getTokensData(tokenList) {
115
116
  address: ti.address,
116
117
  coingeckoId,
117
118
  decimals: ti.decimals,
118
- platformId: constants_1.walletTokensPlatform.id,
119
+ platformId: portfolio_core_1.walletTokensPlatformId,
119
120
  };
120
121
  cTokensData.push(tokenData);
121
122
  return cTokensData;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA6C;AAQ7C,2CAAgE;AAEhE,iFAAyD;AACzD,mEAA2C;AAC3C,+DAAyE;AAEzE,SAAgB,cAAc,CAC5B,QAA6B,EAC7B,QAA6B;IAE7B,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC,CAAC;IAC/C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC,CAAC;IAC/C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC,CAAC;IAC/C,OAAO,CAAC,CAAC;AACX,CAAC;AAXD,wCAWC;AAED,SAAgB,eAAe,CAC7B,UAA+B,EAC/B,UAA+B;IAE/B,OAAO,cAAc,CAAC,UAAU,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;AACtD,CAAC;AALD,0CAKC;AAED,SAAsB,mBAAmB,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AAC,CAAC;QACpB,KAAK,EACH,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAA2B;QACzE,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;KAC1D,CAAC;AACJ,CAAC;AAbD,gCAaC"}
@@ -1,8 +1,6 @@
1
- import { Platform } from '@sonarwatch/portfolio-core';
2
1
  import { Job } from '../../Job';
3
2
  import { Fetcher } from '../../Fetcher';
4
3
  import solanaSimpleFetcher from './fetchers/solana-simple';
5
- export declare const platforms: Platform[];
6
4
  export declare const jobs: Job[];
7
5
  export declare const fetchers: Fetcher[];
8
6
  export { solanaSimpleFetcher };
@@ -3,9 +3,8 @@ 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.solanaSimpleFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.solanaSimpleFetcher = exports.fetchers = exports.jobs = void 0;
7
7
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
8
- const constants_1 = require("./constants");
9
8
  const jobGenerator_1 = __importDefault(require("./jobGenerator"));
10
9
  const aptos_1 = __importDefault(require("./fetchers/aptos"));
11
10
  const sui_1 = __importDefault(require("./fetchers/sui"));
@@ -19,7 +18,6 @@ const evms_1 = require("./fetchers/evms");
19
18
  const getTokenListsJob_1 = __importDefault(require("./getTokenListsJob"));
20
19
  const solana_simple_1 = __importDefault(require("./fetchers/solana-simple"));
21
20
  exports.solanaSimpleFetcher = solana_simple_1.default;
22
- exports.platforms = [constants_1.walletTokensPlatform, constants_1.walletNftsPlatform];
23
21
  exports.jobs = [
24
22
  (0, jobGenerator_1.default)(portfolio_core_1.NetworkId.bitcoin),
25
23
  (0, jobGenerator_1.default)(portfolio_core_1.NetworkId.aptos),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAIoC;AAKpC,2CAAuE;AACvE,kEAA0C;AAC1C,6DAA4C;AAC5C,yDAAwC;AACxC,mEAAiD;AACjD,yDAAwC;AACxC,iEAAgD;AAChD,+DAA8C;AAC9C,6EAA2D;AAC3D,iGAA8E;AAC9E,0CAA0D;AAC1D,0EAAkD;AAElD,6EAA2D;AA4BlD,8BA5BF,uBAAmB,CA4BE;AA1Bf,QAAA,SAAS,GAAe,CAAC,gCAAoB,EAAE,8BAAkB,CAAC,CAAC;AACnE,QAAA,IAAI,GAAU;IACzB,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,KAAK,CAAC;IAC7B,IAAA,sBAAY,EAAC,0BAAS,CAAC,MAAM,CAAC;IAC9B,IAAA,sBAAY,EAAC,0BAAS,CAAC,QAAQ,CAAC;IAChC,IAAA,sBAAY,EAAC,0BAAS,CAAC,SAAS,CAAC;IACjC,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,GAAG,gCAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAgB,EAAC,OAAO,CAAC,EAAE,CAAC,CAAC;CAClE,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,eAAY;IACZ,gBAAa;IACb,uBAAmB;IACnB,iCAA4B;IAC5B,aAAU;IACV,kBAAc;IACd,aAAU;IACV,iBAAc;IACd,GAAG,eAAW;CACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAwE;AAKxE,kEAA0C;AAC1C,6DAA4C;AAC5C,yDAAwC;AACxC,mEAAiD;AACjD,yDAAwC;AACxC,iEAAgD;AAChD,+DAA8C;AAC9C,6EAA2D;AAC3D,iGAA8E;AAC9E,0CAA0D;AAC1D,0EAAkD;AAElD,6EAA2D;AA2BlD,8BA3BF,uBAAmB,CA2BE;AAzBf,QAAA,IAAI,GAAU;IACzB,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,KAAK,CAAC;IAC7B,IAAA,sBAAY,EAAC,0BAAS,CAAC,MAAM,CAAC;IAC9B,IAAA,sBAAY,EAAC,0BAAS,CAAC,QAAQ,CAAC;IAChC,IAAA,sBAAY,EAAC,0BAAS,CAAC,SAAS,CAAC;IACjC,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,GAAG,gCAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAgB,EAAC,OAAO,CAAC,EAAE,CAAC,CAAC;CAClE,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,eAAY;IACZ,gBAAa;IACb,uBAAmB;IACnB,iCAA4B;IAC5B,aAAU;IACV,kBAAc;IACd,aAAU;IACV,iBAAc;IACd,GAAG,eAAW;CACf,CAAC"}
@@ -16,7 +16,6 @@ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
16
  const axios_1 = __importDefault(require("axios"));
17
17
  const helpers_1 = require("./helpers");
18
18
  const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
19
- const constants_1 = require("./constants");
20
19
  const shuffleArray_1 = __importDefault(require("../../utils/misc/shuffleArray"));
21
20
  function jobGenerator(networkId) {
22
21
  const network = portfolio_core_1.networks[networkId];
@@ -40,7 +39,7 @@ function jobGenerator(networkId) {
40
39
  });
41
40
  return {
42
41
  executor,
43
- id: `${constants_1.walletTokensPlatform.id}-${networkId}`,
42
+ id: `${portfolio_core_1.walletTokensPlatformId}-${networkId}`,
44
43
  labels: ['coingecko'],
45
44
  };
46
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"jobGenerator.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/jobGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,kDAA6C;AAC7C,uCAA+D;AAG/D,mEAA2C;AAC3C,2CAAmD;AACnD,iFAAyD;AAEzD,SAAwB,YAAY,CAAC,SAAwB;IAC3D,MAAM,OAAO,GAAG,yBAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,IAAA,eAAK,EAAC,KAAK,CAAC,CAAC;QACnB,MAAM,iBAAiB,GAAuC,MAAM,eAAK;aACtE,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC;aACzB,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,iBAAiB;YAAE,OAAO;QAC/B,MAAM,UAAU,GAAG,IAAA,uBAAa,EAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACzD,iBAAiB,CAAC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,gBAAgB;QACpD,IAAA,sBAAY,EAAC,UAAU,CAAC,CAAC;QAEzB,MAAM,kBAAkB,GAAoB,EAAE,CAAC;QAC/C,OAAO,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,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AAU,CAAC,CAAC;QAEzB,MAAM,kBAAkB,GAAoB,EAAE,CAAC;QAC/C,OAAO,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;YACjD,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAmB,EAAC,SAAS,EAAE,cAAc,CAAC,CAAC;YACrE,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,CAAC;QACD,MAAM,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACxC,CAAC,CAAA,CAAC;IACF,OAAO;QACL,QAAQ;QACR,EAAE,EAAE,GAAG,uCAAsB,IAAI,SAAS,EAAE;QAC5C,MAAM,EAAE,CAAC,WAAW,CAAC;KACtB,CAAC;AACJ,CAAC;AAzBD,+BAyBC"}
@@ -1,6 +1,4 @@
1
- import { Platform } from '@sonarwatch/portfolio-core';
2
1
  import { Fetcher } from '../../Fetcher';
3
2
  import { Job } from '../../Job';
4
3
  export declare const jobs: Job[];
5
- export declare const platforms: Platform[];
6
4
  export declare const fetchers: Fetcher[];
@@ -3,9 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.fetchers = exports.platforms = exports.jobs = void 0;
6
+ exports.fetchers = exports.jobs = void 0;
7
7
  const topTokensJob_1 = __importDefault(require("./topTokensJob"));
8
8
  exports.jobs = [topTokensJob_1.default];
9
- exports.platforms = [];
10
9
  exports.fetchers = [];
11
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/top-tokens/index.ts"],"names":[],"mappings":";;;;;;AAGA,kEAA0C;AAE7B,QAAA,IAAI,GAAU,CAAC,sBAAY,CAAC,CAAC;AAC7B,QAAA,SAAS,GAAe,EAAE,CAAC;AAC3B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/top-tokens/index.ts"],"names":[],"mappings":";;;;;;AAEA,kEAA0C;AAE7B,QAAA,IAAI,GAAU,CAAC,sBAAY,CAAC,CAAC;AAC7B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -1,6 +1,4 @@
1
- import { Platform } from '@sonarwatch/portfolio-core';
2
1
  export declare const platformId = "tradeport";
3
- export declare const platform: Platform;
4
2
  export declare const locksCacheKey = "locks";
5
3
  export declare const bidsCacheKey = "bids";
6
4
  export declare const lockStore = "0x4b705de46a79b29276baf45009bc7d6f70cc0f1407f0c9e03cac5729c0c47946";
@@ -1,15 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.escrowType = exports.bidsType = exports.bidsStore = exports.lockStore = exports.bidsCacheKey = exports.locksCacheKey = exports.platform = exports.platformId = void 0;
3
+ exports.escrowType = exports.bidsType = exports.bidsStore = exports.lockStore = exports.bidsCacheKey = exports.locksCacheKey = exports.platformId = void 0;
4
4
  exports.platformId = 'tradeport';
5
- exports.platform = {
6
- id: exports.platformId,
7
- name: 'Tradeport',
8
- image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/tradeport.webp',
9
- website: 'https://www.tradeport.xyz/',
10
- twitter: 'https://x.com/tradeportxyz',
11
- // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
12
- };
13
5
  exports.locksCacheKey = `locks`;
14
6
  exports.bidsCacheKey = `bids`;
15
7
  exports.lockStore = '0x4b705de46a79b29276baf45009bc7d6f70cc0f1407f0c9e03cac5729c0c47946';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,4BAA4B;IACrC,qEAAqE;CACtE,CAAC;AACW,QAAA,aAAa,GAAG,OAAO,CAAC;AACxB,QAAA,YAAY,GAAG,MAAM,CAAC;AAEtB,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,UAAU,GACrB,4FAA4F,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,WAAW,CAAC;AAEzB,QAAA,aAAa,GAAG,OAAO,CAAC;AACxB,QAAA,YAAY,GAAG,MAAM,CAAC;AAEtB,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,UAAU,GACrB,4FAA4F,CAAC"}
@@ -1,6 +1,4 @@
1
- import { Platform } from '@sonarwatch/portfolio-core';
2
1
  import { Fetcher } from '../../Fetcher';
3
2
  import { Job } from '../../Job';
4
- export declare const platforms: Platform[];
5
3
  export declare const jobs: Job[];
6
4
  export declare const fetchers: Fetcher[];
@@ -3,14 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.fetchers = exports.jobs = exports.platforms = void 0;
7
- const constants_1 = require("./constants");
6
+ exports.fetchers = exports.jobs = void 0;
8
7
  const positionsFetcher_1 = __importDefault(require("./positionsFetcher"));
9
8
  const locksJob_1 = __importDefault(require("./locksJob"));
10
9
  const bidsJob_1 = __importDefault(require("./bidsJob"));
11
10
  const bidsFetcher_1 = __importDefault(require("./bidsFetcher"));
12
11
  const kioskProfitsFetcher_1 = __importDefault(require("./kioskProfitsFetcher"));
13
- exports.platforms = [constants_1.platform];
14
12
  exports.jobs = [locksJob_1.default, bidsJob_1.default];
15
13
  exports.fetchers = [
16
14
  positionsFetcher_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,0EAAkD;AAClD,0DAAkC;AAClC,wDAAgC;AAChC,gEAAwC;AACxC,gFAAwD;AAE3C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,iBAAO,CAAC,CAAC;AAClC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,qBAAW;IACX,6BAAmB;CACpB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/index.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAClD,0DAAkC;AAClC,wDAAgC;AAChC,gEAAwC;AACxC,gFAAwD;AAE3C,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,iBAAO,CAAC,CAAC;AAClC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,qBAAW;IACX,6BAAmB;CACpB,CAAC"}
@@ -1,8 +1,6 @@
1
1
  /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
- import { Platform } from '@sonarwatch/portfolio-core';
4
3
  import { PublicKey } from '@solana/web3.js';
5
4
  export declare const platformId = "triad";
6
- export declare const platform: Platform;
7
5
  export declare const programId: PublicKey;
8
6
  export declare const marketsCacheKey = "markets";
@@ -1,21 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.marketsCacheKey = exports.programId = exports.platform = exports.platformId = void 0;
3
+ exports.marketsCacheKey = exports.programId = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'triad';
6
- exports.platform = {
7
- id: exports.platformId,
8
- name: 'Triad',
9
- image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/triad.webp',
10
- website: 'https://app.triadfi.co/',
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'],
18
- };
19
6
  exports.programId = new web3_js_1.PublicKey('TRDwq3BN4mP3m9KsuNUWSN6QDff93VKGSwE95Jbr9Ss');
20
7
  exports.marketsCacheKey = 'markets';
21
8
  //# sourceMappingURL=constants.js.map
@@ -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;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"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AAErB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC"}
@@ -1,6 +1,4 @@
1
- import { Platform } from '@sonarwatch/portfolio-core';
2
1
  import { Fetcher } from '../../Fetcher';
3
2
  import { Job } from '../../Job';
4
- export declare const platforms: Platform[];
5
3
  export declare const jobs: Job[];
6
4
  export declare const fetchers: Fetcher[];
@@ -3,12 +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.fetchers = exports.jobs = exports.platforms = void 0;
7
- const constants_1 = require("./constants");
6
+ exports.fetchers = exports.jobs = void 0;
8
7
  const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
9
8
  const marketsFetcher_1 = __importDefault(require("./marketsFetcher"));
10
9
  const marketsJob_1 = __importDefault(require("./marketsJob"));
11
- exports.platforms = [constants_1.platform];
12
10
  exports.jobs = [marketsJob_1.default];
13
11
  exports.fetchers = [stakingFetcher_1.default, marketsFetcher_1.default];
14
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,sEAA8C;AAC9C,sEAA8C;AAC9C,8DAAsC;AAEzB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,wBAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,sEAA8C;AAC9C,8DAAsC;AAEzB,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,wBAAc,CAAC,CAAC"}
@@ -1,10 +1,8 @@
1
1
  /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
2
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
3
3
  import { PublicKey } from '@solana/web3.js';
4
- import { Platform } from '@sonarwatch/portfolio-core';
5
4
  export declare const tulipMint = "TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs";
6
5
  export declare const platformId = "tulip";
7
- export declare const platform: Platform;
8
6
  export declare const tulipV2ProgramId: PublicKey;
9
7
  export declare const tulipLendingProgramId: PublicKey;
10
8
  export declare const leverageProgramId: PublicKey;