@paraswap/dex-lib 4.0.16-fluid-restr → 4.0.17-statav2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/build/abi/aavev3statav2/Factory.json +131 -0
  2. package/build/abi/aavev3statav2/Pool.json +1459 -0
  3. package/build/abi/aavev3statav2/Token.json +997 -0
  4. package/build/dex/aave-gsm/config.js +2 -2
  5. package/build/dex/aave-gsm/config.js.map +1 -1
  6. package/build/dex/aave-v2/tokenlist.json +904 -0
  7. package/build/dex/aave-v2/tokens.js +6 -4
  8. package/build/dex/aave-v2/tokens.js.map +1 -1
  9. package/build/dex/aave-v3/config.js +6 -6
  10. package/build/dex/aave-v3/config.js.map +1 -1
  11. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.d.ts +49 -0
  12. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js +377 -0
  13. package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js.map +1 -0
  14. package/build/dex/aave-v3-stata-v2/config.d.ts +3 -0
  15. package/build/dex/aave-v3-stata-v2/config.js +21 -0
  16. package/build/dex/aave-v3-stata-v2/config.js.map +1 -0
  17. package/build/dex/aave-v3-stata-v2/tokens.d.ts +10 -0
  18. package/build/dex/aave-v3-stata-v2/tokens.js +43 -0
  19. package/build/dex/aave-v3-stata-v2/tokens.js.map +1 -0
  20. package/build/dex/aave-v3-stata-v2/types.d.ts +35 -0
  21. package/build/dex/aave-v3-stata-v2/types.js +25 -0
  22. package/build/dex/aave-v3-stata-v2/types.js.map +1 -0
  23. package/build/dex/aave-v3-stata-v2/utils.d.ts +4 -0
  24. package/build/dex/aave-v3-stata-v2/utils.js +67 -0
  25. package/build/dex/aave-v3-stata-v2/utils.js.map +1 -0
  26. package/build/dex/fluid-dex/fluid-dex.js +2 -4
  27. package/build/dex/fluid-dex/fluid-dex.js.map +1 -1
  28. package/build/dex/index.js +2 -0
  29. package/build/dex/index.js.map +1 -1
  30. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js +9 -3
  31. package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js.map +1 -1
  32. package/build/dex/stkgho/config.js +2 -2
  33. package/build/dex/stkgho/config.js.map +1 -1
  34. package/build/dex/uniswap-v3/config.js +0 -25
  35. package/build/dex/uniswap-v3/config.js.map +1 -1
  36. package/build/dex/uniswap-v3/uniswap-v3-pool.js +9 -3
  37. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  38. package/package.json +2 -2
  39. package/src/abi/aavev3statav2/Factory.json +131 -0
  40. package/src/abi/aavev3statav2/Pool.json +1459 -0
  41. package/src/abi/aavev3statav2/Token.json +997 -0
  42. package/src/dex/aave-gsm/config.ts +3 -3
  43. package/src/dex/aave-v2/tokenlist.json +904 -0
  44. package/src/dex/aave-v2/tokens.ts +3 -4
  45. package/src/dex/aave-v3/config.ts +6 -7
  46. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +397 -0
  47. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-integration.test.ts +600 -0
  48. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +477 -0
  49. package/src/dex/aave-v3-stata-v2/config.ts +24 -0
  50. package/src/dex/aave-v3-stata-v2/tokens.ts +48 -0
  51. package/src/dex/aave-v3-stata-v2/types.ts +41 -0
  52. package/src/dex/aave-v3-stata-v2/utils.ts +88 -0
  53. package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +17 -17
  54. package/src/dex/fluid-dex/fluid-dex.ts +4 -7
  55. package/src/dex/index.ts +2 -0
  56. package/src/dex/pancakeswap-v3/pancakeswap-v3-pool.ts +9 -9
  57. package/src/dex/stkgho/config.ts +3 -3
  58. package/src/dex/uniswap-v3/config.ts +0 -26
  59. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +9 -9
  60. package/tests/constants-e2e.ts +11 -1
@@ -6,8 +6,8 @@ const aave_address_book_1 = require("@bgd-labs/aave-address-book");
6
6
  exports.AaveGsmConfig = {
7
7
  AaveGsm: {
8
8
  [constants_1.Network.MAINNET]: {
9
- GSM_USDT: aave_address_book_1.MiscEthereum.GSM_USDT,
10
- GSM_USDC: aave_address_book_1.MiscEthereum.GSM_USDC,
9
+ GSM_USDT: aave_address_book_1.GhoEthereum.GSM_USDT,
10
+ GSM_USDC: aave_address_book_1.GhoEthereum.GSM_USDC,
11
11
  USDT: aave_address_book_1.AaveV3Ethereum.ASSETS.USDT.UNDERLYING,
12
12
  USDC: aave_address_book_1.AaveV3Ethereum.ASSETS.USDC.UNDERLYING,
13
13
  GHO: aave_address_book_1.AaveV3Ethereum.ASSETS.GHO.UNDERLYING,
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dex/aave-gsm/config.ts"],"names":[],"mappings":";;;AAEA,+CAA0C;AAC1C,mEAA2E;AAE9D,QAAA,aAAa,GAA4B;IACpD,OAAO,EAAE;QACP,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE;YACjB,QAAQ,EAAE,gCAAY,CAAC,QAAQ;YAC/B,QAAQ,EAAE,gCAAY,CAAC,QAAQ;YAC/B,IAAI,EAAE,kCAAc,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;YAC3C,IAAI,EAAE,kCAAc,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;YAC3C,GAAG,EAAE,kCAAc,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU;SAC1C;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dex/aave-gsm/config.ts"],"names":[],"mappings":";;;AAEA,+CAA0C;AAC1C,mEAA0E;AAE7D,QAAA,aAAa,GAA4B;IACpD,OAAO,EAAE;QACP,CAAC,mBAAO,CAAC,OAAO,CAAC,EAAE;YACjB,QAAQ,EAAE,+BAAW,CAAC,QAAQ;YAC9B,QAAQ,EAAE,+BAAW,CAAC,QAAQ;YAC9B,IAAI,EAAE,kCAAc,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;YAC3C,IAAI,EAAE,kCAAc,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;YAC3C,GAAG,EAAE,kCAAc,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU;SAC1C;KACF;CACF,CAAC"}