@paraswap/dex-lib 3.8.13 → 3.8.14

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 (174) hide show
  1. package/.vscode/launch.json +53 -0
  2. package/.vscode/settings.json +2 -0
  3. package/.vscode/tasks.json +15 -0
  4. package/build/abi/maverick-v2/MaverickV2Router.json +778 -0
  5. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
  6. package/build/abi/{fx-protocol/FxUSD.json → wombat/pool.json} +604 -542
  7. package/build/dex/aave-v1/aave-v1.js +1 -0
  8. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  9. package/build/dex/aave-v2/tokens-avalanche.json +44 -0
  10. package/build/dex/aave-v2/tokens-mainnet.json +188 -0
  11. package/build/dex/aave-v2/tokens-polygon.json +44 -0
  12. package/build/dex/bProtocol.d.ts +18 -0
  13. package/build/dex/bProtocol.js +39 -0
  14. package/build/dex/bProtocol.js.map +1 -0
  15. package/build/dex/bancor.d.ts +26 -0
  16. package/build/dex/bancor.js +58 -0
  17. package/build/dex/bancor.js.map +1 -0
  18. package/build/dex/compound.d.ts +18 -0
  19. package/build/dex/compound.js +46 -0
  20. package/build/dex/compound.js.map +1 -0
  21. package/build/dex/curve-v2.d.ts +58 -0
  22. package/build/dex/curve-v2.js +180 -0
  23. package/build/dex/curve-v2.js.map +1 -0
  24. package/build/dex/dodo-v1.d.ts +33 -0
  25. package/build/dex/dodo-v1.js +63 -0
  26. package/build/dex/dodo-v1.js.map +1 -0
  27. package/build/dex/lido.d.ts +19 -0
  28. package/build/dex/lido.js +42 -0
  29. package/build/dex/lido.js.map +1 -0
  30. package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
  31. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  32. package/build/dex/maker-psm/scripts/validate-state.js +185 -0
  33. package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
  34. package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
  35. package/build/dex/onebit.d.ts +25 -0
  36. package/build/dex/onebit.js +42 -0
  37. package/build/dex/onebit.js.map +1 -0
  38. package/build/dex/platypus/platypus.js +17 -3
  39. package/build/dex/platypus/platypus.js.map +1 -1
  40. package/build/dex/smoothy.d.ts +26 -0
  41. package/build/dex/smoothy.js +48 -0
  42. package/build/dex/smoothy.js.map +1 -0
  43. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
  44. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
  45. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
  46. package/build/dex/stable-pool.d.ts +28 -0
  47. package/build/dex/stable-pool.js +55 -0
  48. package/build/dex/stable-pool.js.map +1 -0
  49. package/build/dex/swaap-v1/swaap-v1.js +4 -0
  50. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  51. package/build/dex/trader-joe-v2.1/base.d.ts +18 -0
  52. package/build/dex/trader-joe-v2.1/base.js +99 -0
  53. package/build/dex/trader-joe-v2.1/base.js.map +1 -0
  54. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  55. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  56. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  57. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.d.ts +7 -0
  58. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.js +20 -0
  59. package/build/dex/trader-joe-v2.1/trader-joe-v2.2.js.map +1 -0
  60. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  61. package/build/dex/trader-joe-v2.1.js +79 -0
  62. package/build/dex/trader-joe-v2.1.js.map +1 -0
  63. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
  64. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
  65. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
  66. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
  67. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
  68. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
  69. package/build/executor/Executor01BytecodeBuilder.js +4 -5
  70. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  71. package/build/executor/Executor02BytecodeBuilder.js +2 -3
  72. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  73. package/build/executor/Executor03BytecodeBuilder.js +24 -14
  74. package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
  75. package/build/generic-swap-transaction-builder.d.ts +1 -1
  76. package/build/generic-swap-transaction-builder.js +10 -10
  77. package/build/generic-swap-transaction-builder.js.map +1 -1
  78. package/config.ts +1946 -0
  79. package/package.json +1 -1
  80. package/src/dex/dexs.txt +58 -0
  81. package/src/executor/Executor01BytecodeBuilder.ts +4 -8
  82. package/src/executor/Executor02BytecodeBuilder.ts +2 -7
  83. package/src/executor/Executor03BytecodeBuilder.ts +34 -19
  84. package/src/generic-swap-transaction-builder.ts +3 -5
  85. package/build/abi/concentrator/arUSD.json +0 -568
  86. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  87. package/build/abi/inception/inception-ineth.json +0 -609
  88. package/build/abi/inception/inception-ratio-feed.json +0 -93
  89. package/build/abi/inception/inception-vault.json +0 -991
  90. package/build/abi/infusion/InfusionFactory.json +0 -147
  91. package/build/abi/infusion/InfusionPair.json +0 -658
  92. package/build/abi/infusion/InfusionRouter.json +0 -442
  93. package/build/abi/oswap/oswap.abi.json +0 -452
  94. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +0 -38
  95. package/build/dex/concentrator-arusd/concentrator-arusd.js +0 -184
  96. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +0 -1
  97. package/build/dex/concentrator-arusd/config.d.ts +0 -4
  98. package/build/dex/concentrator-arusd/config.js +0 -18
  99. package/build/dex/concentrator-arusd/config.js.map +0 -1
  100. package/build/dex/concentrator-arusd/types.d.ts +0 -10
  101. package/build/dex/concentrator-arusd/types.js +0 -3
  102. package/build/dex/concentrator-arusd/types.js.map +0 -1
  103. package/build/dex/fx-protocol-rusd/config.d.ts +0 -4
  104. package/build/dex/fx-protocol-rusd/config.js +0 -18
  105. package/build/dex/fx-protocol-rusd/config.js.map +0 -1
  106. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.d.ts +0 -39
  107. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js +0 -196
  108. package/build/dex/fx-protocol-rusd/fx-protocol-rusd.js.map +0 -1
  109. package/build/dex/fx-protocol-rusd/types.d.ts +0 -10
  110. package/build/dex/fx-protocol-rusd/types.js +0 -3
  111. package/build/dex/fx-protocol-rusd/types.js.map +0 -1
  112. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  113. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  114. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  115. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  116. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  117. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  118. package/build/dex/idle-dao/scripts.d.ts +0 -9
  119. package/build/dex/idle-dao/scripts.js +0 -552
  120. package/build/dex/idle-dao/scripts.js.map +0 -1
  121. package/build/dex/inception/config.d.ts +0 -5
  122. package/build/dex/inception/config.js +0 -112
  123. package/build/dex/inception/config.js.map +0 -1
  124. package/build/dex/inception/inception-event-pool.d.ts +0 -23
  125. package/build/dex/inception/inception-event-pool.js +0 -34
  126. package/build/dex/inception/inception-event-pool.js.map +0 -1
  127. package/build/dex/inception/inception-native.d.ts +0 -43
  128. package/build/dex/inception/inception-native.js +0 -131
  129. package/build/dex/inception/inception-native.js.map +0 -1
  130. package/build/dex/inception/inception-pool.d.ts +0 -18
  131. package/build/dex/inception/inception-pool.js +0 -32
  132. package/build/dex/inception/inception-pool.js.map +0 -1
  133. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  134. package/build/dex/inception/inception-price-feed.js +0 -51
  135. package/build/dex/inception/inception-price-feed.js.map +0 -1
  136. package/build/dex/inception/inception.d.ts +0 -44
  137. package/build/dex/inception/inception.js +0 -162
  138. package/build/dex/inception/inception.js.map +0 -1
  139. package/build/dex/inception/tokens.d.ts +0 -9
  140. package/build/dex/inception/tokens.js +0 -28
  141. package/build/dex/inception/tokens.js.map +0 -1
  142. package/build/dex/inception/types.d.ts +0 -22
  143. package/build/dex/inception/types.js +0 -3
  144. package/build/dex/inception/types.js.map +0 -1
  145. package/build/dex/inception/utils.d.ts +0 -7
  146. package/build/dex/inception/utils.js +0 -58
  147. package/build/dex/inception/utils.js.map +0 -1
  148. package/build/dex/infusion/config.d.ts +0 -4
  149. package/build/dex/infusion/config.js +0 -25
  150. package/build/dex/infusion/config.js.map +0 -1
  151. package/build/dex/infusion/infusion-stable-pool.d.ts +0 -4
  152. package/build/dex/infusion/infusion-stable-pool.js +0 -74
  153. package/build/dex/infusion/infusion-stable-pool.js.map +0 -1
  154. package/build/dex/infusion/infusion.d.ts +0 -54
  155. package/build/dex/infusion/infusion.js +0 -532
  156. package/build/dex/infusion/infusion.js.map +0 -1
  157. package/build/dex/infusion/types.d.ts +0 -47
  158. package/build/dex/infusion/types.js +0 -3
  159. package/build/dex/infusion/types.js.map +0 -1
  160. package/build/dex/infusion/utils/isStablePair.d.ts +0 -2
  161. package/build/dex/infusion/utils/isStablePair.js +0 -18
  162. package/build/dex/infusion/utils/isStablePair.js.map +0 -1
  163. package/build/dex/oswap/config.d.ts +0 -5
  164. package/build/dex/oswap/config.js +0 -31
  165. package/build/dex/oswap/config.js.map +0 -1
  166. package/build/dex/oswap/oswap-pool.d.ts +0 -51
  167. package/build/dex/oswap/oswap-pool.js +0 -150
  168. package/build/dex/oswap/oswap-pool.js.map +0 -1
  169. package/build/dex/oswap/oswap.d.ts +0 -46
  170. package/build/dex/oswap/oswap.js +0 -263
  171. package/build/dex/oswap/oswap.js.map +0 -1
  172. package/build/dex/oswap/types.d.ts +0 -20
  173. package/build/dex/oswap/types.js +0 -3
  174. package/build/dex/oswap/types.js.map +0 -1
@@ -1,568 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "address",
8
- "name": "owner",
9
- "type": "address"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "spender",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "value",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "Approval",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": true,
32
- "internalType": "address",
33
- "name": "sender",
34
- "type": "address"
35
- },
36
- {
37
- "indexed": true,
38
- "internalType": "address",
39
- "name": "owner",
40
- "type": "address"
41
- },
42
- {
43
- "indexed": false,
44
- "internalType": "uint256",
45
- "name": "assets",
46
- "type": "uint256"
47
- },
48
- {
49
- "indexed": false,
50
- "internalType": "uint256",
51
- "name": "shares",
52
- "type": "uint256"
53
- }
54
- ],
55
- "name": "Deposit",
56
- "type": "event"
57
- },
58
- {
59
- "anonymous": false,
60
- "inputs": [],
61
- "name": "EIP712DomainChanged",
62
- "type": "event"
63
- },
64
- {
65
- "anonymous": false,
66
- "inputs": [
67
- {
68
- "indexed": false,
69
- "internalType": "uint8",
70
- "name": "version",
71
- "type": "uint8"
72
- }
73
- ],
74
- "name": "Initialized",
75
- "type": "event"
76
- },
77
- {
78
- "anonymous": false,
79
- "inputs": [
80
- {
81
- "indexed": true,
82
- "internalType": "address",
83
- "name": "from",
84
- "type": "address"
85
- },
86
- {
87
- "indexed": true,
88
- "internalType": "address",
89
- "name": "to",
90
- "type": "address"
91
- },
92
- {
93
- "indexed": false,
94
- "internalType": "uint256",
95
- "name": "value",
96
- "type": "uint256"
97
- }
98
- ],
99
- "name": "Transfer",
100
- "type": "event"
101
- },
102
- {
103
- "anonymous": false,
104
- "inputs": [
105
- {
106
- "indexed": true,
107
- "internalType": "address",
108
- "name": "sender",
109
- "type": "address"
110
- },
111
- {
112
- "indexed": true,
113
- "internalType": "address",
114
- "name": "receiver",
115
- "type": "address"
116
- },
117
- {
118
- "indexed": true,
119
- "internalType": "address",
120
- "name": "owner",
121
- "type": "address"
122
- },
123
- {
124
- "indexed": false,
125
- "internalType": "uint256",
126
- "name": "assets",
127
- "type": "uint256"
128
- },
129
- {
130
- "indexed": false,
131
- "internalType": "uint256",
132
- "name": "shares",
133
- "type": "uint256"
134
- }
135
- ],
136
- "name": "Withdraw",
137
- "type": "event"
138
- },
139
- {
140
- "anonymous": false,
141
- "inputs": [
142
- {
143
- "indexed": true,
144
- "internalType": "address",
145
- "name": "sender",
146
- "type": "address"
147
- },
148
- {
149
- "indexed": true,
150
- "internalType": "address",
151
- "name": "receiver",
152
- "type": "address"
153
- },
154
- {
155
- "indexed": true,
156
- "internalType": "address",
157
- "name": "owner",
158
- "type": "address"
159
- },
160
- {
161
- "indexed": false,
162
- "internalType": "uint256",
163
- "name": "assets",
164
- "type": "uint256"
165
- },
166
- {
167
- "indexed": false,
168
- "internalType": "uint256",
169
- "name": "shares",
170
- "type": "uint256"
171
- }
172
- ],
173
- "name": "WithdrawToBaseToken",
174
- "type": "event"
175
- },
176
- {
177
- "inputs": [],
178
- "name": "DOMAIN_SEPARATOR",
179
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
180
- "stateMutability": "view",
181
- "type": "function"
182
- },
183
- {
184
- "inputs": [
185
- { "internalType": "address", "name": "owner", "type": "address" },
186
- { "internalType": "address", "name": "spender", "type": "address" }
187
- ],
188
- "name": "allowance",
189
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
190
- "stateMutability": "view",
191
- "type": "function"
192
- },
193
- {
194
- "inputs": [
195
- { "internalType": "address", "name": "spender", "type": "address" },
196
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
197
- ],
198
- "name": "approve",
199
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
200
- "stateMutability": "nonpayable",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [],
205
- "name": "asset",
206
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
207
- "stateMutability": "view",
208
- "type": "function"
209
- },
210
- {
211
- "inputs": [
212
- { "internalType": "address", "name": "account", "type": "address" }
213
- ],
214
- "name": "balanceOf",
215
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
216
- "stateMutability": "view",
217
- "type": "function"
218
- },
219
- {
220
- "inputs": [],
221
- "name": "baseToken",
222
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
223
- "stateMutability": "view",
224
- "type": "function"
225
- },
226
- {
227
- "inputs": [],
228
- "name": "compounder",
229
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [
235
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
236
- ],
237
- "name": "convertToAssets",
238
- "outputs": [
239
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
240
- ],
241
- "stateMutability": "view",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
247
- ],
248
- "name": "convertToShares",
249
- "outputs": [
250
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
251
- ],
252
- "stateMutability": "view",
253
- "type": "function"
254
- },
255
- {
256
- "inputs": [],
257
- "name": "decimals",
258
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
259
- "stateMutability": "view",
260
- "type": "function"
261
- },
262
- {
263
- "inputs": [
264
- { "internalType": "address", "name": "spender", "type": "address" },
265
- {
266
- "internalType": "uint256",
267
- "name": "subtractedValue",
268
- "type": "uint256"
269
- }
270
- ],
271
- "name": "decreaseAllowance",
272
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
273
- "stateMutability": "nonpayable",
274
- "type": "function"
275
- },
276
- {
277
- "inputs": [
278
- { "internalType": "uint256", "name": "assets", "type": "uint256" },
279
- { "internalType": "address", "name": "receiver", "type": "address" }
280
- ],
281
- "name": "deposit",
282
- "outputs": [
283
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
284
- ],
285
- "stateMutability": "nonpayable",
286
- "type": "function"
287
- },
288
- {
289
- "inputs": [],
290
- "name": "eip712Domain",
291
- "outputs": [
292
- { "internalType": "bytes1", "name": "fields", "type": "bytes1" },
293
- { "internalType": "string", "name": "name", "type": "string" },
294
- { "internalType": "string", "name": "version", "type": "string" },
295
- { "internalType": "uint256", "name": "chainId", "type": "uint256" },
296
- {
297
- "internalType": "address",
298
- "name": "verifyingContract",
299
- "type": "address"
300
- },
301
- { "internalType": "bytes32", "name": "salt", "type": "bytes32" },
302
- { "internalType": "uint256[]", "name": "extensions", "type": "uint256[]" }
303
- ],
304
- "stateMutability": "view",
305
- "type": "function"
306
- },
307
- {
308
- "inputs": [
309
- { "internalType": "address", "name": "spender", "type": "address" },
310
- { "internalType": "uint256", "name": "addedValue", "type": "uint256" }
311
- ],
312
- "name": "increaseAllowance",
313
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
314
- "stateMutability": "nonpayable",
315
- "type": "function"
316
- },
317
- {
318
- "inputs": [
319
- { "internalType": "address", "name": "_compounder", "type": "address" }
320
- ],
321
- "name": "initialize",
322
- "outputs": [],
323
- "stateMutability": "nonpayable",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
328
- "name": "maxDeposit",
329
- "outputs": [
330
- { "internalType": "uint256", "name": "maxAssets", "type": "uint256" }
331
- ],
332
- "stateMutability": "pure",
333
- "type": "function"
334
- },
335
- {
336
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
337
- "name": "maxMint",
338
- "outputs": [
339
- { "internalType": "uint256", "name": "maxShares", "type": "uint256" }
340
- ],
341
- "stateMutability": "pure",
342
- "type": "function"
343
- },
344
- {
345
- "inputs": [
346
- { "internalType": "address", "name": "owner", "type": "address" }
347
- ],
348
- "name": "maxRedeem",
349
- "outputs": [
350
- { "internalType": "uint256", "name": "maxShares", "type": "uint256" }
351
- ],
352
- "stateMutability": "view",
353
- "type": "function"
354
- },
355
- {
356
- "inputs": [
357
- { "internalType": "address", "name": "owner", "type": "address" }
358
- ],
359
- "name": "maxWithdraw",
360
- "outputs": [
361
- { "internalType": "uint256", "name": "maxAssets", "type": "uint256" }
362
- ],
363
- "stateMutability": "view",
364
- "type": "function"
365
- },
366
- {
367
- "inputs": [
368
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
369
- { "internalType": "address", "name": "receiver", "type": "address" }
370
- ],
371
- "name": "mint",
372
- "outputs": [
373
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
374
- ],
375
- "stateMutability": "nonpayable",
376
- "type": "function"
377
- },
378
- {
379
- "inputs": [],
380
- "name": "name",
381
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
382
- "stateMutability": "view",
383
- "type": "function"
384
- },
385
- {
386
- "inputs": [],
387
- "name": "nav",
388
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
389
- "stateMutability": "view",
390
- "type": "function"
391
- },
392
- {
393
- "inputs": [
394
- { "internalType": "address", "name": "owner", "type": "address" }
395
- ],
396
- "name": "nonces",
397
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
398
- "stateMutability": "view",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [
403
- { "internalType": "address", "name": "owner", "type": "address" },
404
- { "internalType": "address", "name": "spender", "type": "address" },
405
- { "internalType": "uint256", "name": "value", "type": "uint256" },
406
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
407
- { "internalType": "uint8", "name": "v", "type": "uint8" },
408
- { "internalType": "bytes32", "name": "r", "type": "bytes32" },
409
- { "internalType": "bytes32", "name": "s", "type": "bytes32" }
410
- ],
411
- "name": "permit",
412
- "outputs": [],
413
- "stateMutability": "nonpayable",
414
- "type": "function"
415
- },
416
- {
417
- "inputs": [
418
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
419
- ],
420
- "name": "previewDeposit",
421
- "outputs": [
422
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
423
- ],
424
- "stateMutability": "view",
425
- "type": "function"
426
- },
427
- {
428
- "inputs": [
429
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
430
- ],
431
- "name": "previewMint",
432
- "outputs": [
433
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
434
- ],
435
- "stateMutability": "view",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [
440
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
441
- ],
442
- "name": "previewRedeem",
443
- "outputs": [
444
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
445
- ],
446
- "stateMutability": "view",
447
- "type": "function"
448
- },
449
- {
450
- "inputs": [
451
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
452
- ],
453
- "name": "previewWithdraw",
454
- "outputs": [
455
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
456
- ],
457
- "stateMutability": "view",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
463
- { "internalType": "address", "name": "receiver", "type": "address" },
464
- { "internalType": "address", "name": "owner", "type": "address" }
465
- ],
466
- "name": "redeem",
467
- "outputs": [
468
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
469
- ],
470
- "stateMutability": "nonpayable",
471
- "type": "function"
472
- },
473
- {
474
- "inputs": [
475
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
476
- { "internalType": "address", "name": "receiver", "type": "address" },
477
- { "internalType": "address", "name": "owner", "type": "address" },
478
- { "internalType": "uint256", "name": "minOut", "type": "uint256" }
479
- ],
480
- "name": "redeemToBaseToken",
481
- "outputs": [
482
- { "internalType": "uint256", "name": "assets", "type": "uint256" }
483
- ],
484
- "stateMutability": "nonpayable",
485
- "type": "function"
486
- },
487
- {
488
- "inputs": [],
489
- "name": "symbol",
490
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
491
- "stateMutability": "view",
492
- "type": "function"
493
- },
494
- {
495
- "inputs": [],
496
- "name": "totalAssets",
497
- "outputs": [
498
- {
499
- "internalType": "uint256",
500
- "name": "totalManagedAssets",
501
- "type": "uint256"
502
- }
503
- ],
504
- "stateMutability": "view",
505
- "type": "function"
506
- },
507
- {
508
- "inputs": [],
509
- "name": "totalSupply",
510
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
511
- "stateMutability": "view",
512
- "type": "function"
513
- },
514
- {
515
- "inputs": [
516
- { "internalType": "address", "name": "to", "type": "address" },
517
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
518
- ],
519
- "name": "transfer",
520
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
521
- "stateMutability": "nonpayable",
522
- "type": "function"
523
- },
524
- {
525
- "inputs": [
526
- { "internalType": "address", "name": "from", "type": "address" },
527
- { "internalType": "address", "name": "to", "type": "address" },
528
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
529
- ],
530
- "name": "transferFrom",
531
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
532
- "stateMutability": "nonpayable",
533
- "type": "function"
534
- },
535
- {
536
- "inputs": [
537
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
538
- { "internalType": "address", "name": "receiver", "type": "address" }
539
- ],
540
- "name": "unwrap",
541
- "outputs": [],
542
- "stateMutability": "nonpayable",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [
547
- { "internalType": "uint256", "name": "assets", "type": "uint256" },
548
- { "internalType": "address", "name": "receiver", "type": "address" },
549
- { "internalType": "address", "name": "owner", "type": "address" }
550
- ],
551
- "name": "withdraw",
552
- "outputs": [
553
- { "internalType": "uint256", "name": "shares", "type": "uint256" }
554
- ],
555
- "stateMutability": "nonpayable",
556
- "type": "function"
557
- },
558
- {
559
- "inputs": [
560
- { "internalType": "uint256", "name": "shares", "type": "uint256" },
561
- { "internalType": "address", "name": "receiver", "type": "address" }
562
- ],
563
- "name": "wrap",
564
- "outputs": [],
565
- "stateMutability": "nonpayable",
566
- "type": "function"
567
- }
568
- ]