@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,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function getQueryBalanceByOwner(owner) {
4
- return JSON.parse(`{
5
- "balance": {
6
- "address": "${owner}"
7
- }
4
+ return JSON.parse(`{
5
+ "balance": {
6
+ "address": "${owner}"
7
+ }
8
8
  }`);
9
9
  }
10
10
  exports.default = getQueryBalanceByOwner;