@sonarwatch/portfolio-plugins 0.11.183 → 0.11.185

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. package/CHANGELOG.md +1477 -1459
  2. package/README.md +3 -3
  3. package/package.json +2 -2
  4. package/src/generators/helpers.js +1 -1
  5. package/src/generators/helpers.js.map +1 -1
  6. package/src/index.js +2 -0
  7. package/src/index.js.map +1 -1
  8. package/src/plugins/aave/constants.d.ts +1 -1
  9. package/src/plugins/aave/constants.js +2 -2
  10. package/src/plugins/aave/constants.js.map +1 -1
  11. package/src/plugins/aave/index.js +1 -1
  12. package/src/plugins/aave/index.js.map +1 -1
  13. package/src/plugins/aftermath/constants.d.ts +1 -1
  14. package/src/plugins/aftermath/constants.js +2 -2
  15. package/src/plugins/aftermath/constants.js.map +1 -1
  16. package/src/plugins/aftermath/index.js +1 -1
  17. package/src/plugins/aftermath/index.js.map +1 -1
  18. package/src/plugins/aptin/constants.d.ts +3 -0
  19. package/src/plugins/aptin/constants.js +5 -2
  20. package/src/plugins/aptin/constants.js.map +1 -1
  21. package/src/plugins/aptin/depositsFetcher.js +2 -2
  22. package/src/plugins/aptin/depositsFetcher.js.map +1 -1
  23. package/src/plugins/armada-staking/constants.js +6 -6
  24. package/src/plugins/armada-staking/constants.js.map +1 -1
  25. package/src/plugins/aurory/constants.d.ts +1 -1
  26. package/src/plugins/aurory/constants.js +3 -3
  27. package/src/plugins/aurory/constants.js.map +1 -1
  28. package/src/plugins/aurory/stakingFetcher.js +2 -2
  29. package/src/plugins/aurory/stakingFetcher.js.map +1 -1
  30. package/src/plugins/auxexchange/aptosLpJob.js +2 -2
  31. package/src/plugins/auxexchange/aptosLpJob.js.map +1 -1
  32. package/src/plugins/auxexchange/constants.d.ts +2 -2
  33. package/src/plugins/auxexchange/constants.js +4 -4
  34. package/src/plugins/auxexchange/constants.js.map +1 -1
  35. package/src/plugins/auxexchange/index.js +1 -1
  36. package/src/plugins/auxexchange/index.js.map +1 -1
  37. package/src/plugins/balancer/helpers/pools.js +21 -21
  38. package/src/plugins/banx/constants.js +1 -1
  39. package/src/plugins/banx/constants.js.map +1 -1
  40. package/src/plugins/bucket/constants.d.ts +1 -1
  41. package/src/plugins/bucket/constants.js +2 -2
  42. package/src/plugins/bucket/constants.js.map +1 -1
  43. package/src/plugins/bucket/index.js +1 -1
  44. package/src/plugins/bucket/index.js.map +1 -1
  45. package/src/plugins/cetus/constants.d.ts +1 -1
  46. package/src/plugins/cetus/constants.js +2 -2
  47. package/src/plugins/cetus/constants.js.map +1 -1
  48. package/src/plugins/cetus/index.js +1 -1
  49. package/src/plugins/cetus/index.js.map +1 -1
  50. package/src/plugins/clone/constants.js +1 -1
  51. package/src/plugins/clone/constants.js.map +1 -1
  52. package/src/plugins/compound/constants.d.ts +1 -1
  53. package/src/plugins/compound/constants.js +2 -2
  54. package/src/plugins/compound/constants.js.map +1 -1
  55. package/src/plugins/compound/index.js +1 -1
  56. package/src/plugins/compound/index.js.map +1 -1
  57. package/src/plugins/curve/constants.d.ts +1 -1
  58. package/src/plugins/curve/constants.js +2 -2
  59. package/src/plugins/curve/constants.js.map +1 -1
  60. package/src/plugins/curve/index.js +1 -1
  61. package/src/plugins/curve/index.js.map +1 -1
  62. package/src/plugins/daos/constants.js +2 -1
  63. package/src/plugins/daos/constants.js.map +1 -1
  64. package/src/plugins/drift/constants.d.ts +1 -1
  65. package/src/plugins/drift/constants.js +2 -2
  66. package/src/plugins/drift/constants.js.map +1 -1
  67. package/src/plugins/drift/index.js +1 -1
  68. package/src/plugins/drift/index.js.map +1 -1
  69. package/src/plugins/flash/constants.d.ts +1 -0
  70. package/src/plugins/flash/constants.js +2 -1
  71. package/src/plugins/flash/constants.js.map +1 -1
  72. package/src/plugins/flash/poolJob.js +28 -4
  73. package/src/plugins/flash/poolJob.js.map +1 -1
  74. package/src/plugins/flash/stakeFetcher.js +42 -18
  75. package/src/plugins/flash/stakeFetcher.js.map +1 -1
  76. package/src/plugins/flash/types.d.ts +5 -0
  77. package/src/plugins/flexlend/constants.d.ts +1 -1
  78. package/src/plugins/flexlend/constants.js +2 -2
  79. package/src/plugins/flexlend/constants.js.map +1 -1
  80. package/src/plugins/flexlend/depositsFetcher.js +1 -1
  81. package/src/plugins/flexlend/depositsFetcher.js.map +1 -1
  82. package/src/plugins/flexlend/index.js +1 -1
  83. package/src/plugins/flexlend/index.js.map +1 -1
  84. package/src/plugins/goosefx/constants.d.ts +1 -1
  85. package/src/plugins/goosefx/constants.js +2 -2
  86. package/src/plugins/goosefx/constants.js.map +1 -1
  87. package/src/plugins/goosefx/index.js +1 -1
  88. package/src/plugins/goosefx/index.js.map +1 -1
  89. package/src/plugins/hawksight/constants.d.ts +1 -1
  90. package/src/plugins/hawksight/constants.js +2 -2
  91. package/src/plugins/hawksight/constants.js.map +1 -1
  92. package/src/plugins/hawksight/index.js +1 -1
  93. package/src/plugins/hawksight/index.js.map +1 -1
  94. package/src/plugins/jito/constants.d.ts +1 -1
  95. package/src/plugins/jito/constants.js +2 -2
  96. package/src/plugins/jito/constants.js.map +1 -1
  97. package/src/plugins/jito/index.js +1 -1
  98. package/src/plugins/jito/index.js.map +1 -1
  99. package/src/plugins/jupiter/exchange/constants.d.ts +1 -1
  100. package/src/plugins/jupiter/exchange/constants.js +2 -2
  101. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  102. package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
  103. package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
  104. package/src/plugins/jupiter/governance/constants.d.ts +2 -2
  105. package/src/plugins/jupiter/governance/constants.js +4 -4
  106. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  107. package/src/plugins/jupiter/governance/voteFetcher.js +2 -2
  108. package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
  109. package/src/plugins/jupiter/index.js +3 -3
  110. package/src/plugins/jupiter/index.js.map +1 -1
  111. package/src/plugins/jupiter/launchpad/allocationsFetcher.js +2 -2
  112. package/src/plugins/jupiter/launchpad/allocationsFetcher.js.map +1 -1
  113. package/src/plugins/jupiter/launchpad/constants.d.ts +2 -2
  114. package/src/plugins/jupiter/launchpad/constants.js +4 -4
  115. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  116. package/src/plugins/kamino/airdropFetcher.js +2 -2
  117. package/src/plugins/kamino/airdropFetcher.js.map +1 -1
  118. package/src/plugins/kamino/constants.d.ts +1 -1
  119. package/src/plugins/kamino/constants.js +2 -2
  120. package/src/plugins/kamino/constants.js.map +1 -1
  121. package/src/plugins/kamino/index.js +1 -1
  122. package/src/plugins/kamino/index.js.map +1 -1
  123. package/src/plugins/lido/constants.d.ts +1 -1
  124. package/src/plugins/lido/constants.js +2 -2
  125. package/src/plugins/lido/constants.js.map +1 -1
  126. package/src/plugins/lido/index.js +1 -1
  127. package/src/plugins/lido/index.js.map +1 -1
  128. package/src/plugins/liquidswap/constants.d.ts +1 -1
  129. package/src/plugins/liquidswap/constants.js +2 -2
  130. package/src/plugins/liquidswap/constants.js.map +1 -1
  131. package/src/plugins/liquidswap/index.js +1 -1
  132. package/src/plugins/liquidswap/index.js.map +1 -1
  133. package/src/plugins/magiceden/constants.d.ts +1 -1
  134. package/src/plugins/magiceden/constants.js +2 -2
  135. package/src/plugins/magiceden/constants.js.map +1 -1
  136. package/src/plugins/magiceden/index.js +1 -1
  137. package/src/plugins/magiceden/index.js.map +1 -1
  138. package/src/plugins/maker/constants.d.ts +1 -1
  139. package/src/plugins/maker/constants.js +2 -2
  140. package/src/plugins/maker/constants.js.map +1 -1
  141. package/src/plugins/maker/index.js +1 -1
  142. package/src/plugins/maker/index.js.map +1 -1
  143. package/src/plugins/mango/constants.d.ts +1 -1
  144. package/src/plugins/mango/constants.js +2 -2
  145. package/src/plugins/mango/constants.js.map +1 -1
  146. package/src/plugins/mango/index.js +1 -1
  147. package/src/plugins/mango/index.js.map +1 -1
  148. package/src/plugins/maple/constants.d.ts +1 -1
  149. package/src/plugins/maple/constants.js +2 -2
  150. package/src/plugins/maple/constants.js.map +1 -1
  151. package/src/plugins/maple/index.js +1 -1
  152. package/src/plugins/maple/index.js.map +1 -1
  153. package/src/plugins/marginfi/constants.d.ts +2 -2
  154. package/src/plugins/marginfi/constants.js +3 -3
  155. package/src/plugins/marginfi/constants.js.map +1 -1
  156. package/src/plugins/marginfi/index.js +1 -1
  157. package/src/plugins/marginfi/index.js.map +1 -1
  158. package/src/plugins/marinade/constants.d.ts +1 -1
  159. package/src/plugins/marinade/constants.js +2 -2
  160. package/src/plugins/marinade/constants.js.map +1 -1
  161. package/src/plugins/marinade/index.js +1 -1
  162. package/src/plugins/marinade/index.js.map +1 -1
  163. package/src/plugins/meteora/constants.d.ts +1 -1
  164. package/src/plugins/meteora/constants.js +2 -2
  165. package/src/plugins/meteora/constants.js.map +1 -1
  166. package/src/plugins/meteora/index.js +1 -1
  167. package/src/plugins/meteora/index.js.map +1 -1
  168. package/src/plugins/morpho/constants.d.ts +1 -1
  169. package/src/plugins/morpho/constants.js +2 -2
  170. package/src/plugins/morpho/constants.js.map +1 -1
  171. package/src/plugins/morpho/index.js +1 -1
  172. package/src/plugins/morpho/index.js.map +1 -1
  173. package/src/plugins/native-stake/solana/solanaFetcher.js +7 -7
  174. package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
  175. package/src/plugins/navi/constants.d.ts +1 -1
  176. package/src/plugins/navi/constants.js +2 -2
  177. package/src/plugins/navi/constants.js.map +1 -1
  178. package/src/plugins/navi/index.js +1 -1
  179. package/src/plugins/navi/index.js.map +1 -1
  180. package/src/plugins/nosana/constants.js +1 -1
  181. package/src/plugins/nosana/constants.js.map +1 -1
  182. package/src/plugins/orca/constants.d.ts +1 -1
  183. package/src/plugins/orca/constants.js +2 -2
  184. package/src/plugins/orca/constants.js.map +1 -1
  185. package/src/plugins/orca/index.js +1 -1
  186. package/src/plugins/orca/index.js.map +1 -1
  187. package/src/plugins/pancakeswap/constants.d.ts +1 -1
  188. package/src/plugins/pancakeswap/constants.js +2 -2
  189. package/src/plugins/pancakeswap/constants.js.map +1 -1
  190. package/src/plugins/pancakeswap/index.js +1 -1
  191. package/src/plugins/pancakeswap/index.js.map +1 -1
  192. package/src/plugins/paraswap/constants.d.ts +1 -1
  193. package/src/plugins/paraswap/constants.js +2 -2
  194. package/src/plugins/paraswap/constants.js.map +1 -1
  195. package/src/plugins/paraswap/index.js +1 -1
  196. package/src/plugins/paraswap/index.js.map +1 -1
  197. package/src/plugins/parcl/airdropFetcher.js +3 -0
  198. package/src/plugins/parcl/airdropFetcher.js.map +1 -1
  199. package/src/plugins/parcl/constants.d.ts +1 -1
  200. package/src/plugins/parcl/constants.js +2 -2
  201. package/src/plugins/parcl/constants.js.map +1 -1
  202. package/src/plugins/parcl/index.js +1 -1
  203. package/src/plugins/parcl/index.js.map +1 -1
  204. package/src/plugins/rain/constants.js +1 -1
  205. package/src/plugins/rain/constants.js.map +1 -1
  206. package/src/plugins/raydium/constants.d.ts +1 -1
  207. package/src/plugins/raydium/constants.js +2 -2
  208. package/src/plugins/raydium/constants.js.map +1 -1
  209. package/src/plugins/raydium/index.js +1 -1
  210. package/src/plugins/raydium/index.js.map +1 -1
  211. package/src/plugins/rocket-pool/constants.d.ts +1 -1
  212. package/src/plugins/rocket-pool/constants.js +2 -2
  213. package/src/plugins/rocket-pool/constants.js.map +1 -1
  214. package/src/plugins/rocket-pool/index.js +1 -1
  215. package/src/plugins/rocket-pool/index.js.map +1 -1
  216. package/src/plugins/saber/constants.d.ts +1 -1
  217. package/src/plugins/saber/constants.js +2 -2
  218. package/src/plugins/saber/constants.js.map +1 -1
  219. package/src/plugins/saber/index.js +1 -1
  220. package/src/plugins/saber/index.js.map +1 -1
  221. package/src/plugins/scallop/constants.d.ts +1 -1
  222. package/src/plugins/scallop/constants.js +9 -9
  223. package/src/plugins/scallop/constants.js.map +1 -1
  224. package/src/plugins/scallop/index.js +1 -1
  225. package/src/plugins/scallop/index.js.map +1 -1
  226. package/src/plugins/solend/constants.d.ts +1 -1
  227. package/src/plugins/solend/constants.js +2 -2
  228. package/src/plugins/solend/constants.js.map +1 -1
  229. package/src/plugins/solend/index.js +1 -1
  230. package/src/plugins/solend/index.js.map +1 -1
  231. package/src/plugins/stader/constants.d.ts +1 -1
  232. package/src/plugins/stader/constants.js +2 -2
  233. package/src/plugins/stader/constants.js.map +1 -1
  234. package/src/plugins/stader/index.js +1 -1
  235. package/src/plugins/stader/index.js.map +1 -1
  236. package/src/plugins/stargate/constants.d.ts +1 -1
  237. package/src/plugins/stargate/constants.js +2 -2
  238. package/src/plugins/stargate/constants.js.map +1 -1
  239. package/src/plugins/stargate/index.js +1 -1
  240. package/src/plugins/stargate/index.js.map +1 -1
  241. package/src/plugins/sushiswap/helpers.js +24 -24
  242. package/src/plugins/switchboard/constants.d.ts +1 -0
  243. package/src/plugins/switchboard/constants.js +5 -0
  244. package/src/plugins/switchboard/constants.js.map +1 -0
  245. package/src/plugins/switchboard/helpers/getSwitchboardPrice.d.ts +3 -0
  246. package/src/plugins/switchboard/helpers/getSwitchboardPrice.js +20 -0
  247. package/src/plugins/switchboard/helpers/getSwitchboardPrice.js.map +1 -0
  248. package/src/plugins/switchboard/helpers/getSwitchboardPrices.d.ts +3 -0
  249. package/src/plugins/switchboard/helpers/getSwitchboardPrices.js +23 -0
  250. package/src/plugins/switchboard/helpers/getSwitchboardPrices.js.map +1 -0
  251. package/src/plugins/switchboard/helpers/misc.d.ts +2 -0
  252. package/src/plugins/switchboard/helpers/misc.js +26 -0
  253. package/src/plugins/switchboard/helpers/misc.js.map +1 -0
  254. package/src/plugins/switchboard/index.d.ts +4 -0
  255. package/src/plugins/switchboard/index.js +10 -0
  256. package/src/plugins/switchboard/index.js.map +1 -0
  257. package/src/plugins/switchboard/pricingJob.d.ts +3 -0
  258. package/src/plugins/switchboard/pricingJob.js +57 -0
  259. package/src/plugins/switchboard/pricingJob.js.map +1 -0
  260. package/src/plugins/switchboard/structs.d.ts +74 -0
  261. package/src/plugins/switchboard/structs.js +72 -0
  262. package/src/plugins/switchboard/structs.js.map +1 -0
  263. package/src/plugins/tensor/constants.d.ts +1 -1
  264. package/src/plugins/tensor/constants.js +2 -2
  265. package/src/plugins/tensor/constants.js.map +1 -1
  266. package/src/plugins/tensor/index.js +1 -1
  267. package/src/plugins/tensor/index.js.map +1 -1
  268. package/src/plugins/thala/constants.d.ts +12 -5
  269. package/src/plugins/thala/constants.js +9 -9
  270. package/src/plugins/thala/constants.js.map +1 -1
  271. package/src/plugins/thala/index.js +1 -1
  272. package/src/plugins/thala/index.js.map +1 -1
  273. package/src/plugins/thala/vaultsRatesJob.js +1 -1
  274. package/src/plugins/thala/vaultsRatesJob.js.map +1 -1
  275. package/src/plugins/turbos/constants.d.ts +1 -1
  276. package/src/plugins/turbos/constants.js +2 -2
  277. package/src/plugins/turbos/constants.js.map +1 -1
  278. package/src/plugins/turbos/index.js +1 -1
  279. package/src/plugins/turbos/index.js.map +1 -1
  280. package/src/plugins/uniswap/constants.d.ts +1 -1
  281. package/src/plugins/uniswap/constants.js +2 -2
  282. package/src/plugins/uniswap/constants.js.map +1 -1
  283. package/src/plugins/uniswap/getUniV3PositionsFetcher.js +1 -1
  284. package/src/plugins/uniswap/getUniV3PositionsFetcher.js.map +1 -1
  285. package/src/plugins/uniswap/index.js +1 -1
  286. package/src/plugins/uniswap/index.js.map +1 -1
  287. package/src/plugins/uniswap-v2/getPositionsV2Fetcher.js +1 -1
  288. package/src/plugins/uniswap-v2/getPositionsV2Fetcher.js.map +1 -1
  289. package/src/plugins/uniswap-v2/helpers.js +23 -23
  290. package/src/plugins/uniswap-v2/helpers.js.map +1 -1
  291. package/src/plugins/venus/constants.d.ts +1 -1
  292. package/src/plugins/venus/constants.js +3 -7
  293. package/src/plugins/venus/constants.js.map +1 -1
  294. package/src/plugins/venus/index.js +1 -1
  295. package/src/plugins/venus/index.js.map +1 -1
  296. package/src/plugins/wormhole/constants.js +1 -1
  297. package/src/plugins/wormhole/constants.js.map +1 -1
  298. package/src/plugins/x-staking-solana/constants.js +2 -2
  299. package/src/plugins/x-staking-solana/constants.js.map +1 -1
  300. package/src/plugins/zeta/constants.d.ts +1 -1
  301. package/src/plugins/zeta/constants.js +2 -2
  302. package/src/plugins/zeta/constants.js.map +1 -1
  303. package/src/plugins/zeta/index.js +1 -1
  304. package/src/plugins/zeta/index.js.map +1 -1
  305. package/src/utils/misc/getImagefromUri.js +1 -1
  306. package/src/utils/misc/getImagefromUri.js.map +1 -1
  307. package/src/utils/sei/constants.js +8 -8
  308. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maple/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AAErB,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,eAAe,GAAG,8CAA8C,CAAC;AACjE,QAAA,QAAQ,GAAG,WAAW,CAAC;AAEvB,QAAA,YAAY,GAAG;IAC1B,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;CAC7C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maple/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AAErB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,eAAe,GAAG,8CAA8C,CAAC;AACjE,QAAA,QAAQ,GAAG,WAAW,CAAC;AAEvB,QAAA,YAAY,GAAG;IAC1B,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;IAC5C,4CAA4C;CAC7C,CAAC"}
@@ -10,5 +10,5 @@ const ethereumFetcher_1 = __importDefault(require("./ethereumFetcher"));
10
10
  const constants_1 = require("./constants");
11
11
  exports.jobs = [solanaJob_1.default, ethereumJob_1.default];
12
12
  exports.fetchers = [ethereumFetcher_1.default];
13
- exports.platforms = [constants_1.maplePlatform];
13
+ exports.platforms = [constants_1.platform];
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maple/index.ts"],"names":[],"mappings":";;;;;;AAGA,4DAAiC;AACjC,gEAAqC;AACrC,wEAAgD;AAChD,2CAA4C;AAE/B,QAAA,IAAI,GAAU,CAAC,mBAAM,EAAE,qBAAQ,CAAC,CAAC;AACjC,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC;AACxC,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maple/index.ts"],"names":[],"mappings":";;;;;;AAGA,4DAAiC;AACjC,gEAAqC;AACrC,wEAAgD;AAChD,2CAAuC;AAE1B,QAAA,IAAI,GAAU,CAAC,mBAAM,EAAE,qBAAQ,CAAC,CAAC;AACjC,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC;AACxC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  import BigNumber from 'bignumber.js';
4
- export declare const banksKey = "banks";
5
4
  export declare const platformId = "marginfi";
6
- export declare const marginfiPlatform: Platform;
5
+ export declare const platform: Platform;
7
6
  export declare const MarginfiProgram: PublicKey;
8
7
  export declare const MarginfiAccountAddress = "4qp6Fx6tnZkY5Wropq9wUYgtFxXKwE6viZxFHg3rdAG8";
8
+ export declare const banksKey = "banks";
9
9
  export declare const solFactor: BigNumber;
@@ -3,13 +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.solFactor = exports.MarginfiAccountAddress = exports.MarginfiProgram = exports.marginfiPlatform = exports.platformId = exports.banksKey = void 0;
6
+ exports.solFactor = exports.banksKey = exports.MarginfiAccountAddress = exports.MarginfiProgram = exports.platform = exports.platformId = void 0;
7
7
  const web3_js_1 = require("@solana/web3.js");
8
8
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
9
9
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
10
- exports.banksKey = 'banks';
11
10
  exports.platformId = 'marginfi';
12
- exports.marginfiPlatform = {
11
+ exports.platform = {
13
12
  id: exports.platformId,
14
13
  name: 'Marginfi',
15
14
  image: 'https://sonar.watch/img/platforms/marginfi.png',
@@ -18,5 +17,6 @@ exports.marginfiPlatform = {
18
17
  };
19
18
  exports.MarginfiProgram = new web3_js_1.PublicKey('MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA');
20
19
  exports.MarginfiAccountAddress = '4qp6Fx6tnZkY5Wropq9wUYgtFxXKwE6viZxFHg3rdAG8';
20
+ exports.banksKey = 'banks';
21
21
  exports.solFactor = new bignumber_js_1.default(Math.pow(10, portfolio_core_1.solanaNetwork.native.decimals));
22
22
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,sBAAsB,GACjC,8CAA8C,CAAC;AAEpC,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,2BAA2B;CACrC,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,sBAAsB,GACjC,8CAA8C,CAAC;AAEpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC"}
@@ -7,7 +7,7 @@ exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const banksJob_1 = __importDefault(require("./banksJob"));
8
8
  const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
9
9
  const constants_1 = require("./constants");
10
- exports.platforms = [constants_1.marginfiPlatform];
10
+ exports.platforms = [constants_1.platform];
11
11
  exports.jobs = [banksJob_1.default];
12
12
  exports.fetchers = [depositsFetcher_1.default];
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/index.ts"],"names":[],"mappings":";;;;;;AACA,0DAAkC;AAClC,wEAAgD;AAGhD,2CAA+C;AAElC,QAAA,SAAS,GAAe,CAAC,4BAAgB,CAAC,CAAC;AAC3C,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marginfi/index.ts"],"names":[],"mappings":";;;;;;AACA,0DAAkC;AAClC,wEAAgD;AAGhD,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  import BigNumber from 'bignumber.js';
4
4
  export declare const platformId = "marinade";
5
- export declare const marinadePlatform: Platform;
5
+ export declare const platform: Platform;
6
6
  export declare const cachePrefix = "marinade";
7
7
  export declare const season2RewardsPrefix = "marinade-s2Rewards";
8
8
  export declare const marinadeTicketProgramId: PublicKey;
@@ -3,12 +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.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.mndeMint = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.marinadePlatform = exports.platformId = void 0;
6
+ exports.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.mndeMint = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.platform = exports.platformId = void 0;
7
7
  const web3_js_1 = require("@solana/web3.js");
8
8
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
9
9
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
10
10
  exports.platformId = 'marinade';
11
- exports.marinadePlatform = {
11
+ exports.platform = {
12
12
  id: exports.platformId,
13
13
  name: 'Marinade',
14
14
  image: 'https://sonar.watch/img/platforms/marinade.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,YAAY,CAAC;AACjD,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC;AAC/D,QAAA,cAAc,GACzB,8DAA8D,CAAC;AACpD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB;AAC1D,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,YAAY,CAAC;AACjD,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC;AAC/D,QAAA,cAAc,GACzB,8DAA8D,CAAC;AACpD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB;AAC1D,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB"}
@@ -7,7 +7,7 @@ exports.fetchers = exports.platforms = void 0;
7
7
  const ticketsFetcher_1 = __importDefault(require("./ticketsFetcher"));
8
8
  const rewardsS1Fetcher_1 = __importDefault(require("./rewardsS1Fetcher"));
9
9
  const constants_1 = require("./constants");
10
- exports.platforms = [constants_1.marinadePlatform];
10
+ exports.platforms = [constants_1.platform];
11
11
  exports.fetchers = [
12
12
  ticketsFetcher_1.default,
13
13
  rewardsS1Fetcher_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,0EAAkD;AAClD,2CAA+C;AAElC,QAAA,SAAS,GAAe,CAAC,4BAAgB,CAAC,CAAC;AAC3C,QAAA,QAAQ,GAAc;IACjC,wBAAc;IACd,0BAAgB;IAChB,oBAAoB;CACrB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,0EAAkD;AAClD,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,wBAAc;IACd,0BAAgB;IAChB,oBAAoB;CACrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  export declare const platformId = "meteora";
4
- export declare const meteoraPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const prefixVaults = "meteora-vaults";
6
6
  export declare const farmsKey = "farms";
7
7
  export declare const vaultsProgramId: PublicKey;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dlmmProgramId = exports.farmProgramId = exports.poolsProgramId = exports.vaultsProgramId = exports.farmsKey = exports.prefixVaults = exports.meteoraPlatform = exports.platformId = void 0;
3
+ exports.dlmmProgramId = exports.farmProgramId = exports.poolsProgramId = exports.vaultsProgramId = exports.farmsKey = exports.prefixVaults = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'meteora';
6
- exports.meteoraPlatform = {
6
+ exports.platform = {
7
7
  id: 'meteora',
8
8
  name: 'Meteora',
9
9
  image: 'https://sonar.watch/img/platforms/meteora.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,kBAAU,SAAS,CAAC;AACtC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,kBAAU,SAAS,CAAC;AACtC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC"}
@@ -11,7 +11,7 @@ const farmsJob_1 = __importDefault(require("./farmsJob"));
11
11
  const constants_1 = require("./constants");
12
12
  const farmsFetcher_1 = __importDefault(require("./farmsFetcher"));
13
13
  const dlmmPositionsFetcher_1 = __importDefault(require("./dlmmPositionsFetcher"));
14
- exports.platforms = [constants_1.meteoraPlatform];
14
+ exports.platforms = [constants_1.platform];
15
15
  exports.jobs = [vaultsJob_1.default, poolsJob_1.default, farmsJob_1.default, multiTokenPoolsJob_1.default];
16
16
  exports.fetchers = [farmsFetcher_1.default, dlmmPositionsFetcher_1.default];
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/index.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,0DAAkC;AAClC,8EAAsD;AACtD,0DAAkC;AAGlC,2CAA8C;AAC9C,kEAA0C;AAC1C,kFAAyD;AAE5C,QAAA,SAAS,GAAe,CAAC,2BAAe,CAAC,CAAC;AAC1C,QAAA,IAAI,GAAU,CAAC,mBAAS,EAAE,kBAAQ,EAAE,kBAAQ,EAAE,4BAAkB,CAAC,CAAC;AAClE,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,8BAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/index.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,0DAAkC;AAClC,8EAAsD;AACtD,0DAAkC;AAGlC,2CAAuC;AACvC,kEAA0C;AAC1C,kFAAyD;AAE5C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,mBAAS,EAAE,kBAAQ,EAAE,kBAAQ,EAAE,4BAAkB,CAAC,CAAC;AAClE,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,8BAAmB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "morpho";
3
- export declare const morphoPlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const updatedIndexesPrefix = "morpho-updated-indexes";
5
5
  export declare const morphoAaveV3Address = "0x33333aea097c193e66081E930c33020272b33333";
6
6
  export declare const morphoTokenAddress = "0x9994E35Db50125E0DF82e4c2dde62496CE330999";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.morphoPlatform = exports.platformId = void 0;
3
+ exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'morpho';
5
- exports.morphoPlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Morpho',
8
8
  image: 'https://sonar.watch/img/platforms/morpho.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AACW,QAAA,oBAAoB,GAAG,GAAG,kBAAU,kBAAkB,CAAC;AACvD,QAAA,mBAAmB,GAAG,4CAA4C,CAAC;AACnE,QAAA,kBAAkB,GAAG,4CAA4C,CAAC;AAElE,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,4CAA4C;IAClD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,4CAA4C;IACnD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,KAAK,EAAE,4CAA4C;CACpD,CAAC;AAEW,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AACW,QAAA,oBAAoB,GAAG,GAAG,kBAAU,kBAAkB,CAAC;AACvD,QAAA,mBAAmB,GAAG,4CAA4C,CAAC;AACnE,QAAA,kBAAkB,GAAG,4CAA4C,CAAC;AAElE,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,4CAA4C;IAClD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,4CAA4C;IACnD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,KAAK,EAAE,4CAA4C;CACpD,CAAC;AAEW,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC"}
@@ -8,7 +8,7 @@ const aaveV3CollateralFetcher_1 = __importDefault(require("./aaveV3CollateralFet
8
8
  const aaveV3SupplyOnlyFetcher_1 = __importDefault(require("./aaveV3SupplyOnlyFetcher"));
9
9
  const aaveV3Job_1 = __importDefault(require("./aaveV3Job"));
10
10
  const constants_1 = require("./constants");
11
- exports.platforms = [constants_1.morphoPlatform];
11
+ exports.platforms = [constants_1.platform];
12
12
  exports.jobs = [aaveV3Job_1.default];
13
13
  exports.fetchers = [
14
14
  aaveV3CollateralFetcher_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;AAGA,wFAAgE;AAChE,wFAAgE;AAChE,4DAAoC;AACpC,2CAA6C;AAEhC,QAAA,SAAS,GAAe,CAAC,0BAAc,CAAC,CAAC;AACzC,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc;IACjC,iCAAuB;IACvB,iCAAuB;CACxB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;AAGA,wFAAgE;AAChE,wFAAgE;AAChE,4DAAoC;AACpC,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc;IACjC,iCAAuB;IACvB,iCAAuB;CACxB,CAAC"}
@@ -21,16 +21,16 @@ const filters_1 = require("./filters");
21
21
  const structs_1 = require("./structs");
22
22
  const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
23
23
  const constants_2 = require("../../marinade/constants");
24
- const constants_3 = require("./constants");
25
- const constants_4 = require("../../jito/constants");
24
+ const constants_3 = require("../../jito/constants");
25
+ const constants_4 = require("./constants");
26
26
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
27
27
  const client = (0, clients_1.getClientSolana)();
28
28
  const filters = (0, filters_1.stakeAccountsFilter)(owner.toString());
29
- const stakeAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.stakeAccountStruct, constants_3.stakeProgramId, filters);
29
+ const stakeAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.stakeAccountStruct, constants_4.stakeProgramId, filters);
30
30
  if (stakeAccounts.length === 0)
31
31
  return [];
32
32
  const solTokenPrice = yield cache.getTokenPrice(portfolio_core_1.solanaNetwork.native.address, portfolio_core_1.NetworkId.solana);
33
- const epochInfo = yield cache.getItem(constants_3.epochInfoCacheKey, {
33
+ const epochInfo = yield cache.getItem(constants_4.epochInfoCacheKey, {
34
34
  prefix: constants_1.platformId,
35
35
  networkId: portfolio_core_1.NetworkId.solana,
36
36
  });
@@ -53,7 +53,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
53
53
  .toNumber();
54
54
  if (amount <= 0)
55
55
  continue;
56
- const isMarinade = constants_3.marinadeManagerAddresses.includes(stakeAccount.staker.toString());
56
+ const isMarinade = constants_4.marinadeManagerAddresses.includes(stakeAccount.staker.toString());
57
57
  if (isMarinade) {
58
58
  marinadeSolAmount += amount;
59
59
  nMarinadeAccounts += 1;
@@ -106,7 +106,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
106
106
  if (nMarinadeAccounts !== 0) {
107
107
  elements.push({
108
108
  networkId: portfolio_core_1.NetworkId.solana,
109
- platformId: constants_2.marinadePlatform.id,
109
+ platformId: constants_2.platformId,
110
110
  type: 'multiple',
111
111
  label: 'Staked',
112
112
  name: `Native (${nMarinadeAccounts} validators)`,
@@ -121,7 +121,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
121
121
  if (mevRewards > 0) {
122
122
  elements.push({
123
123
  networkId: portfolio_core_1.NetworkId.solana,
124
- platformId: constants_4.jitoPlatform.id,
124
+ platformId: constants_3.platformId,
125
125
  type: 'multiple',
126
126
  label: 'Rewards',
127
127
  name: `MEV Rewards`,
@@ -1 +1 @@
1
- {"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAIrC,4CAA+D;AAC/D,oDAAyD;AACzD,kDAAiE;AACjE,uCAAgD;AAChD,uCAA+C;AAC/C,wGAAgF;AAChF,wDAA4D;AAC5D,2CAIqB;AACrB,oDAAoD;AAEpD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,6BAAmB,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEtD,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,4BAAkB,EAClB,0BAAc,EACd,OAAO,CACR,CAAC;IACF,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE1C,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAC7C,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,O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,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;YAC9D,IAAI,EAAE;gBACJ,MAAM,EAAE;oDAED,IAAA,gCAAsB,EACvB,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,UAAU,EACV,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,KACD,UAAU,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;iBAEpC;aACF;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AACF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAIrC,4CAA+D;AAC/D,oDAAyD;AACzD,kDAAiE;AACjE,uCAAgD;AAChD,uCAA+C;AAC/C,wGAAgF;AAChF,wDAA4E;AAC5E,oDAAoE;AACpE,2CAIqB;AAErB,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,6BAAmB,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEtD,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,4BAAkB,EAClB,0BAAc,EACd,OAAO,CACR,CAAC;IACF,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE1C,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAC7C,8BAAa,CAAC,MAAM,CAAC,OAAO,E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AI,EAAE,aAAa;YACnB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;YAC9D,IAAI,EAAE;gBACJ,MAAM,EAAE;oDAED,IAAA,gCAAsB,EACvB,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,UAAU,EACV,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,KACD,UAAU,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;iBAEpC;aACF;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AACF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "navi";
3
- export declare const naviPlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const reservesPrefix = "navi";
5
5
  export declare const reservesKey = "reserves";
6
6
  export declare const reserveParentId = "0xe6d4c6610b86ce7735ea754596d71d72d10c7980b5052fc3c8cdf8d09fea9b4b";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.poolsInfos = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.naviPlatform = exports.platformId = void 0;
3
+ exports.poolsInfos = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'navi';
5
- exports.naviPlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'NAVI',
8
8
  image: `https://sonar.watch/img/platforms/${exports.platformId}.png`,
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../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vE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,kFAAkF;QACxF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,qCAAqC,kBAAU,MAAM;IAC5D,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,cAAc,GAAG,kBAAU,CAAC;AAC5B,QAAA,WAAW,GAAG,UAAU,CAAC;AAEzB,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAE1D,QAAA,UAAU,GAAG,EAAE,CAAC;AAEhB,QAAA,UAAU,GAAG;IACxB;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,8EAA8E;QACpF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,oEAAoE;QAC1E,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,oEAAoE;QAC1E,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,WAAW,EACT,oEAAoE;QACtE,IAAI,EAAE,EAAE;QACR,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gFAAgF;QACtF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,kFAAkF;QACxF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;CACF,CAAC"}
@@ -9,5 +9,5 @@ const collateralFetcher_1 = __importDefault(require("./collateralFetcher"));
9
9
  const constants_1 = require("./constants");
10
10
  exports.jobs = [reservesJob_1.default];
11
11
  exports.fetchers = [collateralFetcher_1.default];
12
- exports.platforms = [constants_1.naviPlatform];
12
+ exports.platforms = [constants_1.platform];
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAuC;AACvC,4EAAoD;AACpD,2CAA2C;AAE9B,QAAA,IAAI,GAAU,CAAC,qBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,2BAAiB,CAAC,CAAC;AAC1C,QAAA,SAAS,GAAe,CAAC,wBAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAuC;AACvC,4EAAoD;AACpD,2CAAuC;AAE1B,QAAA,IAAI,GAAU,CAAC,qBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,2BAAiB,CAAC,CAAC;AAC1C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -6,7 +6,7 @@ exports.platformId = 'nosana';
6
6
  exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Nosana',
9
- image: 'https://sonar.watch/img/platforms/nosana.png',
9
+ image: 'https://sonar.watch/img/platforms/nosana.webp',
10
10
  // defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
11
11
  website: 'https://app.nosana.io/',
12
12
  twitter: 'https://twitter.com/nosana_ci',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  export declare const platformId = "orca";
4
- export declare const orcaPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const poolsProgram: PublicKey;
6
6
  export declare const aquafarmsProgram: PublicKey;
7
7
  export declare const positionsIdentifier = "Orca Whirlpool Position";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.orcaPlatform = exports.platformId = void 0;
3
+ exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'orca';
6
- exports.orcaPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Orca',
9
9
  image: 'https://sonar.watch/img/platforms/orca.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG,yBAAyB,CAAC;AAChD,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,sBAAsB;CAChC,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG,yBAAyB,CAAC;AAChD,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
@@ -7,7 +7,7 @@ exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const lpTokensJob_1 = __importDefault(require("./lpTokensJob"));
8
8
  const whirlpoolsJob_1 = __importDefault(require("./whirlpoolsJob"));
9
9
  const constants_1 = require("./constants");
10
- exports.platforms = [constants_1.orcaPlatform];
10
+ exports.platforms = [constants_1.platform];
11
11
  exports.jobs = [whirlpoolsJob_1.default, lpTokensJob_1.default];
12
12
  exports.fetchers = [];
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,2CAA2C;AAE9B,QAAA,SAAS,GAAe,CAAC,wBAAY,CAAC,CAAC;AACvC,QAAA,IAAI,GAAU,CAAC,uBAAY,EAAE,qBAAK,CAAC,CAAC;AACpC,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,uBAAY,EAAE,qBAAK,CAAC,CAAC;AACpC,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { StakerInfo } from './types';
3
3
  import { UniswapNetworkConfig } from '../uniswap/types';
4
4
  export declare const platformId = "pancakeswap";
5
- export declare const pancakeswapPlatform: Platform;
5
+ export declare const platform: Platform;
6
6
  export declare const programAddress = "0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa";
7
7
  export declare const lpTypePrefix = "0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::LPToken<";
8
8
  export declare const lpCoinInfoTypePrefix = "0x1::coin::CoinInfo<0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::LPToken<";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.networksConfigs = exports.masterChefV2Ethereum = exports.masterChefV2Bnb = exports.masterChefBnb = exports.stakerCakeEthereum = exports.stakersEthereum = exports.stakerCake = exports.stakersBnb = exports.factoryV2Bnb = exports.theGraphUrlEthV2 = exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.pancakeswapPlatform = exports.platformId = void 0;
3
+ exports.networksConfigs = exports.masterChefV2Ethereum = exports.masterChefV2Bnb = exports.masterChefBnb = exports.stakerCakeEthereum = exports.stakersEthereum = exports.stakerCake = exports.stakersBnb = exports.factoryV2Bnb = exports.theGraphUrlEthV2 = exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.platform = exports.platformId = void 0;
4
4
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
5
5
  const aptos_1 = require("../../utils/aptos");
6
6
  exports.platformId = 'pancakeswap';
7
- exports.pancakeswapPlatform = {
7
+ exports.platform = {
8
8
  id: exports.platformId,
9
9
  name: 'PancakeSwap',
10
10
  image: 'https://sonar.watch/img/platforms/pancakeswap.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA6C;AAIhC,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,mDAAmD;IAC1D,WAAW,EAAE,oBAAoB;IACjC,OAAO,EAAE,8BAA8B;CACxC,CAAC;AACW,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAE1D,QAAA,YAAY,GAAG,GAAG,sBAAc,kBAAkB,CAAC;AACnD,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC;AAErD,QAAA,gBAAgB,GAC3B,iEAAiE,CAAC;AAEvD,QAAA,YAAY,GAAG,4CAA4C,CAAC;AAEzE,oFAAoF;AAEvE,QAAA,UAAU,GAAiB;IACtC;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EA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D,eAAe,EAAE,4CAA4C;KAC9D;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA6C;AAIhC,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,mDAAmD;IAC1D,WAAW,EAAE,oBAAoB;IACjC,OAAO,EAAE,8BAA8B;CACxC,CAAC;AACW,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAE1D,QAAA,YAAY,GAAG,GAAG,sBAAc,kBAAkB,CAAC;AACnD,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC;AAErD,QAAA,gBAAgB,GAC3B,iEAAiE,CAAC;AAEvD,QAAA,YAAY,GAAG,4CAA4C,CAAC;AAEzE,oFAAoF;AAEvE,QAAA,UAAU,GAAiB;IACtC;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC;AAEW,QAAA,UAAU,GAAiB;IACtC;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC;AAEW,QAAA,eAAe,GAAiB;IAC3C;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC;AAEW,QAAA,kBAAkB,GAAiB;IAC9C;QACE,QAAQ,EAAE,4CAA4C;QACtD,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC;AAEW,QAAA,aAAa,GAAG,4CAA4C,CAAC;AAC7D,QAAA,eAAe,GAAG,4CAA4C,CAAC;AAC/D,QAAA,oBAAoB,GAC/B,4CAA4C,CAAC;AAElC,QAAA,eAAe,GAA2B;IACrD;QACE,SAAS,EAAE,0BAAS,CAAC,GAAG;QACxB,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,4CAA4C;KAC9D;IACD;QACE,SAAS,EAAE,0BAAS,CAAC,QAAQ;QAC7B,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,4CAA4C;KAC9D;CACF,CAAC"}
@@ -13,7 +13,7 @@ const getStakersBalancesFetcher_1 = __importDefault(require("./getStakersBalance
13
13
  const stakerCakeFetcher_1 = __importDefault(require("./stakerCakeFetcher"));
14
14
  const getUniV3PositionsFetcher_1 = require("../uniswap/getUniV3PositionsFetcher");
15
15
  const getFarmsV2Fetcher_1 = __importDefault(require("./getFarmsV2Fetcher"));
16
- exports.platforms = [constants_1.pancakeswapPlatform];
16
+ exports.platforms = [constants_1.platform];
17
17
  exports.jobs = [
18
18
  // Aptos
19
19
  aptosLpJob_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,8DAAoC;AACpC,2CAUqB;AACrB,4EAAoD;AACpD,gGAAwE;AACxE,4FAAoE;AACpE,4EAAoD;AACpD,kFAA+E;AAC/E,4EAAoD;AAEvC,QAAA,SAAS,GAAe,CAAC,+BAAmB,CAAC,CAAC;AAC9C,QAAA,IAAI,GAAU;IACzB,QAAQ;IACR,oBAAQ;IACR,WAAW;IACX,IAAA,qBAAW,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,EAAE,4BAAgB,CAAC;IACnE,MAAM;IACN,8DAA8D;CAC/D,CAAC;AACW,QAAA,QAAQ,GAAc;IACjC,gBAAgB;IAChB,GAAG,2BAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAChC,IAAA,mDAAwB,EAAC,MAAM,EAAE,sBAAU,EAAE,IAAI,CAAC,CACnD;IACD,cAAc;IACd,IAAA,+BAAqB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,CAAC;IAC3D,IAAA,2BAAiB,EAAC,0BAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,gCAAoB,CAAC;IACjE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,2BAAe,CAAC;IAE1E,SAAS;IACT,IAAA,+BAAqB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,IAAI,CAAC;IACtD,IAAI;IACJ,kDAAkD;IAClD,wEAAwE;IACxE,8BAA8B;IAC9B,KAAK;IACL,IAAA,2BAAiB,EAAC,0BAAS,CAAC,GAAG,EAAE,IAAI,EAAE,2BAAe,CAAC;IACvD,IAAA,mCAAyB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,sBAAU,CAAC;IAChE,2BAAiB;CAClB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,8DAAoC;AACpC,2CAUqB;AACrB,4EAAoD;AACpD,gGAAwE;AACxE,4FAAoE;AACpE,4EAAoD;AACpD,kFAA+E;AAC/E,4EAAoD;AAEvC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU;IACzB,QAAQ;IACR,oBAAQ;IACR,WAAW;IACX,IAAA,qBAAW,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,EAAE,4BAAgB,CAAC;IACnE,MAAM;IACN,8DAA8D;CAC/D,CAAC;AACW,QAAA,QAAQ,GAAc;IACjC,gBAAgB;IAChB,GAAG,2BAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAChC,IAAA,mDAAwB,EAAC,MAAM,EAAE,sBAAU,EAAE,IAAI,CAAC,CACnD;IACD,cAAc;IACd,IAAA,+BAAqB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,CAAC;IAC3D,IAAA,2BAAiB,EAAC,0BAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,gCAAoB,CAAC;IACjE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,2BAAe,CAAC;IAE1E,SAAS;IACT,IAAA,+BAAqB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,IAAI,CAAC;IACtD,IAAI;IACJ,kDAAkD;IAClD,wEAAwE;IACxE,8BAA8B;IAC9B,KAAK;IACL,IAAA,2BAAiB,EAAC,0BAAS,CAAC,GAAG,EAAE,IAAI,EAAE,2BAAe,CAAC;IACvD,IAAA,mCAAyB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,sBAAU,CAAC;IAChE,2BAAiB;CAClB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { ContractInfo } from './types';
3
3
  export declare const platformId = "paraswap";
4
- export declare const paraswapPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const bptInfoKey = "bptInfo";
6
6
  export declare const PSPToken: {
7
7
  chain: string;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stakers = exports.bptParaFarmer = exports.bptParaStaker = exports.poolAddresses = exports.PSPToken = exports.bptInfoKey = exports.paraswapPlatform = exports.platformId = void 0;
3
+ exports.stakers = exports.bptParaFarmer = exports.bptParaStaker = exports.poolAddresses = exports.PSPToken = exports.bptInfoKey = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'paraswap';
5
- exports.paraswapPlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Paraswap',
8
8
  defiLlamaId: 'paraswap',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEW,QAAA,UAAU,GAAG,SAAS,CAAC;AAEvB,QAAA,QAAQ,GAAG;IACtB,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,EAAE;CACb,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,KAAK,EAAE,4CAA6D;IACpE,WAAW,EAAE;QACX,4CAA4C;QAC5C,4CAA4C;KAC7C;IACD,MAAM,EACJ,oEAAqF;IACvF,KAAK,EAAE,4CAA6D;CACrE,CAAC;AAEW,QAAA,aAAa,GAAiB;IACzC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEW,QAAA,aAAa,GAAiB;IACzC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEW,QAAA,OAAO,GAAG;IACrB;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,k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ACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC"}
@@ -10,5 +10,5 @@ const bptInfoJob_1 = __importDefault(require("./bptInfoJob"));
10
10
  const constants_1 = require("./constants");
11
11
  exports.jobs = [bptInfoJob_1.default];
12
12
  exports.fetchers = [stakingFetcher_1.default, poolsFetcher_1.default];
13
- exports.platforms = [constants_1.paraswapPlatform];
13
+ exports.platforms = [constants_1.platform];
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,sEAA8C;AAC9C,kEAA0C;AAC1C,8DAAsC;AACtC,2CAA+C;AAElC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,sBAAY,CAAC,CAAC;AACrD,QAAA,SAAS,GAAe,CAAC,4BAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,sEAA8C;AAC9C,kEAA0C;AAC1C,8DAAsC;AACtC,2CAAuC;AAE1B,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,sBAAY,CAAC,CAAC;AACrD,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
@@ -22,7 +22,10 @@ const clients_1 = require("../../utils/clients");
22
22
  const structs_1 = require("../jupiter/launchpad/structs");
23
23
  const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
24
24
  const oneDayInMs = 24 * 60 * 60 * 1000;
25
+ const endOfClaim = 1735603200000;
25
26
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
27
+ if (Date.now() > endOfClaim)
28
+ return [];
26
29
  const client = (0, clients_1.getClientSolana)();
27
30
  const cachedAllocation = yield cache.getItem(owner, {
28
31
  prefix: constants_1.allocationPrefix,
@@ -1 +1 @@
1
- {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA6E;AAC7E,kDAA6C;AAC7C,gEAAqC;AAGrC,2CAOqB;AAErB,gDAAuD;AACvD,kFAA+E;AAC/E,iDAAsD;AACtD,0DAAiE;AACjE,qGAA6E;AAE7E,MAAM,UAAU,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEvC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,OAAO,CAAa,KAAK,EAAE;QAC9D,MAAM,EAAE,4BAAgB;QACxB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IAEH,IAAI,MAA0B,CAAC;IAC/B,IAAI,UAA8B,CAAC;IACnC,IAAI,gBAAgB,EAAE,CAAC;QACrB,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC;QACjC,UAAU,GAAG,gBAAgB,CAAC,WAAW,CAAC;IAC5C,CAAC;SAAM,CAAC;QACN,MAAM,UAAU,GAAqC,MAAM,eAAK;aAC7D,GAAG,CAAC,sBAAU,GAAG,KAAK,EAAE;YACvB,OAAO,EAAE;gBACP,MAAM,EAAE,sBAAsB;gBAC9B,OAAO,EAAE,sBAAsB;aAChC;SACF,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,CAAC,IA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AClB,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,YAAY;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE;SAC1B;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  export declare const platformId = "parcl";
4
- export declare const parclPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const programId: PublicKey;
6
6
  export declare const usdcMint = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
7
7
  export declare const usdcDecimals = 6;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.usdcDecimals = exports.usdcMint = exports.programId = exports.parclPlatform = exports.platformId = void 0;
3
+ exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.usdcDecimals = exports.usdcMint = exports.programId = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'parcl';
6
- exports.parclPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Parcl',
9
9
  image: 'https://sonar.watch/img/platforms/parcl.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC"}
@@ -8,7 +8,7 @@ const constants_1 = require("./constants");
8
8
  const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
9
9
  const marginFetcher_1 = __importDefault(require("./marginFetcher"));
10
10
  const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
11
- exports.platforms = [constants_1.parclPlatform];
11
+ exports.platforms = [constants_1.platform];
12
12
  exports.jobs = [];
13
13
  exports.fetchers = [
14
14
  depositsFetcher_1.default,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAA4C;AAC5C,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC;AACxC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;CACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;CACf,CAAC"}