@merkl/contracts 0.1.55 → 0.1.57

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.
@@ -0,0 +1,372 @@
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: "_assimFactory",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "address",
15
+ name: "_config",
16
+ type: "address",
17
+ },
18
+ ],
19
+ stateMutability: "nonpayable",
20
+ type: "constructor",
21
+ },
22
+ {
23
+ anonymous: false,
24
+ inputs: [
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "caller",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: true,
33
+ internalType: "bytes32",
34
+ name: "id",
35
+ type: "bytes32",
36
+ },
37
+ {
38
+ indexed: true,
39
+ internalType: "address",
40
+ name: "curve",
41
+ type: "address",
42
+ },
43
+ ],
44
+ name: "NewCurve",
45
+ type: "event",
46
+ },
47
+ {
48
+ anonymous: false,
49
+ inputs: [
50
+ {
51
+ indexed: true,
52
+ internalType: "address",
53
+ name: "previousOwner",
54
+ type: "address",
55
+ },
56
+ {
57
+ indexed: true,
58
+ internalType: "address",
59
+ name: "newOwner",
60
+ type: "address",
61
+ },
62
+ ],
63
+ name: "OwnershipTransferred",
64
+ type: "event",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "assimilatorFactory",
69
+ outputs: [
70
+ {
71
+ internalType: "contract IAssimilatorFactory",
72
+ name: "",
73
+ type: "address",
74
+ },
75
+ ],
76
+ stateMutability: "view",
77
+ type: "function",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "config",
82
+ outputs: [
83
+ {
84
+ internalType: "contract IConfig",
85
+ name: "",
86
+ type: "address",
87
+ },
88
+ ],
89
+ stateMutability: "view",
90
+ type: "function",
91
+ },
92
+ {
93
+ inputs: [
94
+ {
95
+ internalType: "bytes32",
96
+ name: "",
97
+ type: "bytes32",
98
+ },
99
+ ],
100
+ name: "curves",
101
+ outputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "",
105
+ type: "address",
106
+ },
107
+ ],
108
+ stateMutability: "view",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "_baseCurrency",
116
+ type: "address",
117
+ },
118
+ {
119
+ internalType: "address",
120
+ name: "_quoteCurrency",
121
+ type: "address",
122
+ },
123
+ ],
124
+ name: "getCurve",
125
+ outputs: [
126
+ {
127
+ internalType: "address",
128
+ name: "",
129
+ type: "address",
130
+ },
131
+ ],
132
+ stateMutability: "view",
133
+ type: "function",
134
+ },
135
+ {
136
+ inputs: [],
137
+ name: "getFlashableState",
138
+ outputs: [
139
+ {
140
+ internalType: "bool",
141
+ name: "",
142
+ type: "bool",
143
+ },
144
+ ],
145
+ stateMutability: "view",
146
+ type: "function",
147
+ },
148
+ {
149
+ inputs: [],
150
+ name: "getGlobalFrozenState",
151
+ outputs: [
152
+ {
153
+ internalType: "bool",
154
+ name: "",
155
+ type: "bool",
156
+ },
157
+ ],
158
+ stateMutability: "view",
159
+ type: "function",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "pool",
166
+ type: "address",
167
+ },
168
+ ],
169
+ name: "getPoolCap",
170
+ outputs: [
171
+ {
172
+ internalType: "uint256",
173
+ name: "",
174
+ type: "uint256",
175
+ },
176
+ ],
177
+ stateMutability: "view",
178
+ type: "function",
179
+ },
180
+ {
181
+ inputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "pool",
185
+ type: "address",
186
+ },
187
+ ],
188
+ name: "getPoolGuardAmount",
189
+ outputs: [
190
+ {
191
+ internalType: "uint256",
192
+ name: "",
193
+ type: "uint256",
194
+ },
195
+ ],
196
+ stateMutability: "view",
197
+ type: "function",
198
+ },
199
+ {
200
+ inputs: [],
201
+ name: "getProtocolFee",
202
+ outputs: [
203
+ {
204
+ internalType: "int128",
205
+ name: "",
206
+ type: "int128",
207
+ },
208
+ ],
209
+ stateMutability: "view",
210
+ type: "function",
211
+ },
212
+ {
213
+ inputs: [],
214
+ name: "getProtocolTreasury",
215
+ outputs: [
216
+ {
217
+ internalType: "address",
218
+ name: "",
219
+ type: "address",
220
+ },
221
+ ],
222
+ stateMutability: "view",
223
+ type: "function",
224
+ },
225
+ {
226
+ inputs: [
227
+ {
228
+ internalType: "address",
229
+ name: "pool",
230
+ type: "address",
231
+ },
232
+ ],
233
+ name: "isPoolGuarded",
234
+ outputs: [
235
+ {
236
+ internalType: "bool",
237
+ name: "",
238
+ type: "bool",
239
+ },
240
+ ],
241
+ stateMutability: "view",
242
+ type: "function",
243
+ },
244
+ {
245
+ inputs: [
246
+ {
247
+ components: [
248
+ {
249
+ internalType: "string",
250
+ name: "_name",
251
+ type: "string",
252
+ },
253
+ {
254
+ internalType: "string",
255
+ name: "_symbol",
256
+ type: "string",
257
+ },
258
+ {
259
+ internalType: "address",
260
+ name: "_baseCurrency",
261
+ type: "address",
262
+ },
263
+ {
264
+ internalType: "address",
265
+ name: "_quoteCurrency",
266
+ type: "address",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "_baseWeight",
271
+ type: "uint256",
272
+ },
273
+ {
274
+ internalType: "uint256",
275
+ name: "_quoteWeight",
276
+ type: "uint256",
277
+ },
278
+ {
279
+ internalType: "contract IOracle",
280
+ name: "_baseOracle",
281
+ type: "address",
282
+ },
283
+ {
284
+ internalType: "contract IOracle",
285
+ name: "_quoteOracle",
286
+ type: "address",
287
+ },
288
+ {
289
+ internalType: "uint256",
290
+ name: "_alpha",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ internalType: "uint256",
295
+ name: "_beta",
296
+ type: "uint256",
297
+ },
298
+ {
299
+ internalType: "uint256",
300
+ name: "_feeAtHalt",
301
+ type: "uint256",
302
+ },
303
+ {
304
+ internalType: "uint256",
305
+ name: "_epsilon",
306
+ type: "uint256",
307
+ },
308
+ {
309
+ internalType: "uint256",
310
+ name: "_lambda",
311
+ type: "uint256",
312
+ },
313
+ ],
314
+ internalType: "struct CurveInfo",
315
+ name: "_info",
316
+ type: "tuple",
317
+ },
318
+ ],
319
+ name: "newCurve",
320
+ outputs: [
321
+ {
322
+ internalType: "contract Curve",
323
+ name: "",
324
+ type: "address",
325
+ },
326
+ ],
327
+ stateMutability: "nonpayable",
328
+ type: "function",
329
+ },
330
+ {
331
+ inputs: [],
332
+ name: "owner",
333
+ outputs: [
334
+ {
335
+ internalType: "address",
336
+ name: "",
337
+ type: "address",
338
+ },
339
+ ],
340
+ stateMutability: "view",
341
+ type: "function",
342
+ },
343
+ {
344
+ inputs: [],
345
+ name: "renounceOwnership",
346
+ outputs: [],
347
+ stateMutability: "nonpayable",
348
+ type: "function",
349
+ },
350
+ {
351
+ inputs: [
352
+ {
353
+ internalType: "address",
354
+ name: "newOwner",
355
+ type: "address",
356
+ },
357
+ ],
358
+ name: "transferOwnership",
359
+ outputs: [],
360
+ stateMutability: "nonpayable",
361
+ type: "function",
362
+ },
363
+ ];
364
+ export class StabullCurveFactory__factory {
365
+ static abi = _abi;
366
+ static createInterface() {
367
+ return new utils.Interface(_abi);
368
+ }
369
+ static connect(address, signerOrProvider) {
370
+ return new Contract(address, _abi, signerOrProvider);
371
+ }
372
+ }
@@ -248,6 +248,7 @@ export { SpectraPT__factory } from "./SpectraPT__factory";
248
248
  export { SpectraYT__factory } from "./SpectraYT__factory";
249
249
  export { StabilityVault__factory } from "./StabilityVault__factory";
250
250
  export { StableMasterFront__factory } from "./StableMasterFront__factory";
251
+ export { StabullCurveFactory__factory } from "./StabullCurveFactory__factory";
251
252
  export { StakeDAOCurveVault__factory } from "./StakeDAOCurveVault__factory";
252
253
  export { StakeDAOCurveVaultFactory__factory } from "./StakeDAOCurveVaultFactory__factory";
253
254
  export { StakingRewards__factory } from "./StakingRewards__factory";
@@ -251,6 +251,7 @@ export { SpectraPT__factory } from "./SpectraPT__factory";
251
251
  export { SpectraYT__factory } from "./SpectraYT__factory";
252
252
  export { StabilityVault__factory } from "./StabilityVault__factory";
253
253
  export { StableMasterFront__factory } from "./StableMasterFront__factory";
254
+ export { StabullCurveFactory__factory } from "./StabullCurveFactory__factory";
254
255
  export { StakeDAOCurveVault__factory } from "./StakeDAOCurveVault__factory";
255
256
  export { StakeDAOCurveVaultFactory__factory } from "./StakeDAOCurveVaultFactory__factory";
256
257
  export { StakingRewards__factory } from "./StakingRewards__factory";
@@ -124,6 +124,7 @@ export type { AngleRouter } from "./AngleRouter";
124
124
  export type { Rfx } from "./Rfx";
125
125
  export type { UniswapV4PositionManager } from "./UniswapV4PositionManager";
126
126
  export type { MultiStakerCurveBPAMO } from "./MultiStakerCurveBPAMO";
127
+ export type { StabullCurveFactory } from "./StabullCurveFactory";
127
128
  export type { BondingCurve } from "./BondingCurve";
128
129
  export type { CoreBorrow } from "./CoreBorrow";
129
130
  export type { AragornEscrow } from "./AragornEscrow";
@@ -362,6 +363,7 @@ export declare const CurveInterface: import("./Curve").CurveInterface;
362
363
  export declare const HourglassVedaLockDepositorV2Interface: import("./HourglassVedaLockDepositorV2").HourglassVedaLockDepositorV2Interface;
363
364
  export declare const VePufferInterface: import("./VePuffer").VePufferInterface;
364
365
  export declare const AmbientKnockoutCounterInterface: import("./AmbientKnockoutCounter").AmbientKnockoutCounterInterface;
366
+ export declare const StabullCurveFactoryInterface: import("./StabullCurveFactory").StabullCurveFactoryInterface;
365
367
  export declare const PendleSYFactoryInterface: import("./PendleSYFactory").PendleSYFactoryInterface;
366
368
  export declare const UniswapV3SingleTickLiquidityHandlerInterface: import("./UniswapV3SingleTickLiquidityHandler").UniswapV3SingleTickLiquidityHandlerInterface;
367
369
  export declare const LPManagerHelperInterface: import("./LPManagerHelper").LPManagerHelperInterface;
package/dist/src/index.js CHANGED
@@ -101,6 +101,8 @@ import { VePuffer__factory } from "./factories/VePuffer__factory";
101
101
  export const VePufferInterface = VePuffer__factory.createInterface();
102
102
  import { AmbientKnockoutCounter__factory } from "./factories/AmbientKnockoutCounter__factory";
103
103
  export const AmbientKnockoutCounterInterface = AmbientKnockoutCounter__factory.createInterface();
104
+ import { StabullCurveFactory__factory } from "./factories/StabullCurveFactory__factory";
105
+ export const StabullCurveFactoryInterface = StabullCurveFactory__factory.createInterface();
104
106
  import { PendleSYFactory__factory } from "./factories/PendleSYFactory__factory";
105
107
  export const PendleSYFactoryInterface = PendleSYFactory__factory.createInterface();
106
108
  import { UniswapV3SingleTickLiquidityHandler__factory } from "./factories/UniswapV3SingleTickLiquidityHandler__factory";