@paraswap/dex-lib 4.7.11-native.5 → 4.7.11-native.6

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 (146) hide show
  1. package/build/dex/balancer-v3/balancer-v3-pool.js +2 -2
  2. package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -1
  3. package/build/dex/balancer-v3/getOnChainState.d.ts +2 -1
  4. package/build/dex/balancer-v3/getOnChainState.js +38 -30
  5. package/build/dex/balancer-v3/getOnChainState.js.map +1 -1
  6. package/build/dex/idle-dao/idle-dao.d.ts +1 -0
  7. package/build/dex/idle-dao/idle-dao.js +23 -11
  8. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  9. package/build/dex/maker-psm/maker-psm.d.ts +4 -41
  10. package/build/dex/maker-psm/maker-psm.js +40 -143
  11. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  12. package/build/dex/native/native.d.ts +0 -1
  13. package/build/dex/native/native.js +0 -8
  14. package/build/dex/native/native.js.map +1 -1
  15. package/build/executor/types.d.ts +1 -2
  16. package/build/executor/types.js +0 -1
  17. package/build/executor/types.js.map +1 -1
  18. package/package.json +1 -1
  19. package/build/abi/PendleRouterStatic.json +0 -19
  20. package/build/abi/apex-defi/ApexDefiFactory.abi.json +0 -1749
  21. package/build/abi/apex-defi/ApexDefiRouter.abi.json +0 -1120
  22. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  23. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  24. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +0 -1107
  25. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  26. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  27. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  28. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  29. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  30. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  31. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  32. package/build/abi/stabull/stabull-curve.json +0 -738
  33. package/build/abi/stabull/stabull-router.json +0 -76
  34. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  35. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  36. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  37. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  38. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  39. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  40. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  41. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  42. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +0 -40
  43. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  44. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  45. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  46. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  47. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  48. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  49. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  50. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  51. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  52. package/build/dex/aave-pt-to-underlying/types.js +0 -3
  53. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  54. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  55. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  56. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  57. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  58. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  59. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  60. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  61. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  62. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  63. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  64. package/build/dex/aave-pt-to-usdc/types.js +0 -3
  65. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  66. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  67. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  68. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  69. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  70. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  71. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  72. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  73. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  74. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  75. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  76. package/build/dex/apex-defi/apex-defi.js +0 -1021
  77. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  78. package/build/dex/apex-defi/config.d.ts +0 -4
  79. package/build/dex/apex-defi/config.js +0 -138
  80. package/build/dex/apex-defi/config.js.map +0 -1
  81. package/build/dex/apex-defi/types.d.ts +0 -32
  82. package/build/dex/apex-defi/types.js +0 -3
  83. package/build/dex/apex-defi/types.js.map +0 -1
  84. package/build/dex/apex-defi/utils.d.ts +0 -46
  85. package/build/dex/apex-defi/utils.js +0 -133
  86. package/build/dex/apex-defi/utils.js.map +0 -1
  87. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  88. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  89. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  90. package/build/dex/stabull/config.d.ts +0 -3
  91. package/build/dex/stabull/config.js +0 -177
  92. package/build/dex/stabull/config.js.map +0 -1
  93. package/build/dex/stabull/stabull-pool.d.ts +0 -46
  94. package/build/dex/stabull/stabull-pool.js +0 -113
  95. package/build/dex/stabull/stabull-pool.js.map +0 -1
  96. package/build/dex/stabull/stabull.d.ts +0 -55
  97. package/build/dex/stabull/stabull.js +0 -286
  98. package/build/dex/stabull/stabull.js.map +0 -1
  99. package/build/dex/stabull/types.d.ts +0 -21
  100. package/build/dex/stabull/types.js +0 -3
  101. package/build/dex/stabull/types.js.map +0 -1
  102. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  103. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  104. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  105. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  106. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  107. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  108. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  109. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  110. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  111. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  112. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  113. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  114. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  115. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  116. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  117. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  118. package/build/dex/uniswap-v4/hooks/index.js +0 -9
  119. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  120. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  121. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  122. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  123. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  124. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  125. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  126. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  127. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  128. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  129. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  130. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  131. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  132. package/build/dex/yo/config.d.ts +0 -3
  133. package/build/dex/yo/config.js +0 -21
  134. package/build/dex/yo/config.js.map +0 -1
  135. package/build/dex/yo/types.d.ts +0 -13
  136. package/build/dex/yo/types.js +0 -3
  137. package/build/dex/yo/types.js.map +0 -1
  138. package/build/dex/yo/yo-pool.d.ts +0 -13
  139. package/build/dex/yo/yo-pool.js +0 -26
  140. package/build/dex/yo/yo-pool.js.map +0 -1
  141. package/build/dex/yo/yo.d.ts +0 -39
  142. package/build/dex/yo/yo.js +0 -248
  143. package/build/dex/yo/yo.js.map +0 -1
  144. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  145. package/build/implementations/api-paraswap-sdk.js +0 -102
  146. package/build/implementations/api-paraswap-sdk.js.map +0 -1
@@ -1,229 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "tradingFeeRate",
5
- "outputs": [
6
- {
7
- "internalType": "uint256",
8
- "name": "",
9
- "type": "uint256"
10
- }
11
- ],
12
- "stateMutability": "view",
13
- "type": "function"
14
- },
15
- {
16
- "anonymous": false,
17
- "inputs": [
18
- {
19
- "indexed": true,
20
- "internalType": "address",
21
- "name": "sender",
22
- "type": "address"
23
- },
24
- {
25
- "indexed": false,
26
- "internalType": "uint256",
27
- "name": "amountTokenIn",
28
- "type": "uint256"
29
- },
30
- {
31
- "indexed": false,
32
- "internalType": "uint256",
33
- "name": "amountNativeIn",
34
- "type": "uint256"
35
- },
36
- {
37
- "indexed": false,
38
- "internalType": "uint256",
39
- "name": "amountTokenOut",
40
- "type": "uint256"
41
- },
42
- {
43
- "indexed": false,
44
- "internalType": "uint256",
45
- "name": "amountNativeOut",
46
- "type": "uint256"
47
- },
48
- {
49
- "indexed": false,
50
- "internalType": "bool",
51
- "name": "flashSwap",
52
- "type": "bool"
53
- }
54
- ],
55
- "name": "Swap",
56
- "type": "event"
57
- },
58
- {
59
- "anonymous": false,
60
- "inputs": [
61
- {
62
- "indexed": true,
63
- "internalType": "address",
64
- "name": "provider",
65
- "type": "address"
66
- },
67
- {
68
- "indexed": true,
69
- "internalType": "address",
70
- "name": "toAddress",
71
- "type": "address"
72
- },
73
- {
74
- "indexed": false,
75
- "internalType": "uint256",
76
- "name": "liquidityMinted",
77
- "type": "uint256"
78
- },
79
- {
80
- "indexed": false,
81
- "internalType": "uint256",
82
- "name": "nativeAmount",
83
- "type": "uint256"
84
- },
85
- {
86
- "indexed": false,
87
- "internalType": "uint256",
88
- "name": "tokenAmount",
89
- "type": "uint256"
90
- }
91
- ],
92
- "name": "AddLiquidity",
93
- "type": "event"
94
- },
95
- {
96
- "anonymous": false,
97
- "inputs": [
98
- {
99
- "indexed": true,
100
- "internalType": "address",
101
- "name": "provider",
102
- "type": "address"
103
- },
104
- {
105
- "indexed": true,
106
- "internalType": "address",
107
- "name": "toAddress",
108
- "type": "address"
109
- },
110
- {
111
- "indexed": false,
112
- "internalType": "uint256",
113
- "name": "liquidityBurned",
114
- "type": "uint256"
115
- },
116
- {
117
- "indexed": false,
118
- "internalType": "uint256",
119
- "name": "nativeAmount",
120
- "type": "uint256"
121
- },
122
- {
123
- "indexed": false,
124
- "internalType": "uint256",
125
- "name": "tokenAmount",
126
- "type": "uint256"
127
- }
128
- ],
129
- "name": "RemoveLiquidity",
130
- "type": "event"
131
- },
132
- {
133
- "inputs": [],
134
- "name": "getReserves",
135
- "outputs": [
136
- {
137
- "internalType": "uint256",
138
- "name": "amountNative",
139
- "type": "uint256"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "amountToken",
144
- "type": "uint256"
145
- }
146
- ],
147
- "stateMutability": "view",
148
- "type": "function"
149
- },
150
- {
151
- "inputs": [],
152
- "name": "factory",
153
- "outputs": [
154
- {
155
- "internalType": "address",
156
- "name": "",
157
- "type": "address"
158
- }
159
- ],
160
- "stateMutability": "view",
161
- "type": "function"
162
- },
163
- {
164
- "inputs": [
165
- {
166
- "internalType": "uint256",
167
- "name": "minimumTokensOut",
168
- "type": "uint256"
169
- },
170
- {
171
- "internalType": "uint256",
172
- "name": "deadline",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "swapNativeToToken",
177
- "outputs": [
178
- {
179
- "internalType": "uint256[]",
180
- "name": "amounts",
181
- "type": "uint256[]"
182
- }
183
- ],
184
- "stateMutability": "payable",
185
- "type": "function"
186
- },
187
- {
188
- "inputs": [
189
- {
190
- "internalType": "uint256",
191
- "name": "tokensSold",
192
- "type": "uint256"
193
- },
194
- {
195
- "internalType": "uint256",
196
- "name": "minimumNativeOut",
197
- "type": "uint256"
198
- },
199
- {
200
- "internalType": "uint256",
201
- "name": "deadline",
202
- "type": "uint256"
203
- }
204
- ],
205
- "name": "swapTokenToNative",
206
- "outputs": [
207
- {
208
- "internalType": "uint256[]",
209
- "name": "amounts",
210
- "type": "uint256[]"
211
- }
212
- ],
213
- "stateMutability": "nonpayable",
214
- "type": "function"
215
- },
216
- {
217
- "inputs": [],
218
- "name": "tradingEnabled",
219
- "outputs": [
220
- {
221
- "internalType": "bool",
222
- "name": "",
223
- "type": "bool"
224
- }
225
- ],
226
- "stateMutability": "view",
227
- "type": "function"
228
- }
229
- ]
@@ -1,92 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "originalTokenDecimals",
5
- "outputs": [
6
- {
7
- "internalType": "uint8",
8
- "name": "",
9
- "type": "uint8"
10
- }
11
- ],
12
- "stateMutability": "view",
13
- "type": "function"
14
- },
15
- {
16
- "inputs": [],
17
- "name": "wrappedTokenDecimals",
18
- "outputs": [
19
- {
20
- "internalType": "uint8",
21
- "name": "",
22
- "type": "uint8"
23
- }
24
- ],
25
- "stateMutability": "view",
26
- "type": "function"
27
- },
28
- {
29
- "inputs": [],
30
- "name": "originalToken",
31
- "outputs": [
32
- {
33
- "internalType": "contract IERC20",
34
- "name": "",
35
- "type": "address"
36
- }
37
- ],
38
- "stateMutability": "view",
39
- "type": "function"
40
- },
41
- {
42
- "inputs": [],
43
- "name": "wrappedToken",
44
- "outputs": [
45
- {
46
- "internalType": "contract IERC20",
47
- "name": "",
48
- "type": "address"
49
- }
50
- ],
51
- "stateMutability": "view",
52
- "type": "function"
53
- },
54
- {
55
- "inputs": [
56
- {
57
- "internalType": "uint256",
58
- "name": "amount",
59
- "type": "uint256"
60
- }
61
- ],
62
- "name": "wrap",
63
- "outputs": [
64
- {
65
- "internalType": "uint256",
66
- "name": "wrappedAmount",
67
- "type": "uint256"
68
- }
69
- ],
70
- "stateMutability": "nonpayable",
71
- "type": "function"
72
- },
73
- {
74
- "inputs": [
75
- {
76
- "internalType": "uint256",
77
- "name": "amount",
78
- "type": "uint256"
79
- }
80
- ],
81
- "name": "unwrap",
82
- "outputs": [
83
- {
84
- "internalType": "uint256",
85
- "name": "unwrappedAmount",
86
- "type": "uint256"
87
- }
88
- ],
89
- "stateMutability": "nonpayable",
90
- "type": "function"
91
- }
92
- ]