@paraswap/dex-lib 4.0.17 → 4.0.18

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 (47) 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/index.js +2 -0
  27. package/build/dex/index.js.map +1 -1
  28. package/build/dex/stkgho/config.js +2 -2
  29. package/build/dex/stkgho/config.js.map +1 -1
  30. package/package.json +2 -2
  31. package/src/abi/aavev3statav2/Factory.json +131 -0
  32. package/src/abi/aavev3statav2/Pool.json +1459 -0
  33. package/src/abi/aavev3statav2/Token.json +997 -0
  34. package/src/dex/aave-gsm/config.ts +3 -3
  35. package/src/dex/aave-v2/tokenlist.json +904 -0
  36. package/src/dex/aave-v2/tokens.ts +3 -4
  37. package/src/dex/aave-v3/config.ts +6 -7
  38. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-e2e.test.ts +397 -0
  39. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2-integration.test.ts +600 -0
  40. package/src/dex/aave-v3-stata-v2/aave-v3-stata-v2.ts +477 -0
  41. package/src/dex/aave-v3-stata-v2/config.ts +24 -0
  42. package/src/dex/aave-v3-stata-v2/tokens.ts +48 -0
  43. package/src/dex/aave-v3-stata-v2/types.ts +41 -0
  44. package/src/dex/aave-v3-stata-v2/utils.ts +88 -0
  45. package/src/dex/index.ts +2 -0
  46. package/src/dex/stkgho/config.ts +3 -3
  47. package/tests/constants-e2e.ts +11 -1
@@ -1,13 +1,13 @@
1
1
  import { DexParams } from './types';
2
2
  import { DexConfigMap } from '../../types';
3
3
  import { Network } from '../../constants';
4
- import { AaveV3Ethereum, MiscEthereum } from '@bgd-labs/aave-address-book';
4
+ import { AaveV3Ethereum, GhoEthereum } from '@bgd-labs/aave-address-book';
5
5
 
6
6
  export const AaveGsmConfig: DexConfigMap<DexParams> = {
7
7
  AaveGsm: {
8
8
  [Network.MAINNET]: {
9
- GSM_USDT: MiscEthereum.GSM_USDT,
10
- GSM_USDC: MiscEthereum.GSM_USDC,
9
+ GSM_USDT: GhoEthereum.GSM_USDT,
10
+ GSM_USDC: GhoEthereum.GSM_USDC,
11
11
  USDT: AaveV3Ethereum.ASSETS.USDT.UNDERLYING,
12
12
  USDC: AaveV3Ethereum.ASSETS.USDC.UNDERLYING,
13
13
  GHO: AaveV3Ethereum.ASSETS.GHO.UNDERLYING,