@sonarwatch/portfolio-plugins 0.14.31 → 0.14.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/CHANGELOG.md +1720 -1712
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/plugins/balancer/helpers/pools.js +21 -21
  5. package/src/plugins/banx/loansFetcher.js +2 -1
  6. package/src/plugins/banx/loansFetcher.js.map +1 -1
  7. package/src/plugins/cetus/clmmsFetcher.js +5 -7
  8. package/src/plugins/cetus/clmmsFetcher.js.map +1 -1
  9. package/src/plugins/cetus/constants.d.ts +1 -0
  10. package/src/plugins/cetus/constants.js +17 -1
  11. package/src/plugins/cetus/constants.js.map +1 -1
  12. package/src/plugins/cetus/farmsFetcher.js +3 -7
  13. package/src/plugins/cetus/farmsFetcher.js.map +1 -1
  14. package/src/plugins/cetus/getPools.d.ts +3 -0
  15. package/src/plugins/cetus/getPools.js +50 -0
  16. package/src/plugins/cetus/getPools.js.map +1 -0
  17. package/src/plugins/cetus/poolsJob.js +4 -3
  18. package/src/plugins/cetus/poolsJob.js.map +1 -1
  19. package/src/plugins/cetus/types.d.ts +32 -31
  20. package/src/plugins/elixir/positionsFetcher.js +29 -51
  21. package/src/plugins/elixir/positionsFetcher.js.map +1 -1
  22. package/src/plugins/kai/constants.d.ts +9 -0
  23. package/src/plugins/kai/constants.js +37 -2
  24. package/src/plugins/kai/constants.js.map +1 -1
  25. package/src/plugins/kai/helpers.d.ts +8 -0
  26. package/src/plugins/kai/helpers.js +49 -0
  27. package/src/plugins/kai/helpers.js.map +1 -0
  28. package/src/plugins/kai/index.js +4 -2
  29. package/src/plugins/kai/index.js.map +1 -1
  30. package/src/plugins/kai/lpVaultsFetcher.js +112 -0
  31. package/src/plugins/kai/lpVaultsFetcher.js.map +1 -0
  32. package/src/plugins/kai/supplyPoolsJob.d.ts +3 -0
  33. package/src/plugins/kai/supplyPoolsJob.js +35 -0
  34. package/src/plugins/kai/supplyPoolsJob.js.map +1 -0
  35. package/src/plugins/kai/types.d.ts +107 -0
  36. package/src/plugins/kai/vaultsJob.js +19 -12
  37. package/src/plugins/kai/vaultsJob.js.map +1 -1
  38. package/src/plugins/metaplex/index.js +2 -2
  39. package/src/plugins/metaplex/index.js.map +1 -1
  40. package/src/plugins/metaplex/resizableNftFetcher.d.ts +3 -0
  41. package/src/plugins/metaplex/{positionsSolanaFetcher.js → resizableNftFetcher.js} +4 -2
  42. package/src/plugins/metaplex/resizableNftFetcher.js.map +1 -0
  43. package/src/plugins/sushiswap/helpers.js +24 -24
  44. package/src/plugins/tensor/airdropPowerUsersFetcher.js +25 -21
  45. package/src/plugins/tensor/airdropPowerUsersFetcher.js.map +1 -1
  46. package/src/plugins/tensor/constants.d.ts +1 -3
  47. package/src/plugins/tensor/constants.js +2 -4
  48. package/src/plugins/tensor/constants.js.map +1 -1
  49. package/src/plugins/tensor/filters.d.ts +1 -1
  50. package/src/plugins/tensor/filters.js +5 -5
  51. package/src/plugins/tensor/filters.js.map +1 -1
  52. package/src/plugins/tensor/helpers.d.ts +1 -1
  53. package/src/plugins/tensor/helpers.js +4 -7
  54. package/src/plugins/tensor/helpers.js.map +1 -1
  55. package/src/plugins/tensor/sharedEscrowFetcher.js +14 -18
  56. package/src/plugins/tensor/sharedEscrowFetcher.js.map +1 -1
  57. package/src/plugins/tensor/struct.d.ts +5 -0
  58. package/src/plugins/tensor/struct.js +5 -1
  59. package/src/plugins/tensor/struct.js.map +1 -1
  60. package/src/plugins/uniswap-v2/helpers.js +22 -22
  61. package/src/plugins/whalesmarket/depositFetcher.js +1 -0
  62. package/src/plugins/whalesmarket/depositFetcher.js.map +1 -1
  63. package/src/plugins/zeta/airdropFetcher.js +14 -14
  64. package/src/utils/elementbuilder/ElementLiquidityBuilder.d.ts +2 -1
  65. package/src/utils/elementbuilder/ElementLiquidityBuilder.js +2 -2
  66. package/src/utils/elementbuilder/ElementLiquidityBuilder.js.map +1 -1
  67. package/src/utils/elementbuilder/LiquidityBuilder.d.ts +3 -1
  68. package/src/utils/elementbuilder/LiquidityBuilder.js +3 -1
  69. package/src/utils/elementbuilder/LiquidityBuilder.js.map +1 -1
  70. package/src/utils/elementbuilder/LiquidityParams.d.ts +3 -0
  71. package/src/utils/elementbuilder/LiquidityParams.js +3 -0
  72. package/src/utils/elementbuilder/LiquidityParams.js.map +1 -0
  73. package/src/utils/sei/constants.js +8 -8
  74. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  75. package/src/plugins/elixir/helpers.d.ts +0 -2
  76. package/src/plugins/elixir/helpers.js +0 -40
  77. package/src/plugins/elixir/helpers.js.map +0 -1
  78. package/src/plugins/metaplex/positionsSolanaFetcher.js.map +0 -1
  79. /package/src/plugins/{metaplex/positionsSolanaFetcher.d.ts → kai/lpVaultsFetcher.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elixir/helpers.ts"],"names":[],"mappings":";;;AAAA,SAAgB,kCAAkC,CAAC,CAAS,EAAE,CAAC,GAAG,EAAE;IAClE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACvB,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnB,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC;QACjB,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;YACvB,OAAO,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAEvD,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC;YACjB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAA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