@gearbox-protocol/sdk 3.0.0-next.37 → 3.0.0-next.39
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/contracts/index.sol +3 -1
- package/lib/core/creditManager.d.ts +1 -3
- package/lib/core/creditManager.js +2 -10
- package/lib/core/gauge.d.ts +11 -1
- package/lib/core/gauge.js +24 -1
- package/lib/core/pool.d.ts +3 -0
- package/lib/core/pool.js +11 -0
- package/lib/core/transactions.d.ts +23 -3
- package/lib/core/transactions.js +73 -100
- package/lib/payload/gauge.d.ts +8 -1
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +385 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
- package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/IGearStakingV3.sol/index.js +2 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +113 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +152 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +457 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +600 -0
- package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
- package/lib/types/factories/index.d.ts +1 -0
- package/lib/types/factories/index.js +3 -2
- package/lib/types/index.d.ts +6 -0
- package/lib/types/index.js +5 -1
- package/package.json +4 -4
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IGearStakingV3__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "user",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "to",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "amount",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "ClaimGearWithdrawal",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "user",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "amount",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "DepositGear",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "user",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "successor",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "amount",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "MigrateGear",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
anonymous: false,
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
indexed: true,
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "user",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
indexed: false,
|
|
89
|
+
internalType: "uint256",
|
|
90
|
+
name: "amount",
|
|
91
|
+
type: "uint256",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
name: "ScheduleGearWithdrawal",
|
|
95
|
+
type: "event",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
anonymous: false,
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
indexed: true,
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "migrator",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "SetMigrator",
|
|
108
|
+
type: "event",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
anonymous: false,
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
indexed: true,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "successor",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "SetSuccessor",
|
|
121
|
+
type: "event",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
anonymous: false,
|
|
125
|
+
inputs: [
|
|
126
|
+
{
|
|
127
|
+
indexed: true,
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "votingContract",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
indexed: false,
|
|
134
|
+
internalType: "enum VotingContractStatus",
|
|
135
|
+
name: "status",
|
|
136
|
+
type: "uint8",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
name: "SetVotingContractStatus",
|
|
140
|
+
type: "event",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
inputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "allowedVotingContract",
|
|
151
|
+
outputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "enum VotingContractStatus",
|
|
154
|
+
name: "",
|
|
155
|
+
type: "uint8",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
stateMutability: "view",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "user",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "availableBalance",
|
|
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: "user",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
name: "balanceOf",
|
|
189
|
+
outputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "uint256",
|
|
192
|
+
name: "",
|
|
193
|
+
type: "uint256",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
stateMutability: "view",
|
|
197
|
+
type: "function",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
inputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "address",
|
|
203
|
+
name: "to",
|
|
204
|
+
type: "address",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
name: "claimWithdrawals",
|
|
208
|
+
outputs: [],
|
|
209
|
+
stateMutability: "nonpayable",
|
|
210
|
+
type: "function",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
inputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "uint96",
|
|
216
|
+
name: "amount",
|
|
217
|
+
type: "uint96",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
components: [
|
|
221
|
+
{
|
|
222
|
+
internalType: "address",
|
|
223
|
+
name: "votingContract",
|
|
224
|
+
type: "address",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
internalType: "uint96",
|
|
228
|
+
name: "voteAmount",
|
|
229
|
+
type: "uint96",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
internalType: "bool",
|
|
233
|
+
name: "isIncrease",
|
|
234
|
+
type: "bool",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
internalType: "bytes",
|
|
238
|
+
name: "extraData",
|
|
239
|
+
type: "bytes",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
internalType: "struct MultiVote[]",
|
|
243
|
+
name: "votes",
|
|
244
|
+
type: "tuple[]",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
name: "deposit",
|
|
248
|
+
outputs: [],
|
|
249
|
+
stateMutability: "nonpayable",
|
|
250
|
+
type: "function",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
internalType: "uint96",
|
|
256
|
+
name: "amount",
|
|
257
|
+
type: "uint96",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
internalType: "address",
|
|
261
|
+
name: "onBehalfOf",
|
|
262
|
+
type: "address",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
components: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "votingContract",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
internalType: "uint96",
|
|
273
|
+
name: "voteAmount",
|
|
274
|
+
type: "uint96",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
internalType: "bool",
|
|
278
|
+
name: "isIncrease",
|
|
279
|
+
type: "bool",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
internalType: "bytes",
|
|
283
|
+
name: "extraData",
|
|
284
|
+
type: "bytes",
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
internalType: "struct MultiVote[]",
|
|
288
|
+
name: "votes",
|
|
289
|
+
type: "tuple[]",
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
name: "depositOnMigration",
|
|
293
|
+
outputs: [],
|
|
294
|
+
stateMutability: "nonpayable",
|
|
295
|
+
type: "function",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
inputs: [],
|
|
299
|
+
name: "firstEpochTimestamp",
|
|
300
|
+
outputs: [
|
|
301
|
+
{
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
stateMutability: "view",
|
|
308
|
+
type: "function",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
inputs: [],
|
|
312
|
+
name: "gear",
|
|
313
|
+
outputs: [
|
|
314
|
+
{
|
|
315
|
+
internalType: "address",
|
|
316
|
+
name: "",
|
|
317
|
+
type: "address",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
stateMutability: "view",
|
|
321
|
+
type: "function",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [],
|
|
325
|
+
name: "getCurrentEpoch",
|
|
326
|
+
outputs: [
|
|
327
|
+
{
|
|
328
|
+
internalType: "uint16",
|
|
329
|
+
name: "",
|
|
330
|
+
type: "uint16",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
stateMutability: "view",
|
|
334
|
+
type: "function",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [
|
|
338
|
+
{
|
|
339
|
+
internalType: "address",
|
|
340
|
+
name: "user",
|
|
341
|
+
type: "address",
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
name: "getWithdrawableAmounts",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "uint256",
|
|
348
|
+
name: "withdrawableNow",
|
|
349
|
+
type: "uint256",
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
internalType: "uint256[4]",
|
|
353
|
+
name: "withdrawableInEpochs",
|
|
354
|
+
type: "uint256[4]",
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
stateMutability: "view",
|
|
358
|
+
type: "function",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
inputs: [
|
|
362
|
+
{
|
|
363
|
+
internalType: "uint96",
|
|
364
|
+
name: "amount",
|
|
365
|
+
type: "uint96",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
components: [
|
|
369
|
+
{
|
|
370
|
+
internalType: "address",
|
|
371
|
+
name: "votingContract",
|
|
372
|
+
type: "address",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
internalType: "uint96",
|
|
376
|
+
name: "voteAmount",
|
|
377
|
+
type: "uint96",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
internalType: "bool",
|
|
381
|
+
name: "isIncrease",
|
|
382
|
+
type: "bool",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
internalType: "bytes",
|
|
386
|
+
name: "extraData",
|
|
387
|
+
type: "bytes",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
internalType: "struct MultiVote[]",
|
|
391
|
+
name: "votesBefore",
|
|
392
|
+
type: "tuple[]",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
components: [
|
|
396
|
+
{
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "votingContract",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
internalType: "uint96",
|
|
403
|
+
name: "voteAmount",
|
|
404
|
+
type: "uint96",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
internalType: "bool",
|
|
408
|
+
name: "isIncrease",
|
|
409
|
+
type: "bool",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
internalType: "bytes",
|
|
413
|
+
name: "extraData",
|
|
414
|
+
type: "bytes",
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
internalType: "struct MultiVote[]",
|
|
418
|
+
name: "votesAfter",
|
|
419
|
+
type: "tuple[]",
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
name: "migrate",
|
|
423
|
+
outputs: [],
|
|
424
|
+
stateMutability: "nonpayable",
|
|
425
|
+
type: "function",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
inputs: [],
|
|
429
|
+
name: "migrator",
|
|
430
|
+
outputs: [
|
|
431
|
+
{
|
|
432
|
+
internalType: "address",
|
|
433
|
+
name: "",
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
stateMutability: "view",
|
|
438
|
+
type: "function",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
inputs: [
|
|
442
|
+
{
|
|
443
|
+
components: [
|
|
444
|
+
{
|
|
445
|
+
internalType: "address",
|
|
446
|
+
name: "votingContract",
|
|
447
|
+
type: "address",
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
internalType: "uint96",
|
|
451
|
+
name: "voteAmount",
|
|
452
|
+
type: "uint96",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
internalType: "bool",
|
|
456
|
+
name: "isIncrease",
|
|
457
|
+
type: "bool",
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
internalType: "bytes",
|
|
461
|
+
name: "extraData",
|
|
462
|
+
type: "bytes",
|
|
463
|
+
},
|
|
464
|
+
],
|
|
465
|
+
internalType: "struct MultiVote[]",
|
|
466
|
+
name: "votes",
|
|
467
|
+
type: "tuple[]",
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
name: "multivote",
|
|
471
|
+
outputs: [],
|
|
472
|
+
stateMutability: "nonpayable",
|
|
473
|
+
type: "function",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
inputs: [
|
|
477
|
+
{
|
|
478
|
+
internalType: "address",
|
|
479
|
+
name: "newMigrator",
|
|
480
|
+
type: "address",
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
name: "setMigrator",
|
|
484
|
+
outputs: [],
|
|
485
|
+
stateMutability: "nonpayable",
|
|
486
|
+
type: "function",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
inputs: [
|
|
490
|
+
{
|
|
491
|
+
internalType: "address",
|
|
492
|
+
name: "newSuccessor",
|
|
493
|
+
type: "address",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
name: "setSuccessor",
|
|
497
|
+
outputs: [],
|
|
498
|
+
stateMutability: "nonpayable",
|
|
499
|
+
type: "function",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
inputs: [
|
|
503
|
+
{
|
|
504
|
+
internalType: "address",
|
|
505
|
+
name: "votingContract",
|
|
506
|
+
type: "address",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
internalType: "enum VotingContractStatus",
|
|
510
|
+
name: "status",
|
|
511
|
+
type: "uint8",
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
name: "setVotingContractStatus",
|
|
515
|
+
outputs: [],
|
|
516
|
+
stateMutability: "nonpayable",
|
|
517
|
+
type: "function",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
inputs: [],
|
|
521
|
+
name: "successor",
|
|
522
|
+
outputs: [
|
|
523
|
+
{
|
|
524
|
+
internalType: "address",
|
|
525
|
+
name: "",
|
|
526
|
+
type: "address",
|
|
527
|
+
},
|
|
528
|
+
],
|
|
529
|
+
stateMutability: "view",
|
|
530
|
+
type: "function",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
inputs: [],
|
|
534
|
+
name: "version",
|
|
535
|
+
outputs: [
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
name: "",
|
|
539
|
+
type: "uint256",
|
|
540
|
+
},
|
|
541
|
+
],
|
|
542
|
+
stateMutability: "view",
|
|
543
|
+
type: "function",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
inputs: [
|
|
547
|
+
{
|
|
548
|
+
internalType: "uint96",
|
|
549
|
+
name: "amount",
|
|
550
|
+
type: "uint96",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
internalType: "address",
|
|
554
|
+
name: "to",
|
|
555
|
+
type: "address",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
components: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "address",
|
|
561
|
+
name: "votingContract",
|
|
562
|
+
type: "address",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
internalType: "uint96",
|
|
566
|
+
name: "voteAmount",
|
|
567
|
+
type: "uint96",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
internalType: "bool",
|
|
571
|
+
name: "isIncrease",
|
|
572
|
+
type: "bool",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
internalType: "bytes",
|
|
576
|
+
name: "extraData",
|
|
577
|
+
type: "bytes",
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
internalType: "struct MultiVote[]",
|
|
581
|
+
name: "votes",
|
|
582
|
+
type: "tuple[]",
|
|
583
|
+
},
|
|
584
|
+
],
|
|
585
|
+
name: "withdraw",
|
|
586
|
+
outputs: [],
|
|
587
|
+
stateMutability: "nonpayable",
|
|
588
|
+
type: "function",
|
|
589
|
+
},
|
|
590
|
+
];
|
|
591
|
+
class IGearStakingV3__factory {
|
|
592
|
+
static abi = _abi;
|
|
593
|
+
static createInterface() {
|
|
594
|
+
return new ethers_1.utils.Interface(_abi);
|
|
595
|
+
}
|
|
596
|
+
static connect(address, signerOrProvider) {
|
|
597
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
exports.IGearStakingV3__factory = IGearStakingV3__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IGearStakingV3__factory_1 = require("./IGearStakingV3__factory");
|
|
8
|
+
Object.defineProperty(exports, "IGearStakingV3__factory", { enumerable: true, get: function () { return IGearStakingV3__factory_1.IGearStakingV3__factory; } });
|
|
9
|
+
var IGearStakingV3Events__factory_1 = require("./IGearStakingV3Events__factory");
|
|
10
|
+
Object.defineProperty(exports, "IGearStakingV3Events__factory", { enumerable: true, get: function () { return IGearStakingV3Events__factory_1.IGearStakingV3Events__factory; } });
|
|
@@ -13,6 +13,7 @@ export * as iCurvePool2Sol from "./ICurvePool_2.sol";
|
|
|
13
13
|
export * as iCurvePool3Sol from "./ICurvePool_3.sol";
|
|
14
14
|
export * as iCurvePool4Sol from "./ICurvePool_4.sol";
|
|
15
15
|
export * as iDegenDistributorSol from "./IDegenDistributor.sol";
|
|
16
|
+
export * as iGearStakingV3Sol from "./IGearStakingV3.sol";
|
|
16
17
|
export * as iPoolServiceSol from "./IPoolService.sol";
|
|
17
18
|
export * as iPoolV3Sol from "./IPoolV3.sol";
|
|
18
19
|
export * as iUniswapV2AdapterSol from "./IUniswapV2Adapter.sol";
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHZapper__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IWERC20Zapper__factory = exports.IVersion__factory = exports.IPriceOracleBase__factory = void 0;
|
|
26
|
+
exports.IOffchainOracle__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IERC4626__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurveV1Adapter__factory = exports.ICurvePool__factory = exports.ICreditFacadeV3Multicall__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IConvexToken__factory = exports.IBaseRewardPool__factory = exports.IAdapter__factory = exports.Errors__factory = exports.Claimable__factory = exports.AddressProvider__factory = exports.interfaces = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = exports.iWithdrawalManagerV3Sol = exports.iUniswapV3AdapterSol = exports.iUniswapV3Sol = exports.iUniswapV2AdapterSol = exports.iPoolV3Sol = exports.iPoolServiceSol = exports.iGearStakingV3Sol = exports.iDegenDistributorSol = exports.iCurvePool4Sol = exports.iCurvePool3Sol = exports.iCurvePool2Sol = exports.iCreditManagerV3Sol = exports.iCreditManagerV2Sol = exports.iCreditFacadeV3Sol = exports.iCreditFacadeV2Sol = exports.iCreditConfiguratorV3Sol = exports.iCreditConfiguratorV2Sol = exports.iConvexV1BoosterAdapterSol = exports.iAirdropDistributorSol = exports.iAddressProviderV3Sol = exports.iAddressProviderSol = exports.balancesSol = void 0;
|
|
27
|
+
exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHZapper__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IWERC20Zapper__factory = exports.IVersion__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = void 0;
|
|
28
28
|
/* Autogenerated file. Do not edit manually. */
|
|
29
29
|
/* tslint:disable */
|
|
30
30
|
/* eslint-disable */
|
|
@@ -43,6 +43,7 @@ exports.iCurvePool2Sol = __importStar(require("./ICurvePool_2.sol"));
|
|
|
43
43
|
exports.iCurvePool3Sol = __importStar(require("./ICurvePool_3.sol"));
|
|
44
44
|
exports.iCurvePool4Sol = __importStar(require("./ICurvePool_4.sol"));
|
|
45
45
|
exports.iDegenDistributorSol = __importStar(require("./IDegenDistributor.sol"));
|
|
46
|
+
exports.iGearStakingV3Sol = __importStar(require("./IGearStakingV3.sol"));
|
|
46
47
|
exports.iPoolServiceSol = __importStar(require("./IPoolService.sol"));
|
|
47
48
|
exports.iPoolV3Sol = __importStar(require("./IPoolV3.sol"));
|
|
48
49
|
exports.iUniswapV2AdapterSol = __importStar(require("./IUniswapV2Adapter.sol"));
|
package/lib/types/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ import type * as iCurvePool4Sol from "./ICurvePool_4.sol";
|
|
|
28
28
|
export type { iCurvePool4Sol };
|
|
29
29
|
import type * as iDegenDistributorSol from "./IDegenDistributor.sol";
|
|
30
30
|
export type { iDegenDistributorSol };
|
|
31
|
+
import type * as iGearStakingV3Sol from "./IGearStakingV3.sol";
|
|
32
|
+
export type { iGearStakingV3Sol };
|
|
31
33
|
import type * as iPoolServiceSol from "./IPoolService.sol";
|
|
32
34
|
export type { iPoolServiceSol };
|
|
33
35
|
import type * as iPoolV3Sol from "./IPoolV3.sol";
|
|
@@ -169,6 +171,10 @@ export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
|
169
171
|
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
170
172
|
export { IERC4626__factory } from "./factories/IERC4626__factory";
|
|
171
173
|
export { IGasPricer__factory } from "./factories/IGasPricer__factory";
|
|
174
|
+
export type { IGearStakingV3 } from "./IGearStakingV3.sol/IGearStakingV3";
|
|
175
|
+
export { IGearStakingV3__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3__factory";
|
|
176
|
+
export type { IGearStakingV3Events } from "./IGearStakingV3.sol/IGearStakingV3Events";
|
|
177
|
+
export { IGearStakingV3Events__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3Events__factory";
|
|
172
178
|
export { IInterestRateModel__factory } from "./factories/IInterestRateModel__factory";
|
|
173
179
|
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
174
180
|
export type { IRouter } from "./interfaces/IRouter";
|
package/lib/types/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IDegenDistributorEvents__factory = exports.IDegenDistributor__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1Adapter__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurvePool__factory = exports.ICurvePool4Assets__factory = exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.ICreditManagerV3Events__factory = exports.ICreditManagerV3__factory = exports.ICreditManagerV2Exceptions__factory = exports.ICreditManagerV2Events__factory = exports.ICreditManagerV2__factory = exports.ICreditFacadeV3Multicall__factory = exports.ICreditFacadeV3Events__factory = exports.ICreditFacadeV3__factory = exports.ICreditFacadeV2V2__factory = exports.ICreditFacadeV2Extended__factory = exports.ICreditFacadeV2Exceptions__factory = exports.ICreditFacadeV2Events__factory = exports.ICreditFacadeV2__factory = exports.ICreditConfiguratorV3Events__factory = exports.ICreditConfiguratorV3__factory = exports.ICreditConfiguratorV2Exceptions__factory = exports.ICreditConfiguratorV2Events__factory = exports.ICreditConfiguratorV2__factory = exports.IConvexV1BoosterAdapterEvents__factory = exports.IConvexV1BoosterAdapter__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IConvexToken__factory = exports.IBaseRewardPool__factory = exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = exports.IAddressProviderV3Events__factory = exports.IAddressProviderV3__factory = exports.IAddressProviderEvents__factory = exports.IAddressProvider__factory = exports.IAdapter__factory = exports.Errors__factory = exports.Claimable__factory = exports.BalanceOps__factory = exports.AddressProvider__factory = exports.factories = void 0;
|
|
27
|
-
exports.SafeERC20__factory = exports.Ownable__factory = exports.IZapper__factory = exports.IYVault__factory = exports.IYearnV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IWithdrawalManagerV3Events__factory = exports.IWithdrawalManagerV3__factory = exports.IWETHZapper__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IWERC20Zapper__factory = exports.IVersion__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3AdapterEvents__factory = exports.IUniswapV3Adapter__factory = exports.ISwapRouter__factory = exports.IUniswapV2AdapterExceptions__factory = exports.IUniswapV2AdapterEvents__factory = exports.IUniswapV2Adapter__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IPriceOracleBase__factory = exports.IPoolV3Events__factory = exports.IPoolV3__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.IRouter__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IERC4626__factory = exports.IERC20Permit__factory = void 0;
|
|
27
|
+
exports.SafeERC20__factory = exports.Ownable__factory = exports.IZapper__factory = exports.IYVault__factory = exports.IYearnV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IWithdrawalManagerV3Events__factory = exports.IWithdrawalManagerV3__factory = exports.IWETHZapper__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IWERC20Zapper__factory = exports.IVersion__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3AdapterEvents__factory = exports.IUniswapV3Adapter__factory = exports.ISwapRouter__factory = exports.IUniswapV2AdapterExceptions__factory = exports.IUniswapV2AdapterEvents__factory = exports.IUniswapV2Adapter__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IPriceOracleBase__factory = exports.IPoolV3Events__factory = exports.IPoolV3__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.IRouter__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = exports.IGasPricer__factory = exports.IERC4626__factory = exports.IERC20Permit__factory = void 0;
|
|
28
28
|
exports.factories = __importStar(require("./factories"));
|
|
29
29
|
var AddressProvider__factory_1 = require("./factories/AddressProvider__factory");
|
|
30
30
|
Object.defineProperty(exports, "AddressProvider__factory", { enumerable: true, get: function () { return AddressProvider__factory_1.AddressProvider__factory; } });
|
|
@@ -130,6 +130,10 @@ var IERC4626__factory_1 = require("./factories/IERC4626__factory");
|
|
|
130
130
|
Object.defineProperty(exports, "IERC4626__factory", { enumerable: true, get: function () { return IERC4626__factory_1.IERC4626__factory; } });
|
|
131
131
|
var IGasPricer__factory_1 = require("./factories/IGasPricer__factory");
|
|
132
132
|
Object.defineProperty(exports, "IGasPricer__factory", { enumerable: true, get: function () { return IGasPricer__factory_1.IGasPricer__factory; } });
|
|
133
|
+
var IGearStakingV3__factory_1 = require("./factories/IGearStakingV3.sol/IGearStakingV3__factory");
|
|
134
|
+
Object.defineProperty(exports, "IGearStakingV3__factory", { enumerable: true, get: function () { return IGearStakingV3__factory_1.IGearStakingV3__factory; } });
|
|
135
|
+
var IGearStakingV3Events__factory_1 = require("./factories/IGearStakingV3.sol/IGearStakingV3Events__factory");
|
|
136
|
+
Object.defineProperty(exports, "IGearStakingV3Events__factory", { enumerable: true, get: function () { return IGearStakingV3Events__factory_1.IGearStakingV3Events__factory; } });
|
|
133
137
|
var IInterestRateModel__factory_1 = require("./factories/IInterestRateModel__factory");
|
|
134
138
|
Object.defineProperty(exports, "IInterestRateModel__factory", { enumerable: true, get: function () { return IInterestRateModel__factory_1.IInterestRateModel__factory; } });
|
|
135
139
|
var ILidoV1Adapter__factory_1 = require("./factories/ILidoV1Adapter__factory");
|