@merkl/contracts 0.5.8 → 0.6.1
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/EulerEarnFactoryV2.d.ts +230 -0
- package/dist/src/EulerEarnFactoryV2.js +1 -0
- package/dist/src/factories/EulerEarnFactoryV2__factory.d.ts +304 -0
- package/dist/src/factories/EulerEarnFactoryV2__factory.js +398 -0
- package/dist/src/factories/index.d.ts +1 -0
- package/dist/src/factories/index.js +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Contract, utils } from "ethers";
|
|
5
|
+
const _abi = [
|
|
6
|
+
{
|
|
7
|
+
inputs: [
|
|
8
|
+
{
|
|
9
|
+
internalType: "address",
|
|
10
|
+
name: "_owner",
|
|
11
|
+
type: "address",
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "_evc",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
internalType: "address",
|
|
20
|
+
name: "_permit2",
|
|
21
|
+
type: "address",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "_perspective",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
stateMutability: "nonpayable",
|
|
30
|
+
type: "constructor",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
inputs: [],
|
|
34
|
+
name: "BadQuery",
|
|
35
|
+
type: "error",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [],
|
|
39
|
+
name: "ControllerDisabled",
|
|
40
|
+
type: "error",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: "EVC_InvalidAddress",
|
|
45
|
+
type: "error",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [],
|
|
49
|
+
name: "NotAuthorized",
|
|
50
|
+
type: "error",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "owner",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "OwnableInvalidOwner",
|
|
61
|
+
type: "error",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "account",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
name: "OwnableUnauthorizedAccount",
|
|
72
|
+
type: "error",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [],
|
|
76
|
+
name: "ZeroAddress",
|
|
77
|
+
type: "error",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
anonymous: false,
|
|
81
|
+
inputs: [
|
|
82
|
+
{
|
|
83
|
+
indexed: true,
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "eulerEarn",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
indexed: true,
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "caller",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
indexed: false,
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "initialOwner",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
indexed: false,
|
|
102
|
+
internalType: "uint256",
|
|
103
|
+
name: "initialTimelock",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
indexed: true,
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "asset",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
indexed: false,
|
|
114
|
+
internalType: "string",
|
|
115
|
+
name: "name",
|
|
116
|
+
type: "string",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
indexed: false,
|
|
120
|
+
internalType: "string",
|
|
121
|
+
name: "symbol",
|
|
122
|
+
type: "string",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
indexed: false,
|
|
126
|
+
internalType: "bytes32",
|
|
127
|
+
name: "salt",
|
|
128
|
+
type: "bytes32",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
name: "CreateEulerEarn",
|
|
132
|
+
type: "event",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
anonymous: false,
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
indexed: true,
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "previousOwner",
|
|
141
|
+
type: "address",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
indexed: true,
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "newOwner",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "OwnershipTransferred",
|
|
151
|
+
type: "event",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
anonymous: false,
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
indexed: false,
|
|
158
|
+
internalType: "address",
|
|
159
|
+
name: "",
|
|
160
|
+
type: "address",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "SetPerspective",
|
|
164
|
+
type: "event",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "EVC",
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
stateMutability: "view",
|
|
177
|
+
type: "function",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "address",
|
|
183
|
+
name: "initialOwner",
|
|
184
|
+
type: "address",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
internalType: "uint256",
|
|
188
|
+
name: "initialTimelock",
|
|
189
|
+
type: "uint256",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
internalType: "address",
|
|
193
|
+
name: "asset",
|
|
194
|
+
type: "address",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
internalType: "string",
|
|
198
|
+
name: "name",
|
|
199
|
+
type: "string",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
internalType: "string",
|
|
203
|
+
name: "symbol",
|
|
204
|
+
type: "string",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
internalType: "bytes32",
|
|
208
|
+
name: "salt",
|
|
209
|
+
type: "bytes32",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
name: "createEulerEarn",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "contract IEulerEarn",
|
|
216
|
+
name: "eulerEarn",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "nonpayable",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [],
|
|
225
|
+
name: "getVaultListLength",
|
|
226
|
+
outputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "uint256",
|
|
229
|
+
name: "",
|
|
230
|
+
type: "uint256",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [
|
|
238
|
+
{
|
|
239
|
+
internalType: "uint256",
|
|
240
|
+
name: "start",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
internalType: "uint256",
|
|
245
|
+
name: "end",
|
|
246
|
+
type: "uint256",
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
name: "getVaultListSlice",
|
|
250
|
+
outputs: [
|
|
251
|
+
{
|
|
252
|
+
internalType: "address[]",
|
|
253
|
+
name: "list",
|
|
254
|
+
type: "address[]",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
stateMutability: "view",
|
|
258
|
+
type: "function",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
inputs: [
|
|
262
|
+
{
|
|
263
|
+
internalType: "address",
|
|
264
|
+
name: "id",
|
|
265
|
+
type: "address",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
name: "isStrategyAllowed",
|
|
269
|
+
outputs: [
|
|
270
|
+
{
|
|
271
|
+
internalType: "bool",
|
|
272
|
+
name: "",
|
|
273
|
+
type: "bool",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
stateMutability: "view",
|
|
277
|
+
type: "function",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
inputs: [
|
|
281
|
+
{
|
|
282
|
+
internalType: "address",
|
|
283
|
+
name: "",
|
|
284
|
+
type: "address",
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
name: "isVault",
|
|
288
|
+
outputs: [
|
|
289
|
+
{
|
|
290
|
+
internalType: "bool",
|
|
291
|
+
name: "",
|
|
292
|
+
type: "bool",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
stateMutability: "view",
|
|
296
|
+
type: "function",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
inputs: [],
|
|
300
|
+
name: "owner",
|
|
301
|
+
outputs: [
|
|
302
|
+
{
|
|
303
|
+
internalType: "address",
|
|
304
|
+
name: "",
|
|
305
|
+
type: "address",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
stateMutability: "view",
|
|
309
|
+
type: "function",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
inputs: [],
|
|
313
|
+
name: "permit2Address",
|
|
314
|
+
outputs: [
|
|
315
|
+
{
|
|
316
|
+
internalType: "address",
|
|
317
|
+
name: "",
|
|
318
|
+
type: "address",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
stateMutability: "view",
|
|
322
|
+
type: "function",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
inputs: [],
|
|
326
|
+
name: "renounceOwnership",
|
|
327
|
+
outputs: [],
|
|
328
|
+
stateMutability: "nonpayable",
|
|
329
|
+
type: "function",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
inputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "_perspective",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
name: "setPerspective",
|
|
340
|
+
outputs: [],
|
|
341
|
+
stateMutability: "nonpayable",
|
|
342
|
+
type: "function",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
inputs: [],
|
|
346
|
+
name: "supportedPerspective",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "address",
|
|
350
|
+
name: "",
|
|
351
|
+
type: "address",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "view",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "newOwner",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
name: "transferOwnership",
|
|
366
|
+
outputs: [],
|
|
367
|
+
stateMutability: "nonpayable",
|
|
368
|
+
type: "function",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
inputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "uint256",
|
|
374
|
+
name: "",
|
|
375
|
+
type: "uint256",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
name: "vaultList",
|
|
379
|
+
outputs: [
|
|
380
|
+
{
|
|
381
|
+
internalType: "address",
|
|
382
|
+
name: "",
|
|
383
|
+
type: "address",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
stateMutability: "view",
|
|
387
|
+
type: "function",
|
|
388
|
+
},
|
|
389
|
+
];
|
|
390
|
+
export class EulerEarnFactoryV2__factory {
|
|
391
|
+
static abi = _abi;
|
|
392
|
+
static createInterface() {
|
|
393
|
+
return new utils.Interface(_abi);
|
|
394
|
+
}
|
|
395
|
+
static connect(address, signerOrProvider) {
|
|
396
|
+
return new Contract(address, _abi, signerOrProvider);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
@@ -127,6 +127,7 @@ export { EquilibriaPendleBoosterMainchain__factory } from "./EquilibriaPendleBoo
|
|
|
127
127
|
export { Euler__factory } from "./Euler__factory";
|
|
128
128
|
export { EulerEVC__factory } from "./EulerEVC__factory";
|
|
129
129
|
export { EulerEarnFactory__factory } from "./EulerEarnFactory__factory";
|
|
130
|
+
export { EulerEarnFactoryV2__factory } from "./EulerEarnFactoryV2__factory";
|
|
130
131
|
export { EulerLiquidator__factory } from "./EulerLiquidator__factory";
|
|
131
132
|
export { EulerOracle__factory } from "./EulerOracle__factory";
|
|
132
133
|
export { EulerRouter__factory } from "./EulerRouter__factory";
|
|
@@ -130,6 +130,7 @@ export { EquilibriaPendleBoosterMainchain__factory } from "./EquilibriaPendleBoo
|
|
|
130
130
|
export { Euler__factory } from "./Euler__factory";
|
|
131
131
|
export { EulerEVC__factory } from "./EulerEVC__factory";
|
|
132
132
|
export { EulerEarnFactory__factory } from "./EulerEarnFactory__factory";
|
|
133
|
+
export { EulerEarnFactoryV2__factory } from "./EulerEarnFactoryV2__factory";
|
|
133
134
|
export { EulerLiquidator__factory } from "./EulerLiquidator__factory";
|
|
134
135
|
export { EulerOracle__factory } from "./EulerOracle__factory";
|
|
135
136
|
export { EulerRouter__factory } from "./EulerRouter__factory";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export type { GearBoxVault } from "./GearBoxVault";
|
|
|
22
22
|
export type { IroncladReliquary } from "./IroncladReliquary";
|
|
23
23
|
export type { AgTokenSideChainMultiBridge } from "./AgTokenSideChainMultiBridge";
|
|
24
24
|
export type { SiloGauge } from "./SiloGauge";
|
|
25
|
+
export type { EulerEarnFactoryV2 } from "./EulerEarnFactoryV2";
|
|
25
26
|
export type { CloberBookManager } from "./CloberBookManager";
|
|
26
27
|
export type { StakeDAOCurveVault } from "./StakeDAOCurveVault";
|
|
27
28
|
export type { ZFFARM } from "./ZFFARM";
|
|
@@ -486,6 +487,7 @@ export declare const EulerEarnFactoryInterface: import("./EulerEarnFactory").Eul
|
|
|
486
487
|
export declare const CloberPoolInterface: import("./CloberPool").CloberPoolInterface;
|
|
487
488
|
export declare const AaveStableDebtTokenInterface: import("./AaveStableDebtToken").AaveStableDebtTokenInterface;
|
|
488
489
|
export declare const TermAuctionBidLockerInterface: import("./TermAuctionBidLocker").TermAuctionBidLockerInterface;
|
|
490
|
+
export declare const EulerEarnFactoryV2Interface: import("./EulerEarnFactoryV2").EulerEarnFactoryV2Interface;
|
|
489
491
|
export declare const GovernorInterface: import("./Governor").GovernorInterface;
|
|
490
492
|
export declare const EigenLayerInterface: import("./EigenLayer").EigenLayerInterface;
|
|
491
493
|
export declare const WethInterface: import("./Weth").WethInterface;
|
package/dist/src/index.js
CHANGED
|
@@ -290,6 +290,8 @@ import { AaveStableDebtToken__factory } from "./factories/AaveStableDebtToken__f
|
|
|
290
290
|
export const AaveStableDebtTokenInterface = AaveStableDebtToken__factory.createInterface();
|
|
291
291
|
import { TermAuctionBidLocker__factory } from "./factories/TermAuctionBidLocker__factory";
|
|
292
292
|
export const TermAuctionBidLockerInterface = TermAuctionBidLocker__factory.createInterface();
|
|
293
|
+
import { EulerEarnFactoryV2__factory } from "./factories/EulerEarnFactoryV2__factory";
|
|
294
|
+
export const EulerEarnFactoryV2Interface = EulerEarnFactoryV2__factory.createInterface();
|
|
293
295
|
import { Governor__factory } from "./factories/Governor__factory";
|
|
294
296
|
export const GovernorInterface = Governor__factory.createInterface();
|
|
295
297
|
import { EigenLayer__factory } from "./factories/EigenLayer__factory";
|