@paraswap/dex-lib 2.35.4 → 2.35.5

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 (81) hide show
  1. package/build/abi/quickPerps/fast-price-events.json +70 -0
  2. package/build/abi/quickPerps/fast-price-feed.json +748 -0
  3. package/build/abi/quickPerps/reader.json +313 -0
  4. package/build/abi/quickPerps/vault-price-feed.json +477 -0
  5. package/build/abi/quickPerps/vault.json +1953 -0
  6. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +285 -0
  7. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +583 -0
  8. package/build/abi/woo-fi/WooFeeManager.abi.json +318 -0
  9. package/build/abi/woo-fi/WooPP.abi.json +548 -0
  10. package/build/abi/woo-fi/Wooracle.abi.json +260 -0
  11. package/build/dex/aave-v3/tokens/arbitrum.json +50 -0
  12. package/build/dex/aave-v3/tokens/avalanche.json +74 -0
  13. package/build/dex/aave-v3/tokens/fantom.json +62 -0
  14. package/build/dex/aave-v3/tokens/optimism.json +50 -0
  15. package/build/dex/aave-v3/tokens/polygon.json +116 -0
  16. package/build/dex/balancer-v2/LinearMath.d.ts +19 -0
  17. package/build/dex/balancer-v2/LinearMath.js +179 -0
  18. package/build/dex/balancer-v2/LinearMath.js.map +1 -0
  19. package/build/dex/balancer-v2/LinearPool.d.ts +47 -0
  20. package/build/dex/balancer-v2/LinearPool.js +324 -0
  21. package/build/dex/balancer-v2/LinearPool.js.map +1 -0
  22. package/build/dex/balancer-v2/PhantomStablePool.d.ts +47 -0
  23. package/build/dex/balancer-v2/PhantomStablePool.js +294 -0
  24. package/build/dex/balancer-v2/PhantomStablePool.js.map +1 -0
  25. package/build/dex/balancer-v2/StableMath.d.ts +9 -0
  26. package/build/dex/balancer-v2/StableMath.js +272 -0
  27. package/build/dex/balancer-v2/StableMath.js.map +1 -0
  28. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +75 -0
  29. package/build/dex/balancer-v2/balancer-v2-pool.js +417 -0
  30. package/build/dex/balancer-v2/balancer-v2-pool.js.map +1 -0
  31. package/build/dex/generic-rfq/generic-rfq.d.ts +2 -1
  32. package/build/dex/generic-rfq/generic-rfq.js +5 -2
  33. package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
  34. package/build/dex/quickswap-v3.d.ts +21 -0
  35. package/build/dex/quickswap-v3.js +40 -0
  36. package/build/dex/quickswap-v3.js.map +1 -0
  37. package/build/dex/test-dex/config.d.ts +4 -0
  38. package/build/dex/test-dex/config.js +15 -0
  39. package/build/dex/test-dex/config.js.map +1 -0
  40. package/build/dex/test-dex/test-dex-pool.d.ts +39 -0
  41. package/build/dex/test-dex/test-dex-pool.js +63 -0
  42. package/build/dex/test-dex/test-dex-pool.js.map +1 -0
  43. package/build/dex/test-dex/test-dex.d.ts +37 -0
  44. package/build/dex/test-dex/test-dex.js +126 -0
  45. package/build/dex/test-dex/test-dex.js.map +1 -0
  46. package/build/dex/test-dex/types.d.ts +6 -0
  47. package/build/dex/test-dex/types.js +3 -0
  48. package/build/dex/test-dex/types.js.map +1 -0
  49. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +12 -0
  50. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +23 -0
  51. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +1 -0
  52. package/build/dex/woo-fi/config.d.ts +4 -0
  53. package/build/dex/woo-fi/config.js +141 -0
  54. package/build/dex/woo-fi/config.js.map +1 -0
  55. package/build/dex/woo-fi/constants.d.ts +5 -0
  56. package/build/dex/woo-fi/constants.js +20 -0
  57. package/build/dex/woo-fi/constants.js.map +1 -0
  58. package/build/dex/woo-fi/types.d.ts +48 -0
  59. package/build/dex/woo-fi/types.js +3 -0
  60. package/build/dex/woo-fi/types.js.map +1 -0
  61. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +14 -0
  62. package/build/dex/woo-fi/woo-fi-decimal-math.js +42 -0
  63. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +1 -0
  64. package/build/dex/woo-fi/woo-fi-math.d.ts +31 -0
  65. package/build/dex/woo-fi/woo-fi-math.js +300 -0
  66. package/build/dex/woo-fi/woo-fi-math.js.map +1 -0
  67. package/build/dex/woo-fi/woo-fi.d.ts +65 -0
  68. package/build/dex/woo-fi/woo-fi.js +480 -0
  69. package/build/dex/woo-fi/woo-fi.js.map +1 -0
  70. package/build/dex/woo-fi-v2/woo-fi-math.d.ts +16 -0
  71. package/build/dex/woo-fi-v2/woo-fi-math.js +137 -0
  72. package/build/dex/woo-fi-v2/woo-fi-math.js.map +1 -0
  73. package/package.json +1 -1
  74. package/src/dex/generic-rfq/generic-rfq.ts +7 -2
  75. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  76. package/build/dex/algebra/algebra-factory.d.ts +0 -23
  77. package/build/dex/algebra/algebra-factory.js +0 -40
  78. package/build/dex/algebra/algebra-factory.js.map +0 -1
  79. package/build/dex/algebra/algebra-pool.d.ts +0 -46
  80. package/build/dex/algebra/algebra-pool.js +0 -336
  81. package/build/dex/algebra/algebra-pool.js.map +0 -1
@@ -0,0 +1,70 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "token",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": false,
13
+ "internalType": "uint256",
14
+ "name": "price",
15
+ "type": "uint256"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "address",
20
+ "name": "priceFeed",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "name": "PriceUpdate",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "inputs": [
29
+ { "internalType": "address", "name": "_token", "type": "address" },
30
+ { "internalType": "uint256", "name": "_price", "type": "uint256" }
31
+ ],
32
+ "name": "emitPriceEvent",
33
+ "outputs": [],
34
+ "stateMutability": "nonpayable",
35
+ "type": "function"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "gov",
40
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
41
+ "stateMutability": "view",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
46
+ "name": "isPriceFeed",
47
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "inputs": [
53
+ { "internalType": "address", "name": "_gov", "type": "address" }
54
+ ],
55
+ "name": "setGov",
56
+ "outputs": [],
57
+ "stateMutability": "nonpayable",
58
+ "type": "function"
59
+ },
60
+ {
61
+ "inputs": [
62
+ { "internalType": "address", "name": "_priceFeed", "type": "address" },
63
+ { "internalType": "bool", "name": "_isPriceFeed", "type": "bool" }
64
+ ],
65
+ "name": "setIsPriceFeed",
66
+ "outputs": [],
67
+ "stateMutability": "nonpayable",
68
+ "type": "function"
69
+ }
70
+ ]