@dodoex/dodo-contract-request 1.25.0-alpha.1 → 1.25.0

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 (136) hide show
  1. package/CHANGELOG.md +22 -69
  2. package/contract-config/berachain.json +2 -4
  3. package/contract-config/sepolia.json +1 -3
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/types/config/index.d.ts +0 -6
  7. package/dist/types/config/sepolia.d.ts +0 -2
  8. package/dist/types/contract/AlgebraPool.d.ts +15 -15
  9. package/dist/types/contract/BuyoutModel.d.ts +6 -6
  10. package/dist/types/contract/CP.d.ts +10 -10
  11. package/dist/types/contract/CloneFactory.d.ts +1 -1
  12. package/dist/types/contract/CrowdPoolingFactory.d.ts +12 -12
  13. package/dist/types/contract/CustomERC20.d.ts +9 -9
  14. package/dist/types/contract/CustomMintableERC20.d.ts +11 -11
  15. package/dist/types/contract/D3Proxy.d.ts +9 -9
  16. package/dist/types/contract/D3Vault.d.ts +36 -36
  17. package/dist/types/contract/DODOApprove.d.ts +8 -8
  18. package/dist/types/contract/DODOApproveProxy.d.ts +9 -9
  19. package/dist/types/contract/DODOCalleeHelper.d.ts +4 -4
  20. package/dist/types/contract/DODOCirculationHelper.d.ts +5 -5
  21. package/dist/types/contract/DODOCpProxy.d.ts +2 -2
  22. package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +2 -2
  23. package/dist/types/contract/DODODppProxy.d.ts +2 -2
  24. package/dist/types/contract/DODODspProxy.d.ts +3 -3
  25. package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +2 -2
  26. package/dist/types/contract/DODOFeeRouteProxy1.d.ts +13 -13
  27. package/dist/types/contract/DODOFeeRouteProxy2.d.ts +13 -13
  28. package/dist/types/contract/DODOIncentive.d.ts +9 -9
  29. package/dist/types/contract/DODOMineV2Factory.d.ts +8 -8
  30. package/dist/types/contract/DODOMineV3Proxy.d.ts +7 -7
  31. package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +7 -7
  32. package/dist/types/contract/DODOMineV3Registry.d.ts +7 -7
  33. package/dist/types/contract/DODONFT.d.ts +11 -11
  34. package/dist/types/contract/DODONFT1155.d.ts +8 -8
  35. package/dist/types/contract/DODONFTApprove.d.ts +11 -11
  36. package/dist/types/contract/DODONFTPoolProxy.d.ts +14 -14
  37. package/dist/types/contract/DODONFTProxy.d.ts +12 -12
  38. package/dist/types/contract/DODONFTRegistry.d.ts +7 -7
  39. package/dist/types/contract/DODOStarterProxy.d.ts +1 -1
  40. package/dist/types/contract/DODOV1.d.ts +35 -35
  41. package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
  42. package/dist/types/contract/DODOV1Proxy.d.ts +7 -7
  43. package/dist/types/contract/DODOV2Adapter.d.ts +2 -2
  44. package/dist/types/contract/DODOV2Proxy02.d.ts +19 -19
  45. package/dist/types/contract/DPPAdvanced.d.ts +10 -10
  46. package/dist/types/contract/DPPAdvancedAdmin.d.ts +9 -9
  47. package/dist/types/contract/DPPFactory.d.ts +13 -13
  48. package/dist/types/contract/DSP.d.ts +11 -11
  49. package/dist/types/contract/DSPFactory.d.ts +7 -7
  50. package/dist/types/contract/DVM.d.ts +11 -11
  51. package/dist/types/contract/DVMFactory.d.ts +7 -7
  52. package/dist/types/contract/ERC20.d.ts +5 -5
  53. package/dist/types/contract/ERC20MineV2.d.ts +13 -13
  54. package/dist/types/contract/ERC20MineV3.d.ts +13 -13
  55. package/dist/types/contract/ERC20V3Factory.d.ts +11 -11
  56. package/dist/types/contract/FeeRateDIP3Impl.d.ts +32 -41
  57. package/dist/types/contract/FeeRateModel.d.ts +4 -4
  58. package/dist/types/contract/GSP.d.ts +19 -19
  59. package/dist/types/contract/GSPFactory.d.ts +8 -8
  60. package/dist/types/contract/InitializableERC20.d.ts +4 -4
  61. package/dist/types/contract/LimitOrder.d.ts +11 -11
  62. package/dist/types/contract/LimitOrderBot.d.ts +9 -9
  63. package/dist/types/contract/LockedTokenVault.d.ts +9 -9
  64. package/dist/types/contract/MerkleDistributor.d.ts +1 -1
  65. package/dist/types/contract/Multicall.d.ts +1 -1
  66. package/dist/types/contract/MulticallWithValid.d.ts +1 -1
  67. package/dist/types/contract/NonfungiblePositionManager.d.ts +21 -21
  68. package/dist/types/contract/NonfungiblePositionManagerAlgebra.d.ts +24 -24
  69. package/dist/types/contract/PermissionManager.d.ts +9 -9
  70. package/dist/types/contract/UniswapV2Factory.d.ts +4 -4
  71. package/dist/types/contract/UniswapV2FactoryFixedFee.d.ts +3 -3
  72. package/dist/types/contract/UniswapV2Pair.d.ts +12 -12
  73. package/dist/types/contract/UniswapV2Router02.d.ts +17 -17
  74. package/dist/types/contract/UniswapV2Router02FixedFee.d.ts +17 -17
  75. package/dist/types/contract/UniswapV3Factory.d.ts +3 -3
  76. package/dist/types/contract/dodoTeam.d.ts +16 -16
  77. package/dist/types/contract/vDODOToken.d.ts +16 -16
  78. package/dist/types/contractRequests.d.ts +1 -1
  79. package/dist/types/index.d.ts +0 -4
  80. package/package.json +1 -1
  81. package/src/config/index.ts +1 -13
  82. package/src/config/sepolia.ts +1 -1
  83. package/src/contract/CrowdPoolingFactory.ts +1 -1
  84. package/src/contract/DODOApprove.ts +1 -1
  85. package/src/contract/DODOApproveProxy.ts +1 -1
  86. package/src/contract/DODOCalleeHelper.ts +1 -1
  87. package/src/contract/DODOCpProxy.ts +1 -1
  88. package/src/contract/DODODppProxy.ts +1 -1
  89. package/src/contract/DODODspProxy.ts +1 -1
  90. package/src/contract/DODODspProxyWithoutGSP.ts +1 -1
  91. package/src/contract/DODOFeeRouteProxy1.ts +1 -1
  92. package/src/contract/DODOFeeRouteProxy2.ts +1 -1
  93. package/src/contract/DODOMineV2Factory.ts +1 -1
  94. package/src/contract/DODOMineV3Proxy.ts +1 -1
  95. package/src/contract/DODOMineV3Registry.ts +1 -1
  96. package/src/contract/DODOSellHelper.ts +1 -1
  97. package/src/contract/DODOSwapCalcHelper.ts +1 -1
  98. package/src/contract/DODOV1PmmHelper.ts +1 -1
  99. package/src/contract/DODOV2Adapter.ts +1 -1
  100. package/src/contract/DODOV2Proxy02.ts +1 -1
  101. package/src/contract/DODOV2RouteHelper.ts +1 -1
  102. package/src/contract/DPPFactory.ts +1 -1
  103. package/src/contract/DSPFactory.ts +1 -1
  104. package/src/contract/DVMFactory.ts +1 -1
  105. package/src/contract/ERC20Helper.ts +1 -1
  106. package/src/contract/ERC20V3Factory.ts +1 -1
  107. package/src/contract/FeeRateDIP3Impl.ts +75 -61
  108. package/src/contract/GSPFactory.ts +1 -1
  109. package/src/contract/Multicall.ts +1 -1
  110. package/src/contract/MulticallWithValid.ts +1 -1
  111. package/src/contract/NonfungiblePositionManager.ts +1 -1
  112. package/src/contract/UniswapV2Factory.ts +1 -1
  113. package/src/contract/UniswapV2Router02.ts +1 -1
  114. package/src/contract/UniswapV3Factory.ts +1 -1
  115. package/src/index.ts +0 -4
  116. package/.cache/contract-info/DFTManager.json +0 -2832
  117. package/.cache/contract-info/ICHIVault.json +0 -787
  118. package/.cache/contract-info/RWAManager.json +0 -1
  119. package/.cache/contract-info/RWAToken.json +0 -1
  120. package/contract-config/birdlayer.json +0 -66
  121. package/contract-config/zetachain-testnet.json +0 -68
  122. package/contract-config/zetachain.json +0 -61
  123. package/dist/types/config/birdlayer.d.ts +0 -29
  124. package/dist/types/config/zetachain-testnet.d.ts +0 -32
  125. package/dist/types/config/zetachain.d.ts +0 -30
  126. package/dist/types/contract/DFTManager.d.ts +0 -994
  127. package/dist/types/contract/ICHIVault.d.ts +0 -516
  128. package/dist/types/contract/RWAManager.d.ts +0 -264
  129. package/dist/types/contract/RWAToken.d.ts +0 -179
  130. package/src/config/birdlayer.ts +0 -4
  131. package/src/config/zetachain-testnet.ts +0 -4
  132. package/src/config/zetachain.ts +0 -4
  133. package/src/contract/DFTManager.ts +0 -1222
  134. package/src/contract/ICHIVault.ts +0 -863
  135. package/src/contract/RWAManager.ts +0 -479
  136. package/src/contract/RWAToken.ts +0 -330
@@ -1,787 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- { "name": "_pool", "type": "address", "internalType": "address" },
6
- { "name": "_allowToken0", "type": "bool", "internalType": "bool" },
7
- { "name": "_allowToken1", "type": "bool", "internalType": "bool" },
8
- { "name": "__owner", "type": "address", "internalType": "address" },
9
- { "name": "_twapPeriod", "type": "uint32", "internalType": "uint32" },
10
- { "name": "_vaultIndex", "type": "uint256", "internalType": "uint256" }
11
- ],
12
- "stateMutability": "nonpayable"
13
- },
14
- {
15
- "type": "function",
16
- "name": "PRECISION",
17
- "inputs": [],
18
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
19
- "stateMutability": "view"
20
- },
21
- {
22
- "type": "function",
23
- "name": "affiliate",
24
- "inputs": [],
25
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
26
- "stateMutability": "view"
27
- },
28
- {
29
- "type": "function",
30
- "name": "algebraMintCallback",
31
- "inputs": [
32
- { "name": "amount0", "type": "uint256", "internalType": "uint256" },
33
- { "name": "amount1", "type": "uint256", "internalType": "uint256" },
34
- { "name": "data", "type": "bytes", "internalType": "bytes" }
35
- ],
36
- "outputs": [],
37
- "stateMutability": "nonpayable"
38
- },
39
- {
40
- "type": "function",
41
- "name": "algebraSwapCallback",
42
- "inputs": [
43
- { "name": "amount0Delta", "type": "int256", "internalType": "int256" },
44
- { "name": "amount1Delta", "type": "int256", "internalType": "int256" },
45
- { "name": "data", "type": "bytes", "internalType": "bytes" }
46
- ],
47
- "outputs": [],
48
- "stateMutability": "nonpayable"
49
- },
50
- {
51
- "type": "function",
52
- "name": "allowToken0",
53
- "inputs": [],
54
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
55
- "stateMutability": "view"
56
- },
57
- {
58
- "type": "function",
59
- "name": "allowToken1",
60
- "inputs": [],
61
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
62
- "stateMutability": "view"
63
- },
64
- {
65
- "type": "function",
66
- "name": "allowance",
67
- "inputs": [
68
- { "name": "owner", "type": "address", "internalType": "address" },
69
- { "name": "spender", "type": "address", "internalType": "address" }
70
- ],
71
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
72
- "stateMutability": "view"
73
- },
74
- {
75
- "type": "function",
76
- "name": "ammFeeRecipient",
77
- "inputs": [],
78
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
79
- "stateMutability": "view"
80
- },
81
- {
82
- "type": "function",
83
- "name": "approve",
84
- "inputs": [
85
- { "name": "spender", "type": "address", "internalType": "address" },
86
- { "name": "amount", "type": "uint256", "internalType": "uint256" }
87
- ],
88
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
89
- "stateMutability": "nonpayable"
90
- },
91
- {
92
- "type": "function",
93
- "name": "balanceOf",
94
- "inputs": [
95
- { "name": "account", "type": "address", "internalType": "address" }
96
- ],
97
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
98
- "stateMutability": "view"
99
- },
100
- {
101
- "type": "function",
102
- "name": "baseLower",
103
- "inputs": [],
104
- "outputs": [{ "name": "", "type": "int24", "internalType": "int24" }],
105
- "stateMutability": "view"
106
- },
107
- {
108
- "type": "function",
109
- "name": "baseUpper",
110
- "inputs": [],
111
- "outputs": [{ "name": "", "type": "int24", "internalType": "int24" }],
112
- "stateMutability": "view"
113
- },
114
- {
115
- "type": "function",
116
- "name": "collectFees",
117
- "inputs": [],
118
- "outputs": [
119
- { "name": "fees0", "type": "uint256", "internalType": "uint256" },
120
- { "name": "fees1", "type": "uint256", "internalType": "uint256" }
121
- ],
122
- "stateMutability": "nonpayable"
123
- },
124
- {
125
- "type": "function",
126
- "name": "currentTick",
127
- "inputs": [],
128
- "outputs": [{ "name": "tick", "type": "int24", "internalType": "int24" }],
129
- "stateMutability": "view"
130
- },
131
- {
132
- "type": "function",
133
- "name": "decimals",
134
- "inputs": [],
135
- "outputs": [{ "name": "", "type": "uint8", "internalType": "uint8" }],
136
- "stateMutability": "view"
137
- },
138
- {
139
- "type": "function",
140
- "name": "decreaseAllowance",
141
- "inputs": [
142
- { "name": "spender", "type": "address", "internalType": "address" },
143
- {
144
- "name": "subtractedValue",
145
- "type": "uint256",
146
- "internalType": "uint256"
147
- }
148
- ],
149
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
150
- "stateMutability": "nonpayable"
151
- },
152
- {
153
- "type": "function",
154
- "name": "deposit",
155
- "inputs": [
156
- { "name": "deposit0", "type": "uint256", "internalType": "uint256" },
157
- { "name": "deposit1", "type": "uint256", "internalType": "uint256" },
158
- { "name": "to", "type": "address", "internalType": "address" }
159
- ],
160
- "outputs": [
161
- { "name": "shares", "type": "uint256", "internalType": "uint256" }
162
- ],
163
- "stateMutability": "nonpayable"
164
- },
165
- {
166
- "type": "function",
167
- "name": "deposit0Max",
168
- "inputs": [],
169
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
170
- "stateMutability": "view"
171
- },
172
- {
173
- "type": "function",
174
- "name": "deposit1Max",
175
- "inputs": [],
176
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
177
- "stateMutability": "view"
178
- },
179
- {
180
- "type": "function",
181
- "name": "fee",
182
- "inputs": [],
183
- "outputs": [{ "name": "fee_", "type": "uint24", "internalType": "uint24" }],
184
- "stateMutability": "view"
185
- },
186
- {
187
- "type": "function",
188
- "name": "getBasePosition",
189
- "inputs": [],
190
- "outputs": [
191
- { "name": "liquidity", "type": "uint128", "internalType": "uint128" },
192
- { "name": "amount0", "type": "uint256", "internalType": "uint256" },
193
- { "name": "amount1", "type": "uint256", "internalType": "uint256" }
194
- ],
195
- "stateMutability": "view"
196
- },
197
- {
198
- "type": "function",
199
- "name": "getLimitPosition",
200
- "inputs": [],
201
- "outputs": [
202
- { "name": "liquidity", "type": "uint128", "internalType": "uint128" },
203
- { "name": "amount0", "type": "uint256", "internalType": "uint256" },
204
- { "name": "amount1", "type": "uint256", "internalType": "uint256" }
205
- ],
206
- "stateMutability": "view"
207
- },
208
- {
209
- "type": "function",
210
- "name": "getTotalAmounts",
211
- "inputs": [],
212
- "outputs": [
213
- { "name": "total0", "type": "uint256", "internalType": "uint256" },
214
- { "name": "total1", "type": "uint256", "internalType": "uint256" }
215
- ],
216
- "stateMutability": "view"
217
- },
218
- {
219
- "type": "function",
220
- "name": "hysteresis",
221
- "inputs": [],
222
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
223
- "stateMutability": "view"
224
- },
225
- {
226
- "type": "function",
227
- "name": "ichiVaultFactory",
228
- "inputs": [],
229
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
230
- "stateMutability": "view"
231
- },
232
- {
233
- "type": "function",
234
- "name": "increaseAllowance",
235
- "inputs": [
236
- { "name": "spender", "type": "address", "internalType": "address" },
237
- { "name": "addedValue", "type": "uint256", "internalType": "uint256" }
238
- ],
239
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
240
- "stateMutability": "nonpayable"
241
- },
242
- {
243
- "type": "function",
244
- "name": "limitLower",
245
- "inputs": [],
246
- "outputs": [{ "name": "", "type": "int24", "internalType": "int24" }],
247
- "stateMutability": "view"
248
- },
249
- {
250
- "type": "function",
251
- "name": "limitUpper",
252
- "inputs": [],
253
- "outputs": [{ "name": "", "type": "int24", "internalType": "int24" }],
254
- "stateMutability": "view"
255
- },
256
- {
257
- "type": "function",
258
- "name": "name",
259
- "inputs": [],
260
- "outputs": [{ "name": "", "type": "string", "internalType": "string" }],
261
- "stateMutability": "view"
262
- },
263
- {
264
- "type": "function",
265
- "name": "owner",
266
- "inputs": [],
267
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
268
- "stateMutability": "view"
269
- },
270
- {
271
- "type": "function",
272
- "name": "pool",
273
- "inputs": [],
274
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
275
- "stateMutability": "view"
276
- },
277
- {
278
- "type": "function",
279
- "name": "rebalance",
280
- "inputs": [
281
- { "name": "_baseLower", "type": "int24", "internalType": "int24" },
282
- { "name": "_baseUpper", "type": "int24", "internalType": "int24" },
283
- { "name": "_limitLower", "type": "int24", "internalType": "int24" },
284
- { "name": "_limitUpper", "type": "int24", "internalType": "int24" },
285
- { "name": "swapQuantity", "type": "int256", "internalType": "int256" }
286
- ],
287
- "outputs": [],
288
- "stateMutability": "nonpayable"
289
- },
290
- {
291
- "type": "function",
292
- "name": "renounceOwnership",
293
- "inputs": [],
294
- "outputs": [],
295
- "stateMutability": "nonpayable"
296
- },
297
- {
298
- "type": "function",
299
- "name": "setAffiliate",
300
- "inputs": [
301
- { "name": "_affiliate", "type": "address", "internalType": "address" }
302
- ],
303
- "outputs": [],
304
- "stateMutability": "nonpayable"
305
- },
306
- {
307
- "type": "function",
308
- "name": "setAmmFeeRecipient",
309
- "inputs": [
310
- {
311
- "name": "_ammFeeRecipient",
312
- "type": "address",
313
- "internalType": "address"
314
- }
315
- ],
316
- "outputs": [],
317
- "stateMutability": "nonpayable"
318
- },
319
- {
320
- "type": "function",
321
- "name": "setDepositMax",
322
- "inputs": [
323
- { "name": "_deposit0Max", "type": "uint256", "internalType": "uint256" },
324
- { "name": "_deposit1Max", "type": "uint256", "internalType": "uint256" }
325
- ],
326
- "outputs": [],
327
- "stateMutability": "nonpayable"
328
- },
329
- {
330
- "type": "function",
331
- "name": "setHysteresis",
332
- "inputs": [
333
- { "name": "_hysteresis", "type": "uint256", "internalType": "uint256" }
334
- ],
335
- "outputs": [],
336
- "stateMutability": "nonpayable"
337
- },
338
- {
339
- "type": "function",
340
- "name": "setTwapPeriod",
341
- "inputs": [
342
- { "name": "newTwapPeriod", "type": "uint32", "internalType": "uint32" }
343
- ],
344
- "outputs": [],
345
- "stateMutability": "nonpayable"
346
- },
347
- {
348
- "type": "function",
349
- "name": "symbol",
350
- "inputs": [],
351
- "outputs": [{ "name": "", "type": "string", "internalType": "string" }],
352
- "stateMutability": "view"
353
- },
354
- {
355
- "type": "function",
356
- "name": "tickSpacing",
357
- "inputs": [],
358
- "outputs": [{ "name": "", "type": "int24", "internalType": "int24" }],
359
- "stateMutability": "view"
360
- },
361
- {
362
- "type": "function",
363
- "name": "token0",
364
- "inputs": [],
365
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
366
- "stateMutability": "view"
367
- },
368
- {
369
- "type": "function",
370
- "name": "token1",
371
- "inputs": [],
372
- "outputs": [{ "name": "", "type": "address", "internalType": "address" }],
373
- "stateMutability": "view"
374
- },
375
- {
376
- "type": "function",
377
- "name": "totalSupply",
378
- "inputs": [],
379
- "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }],
380
- "stateMutability": "view"
381
- },
382
- {
383
- "type": "function",
384
- "name": "transfer",
385
- "inputs": [
386
- { "name": "to", "type": "address", "internalType": "address" },
387
- { "name": "amount", "type": "uint256", "internalType": "uint256" }
388
- ],
389
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
390
- "stateMutability": "nonpayable"
391
- },
392
- {
393
- "type": "function",
394
- "name": "transferFrom",
395
- "inputs": [
396
- { "name": "from", "type": "address", "internalType": "address" },
397
- { "name": "to", "type": "address", "internalType": "address" },
398
- { "name": "amount", "type": "uint256", "internalType": "uint256" }
399
- ],
400
- "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }],
401
- "stateMutability": "nonpayable"
402
- },
403
- {
404
- "type": "function",
405
- "name": "transferOwnership",
406
- "inputs": [
407
- { "name": "newOwner", "type": "address", "internalType": "address" }
408
- ],
409
- "outputs": [],
410
- "stateMutability": "nonpayable"
411
- },
412
- {
413
- "type": "function",
414
- "name": "twapPeriod",
415
- "inputs": [],
416
- "outputs": [{ "name": "", "type": "uint32", "internalType": "uint32" }],
417
- "stateMutability": "view"
418
- },
419
- {
420
- "type": "function",
421
- "name": "withdraw",
422
- "inputs": [
423
- { "name": "shares", "type": "uint256", "internalType": "uint256" },
424
- { "name": "to", "type": "address", "internalType": "address" }
425
- ],
426
- "outputs": [
427
- { "name": "amount0", "type": "uint256", "internalType": "uint256" },
428
- { "name": "amount1", "type": "uint256", "internalType": "uint256" }
429
- ],
430
- "stateMutability": "nonpayable"
431
- },
432
- {
433
- "type": "event",
434
- "name": "Affiliate",
435
- "inputs": [
436
- {
437
- "name": "sender",
438
- "type": "address",
439
- "indexed": true,
440
- "internalType": "address"
441
- },
442
- {
443
- "name": "affiliate",
444
- "type": "address",
445
- "indexed": false,
446
- "internalType": "address"
447
- }
448
- ],
449
- "anonymous": false
450
- },
451
- {
452
- "type": "event",
453
- "name": "AmmFeeRecipient",
454
- "inputs": [
455
- {
456
- "name": "sender",
457
- "type": "address",
458
- "indexed": true,
459
- "internalType": "address"
460
- },
461
- {
462
- "name": "ammFeeRecipient",
463
- "type": "address",
464
- "indexed": false,
465
- "internalType": "address"
466
- }
467
- ],
468
- "anonymous": false
469
- },
470
- {
471
- "type": "event",
472
- "name": "Approval",
473
- "inputs": [
474
- {
475
- "name": "owner",
476
- "type": "address",
477
- "indexed": true,
478
- "internalType": "address"
479
- },
480
- {
481
- "name": "spender",
482
- "type": "address",
483
- "indexed": true,
484
- "internalType": "address"
485
- },
486
- {
487
- "name": "value",
488
- "type": "uint256",
489
- "indexed": false,
490
- "internalType": "uint256"
491
- }
492
- ],
493
- "anonymous": false
494
- },
495
- {
496
- "type": "event",
497
- "name": "CollectFees",
498
- "inputs": [
499
- {
500
- "name": "sender",
501
- "type": "address",
502
- "indexed": true,
503
- "internalType": "address"
504
- },
505
- {
506
- "name": "feeAmount0",
507
- "type": "uint256",
508
- "indexed": false,
509
- "internalType": "uint256"
510
- },
511
- {
512
- "name": "feeAmount1",
513
- "type": "uint256",
514
- "indexed": false,
515
- "internalType": "uint256"
516
- }
517
- ],
518
- "anonymous": false
519
- },
520
- {
521
- "type": "event",
522
- "name": "DeployICHIVault",
523
- "inputs": [
524
- {
525
- "name": "sender",
526
- "type": "address",
527
- "indexed": true,
528
- "internalType": "address"
529
- },
530
- {
531
- "name": "pool",
532
- "type": "address",
533
- "indexed": true,
534
- "internalType": "address"
535
- },
536
- {
537
- "name": "allowToken0",
538
- "type": "bool",
539
- "indexed": false,
540
- "internalType": "bool"
541
- },
542
- {
543
- "name": "allowToken1",
544
- "type": "bool",
545
- "indexed": false,
546
- "internalType": "bool"
547
- },
548
- {
549
- "name": "owner",
550
- "type": "address",
551
- "indexed": false,
552
- "internalType": "address"
553
- },
554
- {
555
- "name": "twapPeriod",
556
- "type": "uint256",
557
- "indexed": false,
558
- "internalType": "uint256"
559
- }
560
- ],
561
- "anonymous": false
562
- },
563
- {
564
- "type": "event",
565
- "name": "Deposit",
566
- "inputs": [
567
- {
568
- "name": "sender",
569
- "type": "address",
570
- "indexed": true,
571
- "internalType": "address"
572
- },
573
- {
574
- "name": "to",
575
- "type": "address",
576
- "indexed": true,
577
- "internalType": "address"
578
- },
579
- {
580
- "name": "shares",
581
- "type": "uint256",
582
- "indexed": false,
583
- "internalType": "uint256"
584
- },
585
- {
586
- "name": "amount0",
587
- "type": "uint256",
588
- "indexed": false,
589
- "internalType": "uint256"
590
- },
591
- {
592
- "name": "amount1",
593
- "type": "uint256",
594
- "indexed": false,
595
- "internalType": "uint256"
596
- }
597
- ],
598
- "anonymous": false
599
- },
600
- {
601
- "type": "event",
602
- "name": "DepositMax",
603
- "inputs": [
604
- {
605
- "name": "sender",
606
- "type": "address",
607
- "indexed": true,
608
- "internalType": "address"
609
- },
610
- {
611
- "name": "deposit0Max",
612
- "type": "uint256",
613
- "indexed": false,
614
- "internalType": "uint256"
615
- },
616
- {
617
- "name": "deposit1Max",
618
- "type": "uint256",
619
- "indexed": false,
620
- "internalType": "uint256"
621
- }
622
- ],
623
- "anonymous": false
624
- },
625
- {
626
- "type": "event",
627
- "name": "Hysteresis",
628
- "inputs": [
629
- {
630
- "name": "sender",
631
- "type": "address",
632
- "indexed": true,
633
- "internalType": "address"
634
- },
635
- {
636
- "name": "hysteresis",
637
- "type": "uint256",
638
- "indexed": false,
639
- "internalType": "uint256"
640
- }
641
- ],
642
- "anonymous": false
643
- },
644
- {
645
- "type": "event",
646
- "name": "OwnershipTransferred",
647
- "inputs": [
648
- {
649
- "name": "previousOwner",
650
- "type": "address",
651
- "indexed": true,
652
- "internalType": "address"
653
- },
654
- {
655
- "name": "newOwner",
656
- "type": "address",
657
- "indexed": true,
658
- "internalType": "address"
659
- }
660
- ],
661
- "anonymous": false
662
- },
663
- {
664
- "type": "event",
665
- "name": "Rebalance",
666
- "inputs": [
667
- {
668
- "name": "tick",
669
- "type": "int24",
670
- "indexed": false,
671
- "internalType": "int24"
672
- },
673
- {
674
- "name": "totalAmount0",
675
- "type": "uint256",
676
- "indexed": false,
677
- "internalType": "uint256"
678
- },
679
- {
680
- "name": "totalAmount1",
681
- "type": "uint256",
682
- "indexed": false,
683
- "internalType": "uint256"
684
- },
685
- {
686
- "name": "feeAmount0",
687
- "type": "uint256",
688
- "indexed": false,
689
- "internalType": "uint256"
690
- },
691
- {
692
- "name": "feeAmount1",
693
- "type": "uint256",
694
- "indexed": false,
695
- "internalType": "uint256"
696
- },
697
- {
698
- "name": "totalSupply",
699
- "type": "uint256",
700
- "indexed": false,
701
- "internalType": "uint256"
702
- }
703
- ],
704
- "anonymous": false
705
- },
706
- {
707
- "type": "event",
708
- "name": "SetTwapPeriod",
709
- "inputs": [
710
- {
711
- "name": "sender",
712
- "type": "address",
713
- "indexed": false,
714
- "internalType": "address"
715
- },
716
- {
717
- "name": "newTwapPeriod",
718
- "type": "uint32",
719
- "indexed": false,
720
- "internalType": "uint32"
721
- }
722
- ],
723
- "anonymous": false
724
- },
725
- {
726
- "type": "event",
727
- "name": "Transfer",
728
- "inputs": [
729
- {
730
- "name": "from",
731
- "type": "address",
732
- "indexed": true,
733
- "internalType": "address"
734
- },
735
- {
736
- "name": "to",
737
- "type": "address",
738
- "indexed": true,
739
- "internalType": "address"
740
- },
741
- {
742
- "name": "value",
743
- "type": "uint256",
744
- "indexed": false,
745
- "internalType": "uint256"
746
- }
747
- ],
748
- "anonymous": false
749
- },
750
- {
751
- "type": "event",
752
- "name": "Withdraw",
753
- "inputs": [
754
- {
755
- "name": "sender",
756
- "type": "address",
757
- "indexed": true,
758
- "internalType": "address"
759
- },
760
- {
761
- "name": "to",
762
- "type": "address",
763
- "indexed": true,
764
- "internalType": "address"
765
- },
766
- {
767
- "name": "shares",
768
- "type": "uint256",
769
- "indexed": false,
770
- "internalType": "uint256"
771
- },
772
- {
773
- "name": "amount0",
774
- "type": "uint256",
775
- "indexed": false,
776
- "internalType": "uint256"
777
- },
778
- {
779
- "name": "amount1",
780
- "type": "uint256",
781
- "indexed": false,
782
- "internalType": "uint256"
783
- }
784
- ],
785
- "anonymous": false
786
- }
787
- ]