@gearbox-protocol/sdk 3.0.0-next.51 → 3.0.0-next.52
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 +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
- package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/IGaugeV3.sol/index.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
- package/lib/types/IVotingContractV3.d.ts +74 -0
- package/lib/types/IVotingContractV3.js +2 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
- package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
- package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
- package/lib/types/factories/IVotingContractV3__factory.js +65 -0
- package/lib/types/factories/index.d.ts +3 -0
- package/lib/types/factories/index.js +6 -2
- package/lib/types/index.d.ts +14 -0
- package/lib/types/index.js +11 -1
- package/package.json +1 -1
|
@@ -0,0 +1,448 @@
|
|
|
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.IGaugeV3__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: "token",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "uint16",
|
|
21
|
+
name: "minRate",
|
|
22
|
+
type: "uint16",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "uint16",
|
|
27
|
+
name: "maxRate",
|
|
28
|
+
type: "uint16",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "AddQuotaToken",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "bool",
|
|
40
|
+
name: "status",
|
|
41
|
+
type: "bool",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "SetFrozenEpoch",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "token",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: false,
|
|
58
|
+
internalType: "uint16",
|
|
59
|
+
name: "minRate",
|
|
60
|
+
type: "uint16",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint16",
|
|
65
|
+
name: "maxRate",
|
|
66
|
+
type: "uint16",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "SetQuotaTokenParams",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
anonymous: false,
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
indexed: true,
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "user",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
indexed: true,
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "token",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
indexed: false,
|
|
89
|
+
internalType: "uint96",
|
|
90
|
+
name: "votes",
|
|
91
|
+
type: "uint96",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
indexed: false,
|
|
95
|
+
internalType: "bool",
|
|
96
|
+
name: "lpSide",
|
|
97
|
+
type: "bool",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "Unvote",
|
|
101
|
+
type: "event",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
anonymous: false,
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
indexed: false,
|
|
108
|
+
internalType: "uint16",
|
|
109
|
+
name: "epochNow",
|
|
110
|
+
type: "uint16",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "UpdateEpoch",
|
|
114
|
+
type: "event",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
anonymous: false,
|
|
118
|
+
inputs: [
|
|
119
|
+
{
|
|
120
|
+
indexed: true,
|
|
121
|
+
internalType: "address",
|
|
122
|
+
name: "user",
|
|
123
|
+
type: "address",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: true,
|
|
127
|
+
internalType: "address",
|
|
128
|
+
name: "token",
|
|
129
|
+
type: "address",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
indexed: false,
|
|
133
|
+
internalType: "uint96",
|
|
134
|
+
name: "votes",
|
|
135
|
+
type: "uint96",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "bool",
|
|
140
|
+
name: "lpSide",
|
|
141
|
+
type: "bool",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
name: "Vote",
|
|
145
|
+
type: "event",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [
|
|
149
|
+
{
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "token",
|
|
152
|
+
type: "address",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
internalType: "uint16",
|
|
156
|
+
name: "minRate",
|
|
157
|
+
type: "uint16",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "uint16",
|
|
161
|
+
name: "maxRate",
|
|
162
|
+
type: "uint16",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "addQuotaToken",
|
|
166
|
+
outputs: [],
|
|
167
|
+
stateMutability: "nonpayable",
|
|
168
|
+
type: "function",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
inputs: [
|
|
172
|
+
{
|
|
173
|
+
internalType: "address",
|
|
174
|
+
name: "token",
|
|
175
|
+
type: "address",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
internalType: "uint16",
|
|
179
|
+
name: "maxRate",
|
|
180
|
+
type: "uint16",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
name: "changeQuotaMaxRate",
|
|
184
|
+
outputs: [],
|
|
185
|
+
stateMutability: "nonpayable",
|
|
186
|
+
type: "function",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
internalType: "address",
|
|
192
|
+
name: "token",
|
|
193
|
+
type: "address",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
internalType: "uint16",
|
|
197
|
+
name: "minRate",
|
|
198
|
+
type: "uint16",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
name: "changeQuotaMinRate",
|
|
202
|
+
outputs: [],
|
|
203
|
+
stateMutability: "nonpayable",
|
|
204
|
+
type: "function",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [],
|
|
208
|
+
name: "epochFrozen",
|
|
209
|
+
outputs: [
|
|
210
|
+
{
|
|
211
|
+
internalType: "bool",
|
|
212
|
+
name: "",
|
|
213
|
+
type: "bool",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
stateMutability: "view",
|
|
217
|
+
type: "function",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
inputs: [],
|
|
221
|
+
name: "epochLastUpdate",
|
|
222
|
+
outputs: [
|
|
223
|
+
{
|
|
224
|
+
internalType: "uint16",
|
|
225
|
+
name: "",
|
|
226
|
+
type: "uint16",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
stateMutability: "view",
|
|
230
|
+
type: "function",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
internalType: "address[]",
|
|
236
|
+
name: "tokens",
|
|
237
|
+
type: "address[]",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
name: "getRates",
|
|
241
|
+
outputs: [
|
|
242
|
+
{
|
|
243
|
+
internalType: "uint16[]",
|
|
244
|
+
name: "rates",
|
|
245
|
+
type: "uint16[]",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
stateMutability: "view",
|
|
249
|
+
type: "function",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "token",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
name: "isTokenAdded",
|
|
260
|
+
outputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "bool",
|
|
263
|
+
name: "",
|
|
264
|
+
type: "bool",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
stateMutability: "view",
|
|
268
|
+
type: "function",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [],
|
|
272
|
+
name: "pool",
|
|
273
|
+
outputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
stateMutability: "view",
|
|
281
|
+
type: "function",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "address",
|
|
287
|
+
name: "token",
|
|
288
|
+
type: "address",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
name: "quotaRateParams",
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "uint16",
|
|
295
|
+
name: "minRate",
|
|
296
|
+
type: "uint16",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
internalType: "uint16",
|
|
300
|
+
name: "maxRate",
|
|
301
|
+
type: "uint16",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
internalType: "uint96",
|
|
305
|
+
name: "totalVotesLpSide",
|
|
306
|
+
type: "uint96",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
internalType: "uint96",
|
|
310
|
+
name: "totalVotesCaSide",
|
|
311
|
+
type: "uint96",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
stateMutability: "view",
|
|
315
|
+
type: "function",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "bool",
|
|
321
|
+
name: "status",
|
|
322
|
+
type: "bool",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
name: "setFrozenEpoch",
|
|
326
|
+
outputs: [],
|
|
327
|
+
stateMutability: "nonpayable",
|
|
328
|
+
type: "function",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
inputs: [
|
|
332
|
+
{
|
|
333
|
+
internalType: "address",
|
|
334
|
+
name: "user",
|
|
335
|
+
type: "address",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
internalType: "uint96",
|
|
339
|
+
name: "votes",
|
|
340
|
+
type: "uint96",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
internalType: "bytes",
|
|
344
|
+
name: "extraData",
|
|
345
|
+
type: "bytes",
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
name: "unvote",
|
|
349
|
+
outputs: [],
|
|
350
|
+
stateMutability: "nonpayable",
|
|
351
|
+
type: "function",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
inputs: [],
|
|
355
|
+
name: "updateEpoch",
|
|
356
|
+
outputs: [],
|
|
357
|
+
stateMutability: "nonpayable",
|
|
358
|
+
type: "function",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
inputs: [
|
|
362
|
+
{
|
|
363
|
+
internalType: "address",
|
|
364
|
+
name: "user",
|
|
365
|
+
type: "address",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "token",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
name: "userTokenVotes",
|
|
374
|
+
outputs: [
|
|
375
|
+
{
|
|
376
|
+
internalType: "uint96",
|
|
377
|
+
name: "votesLpSide",
|
|
378
|
+
type: "uint96",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
internalType: "uint96",
|
|
382
|
+
name: "votesCaSide",
|
|
383
|
+
type: "uint96",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
stateMutability: "view",
|
|
387
|
+
type: "function",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
inputs: [],
|
|
391
|
+
name: "version",
|
|
392
|
+
outputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
name: "",
|
|
396
|
+
type: "uint256",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
stateMutability: "view",
|
|
400
|
+
type: "function",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
inputs: [
|
|
404
|
+
{
|
|
405
|
+
internalType: "address",
|
|
406
|
+
name: "user",
|
|
407
|
+
type: "address",
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
internalType: "uint96",
|
|
411
|
+
name: "votes",
|
|
412
|
+
type: "uint96",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
internalType: "bytes",
|
|
416
|
+
name: "extraData",
|
|
417
|
+
type: "bytes",
|
|
418
|
+
},
|
|
419
|
+
],
|
|
420
|
+
name: "vote",
|
|
421
|
+
outputs: [],
|
|
422
|
+
stateMutability: "nonpayable",
|
|
423
|
+
type: "function",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
inputs: [],
|
|
427
|
+
name: "voter",
|
|
428
|
+
outputs: [
|
|
429
|
+
{
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "",
|
|
432
|
+
type: "address",
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
stateMutability: "view",
|
|
436
|
+
type: "function",
|
|
437
|
+
},
|
|
438
|
+
];
|
|
439
|
+
class IGaugeV3__factory {
|
|
440
|
+
static abi = _abi;
|
|
441
|
+
static createInterface() {
|
|
442
|
+
return new ethers_1.utils.Interface(_abi);
|
|
443
|
+
}
|
|
444
|
+
static connect(address, signerOrProvider) {
|
|
445
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
exports.IGaugeV3__factory = IGaugeV3__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IGaugeV3Events__factory = exports.IGaugeV3__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IGaugeV3__factory_1 = require("./IGaugeV3__factory");
|
|
8
|
+
Object.defineProperty(exports, "IGaugeV3__factory", { enumerable: true, get: function () { return IGaugeV3__factory_1.IGaugeV3__factory; } });
|
|
9
|
+
var IGaugeV3Events__factory_1 = require("./IGaugeV3Events__factory");
|
|
10
|
+
Object.defineProperty(exports, "IGaugeV3Events__factory", { enumerable: true, get: function () { return IGaugeV3Events__factory_1.IGaugeV3Events__factory; } });
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IPoolQuotaKeeperV3Events, IPoolQuotaKeeperV3EventsInterface } from "../../IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events";
|
|
4
|
+
export declare class IPoolQuotaKeeperV3Events__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly anonymous: false;
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly indexed: true;
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "creditManager";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "AddCreditManager";
|
|
14
|
+
readonly type: "event";
|
|
15
|
+
}, {
|
|
16
|
+
readonly anonymous: false;
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly indexed: true;
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly name: "token";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "AddQuotaToken";
|
|
24
|
+
readonly type: "event";
|
|
25
|
+
}, {
|
|
26
|
+
readonly anonymous: false;
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly indexed: true;
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
readonly name: "newGauge";
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}];
|
|
33
|
+
readonly name: "SetGauge";
|
|
34
|
+
readonly type: "event";
|
|
35
|
+
}, {
|
|
36
|
+
readonly anonymous: false;
|
|
37
|
+
readonly inputs: readonly [{
|
|
38
|
+
readonly indexed: true;
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
readonly name: "token";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
}, {
|
|
43
|
+
readonly indexed: false;
|
|
44
|
+
readonly internalType: "uint16";
|
|
45
|
+
readonly name: "fee";
|
|
46
|
+
readonly type: "uint16";
|
|
47
|
+
}];
|
|
48
|
+
readonly name: "SetQuotaIncreaseFee";
|
|
49
|
+
readonly type: "event";
|
|
50
|
+
}, {
|
|
51
|
+
readonly anonymous: false;
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly indexed: true;
|
|
54
|
+
readonly internalType: "address";
|
|
55
|
+
readonly name: "token";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
}, {
|
|
58
|
+
readonly indexed: false;
|
|
59
|
+
readonly internalType: "uint96";
|
|
60
|
+
readonly name: "limit";
|
|
61
|
+
readonly type: "uint96";
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "SetTokenLimit";
|
|
64
|
+
readonly type: "event";
|
|
65
|
+
}, {
|
|
66
|
+
readonly anonymous: false;
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly indexed: true;
|
|
69
|
+
readonly internalType: "address";
|
|
70
|
+
readonly name: "creditAccount";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}, {
|
|
73
|
+
readonly indexed: true;
|
|
74
|
+
readonly internalType: "address";
|
|
75
|
+
readonly name: "token";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
}, {
|
|
78
|
+
readonly indexed: false;
|
|
79
|
+
readonly internalType: "int96";
|
|
80
|
+
readonly name: "quotaChange";
|
|
81
|
+
readonly type: "int96";
|
|
82
|
+
}];
|
|
83
|
+
readonly name: "UpdateQuota";
|
|
84
|
+
readonly type: "event";
|
|
85
|
+
}, {
|
|
86
|
+
readonly anonymous: false;
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly indexed: true;
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
readonly name: "token";
|
|
91
|
+
readonly type: "address";
|
|
92
|
+
}, {
|
|
93
|
+
readonly indexed: false;
|
|
94
|
+
readonly internalType: "uint16";
|
|
95
|
+
readonly name: "rate";
|
|
96
|
+
readonly type: "uint16";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "UpdateTokenQuotaRate";
|
|
99
|
+
readonly type: "event";
|
|
100
|
+
}];
|
|
101
|
+
static createInterface(): IPoolQuotaKeeperV3EventsInterface;
|
|
102
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IPoolQuotaKeeperV3Events;
|
|
103
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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.IPoolQuotaKeeperV3Events__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: "creditManager",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
name: "AddCreditManager",
|
|
20
|
+
type: "event",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: true,
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "token",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "AddQuotaToken",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
anonymous: false,
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
indexed: true,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "newGauge",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
name: "SetGauge",
|
|
46
|
+
type: "event",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
anonymous: false,
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
indexed: true,
|
|
53
|
+
internalType: "address",
|
|
54
|
+
name: "token",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
indexed: false,
|
|
59
|
+
internalType: "uint16",
|
|
60
|
+
name: "fee",
|
|
61
|
+
type: "uint16",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
name: "SetQuotaIncreaseFee",
|
|
65
|
+
type: "event",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
anonymous: false,
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
indexed: true,
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "token",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
indexed: false,
|
|
78
|
+
internalType: "uint96",
|
|
79
|
+
name: "limit",
|
|
80
|
+
type: "uint96",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "SetTokenLimit",
|
|
84
|
+
type: "event",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
anonymous: false,
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
indexed: true,
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "creditAccount",
|
|
93
|
+
type: "address",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
indexed: true,
|
|
97
|
+
internalType: "address",
|
|
98
|
+
name: "token",
|
|
99
|
+
type: "address",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: false,
|
|
103
|
+
internalType: "int96",
|
|
104
|
+
name: "quotaChange",
|
|
105
|
+
type: "int96",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "UpdateQuota",
|
|
109
|
+
type: "event",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
anonymous: false,
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
indexed: true,
|
|
116
|
+
internalType: "address",
|
|
117
|
+
name: "token",
|
|
118
|
+
type: "address",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
indexed: false,
|
|
122
|
+
internalType: "uint16",
|
|
123
|
+
name: "rate",
|
|
124
|
+
type: "uint16",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "UpdateTokenQuotaRate",
|
|
128
|
+
type: "event",
|
|
129
|
+
},
|
|
130
|
+
];
|
|
131
|
+
class IPoolQuotaKeeperV3Events__factory {
|
|
132
|
+
static abi = _abi;
|
|
133
|
+
static createInterface() {
|
|
134
|
+
return new ethers_1.utils.Interface(_abi);
|
|
135
|
+
}
|
|
136
|
+
static connect(address, signerOrProvider) {
|
|
137
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.IPoolQuotaKeeperV3Events__factory = IPoolQuotaKeeperV3Events__factory;
|