@sonarwatch/portfolio-plugins 0.11.184 → 0.11.186

Sign up to get free protection for your applications and to get access to all the features.
Files changed (298) hide show
  1. package/CHANGELOG.md +1472 -1459
  2. package/README.md +3 -3
  3. package/package.json +2 -2
  4. package/src/index.js +2 -0
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/aave/constants.d.ts +1 -1
  7. package/src/plugins/aave/constants.js +2 -2
  8. package/src/plugins/aave/constants.js.map +1 -1
  9. package/src/plugins/aave/index.js +1 -1
  10. package/src/plugins/aave/index.js.map +1 -1
  11. package/src/plugins/aftermath/constants.d.ts +1 -1
  12. package/src/plugins/aftermath/constants.js +2 -2
  13. package/src/plugins/aftermath/constants.js.map +1 -1
  14. package/src/plugins/aftermath/index.js +1 -1
  15. package/src/plugins/aftermath/index.js.map +1 -1
  16. package/src/plugins/aptin/constants.d.ts +3 -0
  17. package/src/plugins/aptin/constants.js +5 -2
  18. package/src/plugins/aptin/constants.js.map +1 -1
  19. package/src/plugins/aptin/depositsFetcher.js +2 -2
  20. package/src/plugins/aptin/depositsFetcher.js.map +1 -1
  21. package/src/plugins/armada-staking/constants.js +6 -6
  22. package/src/plugins/armada-staking/constants.js.map +1 -1
  23. package/src/plugins/aurory/constants.d.ts +1 -1
  24. package/src/plugins/aurory/constants.js +3 -3
  25. package/src/plugins/aurory/constants.js.map +1 -1
  26. package/src/plugins/aurory/stakingFetcher.js +2 -2
  27. package/src/plugins/aurory/stakingFetcher.js.map +1 -1
  28. package/src/plugins/auxexchange/aptosLpJob.js +2 -2
  29. package/src/plugins/auxexchange/aptosLpJob.js.map +1 -1
  30. package/src/plugins/auxexchange/constants.d.ts +2 -2
  31. package/src/plugins/auxexchange/constants.js +4 -4
  32. package/src/plugins/auxexchange/constants.js.map +1 -1
  33. package/src/plugins/auxexchange/index.js +1 -1
  34. package/src/plugins/auxexchange/index.js.map +1 -1
  35. package/src/plugins/balancer/helpers/pools.js +21 -21
  36. package/src/plugins/banx/constants.js +1 -1
  37. package/src/plugins/banx/constants.js.map +1 -1
  38. package/src/plugins/bucket/constants.d.ts +1 -1
  39. package/src/plugins/bucket/constants.js +2 -2
  40. package/src/plugins/bucket/constants.js.map +1 -1
  41. package/src/plugins/bucket/index.js +1 -1
  42. package/src/plugins/bucket/index.js.map +1 -1
  43. package/src/plugins/cetus/constants.d.ts +1 -1
  44. package/src/plugins/cetus/constants.js +2 -2
  45. package/src/plugins/cetus/constants.js.map +1 -1
  46. package/src/plugins/cetus/index.js +1 -1
  47. package/src/plugins/cetus/index.js.map +1 -1
  48. package/src/plugins/clone/constants.js +1 -1
  49. package/src/plugins/clone/constants.js.map +1 -1
  50. package/src/plugins/compound/constants.d.ts +1 -1
  51. package/src/plugins/compound/constants.js +2 -2
  52. package/src/plugins/compound/constants.js.map +1 -1
  53. package/src/plugins/compound/index.js +1 -1
  54. package/src/plugins/compound/index.js.map +1 -1
  55. package/src/plugins/curve/constants.d.ts +1 -1
  56. package/src/plugins/curve/constants.js +2 -2
  57. package/src/plugins/curve/constants.js.map +1 -1
  58. package/src/plugins/curve/index.js +1 -1
  59. package/src/plugins/curve/index.js.map +1 -1
  60. package/src/plugins/daos/constants.js +2 -1
  61. package/src/plugins/daos/constants.js.map +1 -1
  62. package/src/plugins/drift/constants.d.ts +1 -1
  63. package/src/plugins/drift/constants.js +2 -2
  64. package/src/plugins/drift/constants.js.map +1 -1
  65. package/src/plugins/drift/index.js +1 -1
  66. package/src/plugins/drift/index.js.map +1 -1
  67. package/src/plugins/flash/poolJob.js +23 -8
  68. package/src/plugins/flash/poolJob.js.map +1 -1
  69. package/src/plugins/flash/stakeFetcher.js +20 -6
  70. package/src/plugins/flash/stakeFetcher.js.map +1 -1
  71. package/src/plugins/flash/types.d.ts +1 -0
  72. package/src/plugins/flexlend/constants.d.ts +1 -1
  73. package/src/plugins/flexlend/constants.js +2 -2
  74. package/src/plugins/flexlend/constants.js.map +1 -1
  75. package/src/plugins/flexlend/depositsFetcher.js +1 -1
  76. package/src/plugins/flexlend/depositsFetcher.js.map +1 -1
  77. package/src/plugins/flexlend/index.js +1 -1
  78. package/src/plugins/flexlend/index.js.map +1 -1
  79. package/src/plugins/goosefx/constants.d.ts +1 -1
  80. package/src/plugins/goosefx/constants.js +2 -2
  81. package/src/plugins/goosefx/constants.js.map +1 -1
  82. package/src/plugins/goosefx/index.js +1 -1
  83. package/src/plugins/goosefx/index.js.map +1 -1
  84. package/src/plugins/hawksight/constants.d.ts +1 -1
  85. package/src/plugins/hawksight/constants.js +2 -2
  86. package/src/plugins/hawksight/constants.js.map +1 -1
  87. package/src/plugins/hawksight/index.js +1 -1
  88. package/src/plugins/hawksight/index.js.map +1 -1
  89. package/src/plugins/jito/constants.d.ts +1 -1
  90. package/src/plugins/jito/constants.js +2 -2
  91. package/src/plugins/jito/constants.js.map +1 -1
  92. package/src/plugins/jito/index.js +1 -1
  93. package/src/plugins/jito/index.js.map +1 -1
  94. package/src/plugins/jupiter/exchange/constants.d.ts +1 -1
  95. package/src/plugins/jupiter/exchange/constants.js +2 -2
  96. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  97. package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
  98. package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
  99. package/src/plugins/jupiter/governance/constants.d.ts +2 -2
  100. package/src/plugins/jupiter/governance/constants.js +4 -4
  101. package/src/plugins/jupiter/governance/constants.js.map +1 -1
  102. package/src/plugins/jupiter/governance/voteFetcher.js +2 -2
  103. package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
  104. package/src/plugins/jupiter/index.js +3 -3
  105. package/src/plugins/jupiter/index.js.map +1 -1
  106. package/src/plugins/jupiter/launchpad/allocationsFetcher.js +2 -2
  107. package/src/plugins/jupiter/launchpad/allocationsFetcher.js.map +1 -1
  108. package/src/plugins/jupiter/launchpad/constants.d.ts +2 -2
  109. package/src/plugins/jupiter/launchpad/constants.js +4 -4
  110. package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
  111. package/src/plugins/kamino/airdropFetcher.js +2 -2
  112. package/src/plugins/kamino/airdropFetcher.js.map +1 -1
  113. package/src/plugins/kamino/constants.d.ts +1 -1
  114. package/src/plugins/kamino/constants.js +2 -2
  115. package/src/plugins/kamino/constants.js.map +1 -1
  116. package/src/plugins/kamino/index.js +1 -1
  117. package/src/plugins/kamino/index.js.map +1 -1
  118. package/src/plugins/lido/constants.d.ts +1 -1
  119. package/src/plugins/lido/constants.js +2 -2
  120. package/src/plugins/lido/constants.js.map +1 -1
  121. package/src/plugins/lido/index.js +1 -1
  122. package/src/plugins/lido/index.js.map +1 -1
  123. package/src/plugins/liquidswap/constants.d.ts +1 -1
  124. package/src/plugins/liquidswap/constants.js +2 -2
  125. package/src/plugins/liquidswap/constants.js.map +1 -1
  126. package/src/plugins/liquidswap/index.js +1 -1
  127. package/src/plugins/liquidswap/index.js.map +1 -1
  128. package/src/plugins/llama-protocols/getLlamaProtocolsJob.js +4 -0
  129. package/src/plugins/llama-protocols/getLlamaProtocolsJob.js.map +1 -1
  130. package/src/plugins/llama-protocols/helpers.js +1 -0
  131. package/src/plugins/llama-protocols/helpers.js.map +1 -1
  132. package/src/plugins/magiceden/constants.d.ts +1 -1
  133. package/src/plugins/magiceden/constants.js +2 -2
  134. package/src/plugins/magiceden/constants.js.map +1 -1
  135. package/src/plugins/magiceden/index.js +1 -1
  136. package/src/plugins/magiceden/index.js.map +1 -1
  137. package/src/plugins/maker/constants.d.ts +1 -1
  138. package/src/plugins/maker/constants.js +2 -2
  139. package/src/plugins/maker/constants.js.map +1 -1
  140. package/src/plugins/maker/index.js +1 -1
  141. package/src/plugins/maker/index.js.map +1 -1
  142. package/src/plugins/mango/constants.d.ts +1 -1
  143. package/src/plugins/mango/constants.js +2 -2
  144. package/src/plugins/mango/constants.js.map +1 -1
  145. package/src/plugins/mango/index.js +1 -1
  146. package/src/plugins/mango/index.js.map +1 -1
  147. package/src/plugins/maple/constants.d.ts +1 -1
  148. package/src/plugins/maple/constants.js +2 -2
  149. package/src/plugins/maple/constants.js.map +1 -1
  150. package/src/plugins/maple/index.js +1 -1
  151. package/src/plugins/maple/index.js.map +1 -1
  152. package/src/plugins/marginfi/constants.d.ts +2 -2
  153. package/src/plugins/marginfi/constants.js +3 -3
  154. package/src/plugins/marginfi/constants.js.map +1 -1
  155. package/src/plugins/marginfi/index.js +1 -1
  156. package/src/plugins/marginfi/index.js.map +1 -1
  157. package/src/plugins/marinade/constants.d.ts +1 -1
  158. package/src/plugins/marinade/constants.js +2 -2
  159. package/src/plugins/marinade/constants.js.map +1 -1
  160. package/src/plugins/marinade/index.js +1 -1
  161. package/src/plugins/marinade/index.js.map +1 -1
  162. package/src/plugins/meteora/constants.d.ts +1 -1
  163. package/src/plugins/meteora/constants.js +2 -2
  164. package/src/plugins/meteora/constants.js.map +1 -1
  165. package/src/plugins/meteora/index.js +1 -1
  166. package/src/plugins/meteora/index.js.map +1 -1
  167. package/src/plugins/morpho/constants.d.ts +1 -1
  168. package/src/plugins/morpho/constants.js +2 -2
  169. package/src/plugins/morpho/constants.js.map +1 -1
  170. package/src/plugins/morpho/index.js +1 -1
  171. package/src/plugins/morpho/index.js.map +1 -1
  172. package/src/plugins/native-stake/solana/solanaFetcher.js +7 -7
  173. package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
  174. package/src/plugins/navi/constants.d.ts +1 -1
  175. package/src/plugins/navi/constants.js +2 -2
  176. package/src/plugins/navi/constants.js.map +1 -1
  177. package/src/plugins/navi/index.js +1 -1
  178. package/src/plugins/navi/index.js.map +1 -1
  179. package/src/plugins/nosana/constants.js +1 -1
  180. package/src/plugins/nosana/constants.js.map +1 -1
  181. package/src/plugins/orca/constants.d.ts +1 -1
  182. package/src/plugins/orca/constants.js +2 -2
  183. package/src/plugins/orca/constants.js.map +1 -1
  184. package/src/plugins/orca/index.js +1 -1
  185. package/src/plugins/orca/index.js.map +1 -1
  186. package/src/plugins/pancakeswap/constants.d.ts +1 -1
  187. package/src/plugins/pancakeswap/constants.js +2 -2
  188. package/src/plugins/pancakeswap/constants.js.map +1 -1
  189. package/src/plugins/pancakeswap/index.js +1 -1
  190. package/src/plugins/pancakeswap/index.js.map +1 -1
  191. package/src/plugins/paraswap/constants.d.ts +1 -1
  192. package/src/plugins/paraswap/constants.js +2 -2
  193. package/src/plugins/paraswap/constants.js.map +1 -1
  194. package/src/plugins/paraswap/index.js +1 -1
  195. package/src/plugins/paraswap/index.js.map +1 -1
  196. package/src/plugins/parcl/constants.d.ts +1 -1
  197. package/src/plugins/parcl/constants.js +2 -2
  198. package/src/plugins/parcl/constants.js.map +1 -1
  199. package/src/plugins/parcl/index.js +1 -1
  200. package/src/plugins/parcl/index.js.map +1 -1
  201. package/src/plugins/rain/constants.js +1 -1
  202. package/src/plugins/rain/constants.js.map +1 -1
  203. package/src/plugins/raydium/constants.d.ts +1 -1
  204. package/src/plugins/raydium/constants.js +2 -2
  205. package/src/plugins/raydium/constants.js.map +1 -1
  206. package/src/plugins/raydium/index.js +1 -1
  207. package/src/plugins/raydium/index.js.map +1 -1
  208. package/src/plugins/rocket-pool/constants.d.ts +1 -1
  209. package/src/plugins/rocket-pool/constants.js +2 -2
  210. package/src/plugins/rocket-pool/constants.js.map +1 -1
  211. package/src/plugins/rocket-pool/index.js +1 -1
  212. package/src/plugins/rocket-pool/index.js.map +1 -1
  213. package/src/plugins/saber/constants.d.ts +1 -1
  214. package/src/plugins/saber/constants.js +2 -2
  215. package/src/plugins/saber/constants.js.map +1 -1
  216. package/src/plugins/saber/index.js +1 -1
  217. package/src/plugins/saber/index.js.map +1 -1
  218. package/src/plugins/scallop/constants.d.ts +1 -1
  219. package/src/plugins/scallop/constants.js +9 -9
  220. package/src/plugins/scallop/constants.js.map +1 -1
  221. package/src/plugins/scallop/index.js +1 -1
  222. package/src/plugins/scallop/index.js.map +1 -1
  223. package/src/plugins/solend/constants.d.ts +1 -1
  224. package/src/plugins/solend/constants.js +2 -2
  225. package/src/plugins/solend/constants.js.map +1 -1
  226. package/src/plugins/solend/index.js +1 -1
  227. package/src/plugins/solend/index.js.map +1 -1
  228. package/src/plugins/stader/constants.d.ts +1 -1
  229. package/src/plugins/stader/constants.js +2 -2
  230. package/src/plugins/stader/constants.js.map +1 -1
  231. package/src/plugins/stader/index.js +1 -1
  232. package/src/plugins/stader/index.js.map +1 -1
  233. package/src/plugins/stargate/constants.d.ts +1 -1
  234. package/src/plugins/stargate/constants.js +2 -2
  235. package/src/plugins/stargate/constants.js.map +1 -1
  236. package/src/plugins/stargate/index.js +1 -1
  237. package/src/plugins/stargate/index.js.map +1 -1
  238. package/src/plugins/sushiswap/helpers.js +24 -24
  239. package/src/plugins/switchboard/constants.d.ts +1 -0
  240. package/src/plugins/switchboard/constants.js +5 -0
  241. package/src/plugins/switchboard/constants.js.map +1 -0
  242. package/src/plugins/switchboard/helpers/getSwitchboardPrice.d.ts +3 -0
  243. package/src/plugins/switchboard/helpers/getSwitchboardPrice.js +20 -0
  244. package/src/plugins/switchboard/helpers/getSwitchboardPrice.js.map +1 -0
  245. package/src/plugins/switchboard/helpers/getSwitchboardPrices.d.ts +3 -0
  246. package/src/plugins/switchboard/helpers/getSwitchboardPrices.js +23 -0
  247. package/src/plugins/switchboard/helpers/getSwitchboardPrices.js.map +1 -0
  248. package/src/plugins/switchboard/helpers/misc.d.ts +2 -0
  249. package/src/plugins/switchboard/helpers/misc.js +26 -0
  250. package/src/plugins/switchboard/helpers/misc.js.map +1 -0
  251. package/src/plugins/switchboard/index.d.ts +4 -0
  252. package/src/plugins/switchboard/index.js +10 -0
  253. package/src/plugins/switchboard/index.js.map +1 -0
  254. package/src/plugins/switchboard/pricingJob.d.ts +3 -0
  255. package/src/plugins/switchboard/pricingJob.js +57 -0
  256. package/src/plugins/switchboard/pricingJob.js.map +1 -0
  257. package/src/plugins/switchboard/structs.d.ts +74 -0
  258. package/src/plugins/switchboard/structs.js +72 -0
  259. package/src/plugins/switchboard/structs.js.map +1 -0
  260. package/src/plugins/tensor/constants.d.ts +1 -1
  261. package/src/plugins/tensor/constants.js +2 -2
  262. package/src/plugins/tensor/constants.js.map +1 -1
  263. package/src/plugins/tensor/index.js +1 -1
  264. package/src/plugins/tensor/index.js.map +1 -1
  265. package/src/plugins/thala/constants.d.ts +12 -5
  266. package/src/plugins/thala/constants.js +9 -9
  267. package/src/plugins/thala/constants.js.map +1 -1
  268. package/src/plugins/thala/index.js +1 -1
  269. package/src/plugins/thala/index.js.map +1 -1
  270. package/src/plugins/thala/vaultsRatesJob.js +1 -1
  271. package/src/plugins/thala/vaultsRatesJob.js.map +1 -1
  272. package/src/plugins/turbos/constants.d.ts +1 -1
  273. package/src/plugins/turbos/constants.js +2 -2
  274. package/src/plugins/turbos/constants.js.map +1 -1
  275. package/src/plugins/turbos/index.js +1 -1
  276. package/src/plugins/turbos/index.js.map +1 -1
  277. package/src/plugins/uniswap/constants.d.ts +1 -1
  278. package/src/plugins/uniswap/constants.js +2 -2
  279. package/src/plugins/uniswap/constants.js.map +1 -1
  280. package/src/plugins/uniswap/index.js +1 -1
  281. package/src/plugins/uniswap/index.js.map +1 -1
  282. package/src/plugins/uniswap-v2/helpers.js +22 -22
  283. package/src/plugins/venus/constants.d.ts +1 -1
  284. package/src/plugins/venus/constants.js +3 -7
  285. package/src/plugins/venus/constants.js.map +1 -1
  286. package/src/plugins/venus/index.js +1 -1
  287. package/src/plugins/venus/index.js.map +1 -1
  288. package/src/plugins/wormhole/constants.js +1 -1
  289. package/src/plugins/wormhole/constants.js.map +1 -1
  290. package/src/plugins/x-staking-solana/constants.js +2 -2
  291. package/src/plugins/x-staking-solana/constants.js.map +1 -1
  292. package/src/plugins/zeta/constants.d.ts +1 -1
  293. package/src/plugins/zeta/constants.js +2 -2
  294. package/src/plugins/zeta/constants.js.map +1 -1
  295. package/src/plugins/zeta/index.js +1 -1
  296. package/src/plugins/zeta/index.js.map +1 -1
  297. package/src/utils/sei/constants.js +8 -8
  298. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"d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E,CAAC;IACpC,KAAK,MAAM,KAAK,IAAI,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU;YAAE,SAAS;QAC1B,MAAM,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,MAAM;YAAE,SAAS;QACtB,MAAM,KAAK,GAAG,IAAA,gCAAsB,EAClC,UAAU,CAAC,OAAO,EAClB,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,UAAU,CAAC,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EACtD,0BAAS,CAAC,MAAM,EAChB,UAAU,CACX,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IACD,OAAO;QACL;YACE,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAE,oBAAQ,CAAC,EAAE;YACvB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACzD,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,eAAe,QAAQ,CAAC,MAAM,GAAG;YACvC,IAAI,EAAE,EAAE,MAAM,EAAE;SACjB;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,MAAM;IACvB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
- export declare const jupGovernancePlatformId = "jupiter-governance";
3
- export declare const jupGovernancePlatform: Platform;
2
+ export declare const platformId = "jupiter-governance";
3
+ export declare const platform: Platform;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jupGovernancePlatform = exports.jupGovernancePlatformId = void 0;
4
- exports.jupGovernancePlatformId = 'jupiter-governance';
5
- exports.jupGovernancePlatform = {
6
- id: exports.jupGovernancePlatformId,
3
+ exports.platform = exports.platformId = void 0;
4
+ exports.platformId = 'jupiter-governance';
5
+ exports.platform = {
6
+ id: exports.platformId,
7
7
  name: 'Jupiter Governance',
8
8
  image: 'https://sonar.watch/img/platforms/jupiter.png',
9
9
  website: 'https://vote.jup.ag/',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,oBAAoB,CAAC;AAC/C,QAAA,qBAAqB,GAAa;IAC7C,EAAE,EAAE,+BAAuB;IAC3B,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,qCAAqC;CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAClC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,qCAAqC;CAC/C,CAAC"}
@@ -43,14 +43,14 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
43
43
  label: 'Staked',
44
44
  name: 'Vote',
45
45
  networkId: portfolio_core_1.NetworkId.solana,
46
- platformId: constants_2.jupGovernancePlatformId,
46
+ platformId: constants_2.platformId,
47
47
  data: { assets: [asset] },
48
48
  value: asset.value,
49
49
  },
50
50
  ];
51
51
  });
52
52
  const fetcher = {
53
- id: `${constants_2.jupGovernancePlatformId}-vote`,
53
+ id: `${constants_2.platformId}-vote`,
54
54
  networkId: portfolio_core_1.NetworkId.solana,
55
55
  executor,
56
56
  };
@@ -1 +1 @@
1
- {"version":3,"file":"voteFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/voteFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,oDAAyD;AACzD,qFAAkF;AAClF,wCAAwC;AACxC,wGAAgF;AAChF,kDAAoD;AACpD,sDAAiD;AACjD,2CAAsD;AAEtD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,IAAA,oBAAU,EAAC,KAAK,CAAC,CAAC;IACvC,MAAM,aAAa,GAAG,MAAM,IAAA,2CAAoB,EAC9C,MAAM,EACN,sBAAY,EACZ,YAAY,CACb,CAAC;IAEF,IAAI,CAAC,aAAa;QAAE,OAAO,EAAE,CAAC;IAE9B,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,mBAAO,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC;IAC3E,IAAI,CAAC,aAAa;QAAE,OAAO,EAAE,CAAC;IAC9B,MAAM,EAAE,QAAQ,EAAE,GAAG,aAAa,CAAC;IAEnC,IAAI,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,CAAC;IAE7C,MAAM,KAAK,GAAmB,IAAA,gCAAsB,EAClD,mBAAO,EACP,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EACzD,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,CAAC;IACF,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC;QAC5C,MAAM,WAAW,GAAG,IAAI,IAAI,CAC1B,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAClD,CAAC;QACF,KAAK,CAAC,UAAU,GAAG,EAAE,WAAW,EAAE,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC;IAC5D,CAAC;IAED,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAE,mCAAuB;YACnC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE;YACzB,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,mCAAuB,OAAO;IACrC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"voteFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/voteFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,oDAAyD;AACzD,qFAAkF;AAClF,wCAAwC;AACxC,wGAAgF;AAChF,kDAAoD;AACpD,sDAAiD;AACjD,2CAAyC;AAEzC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,IAAA,oBAAU,EAAC,KAAK,CAAC,CAAC;IACvC,MAAM,aAAa,GAAG,MAAM,IAAA,2CAAoB,EAC9C,MAAM,EACN,sBAAY,EACZ,YAAY,CACb,CAAC;IAEF,IAAI,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e,OAAO,CAAC"}
@@ -16,9 +16,9 @@ const constants_2 = require("./governance/constants");
16
16
  const pricingJob_1 = __importDefault(require("./pricingJob"));
17
17
  const constants_3 = require("./exchange/constants");
18
18
  exports.platforms = [
19
- constants_3.jupiterPlatform,
20
- constants_2.jupGovernancePlatform,
21
- constants_1.jupLaunchpadPlatform,
19
+ constants_1.platform,
20
+ constants_2.platform,
21
+ constants_3.platform,
22
22
  ];
23
23
  exports.jobs = [custodiesJob_1.default, pricingJob_1.default];
24
24
  exports.fetchers = [
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,2EAAmD;AAEnD,wFAA+D;AAC/D,qDAA6D;AAE7D,2EAAmD;AACnD,sDAA+D;AAE/D,8DAAsC;AACtC,oDAAuD;AAE1C,QAAA,SAAS,GAAe;IACnC,2BAAe;IACf,iCAAqB;IACrB,gCAAoB;CACrB,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,sBAAY,EAAE,oBAAU,CAAC,CAAC;AACzC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,6BAAmB;IACnB,sBAAY;IACZ,oBAAU;IACV,4BAAiB;IACjB,qBAAW;CACZ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,2EAAmD;AAEnD,wFAA+D;AAC/D,qDAAsE;AAEtE,2EAAmD;AACnD,sDAAwE;AAExE,8DAAsC;AACtC,oDAAoE;AAEvD,QAAA,SAAS,GAAe;IACnC,oBAAiB;IACjB,oBAAkB;IAClB,oBAAgB;CACjB,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,sBAAY,EAAE,oBAAU,CAAC,CAAC;AACzC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,6BAAmB;IACnB,sBAAY;IACZ,oBAAU;IACV,4BAAiB;IACjB,qBAAW;CACZ,CAAC"}
@@ -67,7 +67,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
67
67
  type: portfolio_core_1.PortfolioElementType.multiple,
68
68
  label: 'Rewards',
69
69
  networkId: portfolio_core_1.NetworkId.solana,
70
- platformId: constants_1.jupLaunchpadPlatformId,
70
+ platformId: constants_1.platformId,
71
71
  name: 'Allocation',
72
72
  data: {
73
73
  assets,
@@ -77,7 +77,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
77
77
  ];
78
78
  });
79
79
  const fetcher = {
80
- id: `${constants_1.jupLaunchpadPlatformId}-allocation`,
80
+ id: `${constants_1.platformId}-allocation`,
81
81
  networkId: portfolio_core_1.NetworkId.solana,
82
82
  executor,
83
83
  };
@@ -1 +1 @@
1
- {"version":3,"file":"allocationsFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/allocationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,kDAA6C;AAE7C,gEAAqC;AAGrC,oDAAyD;AAEzD,wCAA+C;AAC/C,wGAAgF;AAChF,uCAA8C;AAC9C,2CAKqB;AACrB,kDAAsE;AAEtE,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,WAAW,GACf,MAAM,OAAO,CAAC,GAAG,CACf,wBAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;YACnC,OAAO,eAAK;iBACT,GAAG,CAAC,GAAG,qBAAS,IAAI,IAAI,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1C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"allocationsFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/allocationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,kDAA6C;AAE7C,gEAAqC;AAGrC,oDAAyD;AAEzD,wCAA+C;AAC/C,wGAAgF;AAChF,uCAA8C;AAC9C,2CAA+E;AAC/E,kDAAsE;AAEtE,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,WAAW,GACf,MAAM,OAAO,CAAC,GAAG,CACf,wBAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;YACnC,OAAO,eAAK;iBACT,GAAG,CAAC,GAAG,qBAAS,IAAI,IAAI,CAAC,IAAI,IAAI,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iBAC5D,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CACH,CAAC;IAEJ,MAAM,gBAAgB,GAAkB,EAAE,CAAC;IAC3C,MAAM,MAAM,GAAyB,EAAE,CAAC;IACxC,MAAM,aAAa,GAAgB,EAAE,CAAC;IACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI;YAAE,SAAS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K,GAAG,IAAA,gCAAsB,EAClC,IAAI,EACJ,MAAM,EACN,0BAAS,CAAC,MAAM,EAChB,UAAU,EACV,SAAS,EACT,EAAE,WAAW,EAAE,IAAI,EAAE,CACtB,CAAC;QAEF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEnC,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,SAAS;YAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAE,sBAAU;YACtB,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE;gBACJ,MAAM;aACP;YACD,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1D;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,aAAa;IAC9B,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
- export declare const jupLaunchpadPlatformId = "jupiter-launchpad";
4
- export declare const jupLaunchpadPlatform: Platform;
3
+ export declare const platformId = "jupiter-launchpad";
4
+ export declare const platform: Platform;
5
5
  export declare const voteProgramId: PublicKey;
6
6
  export declare const lockerPubkey: PublicKey;
7
7
  export declare const jupMint = "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropsInfo = exports.merkleApi = exports.jupDecimals = exports.jupMint = exports.lockerPubkey = exports.voteProgramId = exports.jupLaunchpadPlatform = exports.jupLaunchpadPlatformId = void 0;
3
+ exports.airdropsInfo = exports.merkleApi = exports.jupDecimals = exports.jupMint = exports.lockerPubkey = exports.voteProgramId = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
- exports.jupLaunchpadPlatformId = 'jupiter-launchpad';
6
- exports.jupLaunchpadPlatform = {
7
- id: exports.jupLaunchpadPlatformId,
5
+ exports.platformId = 'jupiter-launchpad';
6
+ exports.platform = {
7
+ id: exports.platformId,
8
8
  name: 'Jupiter Launchpad',
9
9
  image: 'https://sonar.watch/img/platforms/jupiter.png',
10
10
  website: 'https://lfg.jup.ag/',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,sBAAsB,GAAG,mBAAmB,CAAC;AAC7C,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,8BAAsB;IAC1B,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AAQpD,QAAA,YAAY,GAAkB;IACzC;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,6CAA6C;KAClE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,mBAAmB,CAAC;AACjC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AAQpD,QAAA,YAAY,GAAkB;IACzC;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,6CAA6C;KAClE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,YAAY,EAAE,aAAa;QAC3B,kBAAkB,EAAE,8CAA8C;KACnE;CACF,CAAC"}
@@ -22,7 +22,7 @@ const kmnkoPreMarketPriceKey = `${constants_2.preMarketPriceKey}-KMNO`;
22
22
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
23
23
  const [premarketPrice, cachedAllocation] = yield Promise.all([
24
24
  cache.getItem(kmnkoPreMarketPriceKey, {
25
- prefix: constants_2.driftPlatform.id,
25
+ prefix: constants_2.platformId,
26
26
  networkId: portfolio_core_1.NetworkId.solana,
27
27
  }),
28
28
  cache.getItem(owner, {
@@ -57,7 +57,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
57
57
  name: 'KMNO',
58
58
  amount: amount.toNumber(),
59
59
  price: premarketPrice || null,
60
- imageUri: constants_1.kaminoPlatform.image,
60
+ imageUri: constants_1.platform.image,
61
61
  },
62
62
  attributes: { isClaimable: false },
63
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,gEAAqC;AAGrC,2CAA2E;AAC3E,kDAAsE;AACtE,6CAA0D;AAE1D,MAAM,UAAU,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AACvC,MAAM,sBAAsB,GAAG,GAAG,6BAAiB,OAAO,CAAC;AAE3D,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,CAAC,cAAc,EAAE,gBAAgB,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC3D,KAAK,CAAC,OAAO,CAAS,sBAAsB,EAAE;YAC5C,MAAM,EAAE,yBAAa,CAAC,EAAE;YACxB,SAAS,EAAE,0BAAS,CAA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C,QAAQ,EAAE;YACzB,KAAK,EAAE,cAAc,IAAI,IAAI;YAC7B,QAAQ,EAAE,oBAAQ,CAAC,KAAK;SACzB;QACD,UAAU,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;KACnC,CAAC;IACF,OAAO;QACL;YACE,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,qBAAqB;YAC3B,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"}
@@ -2,7 +2,7 @@ import { PublicKey } from '@solana/web3.js';
2
2
  import { Platform } from '@sonarwatch/portfolio-core';
3
3
  import { LendingMarketConfig } from './types';
4
4
  export declare const platformId = "kamino";
5
- export declare const kaminoPlatform: Platform;
5
+ export declare const platform: Platform;
6
6
  export declare const programId: PublicKey;
7
7
  export declare const allocationApiUrl = "https://api.hubbleprotocol.io/v2/airdrop/users/";
8
8
  export declare const allocationPrefix = "kamino/allocation";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationPrefix = exports.allocationApiUrl = exports.programId = exports.kaminoPlatform = exports.platformId = void 0;
3
+ exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationPrefix = exports.allocationApiUrl = exports.programId = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'kamino';
6
- exports.kaminoPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Kamino',
9
9
  image: `https://sonar.watch/img/platforms/${exports.platformId}.png`,
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qCAAqC,kBAAU,MAAM;IAC5D,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,uBAAuB;CACrC,CAAC;AACW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,iDAAiD,CAAC;AACvC,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAE9C,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAE5D,QAAA,cAAc,GAAqC,IAAI,GAAG,CAAC;IACtE;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;gBACD;oBACE,8CAA8C;oBAC9C,6CAA6C;iBAC9C;gBACD;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;aACF;YACD,aAAa,EAAE;gBACb;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;aACF;SACF;KACF;IACD,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IACxE,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;CAC9E,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,WAAW,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qCAAqC,kBAAU,MAAM;IAC5D,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,uBAAuB;CACrC,CAAC;AACW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,iDAAiD,CAAC;AACvC,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAE9C,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAE5D,QAAA,cAAc,GAAqC,IAAI,GAAG,CAAC;IACtE;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;gBACD;oBACE,8CAA8C;oBAC9C,6CAA6C;iBAC9C;gBACD;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;aACF;YACD,aAAa,EAAE;gBACb;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,6CAA6C;oBAC7C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;gBACD;oBACE,8CAA8C;oBAC9C,8CAA8C;iBAC/C;aACF;SACF;KACF;IACD,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IACxE,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;CAC9E,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,WAAW,GAAG,UAAU,CAAC"}
@@ -12,7 +12,7 @@ const marketsJob_1 = __importDefault(require("./marketsJob"));
12
12
  const lendsFetcher_1 = __importDefault(require("./lendsFetcher"));
13
13
  const farmsFetcher_1 = __importDefault(require("./farmsFetcher"));
14
14
  const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
15
- exports.platforms = [constants_1.kaminoPlatform];
15
+ exports.platforms = [constants_1.platform];
16
16
  exports.jobs = [poolsJob_1.default, reservesJob_1.default, farmsJob_1.default, marketsJob_1.default];
17
17
  exports.fetchers = [lendsFetcher_1.default, farmsFetcher_1.default, airdropFetcher_1.default];
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAA6C;AAC7C,0DAAkC;AAClC,0DAAkC;AAClC,gEAAwC;AACxC,8DAAsC;AACtC,kEAA0C;AAC1C,kEAA0C;AAC1C,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,0BAAc,CAAC,CAAC;AACzC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,qBAAW,EAAE,kBAAQ,EAAE,oBAAU,CAAC,CAAC;AAC5D,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,sBAAY,EAAE,wBAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,0DAAkC;AAClC,0DAAkC;AAClC,gEAAwC;AACxC,8DAAsC;AACtC,kEAA0C;AAC1C,kEAA0C;AAC1C,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,qBAAW,EAAE,kBAAQ,EAAE,oBAAU,CAAC,CAAC;AAC5D,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,sBAAY,EAAE,wBAAc,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "lido";
3
- export declare const lidoPlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const withdrawlQueueAddress = "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withdrawlQueueAddress = exports.lidoPlatform = exports.platformId = void 0;
3
+ exports.withdrawlQueueAddress = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'lido';
5
- exports.lidoPlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Lido',
8
8
  image: 'https://sonar.watch/img/platforms/lido.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lido/constants.ts"],"names":[],"mappings":";;;AAEa,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,kBAAkB;CAC5B,CAAC;AAEW,QAAA,qBAAqB,GAChC,4CAA4C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lido/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,4CAA4C;IACnD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,kBAAkB;CAC5B,CAAC;AAEW,QAAA,qBAAqB,GAChC,4CAA4C,CAAC"}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const withdrawlFetcher_1 = __importDefault(require("./withdrawlFetcher"));
9
- exports.platforms = [constants_1.lidoPlatform];
9
+ exports.platforms = [constants_1.platform];
10
10
  exports.jobs = [];
11
11
  exports.fetchers = [withdrawlFetcher_1.default];
12
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lido/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAA2C;AAC3C,0EAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,wBAAY,CAAC,CAAC;AACvC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,0BAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/lido/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,0EAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,0BAAgB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "liquidswap";
3
- export declare const liquidswapPlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const programAddress = "0x5a97986a9d031c4567e15b797be516910cfcb4156312482efc6a19c0a30c948";
5
5
  export declare const resourceAddress = "0x190d44266241744264b964a37b8f09863167a12d3e70cda39376cfb4e3561e12";
6
6
  export declare const lpTypePrefix = "0x5a97986a9d031c4567e15b797be516910cfcb4156312482efc6a19c0a30c948::lp_coin::LP<";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.resourceAddress = exports.programAddress = exports.liquidswapPlatform = exports.platformId = void 0;
3
+ exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.resourceAddress = exports.programAddress = exports.platform = exports.platformId = void 0;
4
4
  const aptos_1 = require("../../utils/aptos");
5
5
  exports.platformId = 'liquidswap';
6
- exports.liquidswapPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Liquidswap',
9
9
  image: 'https://sonar.watch/img/platforms/liquidswap.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/constants.ts"],"names":[],"mappings":";;;AACA,6CAA6C;AAEhC,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,kDAAkD;IACzD,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,wBAAwB;CAClC,CAAC;AACW,QAAA,cAAc,GACzB,mEAAmE,CAAC;AAEzD,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAC1D,QAAA,YAAY,GAAG,GAAG,sBAAc,gBAAgB,CAAC;AAEjD,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/constants.ts"],"names":[],"mappings":";;;AACA,6CAA6C;AAEhC,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,kDAAkD;IACzD,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,wBAAwB;CAClC,CAAC;AACW,QAAA,cAAc,GACzB,mEAAmE,CAAC;AAEzD,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAC1D,QAAA,YAAY,GAAG,GAAG,sBAAc,gBAAgB,CAAC;AAEjD,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC"}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const aptosLpJob_1 = __importDefault(require("./aptosLpJob"));
8
8
  const constants_1 = require("./constants");
9
- exports.platforms = [constants_1.liquidswapPlatform];
9
+ exports.platforms = [constants_1.platform];
10
10
  exports.jobs = [aptosLpJob_1.default];
11
11
  exports.fetchers = [];
12
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,8DAAsC;AACtC,2CAAiD;AAEpC,QAAA,SAAS,GAAe,CAAC,8BAAkB,CAAC,CAAC;AAC7C,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,8DAAsC;AACtC,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -47,6 +47,10 @@ function getLlamaProtocolsJob(platforms) {
47
47
  protocols[platformId2].networkIds = [
48
48
  ...new Set(protocols[platformId2].networkIds),
49
49
  ];
50
+ protocols[platformId2].categories.push(llamaProtocol.category);
51
+ protocols[platformId2].categories = [
52
+ ...new Set(protocols[platformId2].categories),
53
+ ];
50
54
  }
51
55
  }
52
56
  yield cache.setItem(constants_1.llamaProtocolsCacheKey, JSON.stringify(protocols), {
@@ -1 +1 @@
1
- {"version":3,"file":"getLlamaProtocolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/getLlamaProtocolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kDAA0B;AAG1B,uCAAyE;AACzE,2CAAgF;AAEhF,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAElD,SAAgB,oBAAoB,CAAC,SAAqB;IACxD,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,sBAAsB,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzD,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAkB,CAAC;QACtD,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAA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GAAG;oBAClC,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC;iBAC9C,CAAC;YACJ,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC,OAAO,CAAC,kCAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;YACrE,MAAM,EAAE,qCAAyB;SAClC,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IACF,OAAO;QACL,EAAE,EAAE,iBAAiB;QACrB,QAAQ;QACR,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AAhDD,oDAgDC"}
1
+ {"version":3,"file":"getLlamaProtocolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/getLlamaProtocolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kDAA0B;AAG1B,uCAAyE;AACzE,2CAAgF;AAEhF,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAElD,SAAgB,oBAAoB,CAAC,SAAqB;IACxD,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,sBAAsB,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzD,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAkB,CAAC;QACtD,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC7B,IAAI,CAAC,QAAQ,CAAC,WAAW;gBAAE,OAAO;YAClC,mBAAmB,CAAC,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;QAEH,MAAM,SAAS,GAAkC,EAAE,CAAC;QACpD,MAAM,cAAc,GAAG,sBAAsB,CAAC,IAA2B,CAAC;QAE1E,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC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AC,OAAO,CAAC,kCAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;YACrE,MAAM,EAAE,qCAAyB;SAClC,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IACF,OAAO;QACL,EAAE,EAAE,iBAAiB;QACrB,QAAQ;QACR,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AApDD,oDAoDC"}
@@ -17,6 +17,7 @@ function shrinkLlamaProtocol(protocol) {
17
17
  ? `https://twitter.com/${protocol.twitter}`
18
18
  : undefined,
19
19
  networkIds: llamaChainsToNetworkIds(protocol.chains),
20
+ categories: [protocol.category],
20
21
  };
21
22
  }
22
23
  exports.shrinkLlamaProtocol = shrinkLlamaProtocol;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/helpers.ts"],"names":[],"mappings":";;;AAAA,+DAKoC;AAEpC,SAAgB,mBAAmB,CACjC,QAA2B;IAE3B,OAAO;QACL,EAAE,EAAE,QAAQ,CAAC,EAAE;QACf,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,UAAU,EAAE,QAAQ,CAAC,UAAU;QAC/B,MAAM,EAAE,QAAQ,CAAC,MAAM;QACvB,OAAO,EAAE,QAAQ,CAAC,OAAO;YACvB,CAAC,CAAC,uBAAuB,QAAQ,CAAC,OAAO,EAAE;YAC3C,CAAC,CAAC,SAAS;QACb,UAAU,EAAE,uBAAuB,CAAC,QAAQ,CAAC,MAAM,CAAC;KACrD,CAAC;AACJ,CAAC;AAlBD,kDAkBC;AAED,SAAgB,uBAAuB,CACrC,WAAqB;IAErB,MAAM,UAAU,GAAG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AoB,EAAE,KAAK,EAAE,EAAE;QACpE,MAAM,OAAO,GAAG,IAAA,oCAAmB,EAAC,KAAK,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO;YAAE,OAAO,GAAG,CAAC;QACzB,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACrB,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;AAClC,CAAC;AAVD,0DAUC"}
@@ -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 = "magiceden";
4
- export declare const magicEdenPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const m2Prefix = "m2";
6
6
  export declare const m2Program: PublicKey;
7
7
  export declare const m2AuctionHouse: PublicKey;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.m2AuctionHouse = exports.m2Program = exports.m2Prefix = exports.magicEdenPlatform = exports.platformId = void 0;
3
+ exports.m2AuctionHouse = exports.m2Program = exports.m2Prefix = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'magiceden';
6
- exports.magicEdenPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'MagicEden',
9
9
  image: 'https://sonar.watch/img/platforms/magiceden.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,iDAAiD;IACxD,qEAAqE;IACrE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,CAAC;AAChB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,iDAAiD;IACxD,qEAAqE;IACrE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,CAAC;AAChB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC"}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const escrowFetcher_1 = __importDefault(require("./escrowFetcher"));
9
- exports.platforms = [constants_1.magicEdenPlatform];
9
+ exports.platforms = [constants_1.platform];
10
10
  exports.jobs = [];
11
11
  exports.fetchers = [escrowFetcher_1.default];
12
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAgD;AAChD,oEAA4C;AAE/B,QAAA,SAAS,GAAe,CAAC,6BAAiB,CAAC,CAAC;AAC5C,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,uBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/magiceden/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,oEAA4C;AAE/B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,uBAAa,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "maker";
3
- export declare const makerPlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const ilksPrefix = "maker-ilks";
5
5
  export declare const daiAddress = "0x6B175474E89094C44Da98b954EedeAC495271d0F";
6
6
  export declare const daiDecimals = 18;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ilkRegAddress = exports.vatAddress = exports.cdpManagerAddress = exports.proxyRegAddress = exports.potAddress = exports.chaiDecimals = exports.chaiAddress = exports.sDaiDecimals = exports.sDaiAddress = exports.daiDecimals = exports.daiAddress = exports.ilksPrefix = exports.makerPlatform = exports.platformId = void 0;
3
+ exports.ilkRegAddress = exports.vatAddress = exports.cdpManagerAddress = exports.proxyRegAddress = exports.potAddress = exports.chaiDecimals = exports.chaiAddress = exports.sDaiDecimals = exports.sDaiAddress = exports.daiDecimals = exports.daiAddress = exports.ilksPrefix = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'maker';
5
- exports.makerPlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Maker DAO',
8
8
  image: 'https://sonar.watch/img/platforms/maker.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maker/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uBAAuB;CACjC,CAAC;AAEW,QAAA,UAAU,GAAG,GAAG,kBAAU,OAAO,CAAC;AAClC,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,WAAW,GAAG,EAAE,CAAC;AACjB,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,eAAe,GAAG,4CAA4C,CAAC;AAC/D,QAAA,iBAAiB,GAAG,4CAA4C,CAAC;AACjE,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,aAAa,GAAG,4CAA4C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maker/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uBAAuB;CACjC,CAAC;AAEW,QAAA,UAAU,GAAG,GAAG,kBAAU,OAAO,CAAC;AAClC,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,WAAW,GAAG,EAAE,CAAC;AACjB,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,eAAe,GAAG,4CAA4C,CAAC;AAC/D,QAAA,iBAAiB,GAAG,4CAA4C,CAAC;AACjE,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,aAAa,GAAG,4CAA4C,CAAC"}
@@ -8,7 +8,7 @@ const sdaiJob_1 = __importDefault(require("./sdaiJob"));
8
8
  const constants_1 = require("./constants");
9
9
  const vaultsFetcher_1 = __importDefault(require("./vaultsFetcher"));
10
10
  const vaultsJob_1 = __importDefault(require("./vaultsJob"));
11
- exports.platforms = [constants_1.makerPlatform];
11
+ exports.platforms = [constants_1.platform];
12
12
  exports.jobs = [sdaiJob_1.default, vaultsJob_1.default];
13
13
  exports.fetchers = [vaultsFetcher_1.default];
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maker/index.ts"],"names":[],"mappings":";;;;;;AAGA,wDAAgC;AAChC,2CAA4C;AAC5C,oEAA4C;AAC5C,4DAAoC;AAEvB,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC;AACxC,QAAA,IAAI,GAAU,CAAC,iBAAO,EAAE,mBAAS,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc,CAAC,uBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/maker/index.ts"],"names":[],"mappings":";;;;;;AAGA,wDAAgC;AAChC,2CAAuC;AACvC,oEAA4C;AAC5C,4DAAoC;AAEvB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,iBAAO,EAAE,mBAAS,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc,CAAC,uBAAa,CAAC,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 = "mango";
4
- export declare const mangoPlatform: Platform;
4
+ export declare const platform: Platform;
5
5
  export declare const banksKey = "banks";
6
6
  export declare const rootBankPrefix = "mango-rootBank";
7
7
  export declare const groupPrefix = "mango-group";
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.boostProgramId = exports.redeemProgramId = exports.mangoV4Pid = exports.boostBanksKey = exports.groupPrefix = exports.rootBankPrefix = exports.banksKey = exports.mangoPlatform = exports.platformId = void 0;
3
+ exports.boostProgramId = exports.redeemProgramId = exports.mangoV4Pid = exports.boostBanksKey = exports.groupPrefix = exports.rootBankPrefix = exports.banksKey = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'mango';
6
- exports.mangoPlatform = {
6
+ exports.platform = {
7
7
  id: exports.platformId,
8
8
  name: 'Mango',
9
9
  image: 'https://sonar.watch/img/platforms/mango.png',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/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,sBAAsB;IACnC,OAAO,EAAE,wBAAwB;CAClC,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,cAAc,GAAG,GAAG,kBAAU,WAAW,CAAC;AAC1C,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/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,sBAAsB;IACnC,OAAO,EAAE,wBAAwB;CAClC,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,cAAc,GAAG,GAAG,kBAAU,WAAW,CAAC;AAC1C,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC;AAE9B,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC"}
@@ -10,7 +10,7 @@ const groupsJob_1 = __importDefault(require("./groupsJob"));
10
10
  const collateralFetcher_1 = __importDefault(require("./collateralFetcher"));
11
11
  const boostFetcher_1 = __importDefault(require("./boostFetcher"));
12
12
  const constants_1 = require("./constants");
13
- exports.platforms = [constants_1.mangoPlatform];
13
+ exports.platforms = [constants_1.platform];
14
14
  exports.jobs = [banksJob_1.default, groupsJob_1.default, boostBanksJob_1.default];
15
15
  exports.fetchers = [collateralFetcher_1.default, boostFetcher_1.default];
16
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,oEAA4C;AAC5C,4DAAoC;AACpC,4EAAoD;AACpD,kEAA0C;AAC1C,2CAA4C;AAE/B,QAAA,SAAS,GAAe,CAAC,yBAAa,CAAC,CAAC;AACxC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,mBAAS,EAAE,uBAAa,CAAC,CAAC;AACnD,QAAA,QAAQ,GAAc,CAAC,2BAAiB,EAAE,sBAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/mango/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,oEAA4C;AAC5C,4DAAoC;AACpC,4EAAoD;AACpD,kEAA0C;AAC1C,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,mBAAS,EAAE,uBAAa,CAAC,CAAC;AACnD,QAAA,QAAQ,GAAc,CAAC,2BAAiB,EAAE,sBAAY,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  export declare const platformId = "maple";
3
- export declare const maplePlatform: Platform;
3
+ export declare const platform: Platform;
4
4
  export declare const solanaLoanToken = "AxuK8gNvN4Q8HtgHxFbePP6b84SpmcNTPdFA1E164Hgs";
5
5
  export declare const poolsKey = "poolsInfo";
6
6
  export declare const evmContracts: string[];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.evmContracts = exports.poolsKey = exports.solanaLoanToken = exports.maplePlatform = exports.platformId = void 0;
3
+ exports.evmContracts = exports.poolsKey = exports.solanaLoanToken = exports.platform = exports.platformId = void 0;
4
4
  exports.platformId = 'maple';
5
- exports.maplePlatform = {
5
+ exports.platform = {
6
6
  id: exports.platformId,
7
7
  name: 'Maple',
8
8
  image: 'https://sonar.watch/img/platforms/maple.png',
@@ -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;