@merkl/contracts 1.2.34 → 1.2.35
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.
- package/dist/src/ArrakisGaugeFactory.d.ts +107 -0
- package/dist/src/ArrakisGaugeFactory.js +2 -0
- package/dist/src/ArrakisGaugeFactory.js.map +1 -0
- package/dist/src/ArrakisV2Factory.d.ts +279 -0
- package/dist/src/ArrakisV2Factory.js +2 -0
- package/dist/src/ArrakisV2Factory.js.map +1 -0
- package/dist/src/DefiEdgeAlgebraFactory.d.ts +739 -0
- package/dist/src/DefiEdgeAlgebraFactory.js +2 -0
- package/dist/src/DefiEdgeAlgebraFactory.js.map +1 -0
- package/dist/src/DefiEdgeAlgebraStrategy.d.ts +727 -0
- package/dist/src/DefiEdgeAlgebraStrategy.js +2 -0
- package/dist/src/DefiEdgeAlgebraStrategy.js.map +1 -0
- package/dist/src/DefiEdgeFactory.d.ts +669 -0
- package/dist/src/DefiEdgeFactory.js +2 -0
- package/dist/src/DefiEdgeFactory.js.map +1 -0
- package/dist/src/DefiEdgeStrategy.d.ts +669 -0
- package/dist/src/DefiEdgeStrategy.js +2 -0
- package/dist/src/DefiEdgeStrategy.js.map +1 -0
- package/dist/src/GaugeV2CL.d.ts +688 -0
- package/dist/src/GaugeV2CL.js +2 -0
- package/dist/src/GaugeV2CL.js.map +1 -0
- package/dist/src/JonesCompounder.d.ts +941 -0
- package/dist/src/JonesCompounder.js +2 -0
- package/dist/src/JonesCompounder.js.map +1 -0
- package/dist/src/JonesFactory.d.ts +889 -0
- package/dist/src/JonesFactory.js +2 -0
- package/dist/src/JonesFactory.js.map +1 -0
- package/dist/src/JonesSingleRewardTracker.d.ts +968 -0
- package/dist/src/JonesSingleRewardTracker.js +2 -0
- package/dist/src/JonesSingleRewardTracker.js.map +1 -0
- package/dist/src/JonesToken0Tracker.d.ts +968 -0
- package/dist/src/JonesToken0Tracker.js +2 -0
- package/dist/src/JonesToken0Tracker.js.map +1 -0
- package/dist/src/JonesToken1Tracker.d.ts +968 -0
- package/dist/src/JonesToken1Tracker.js +2 -0
- package/dist/src/JonesToken1Tracker.js.map +1 -0
- package/dist/src/JonesVault.d.ts +1115 -0
- package/dist/src/JonesVault.js +2 -0
- package/dist/src/JonesVault.js.map +1 -0
- package/dist/src/RangeFactory.d.ts +211 -0
- package/dist/src/RangeFactory.js +2 -0
- package/dist/src/RangeFactory.js.map +1 -0
- package/dist/src/RangeVault.d.ts +1095 -0
- package/dist/src/RangeVault.js +2 -0
- package/dist/src/RangeVault.js.map +1 -0
- package/dist/src/SpNFTFactory.d.ts +113 -0
- package/dist/src/SpNFTFactory.js +2 -0
- package/dist/src/SpNFTFactory.js.map +1 -0
- package/dist/src/SwapXGaugeV2Factory.d.ts +266 -0
- package/dist/src/SwapXGaugeV2Factory.js +2 -0
- package/dist/src/SwapXGaugeV2Factory.js.map +1 -0
- package/dist/src/SwapXGaugeV3Factory.d.ts +1106 -0
- package/dist/src/SwapXGaugeV3Factory.js +2 -0
- package/dist/src/SwapXGaugeV3Factory.js.map +1 -0
- package/dist/src/SwapXV2Vault.d.ts +634 -0
- package/dist/src/SwapXV2Vault.js +2 -0
- package/dist/src/SwapXV2Vault.js.map +1 -0
- package/dist/src/SwapXV3Vault.d.ts +688 -0
- package/dist/src/SwapXV3Vault.js +2 -0
- package/dist/src/SwapXV3Vault.js.map +1 -0
- package/dist/src/UnipilotFactory.d.ts +149 -0
- package/dist/src/UnipilotFactory.js +2 -0
- package/dist/src/UnipilotFactory.js.map +1 -0
- package/dist/src/UnipilotVault.d.ts +566 -0
- package/dist/src/UnipilotVault.js +2 -0
- package/dist/src/UnipilotVault.js.map +1 -0
- package/dist/src/factories/ArrakisGaugeFactory__factory.d.ts +94 -0
- package/dist/src/factories/ArrakisGaugeFactory__factory.js +128 -0
- package/dist/src/factories/ArrakisGaugeFactory__factory.js.map +1 -0
- package/dist/src/factories/ArrakisV2Factory__factory.d.ts +271 -0
- package/dist/src/factories/ArrakisV2Factory__factory.js +359 -0
- package/dist/src/factories/ArrakisV2Factory__factory.js.map +1 -0
- package/dist/src/factories/DefiEdgeAlgebraFactory__factory.d.ts +767 -0
- package/dist/src/factories/DefiEdgeAlgebraFactory__factory.js +1003 -0
- package/dist/src/factories/DefiEdgeAlgebraFactory__factory.js.map +1 -0
- package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.d.ts +886 -0
- package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.js +1150 -0
- package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.js.map +1 -0
- package/dist/src/factories/DefiEdgeFactory__factory.d.ts +690 -0
- package/dist/src/factories/DefiEdgeFactory__factory.js +902 -0
- package/dist/src/factories/DefiEdgeFactory__factory.js.map +1 -0
- package/dist/src/factories/DefiEdgeStrategy__factory.d.ts +825 -0
- package/dist/src/factories/DefiEdgeStrategy__factory.js +1073 -0
- package/dist/src/factories/DefiEdgeStrategy__factory.js.map +1 -0
- package/dist/src/factories/GaugeV2CL__factory.d.ts +648 -0
- package/dist/src/factories/GaugeV2CL__factory.js +841 -0
- package/dist/src/factories/GaugeV2CL__factory.js.map +1 -0
- package/dist/src/factories/JonesCompounder__factory.d.ts +1017 -0
- package/dist/src/factories/JonesCompounder__factory.js +1320 -0
- package/dist/src/factories/JonesCompounder__factory.js.map +1 -0
- package/dist/src/factories/JonesFactory__factory.d.ts +1131 -0
- package/dist/src/factories/JonesFactory__factory.js +1464 -0
- package/dist/src/factories/JonesFactory__factory.js.map +1 -0
- package/dist/src/factories/JonesSingleRewardTracker__factory.d.ts +991 -0
- package/dist/src/factories/JonesSingleRewardTracker__factory.js +1288 -0
- package/dist/src/factories/JonesSingleRewardTracker__factory.js.map +1 -0
- package/dist/src/factories/JonesToken0Tracker__factory.d.ts +991 -0
- package/dist/src/factories/JonesToken0Tracker__factory.js +1288 -0
- package/dist/src/factories/JonesToken0Tracker__factory.js.map +1 -0
- package/dist/src/factories/JonesToken1Tracker__factory.d.ts +991 -0
- package/dist/src/factories/JonesToken1Tracker__factory.js +1288 -0
- package/dist/src/factories/JonesToken1Tracker__factory.js.map +1 -0
- package/dist/src/factories/JonesVault__factory.d.ts +1225 -0
- package/dist/src/factories/JonesVault__factory.js +1588 -0
- package/dist/src/factories/JonesVault__factory.js.map +1 -0
- package/dist/src/factories/RangeFactory__factory.d.ts +215 -0
- package/dist/src/factories/RangeFactory__factory.js +282 -0
- package/dist/src/factories/RangeFactory__factory.js.map +1 -0
- package/dist/src/factories/RangeVault__factory.d.ts +1145 -0
- package/dist/src/factories/RangeVault__factory.js +1480 -0
- package/dist/src/factories/RangeVault__factory.js.map +1 -0
- package/dist/src/factories/SpNFTFactory__factory.d.ts +121 -0
- package/dist/src/factories/SpNFTFactory__factory.js +165 -0
- package/dist/src/factories/SpNFTFactory__factory.js.map +1 -0
- package/dist/src/factories/SwapXGaugeV2Factory__factory.d.ts +223 -0
- package/dist/src/factories/SwapXGaugeV2Factory__factory.js +293 -0
- package/dist/src/factories/SwapXGaugeV2Factory__factory.js.map +1 -0
- package/dist/src/factories/SwapXGaugeV3Factory__factory.d.ts +1186 -0
- package/dist/src/factories/SwapXGaugeV3Factory__factory.js +1546 -0
- package/dist/src/factories/SwapXGaugeV3Factory__factory.js.map +1 -0
- package/dist/src/factories/SwapXV2Vault__factory.d.ts +586 -0
- package/dist/src/factories/SwapXV2Vault__factory.js +759 -0
- package/dist/src/factories/SwapXV2Vault__factory.js.map +1 -0
- package/dist/src/factories/SwapXV3Vault__factory.d.ts +648 -0
- package/dist/src/factories/SwapXV3Vault__factory.js +841 -0
- package/dist/src/factories/SwapXV3Vault__factory.js.map +1 -0
- package/dist/src/factories/UnipilotFactory__factory.d.ts +199 -0
- package/dist/src/factories/UnipilotFactory__factory.js +260 -0
- package/dist/src/factories/UnipilotFactory__factory.js.map +1 -0
- package/dist/src/factories/UnipilotVault__factory.d.ts +649 -0
- package/dist/src/factories/UnipilotVault__factory.js +841 -0
- package/dist/src/factories/UnipilotVault__factory.js.map +1 -0
- package/dist/src/factories/index.d.ts +22 -0
- package/dist/src/factories/index.js +22 -0
- package/dist/src/factories/index.js.map +1 -1
- package/dist/src/index.d.ts +44 -0
- package/dist/src/index.js +44 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { DefiEdgeFactory, DefiEdgeFactoryInterface } from "../DefiEdgeFactory";
|
|
4
|
+
export declare class DefiEdgeFactory__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "_governance";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "contract IDefiEdgeStrategyDeployer";
|
|
12
|
+
readonly name: "_deployerProxy";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}, {
|
|
15
|
+
readonly internalType: "contract FeedRegistryInterface";
|
|
16
|
+
readonly name: "_chainlinkRegistry";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
20
|
+
readonly name: "_uniswapV3factory";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "contract IOneInchRouter";
|
|
24
|
+
readonly name: "_oneInchRouter";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly internalType: "uint256";
|
|
28
|
+
readonly name: "_allowedSlippage";
|
|
29
|
+
readonly type: "uint256";
|
|
30
|
+
}, {
|
|
31
|
+
readonly internalType: "uint256";
|
|
32
|
+
readonly name: "_allowedDeviation";
|
|
33
|
+
readonly type: "uint256";
|
|
34
|
+
}];
|
|
35
|
+
readonly stateMutability: "nonpayable";
|
|
36
|
+
readonly type: "constructor";
|
|
37
|
+
}, {
|
|
38
|
+
readonly anonymous: false;
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly indexed: false;
|
|
41
|
+
readonly internalType: "address";
|
|
42
|
+
readonly name: "pool";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly indexed: false;
|
|
46
|
+
readonly internalType: "uint256";
|
|
47
|
+
readonly name: "value";
|
|
48
|
+
readonly type: "uint256";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "ChangeAllowedDeviation";
|
|
51
|
+
readonly type: "event";
|
|
52
|
+
}, {
|
|
53
|
+
readonly anonymous: false;
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly indexed: false;
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "pool";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}, {
|
|
60
|
+
readonly indexed: false;
|
|
61
|
+
readonly internalType: "uint256";
|
|
62
|
+
readonly name: "value";
|
|
63
|
+
readonly type: "uint256";
|
|
64
|
+
}];
|
|
65
|
+
readonly name: "ChangeAllowedSlippage";
|
|
66
|
+
readonly type: "event";
|
|
67
|
+
}, {
|
|
68
|
+
readonly anonymous: false;
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly indexed: false;
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "pool";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}, {
|
|
75
|
+
readonly indexed: false;
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
readonly name: "value";
|
|
78
|
+
readonly type: "uint256";
|
|
79
|
+
}];
|
|
80
|
+
readonly name: "ChangeAllowedSwapDeviation";
|
|
81
|
+
readonly type: "event";
|
|
82
|
+
}, {
|
|
83
|
+
readonly anonymous: false;
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly indexed: false;
|
|
86
|
+
readonly internalType: "uint256";
|
|
87
|
+
readonly name: "fee";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly name: "ChangeProtocolFee";
|
|
91
|
+
readonly type: "event";
|
|
92
|
+
}, {
|
|
93
|
+
readonly anonymous: false;
|
|
94
|
+
readonly inputs: readonly [{
|
|
95
|
+
readonly indexed: false;
|
|
96
|
+
readonly internalType: "uint256";
|
|
97
|
+
readonly name: "fee";
|
|
98
|
+
readonly type: "uint256";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "ChangeProtocolPerformanceFee";
|
|
101
|
+
readonly type: "event";
|
|
102
|
+
}, {
|
|
103
|
+
readonly anonymous: false;
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly indexed: false;
|
|
106
|
+
readonly internalType: "uint256";
|
|
107
|
+
readonly name: "amount";
|
|
108
|
+
readonly type: "uint256";
|
|
109
|
+
}];
|
|
110
|
+
readonly name: "ChangeStrategyCreationFee";
|
|
111
|
+
readonly type: "event";
|
|
112
|
+
}, {
|
|
113
|
+
readonly anonymous: false;
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly indexed: false;
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
readonly name: "to";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
}, {
|
|
120
|
+
readonly indexed: false;
|
|
121
|
+
readonly internalType: "uint256";
|
|
122
|
+
readonly name: "amount";
|
|
123
|
+
readonly type: "uint256";
|
|
124
|
+
}];
|
|
125
|
+
readonly name: "ClaimFees";
|
|
126
|
+
readonly type: "event";
|
|
127
|
+
}, {
|
|
128
|
+
readonly anonymous: false;
|
|
129
|
+
readonly inputs: readonly [];
|
|
130
|
+
readonly name: "EmergencyFrozen";
|
|
131
|
+
readonly type: "event";
|
|
132
|
+
}, {
|
|
133
|
+
readonly anonymous: false;
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly indexed: true;
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
readonly name: "strategy";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly indexed: true;
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
readonly name: "creater";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}];
|
|
145
|
+
readonly name: "NewStrategy";
|
|
146
|
+
readonly type: "event";
|
|
147
|
+
}, {
|
|
148
|
+
readonly anonymous: false;
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly indexed: false;
|
|
151
|
+
readonly internalType: "bool";
|
|
152
|
+
readonly name: "status";
|
|
153
|
+
readonly type: "bool";
|
|
154
|
+
}];
|
|
155
|
+
readonly name: "StrategyStatusChanged";
|
|
156
|
+
readonly type: "event";
|
|
157
|
+
}, {
|
|
158
|
+
readonly inputs: readonly [];
|
|
159
|
+
readonly name: "MAX_DECIMAL";
|
|
160
|
+
readonly outputs: readonly [{
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
readonly name: "";
|
|
163
|
+
readonly type: "uint256";
|
|
164
|
+
}];
|
|
165
|
+
readonly stateMutability: "view";
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [];
|
|
169
|
+
readonly name: "MAX_PROTOCOL_PERFORMANCE_FEES_RATE";
|
|
170
|
+
readonly outputs: readonly [{
|
|
171
|
+
readonly internalType: "uint256";
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
}];
|
|
175
|
+
readonly stateMutability: "view";
|
|
176
|
+
readonly type: "function";
|
|
177
|
+
}, {
|
|
178
|
+
readonly inputs: readonly [];
|
|
179
|
+
readonly name: "acceptGovernance";
|
|
180
|
+
readonly outputs: readonly [];
|
|
181
|
+
readonly stateMutability: "nonpayable";
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
}, {
|
|
184
|
+
readonly inputs: readonly [{
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
readonly name: "_caller";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
}, {
|
|
189
|
+
readonly internalType: "bool";
|
|
190
|
+
readonly name: "_status";
|
|
191
|
+
readonly type: "bool";
|
|
192
|
+
}];
|
|
193
|
+
readonly name: "addOrRemoveOneInchCaller";
|
|
194
|
+
readonly outputs: readonly [];
|
|
195
|
+
readonly stateMutability: "nonpayable";
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
readonly name: "_pool";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
}];
|
|
203
|
+
readonly name: "allowedDeviation";
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
}, {
|
|
212
|
+
readonly inputs: readonly [{
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly name: "_pool";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
}];
|
|
217
|
+
readonly name: "allowedSlippage";
|
|
218
|
+
readonly outputs: readonly [{
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
|
+
readonly name: "";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
}];
|
|
223
|
+
readonly stateMutability: "view";
|
|
224
|
+
readonly type: "function";
|
|
225
|
+
}, {
|
|
226
|
+
readonly inputs: readonly [{
|
|
227
|
+
readonly internalType: "address";
|
|
228
|
+
readonly name: "_pool";
|
|
229
|
+
readonly type: "address";
|
|
230
|
+
}];
|
|
231
|
+
readonly name: "allowedSwapDeviation";
|
|
232
|
+
readonly outputs: readonly [{
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}];
|
|
237
|
+
readonly stateMutability: "view";
|
|
238
|
+
readonly type: "function";
|
|
239
|
+
}, {
|
|
240
|
+
readonly inputs: readonly [];
|
|
241
|
+
readonly name: "chainlinkRegistry";
|
|
242
|
+
readonly outputs: readonly [{
|
|
243
|
+
readonly internalType: "contract FeedRegistryInterface";
|
|
244
|
+
readonly name: "";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}];
|
|
247
|
+
readonly stateMutability: "view";
|
|
248
|
+
readonly type: "function";
|
|
249
|
+
}, {
|
|
250
|
+
readonly inputs: readonly [{
|
|
251
|
+
readonly internalType: "address";
|
|
252
|
+
readonly name: "_pool";
|
|
253
|
+
readonly type: "address";
|
|
254
|
+
}, {
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "_allowedDeviation";
|
|
257
|
+
readonly type: "uint256";
|
|
258
|
+
}];
|
|
259
|
+
readonly name: "changeAllowedDeviation";
|
|
260
|
+
readonly outputs: readonly [];
|
|
261
|
+
readonly stateMutability: "nonpayable";
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
}, {
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "_pool";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}, {
|
|
269
|
+
readonly internalType: "uint256";
|
|
270
|
+
readonly name: "_allowedSlippage";
|
|
271
|
+
readonly type: "uint256";
|
|
272
|
+
}];
|
|
273
|
+
readonly name: "changeAllowedSlippage";
|
|
274
|
+
readonly outputs: readonly [];
|
|
275
|
+
readonly stateMutability: "nonpayable";
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
}, {
|
|
278
|
+
readonly inputs: readonly [{
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
readonly name: "_pool";
|
|
281
|
+
readonly type: "address";
|
|
282
|
+
}, {
|
|
283
|
+
readonly internalType: "uint256";
|
|
284
|
+
readonly name: "_allowedSwapDeviation";
|
|
285
|
+
readonly type: "uint256";
|
|
286
|
+
}];
|
|
287
|
+
readonly name: "changeAllowedSwapDeviation";
|
|
288
|
+
readonly outputs: readonly [];
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly internalType: "uint256";
|
|
294
|
+
readonly name: "_allowedSlippage";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
}, {
|
|
297
|
+
readonly internalType: "uint256";
|
|
298
|
+
readonly name: "_allowedDeviation";
|
|
299
|
+
readonly type: "uint256";
|
|
300
|
+
}, {
|
|
301
|
+
readonly internalType: "uint256";
|
|
302
|
+
readonly name: "_allowedSwapDeviation";
|
|
303
|
+
readonly type: "uint256";
|
|
304
|
+
}];
|
|
305
|
+
readonly name: "changeDefaultValues";
|
|
306
|
+
readonly outputs: readonly [];
|
|
307
|
+
readonly stateMutability: "nonpayable";
|
|
308
|
+
readonly type: "function";
|
|
309
|
+
}, {
|
|
310
|
+
readonly inputs: readonly [{
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
readonly name: "_fee";
|
|
313
|
+
readonly type: "uint256";
|
|
314
|
+
}];
|
|
315
|
+
readonly name: "changeFeeForStrategyCreation";
|
|
316
|
+
readonly outputs: readonly [];
|
|
317
|
+
readonly stateMutability: "nonpayable";
|
|
318
|
+
readonly type: "function";
|
|
319
|
+
}, {
|
|
320
|
+
readonly inputs: readonly [{
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
readonly name: "_feeTo";
|
|
323
|
+
readonly type: "address";
|
|
324
|
+
}];
|
|
325
|
+
readonly name: "changeFeeTo";
|
|
326
|
+
readonly outputs: readonly [];
|
|
327
|
+
readonly stateMutability: "nonpayable";
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
}, {
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly name: "_governance";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}];
|
|
335
|
+
readonly name: "changeGovernance";
|
|
336
|
+
readonly outputs: readonly [];
|
|
337
|
+
readonly stateMutability: "nonpayable";
|
|
338
|
+
readonly type: "function";
|
|
339
|
+
}, {
|
|
340
|
+
readonly inputs: readonly [{
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "_fee";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}];
|
|
345
|
+
readonly name: "changeProtocolFeeRate";
|
|
346
|
+
readonly outputs: readonly [];
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
}, {
|
|
350
|
+
readonly inputs: readonly [{
|
|
351
|
+
readonly internalType: "uint256";
|
|
352
|
+
readonly name: "_feeRate";
|
|
353
|
+
readonly type: "uint256";
|
|
354
|
+
}];
|
|
355
|
+
readonly name: "changeProtocolPerformanceFeeRate";
|
|
356
|
+
readonly outputs: readonly [];
|
|
357
|
+
readonly stateMutability: "nonpayable";
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
}, {
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly internalType: "address";
|
|
362
|
+
readonly name: "_to";
|
|
363
|
+
readonly type: "address";
|
|
364
|
+
}];
|
|
365
|
+
readonly name: "claimFees";
|
|
366
|
+
readonly outputs: readonly [];
|
|
367
|
+
readonly stateMutability: "nonpayable";
|
|
368
|
+
readonly type: "function";
|
|
369
|
+
}, {
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly components: readonly [{
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "operator";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "address";
|
|
377
|
+
readonly name: "feeTo";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "uint256";
|
|
381
|
+
readonly name: "managementFeeRate";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "uint256";
|
|
385
|
+
readonly name: "performanceFeeRate";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "limit";
|
|
390
|
+
readonly type: "uint256";
|
|
391
|
+
}, {
|
|
392
|
+
readonly internalType: "contract IUniswapV3Pool";
|
|
393
|
+
readonly name: "pool";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "bool[2]";
|
|
397
|
+
readonly name: "usdAsBase";
|
|
398
|
+
readonly type: "bool[2]";
|
|
399
|
+
}, {
|
|
400
|
+
readonly components: readonly [{
|
|
401
|
+
readonly internalType: "int24";
|
|
402
|
+
readonly name: "tickLower";
|
|
403
|
+
readonly type: "int24";
|
|
404
|
+
}, {
|
|
405
|
+
readonly internalType: "int24";
|
|
406
|
+
readonly name: "tickUpper";
|
|
407
|
+
readonly type: "int24";
|
|
408
|
+
}];
|
|
409
|
+
readonly internalType: "struct IStrategyBase.Tick[]";
|
|
410
|
+
readonly name: "ticks";
|
|
411
|
+
readonly type: "tuple[]";
|
|
412
|
+
}];
|
|
413
|
+
readonly internalType: "struct IStrategyFactory.CreateStrategyParams";
|
|
414
|
+
readonly name: "params";
|
|
415
|
+
readonly type: "tuple";
|
|
416
|
+
}];
|
|
417
|
+
readonly name: "createStrategy";
|
|
418
|
+
readonly outputs: readonly [];
|
|
419
|
+
readonly stateMutability: "payable";
|
|
420
|
+
readonly type: "function";
|
|
421
|
+
}, {
|
|
422
|
+
readonly inputs: readonly [];
|
|
423
|
+
readonly name: "defaultAllowedDeviation";
|
|
424
|
+
readonly outputs: readonly [{
|
|
425
|
+
readonly internalType: "uint256";
|
|
426
|
+
readonly name: "";
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
}];
|
|
429
|
+
readonly stateMutability: "view";
|
|
430
|
+
readonly type: "function";
|
|
431
|
+
}, {
|
|
432
|
+
readonly inputs: readonly [];
|
|
433
|
+
readonly name: "defaultAllowedSlippage";
|
|
434
|
+
readonly outputs: readonly [{
|
|
435
|
+
readonly internalType: "uint256";
|
|
436
|
+
readonly name: "";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
}];
|
|
439
|
+
readonly stateMutability: "view";
|
|
440
|
+
readonly type: "function";
|
|
441
|
+
}, {
|
|
442
|
+
readonly inputs: readonly [];
|
|
443
|
+
readonly name: "defaultAllowedSwapDeviation";
|
|
444
|
+
readonly outputs: readonly [{
|
|
445
|
+
readonly internalType: "uint256";
|
|
446
|
+
readonly name: "";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
}];
|
|
449
|
+
readonly stateMutability: "view";
|
|
450
|
+
readonly type: "function";
|
|
451
|
+
}, {
|
|
452
|
+
readonly inputs: readonly [{
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
readonly name: "";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
}];
|
|
457
|
+
readonly name: "denied";
|
|
458
|
+
readonly outputs: readonly [{
|
|
459
|
+
readonly internalType: "bool";
|
|
460
|
+
readonly name: "";
|
|
461
|
+
readonly type: "bool";
|
|
462
|
+
}];
|
|
463
|
+
readonly stateMutability: "view";
|
|
464
|
+
readonly type: "function";
|
|
465
|
+
}, {
|
|
466
|
+
readonly inputs: readonly [{
|
|
467
|
+
readonly internalType: "address";
|
|
468
|
+
readonly name: "_strategy";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "bool";
|
|
472
|
+
readonly name: "_status";
|
|
473
|
+
readonly type: "bool";
|
|
474
|
+
}];
|
|
475
|
+
readonly name: "deny";
|
|
476
|
+
readonly outputs: readonly [];
|
|
477
|
+
readonly stateMutability: "nonpayable";
|
|
478
|
+
readonly type: "function";
|
|
479
|
+
}, {
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly name: "deployerProxy";
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly internalType: "contract IDefiEdgeStrategyDeployer";
|
|
484
|
+
readonly name: "";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
}, {
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly name: "feeTo";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
}, {
|
|
500
|
+
readonly inputs: readonly [];
|
|
501
|
+
readonly name: "freezeEmergency";
|
|
502
|
+
readonly outputs: readonly [{
|
|
503
|
+
readonly internalType: "bool";
|
|
504
|
+
readonly name: "";
|
|
505
|
+
readonly type: "bool";
|
|
506
|
+
}];
|
|
507
|
+
readonly stateMutability: "view";
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
}, {
|
|
510
|
+
readonly inputs: readonly [];
|
|
511
|
+
readonly name: "freezeEmergencyFunctions";
|
|
512
|
+
readonly outputs: readonly [];
|
|
513
|
+
readonly stateMutability: "nonpayable";
|
|
514
|
+
readonly type: "function";
|
|
515
|
+
}, {
|
|
516
|
+
readonly inputs: readonly [{
|
|
517
|
+
readonly internalType: "address";
|
|
518
|
+
readonly name: "_base";
|
|
519
|
+
readonly type: "address";
|
|
520
|
+
}, {
|
|
521
|
+
readonly internalType: "address";
|
|
522
|
+
readonly name: "_quote";
|
|
523
|
+
readonly type: "address";
|
|
524
|
+
}];
|
|
525
|
+
readonly name: "getHeartBeat";
|
|
526
|
+
readonly outputs: readonly [{
|
|
527
|
+
readonly internalType: "uint256";
|
|
528
|
+
readonly name: "";
|
|
529
|
+
readonly type: "uint256";
|
|
530
|
+
}];
|
|
531
|
+
readonly stateMutability: "view";
|
|
532
|
+
readonly type: "function";
|
|
533
|
+
}, {
|
|
534
|
+
readonly inputs: readonly [];
|
|
535
|
+
readonly name: "governance";
|
|
536
|
+
readonly outputs: readonly [{
|
|
537
|
+
readonly internalType: "address";
|
|
538
|
+
readonly name: "";
|
|
539
|
+
readonly type: "address";
|
|
540
|
+
}];
|
|
541
|
+
readonly stateMutability: "view";
|
|
542
|
+
readonly type: "function";
|
|
543
|
+
}, {
|
|
544
|
+
readonly inputs: readonly [{
|
|
545
|
+
readonly internalType: "address";
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "address";
|
|
548
|
+
}];
|
|
549
|
+
readonly name: "isAllowedOneInchCaller";
|
|
550
|
+
readonly outputs: readonly [{
|
|
551
|
+
readonly internalType: "bool";
|
|
552
|
+
readonly name: "";
|
|
553
|
+
readonly type: "bool";
|
|
554
|
+
}];
|
|
555
|
+
readonly stateMutability: "view";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}];
|
|
563
|
+
readonly name: "isValidStrategy";
|
|
564
|
+
readonly outputs: readonly [{
|
|
565
|
+
readonly internalType: "bool";
|
|
566
|
+
readonly name: "";
|
|
567
|
+
readonly type: "bool";
|
|
568
|
+
}];
|
|
569
|
+
readonly stateMutability: "view";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
}, {
|
|
572
|
+
readonly inputs: readonly [];
|
|
573
|
+
readonly name: "oneInchRouter";
|
|
574
|
+
readonly outputs: readonly [{
|
|
575
|
+
readonly internalType: "contract IOneInchRouter";
|
|
576
|
+
readonly name: "";
|
|
577
|
+
readonly type: "address";
|
|
578
|
+
}];
|
|
579
|
+
readonly stateMutability: "view";
|
|
580
|
+
readonly type: "function";
|
|
581
|
+
}, {
|
|
582
|
+
readonly inputs: readonly [];
|
|
583
|
+
readonly name: "pendingGovernance";
|
|
584
|
+
readonly outputs: readonly [{
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly type: "address";
|
|
588
|
+
}];
|
|
589
|
+
readonly stateMutability: "view";
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
}, {
|
|
592
|
+
readonly inputs: readonly [];
|
|
593
|
+
readonly name: "protocolFeeRate";
|
|
594
|
+
readonly outputs: readonly [{
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly name: "";
|
|
597
|
+
readonly type: "uint256";
|
|
598
|
+
}];
|
|
599
|
+
readonly stateMutability: "view";
|
|
600
|
+
readonly type: "function";
|
|
601
|
+
}, {
|
|
602
|
+
readonly inputs: readonly [];
|
|
603
|
+
readonly name: "protocolPerformanceFeeRate";
|
|
604
|
+
readonly outputs: readonly [{
|
|
605
|
+
readonly internalType: "uint256";
|
|
606
|
+
readonly name: "";
|
|
607
|
+
readonly type: "uint256";
|
|
608
|
+
}];
|
|
609
|
+
readonly stateMutability: "view";
|
|
610
|
+
readonly type: "function";
|
|
611
|
+
}, {
|
|
612
|
+
readonly inputs: readonly [{
|
|
613
|
+
readonly internalType: "address";
|
|
614
|
+
readonly name: "_base";
|
|
615
|
+
readonly type: "address";
|
|
616
|
+
}, {
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
readonly name: "_quote";
|
|
619
|
+
readonly type: "address";
|
|
620
|
+
}, {
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly name: "_period";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}];
|
|
625
|
+
readonly name: "setMinHeartbeat";
|
|
626
|
+
readonly outputs: readonly [];
|
|
627
|
+
readonly stateMutability: "nonpayable";
|
|
628
|
+
readonly type: "function";
|
|
629
|
+
}, {
|
|
630
|
+
readonly inputs: readonly [{
|
|
631
|
+
readonly internalType: "uint256";
|
|
632
|
+
readonly name: "";
|
|
633
|
+
readonly type: "uint256";
|
|
634
|
+
}];
|
|
635
|
+
readonly name: "strategyByIndex";
|
|
636
|
+
readonly outputs: readonly [{
|
|
637
|
+
readonly internalType: "address";
|
|
638
|
+
readonly name: "";
|
|
639
|
+
readonly type: "address";
|
|
640
|
+
}];
|
|
641
|
+
readonly stateMutability: "view";
|
|
642
|
+
readonly type: "function";
|
|
643
|
+
}, {
|
|
644
|
+
readonly inputs: readonly [{
|
|
645
|
+
readonly internalType: "address";
|
|
646
|
+
readonly name: "";
|
|
647
|
+
readonly type: "address";
|
|
648
|
+
}];
|
|
649
|
+
readonly name: "strategyByManager";
|
|
650
|
+
readonly outputs: readonly [{
|
|
651
|
+
readonly internalType: "address";
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly type: "address";
|
|
654
|
+
}];
|
|
655
|
+
readonly stateMutability: "view";
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
}, {
|
|
658
|
+
readonly inputs: readonly [];
|
|
659
|
+
readonly name: "strategyCreationFee";
|
|
660
|
+
readonly outputs: readonly [{
|
|
661
|
+
readonly internalType: "uint256";
|
|
662
|
+
readonly name: "";
|
|
663
|
+
readonly type: "uint256";
|
|
664
|
+
}];
|
|
665
|
+
readonly stateMutability: "view";
|
|
666
|
+
readonly type: "function";
|
|
667
|
+
}, {
|
|
668
|
+
readonly inputs: readonly [];
|
|
669
|
+
readonly name: "totalIndex";
|
|
670
|
+
readonly outputs: readonly [{
|
|
671
|
+
readonly internalType: "uint256";
|
|
672
|
+
readonly name: "";
|
|
673
|
+
readonly type: "uint256";
|
|
674
|
+
}];
|
|
675
|
+
readonly stateMutability: "view";
|
|
676
|
+
readonly type: "function";
|
|
677
|
+
}, {
|
|
678
|
+
readonly inputs: readonly [];
|
|
679
|
+
readonly name: "uniswapV3Factory";
|
|
680
|
+
readonly outputs: readonly [{
|
|
681
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
682
|
+
readonly name: "";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
}];
|
|
685
|
+
readonly stateMutability: "view";
|
|
686
|
+
readonly type: "function";
|
|
687
|
+
}];
|
|
688
|
+
static createInterface(): DefiEdgeFactoryInterface;
|
|
689
|
+
static connect(address: string, signerOrProvider: Signer | Provider): DefiEdgeFactory;
|
|
690
|
+
}
|