@merkl/contracts 1.2.30 → 1.2.31
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/AddressGaugeVoter.d.ts +810 -0
- package/dist/src/AddressGaugeVoter.js +2 -0
- package/dist/src/AddressGaugeVoter.js.map +1 -0
- package/dist/src/EscrowIVotesAdapter.d.ts +682 -0
- package/dist/src/EscrowIVotesAdapter.js +2 -0
- package/dist/src/EscrowIVotesAdapter.js.map +1 -0
- package/dist/src/TokenGaugeVoter.d.ts +724 -0
- package/dist/src/TokenGaugeVoter.js +2 -0
- package/dist/src/TokenGaugeVoter.js.map +1 -0
- package/dist/src/VotingEscrowIncreasing.d.ts +683 -0
- package/dist/src/VotingEscrowIncreasing.js +2 -0
- package/dist/src/VotingEscrowIncreasing.js.map +1 -0
- package/dist/src/factories/AddressGaugeVoter__factory.d.ts +1040 -0
- package/dist/src/factories/AddressGaugeVoter__factory.js +1364 -0
- package/dist/src/factories/AddressGaugeVoter__factory.js.map +1 -0
- package/dist/src/factories/EscrowIVotesAdapter__factory.d.ts +890 -0
- package/dist/src/factories/EscrowIVotesAdapter__factory.js +1159 -0
- package/dist/src/factories/EscrowIVotesAdapter__factory.js.map +1 -0
- package/dist/src/factories/TokenGaugeVoter__factory.d.ts +941 -0
- package/dist/src/factories/TokenGaugeVoter__factory.js +1234 -0
- package/dist/src/factories/TokenGaugeVoter__factory.js.map +1 -0
- package/dist/src/factories/VotingEscrowIncreasing__factory.d.ts +815 -0
- package/dist/src/factories/VotingEscrowIncreasing__factory.js +1065 -0
- package/dist/src/factories/VotingEscrowIncreasing__factory.js.map +1 -0
- package/dist/src/factories/index.d.ts +4 -0
- package/dist/src/factories/index.js +4 -0
- package/dist/src/factories/index.js.map +1 -1
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +8 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1364 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { utils, Contract, ContractFactory } from "ethers";
|
|
5
|
+
const _abi = [
|
|
6
|
+
{
|
|
7
|
+
type: "constructor",
|
|
8
|
+
inputs: [],
|
|
9
|
+
stateMutability: "nonpayable",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
type: "function",
|
|
13
|
+
name: "GAUGE_ADMIN_ROLE",
|
|
14
|
+
inputs: [],
|
|
15
|
+
outputs: [
|
|
16
|
+
{
|
|
17
|
+
name: "",
|
|
18
|
+
type: "bytes32",
|
|
19
|
+
internalType: "bytes32",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
stateMutability: "view",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
type: "function",
|
|
26
|
+
name: "SET_TARGET_CONFIG_PERMISSION_ID",
|
|
27
|
+
inputs: [],
|
|
28
|
+
outputs: [
|
|
29
|
+
{
|
|
30
|
+
name: "",
|
|
31
|
+
type: "bytes32",
|
|
32
|
+
internalType: "bytes32",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
stateMutability: "view",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: "function",
|
|
39
|
+
name: "UPGRADE_PLUGIN_PERMISSION_ID",
|
|
40
|
+
inputs: [],
|
|
41
|
+
outputs: [
|
|
42
|
+
{
|
|
43
|
+
name: "",
|
|
44
|
+
type: "bytes32",
|
|
45
|
+
internalType: "bytes32",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
stateMutability: "view",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
type: "function",
|
|
52
|
+
name: "activateGauge",
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
name: "_gauge",
|
|
56
|
+
type: "address",
|
|
57
|
+
internalType: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
outputs: [],
|
|
61
|
+
stateMutability: "nonpayable",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
type: "function",
|
|
65
|
+
name: "clock",
|
|
66
|
+
inputs: [],
|
|
67
|
+
outputs: [
|
|
68
|
+
{
|
|
69
|
+
name: "",
|
|
70
|
+
type: "address",
|
|
71
|
+
internalType: "address",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
stateMutability: "view",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: "function",
|
|
78
|
+
name: "createGauge",
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
name: "_gauge",
|
|
82
|
+
type: "address",
|
|
83
|
+
internalType: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "_metadataURI",
|
|
87
|
+
type: "string",
|
|
88
|
+
internalType: "string",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
outputs: [
|
|
92
|
+
{
|
|
93
|
+
name: "gauge",
|
|
94
|
+
type: "address",
|
|
95
|
+
internalType: "address",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "nonpayable",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "function",
|
|
102
|
+
name: "currentEpochStart",
|
|
103
|
+
inputs: [],
|
|
104
|
+
outputs: [
|
|
105
|
+
{
|
|
106
|
+
name: "",
|
|
107
|
+
type: "uint256",
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: "function",
|
|
115
|
+
name: "dao",
|
|
116
|
+
inputs: [],
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
name: "",
|
|
120
|
+
type: "address",
|
|
121
|
+
internalType: "contract IDAO",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "view",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: "function",
|
|
128
|
+
name: "deactivateGauge",
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
name: "_gauge",
|
|
132
|
+
type: "address",
|
|
133
|
+
internalType: "address",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
outputs: [],
|
|
137
|
+
stateMutability: "nonpayable",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
type: "function",
|
|
141
|
+
name: "enableUpdateVotingPowerHook",
|
|
142
|
+
inputs: [],
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
name: "",
|
|
146
|
+
type: "bool",
|
|
147
|
+
internalType: "bool",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: "function",
|
|
154
|
+
name: "epochGaugeVotes",
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
name: "",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
internalType: "uint256",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "",
|
|
163
|
+
type: "address",
|
|
164
|
+
internalType: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
outputs: [
|
|
168
|
+
{
|
|
169
|
+
name: "",
|
|
170
|
+
type: "uint256",
|
|
171
|
+
internalType: "uint256",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
stateMutability: "view",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
type: "function",
|
|
178
|
+
name: "epochId",
|
|
179
|
+
inputs: [],
|
|
180
|
+
outputs: [
|
|
181
|
+
{
|
|
182
|
+
name: "",
|
|
183
|
+
type: "uint256",
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
stateMutability: "view",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
type: "function",
|
|
191
|
+
name: "epochStart",
|
|
192
|
+
inputs: [],
|
|
193
|
+
outputs: [
|
|
194
|
+
{
|
|
195
|
+
name: "",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
stateMutability: "view",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
type: "function",
|
|
204
|
+
name: "epochTotalVotingPowerCast",
|
|
205
|
+
inputs: [
|
|
206
|
+
{
|
|
207
|
+
name: "",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
internalType: "uint256",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
outputs: [
|
|
213
|
+
{
|
|
214
|
+
name: "",
|
|
215
|
+
type: "uint256",
|
|
216
|
+
internalType: "uint256",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
stateMutability: "view",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
type: "function",
|
|
223
|
+
name: "epochVoteEnd",
|
|
224
|
+
inputs: [],
|
|
225
|
+
outputs: [
|
|
226
|
+
{
|
|
227
|
+
name: "",
|
|
228
|
+
type: "uint256",
|
|
229
|
+
internalType: "uint256",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
stateMutability: "view",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
type: "function",
|
|
236
|
+
name: "epochVoteStart",
|
|
237
|
+
inputs: [],
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
name: "",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
internalType: "uint256",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "view",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
type: "function",
|
|
249
|
+
name: "escrow",
|
|
250
|
+
inputs: [],
|
|
251
|
+
outputs: [
|
|
252
|
+
{
|
|
253
|
+
name: "",
|
|
254
|
+
type: "address",
|
|
255
|
+
internalType: "address",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: "view",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
type: "function",
|
|
262
|
+
name: "gaugeExists",
|
|
263
|
+
inputs: [
|
|
264
|
+
{
|
|
265
|
+
name: "_gauge",
|
|
266
|
+
type: "address",
|
|
267
|
+
internalType: "address",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
outputs: [
|
|
271
|
+
{
|
|
272
|
+
name: "",
|
|
273
|
+
type: "bool",
|
|
274
|
+
internalType: "bool",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
stateMutability: "view",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
type: "function",
|
|
281
|
+
name: "gaugeList",
|
|
282
|
+
inputs: [
|
|
283
|
+
{
|
|
284
|
+
name: "",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
outputs: [
|
|
290
|
+
{
|
|
291
|
+
name: "",
|
|
292
|
+
type: "address",
|
|
293
|
+
internalType: "address",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
stateMutability: "view",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
type: "function",
|
|
300
|
+
name: "gaugeVotes",
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
name: "_epoch",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
internalType: "uint256",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
name: "_address",
|
|
309
|
+
type: "address",
|
|
310
|
+
internalType: "address",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
outputs: [
|
|
314
|
+
{
|
|
315
|
+
name: "",
|
|
316
|
+
type: "uint256",
|
|
317
|
+
internalType: "uint256",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
stateMutability: "view",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
type: "function",
|
|
324
|
+
name: "gaugeVotes",
|
|
325
|
+
inputs: [
|
|
326
|
+
{
|
|
327
|
+
name: "_address",
|
|
328
|
+
type: "address",
|
|
329
|
+
internalType: "address",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
name: "",
|
|
335
|
+
type: "uint256",
|
|
336
|
+
internalType: "uint256",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
stateMutability: "view",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
type: "function",
|
|
343
|
+
name: "gauges",
|
|
344
|
+
inputs: [
|
|
345
|
+
{
|
|
346
|
+
name: "",
|
|
347
|
+
type: "address",
|
|
348
|
+
internalType: "address",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
outputs: [
|
|
352
|
+
{
|
|
353
|
+
name: "active",
|
|
354
|
+
type: "bool",
|
|
355
|
+
internalType: "bool",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
name: "created",
|
|
359
|
+
type: "uint256",
|
|
360
|
+
internalType: "uint256",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: "metadataURI",
|
|
364
|
+
type: "string",
|
|
365
|
+
internalType: "string",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
stateMutability: "view",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
type: "function",
|
|
372
|
+
name: "gaugesVotedFor",
|
|
373
|
+
inputs: [
|
|
374
|
+
{
|
|
375
|
+
name: "_address",
|
|
376
|
+
type: "address",
|
|
377
|
+
internalType: "address",
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
outputs: [
|
|
381
|
+
{
|
|
382
|
+
name: "",
|
|
383
|
+
type: "address[]",
|
|
384
|
+
internalType: "address[]",
|
|
385
|
+
},
|
|
386
|
+
],
|
|
387
|
+
stateMutability: "view",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
type: "function",
|
|
391
|
+
name: "getAllGauges",
|
|
392
|
+
inputs: [],
|
|
393
|
+
outputs: [
|
|
394
|
+
{
|
|
395
|
+
name: "",
|
|
396
|
+
type: "address[]",
|
|
397
|
+
internalType: "address[]",
|
|
398
|
+
},
|
|
399
|
+
],
|
|
400
|
+
stateMutability: "view",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
type: "function",
|
|
404
|
+
name: "getCurrentTargetConfig",
|
|
405
|
+
inputs: [],
|
|
406
|
+
outputs: [
|
|
407
|
+
{
|
|
408
|
+
name: "",
|
|
409
|
+
type: "tuple",
|
|
410
|
+
internalType: "struct IPlugin.TargetConfig",
|
|
411
|
+
components: [
|
|
412
|
+
{
|
|
413
|
+
name: "target",
|
|
414
|
+
type: "address",
|
|
415
|
+
internalType: "address",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "operation",
|
|
419
|
+
type: "uint8",
|
|
420
|
+
internalType: "enum IPlugin.Operation",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
stateMutability: "view",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
type: "function",
|
|
429
|
+
name: "getGauge",
|
|
430
|
+
inputs: [
|
|
431
|
+
{
|
|
432
|
+
name: "_gauge",
|
|
433
|
+
type: "address",
|
|
434
|
+
internalType: "address",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
outputs: [
|
|
438
|
+
{
|
|
439
|
+
name: "",
|
|
440
|
+
type: "tuple",
|
|
441
|
+
internalType: "struct IGauge.Gauge",
|
|
442
|
+
components: [
|
|
443
|
+
{
|
|
444
|
+
name: "active",
|
|
445
|
+
type: "bool",
|
|
446
|
+
internalType: "bool",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
name: "created",
|
|
450
|
+
type: "uint256",
|
|
451
|
+
internalType: "uint256",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: "metadataURI",
|
|
455
|
+
type: "string",
|
|
456
|
+
internalType: "string",
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
},
|
|
460
|
+
],
|
|
461
|
+
stateMutability: "view",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
type: "function",
|
|
465
|
+
name: "getTargetConfig",
|
|
466
|
+
inputs: [],
|
|
467
|
+
outputs: [
|
|
468
|
+
{
|
|
469
|
+
name: "",
|
|
470
|
+
type: "tuple",
|
|
471
|
+
internalType: "struct IPlugin.TargetConfig",
|
|
472
|
+
components: [
|
|
473
|
+
{
|
|
474
|
+
name: "target",
|
|
475
|
+
type: "address",
|
|
476
|
+
internalType: "address",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
name: "operation",
|
|
480
|
+
type: "uint8",
|
|
481
|
+
internalType: "enum IPlugin.Operation",
|
|
482
|
+
},
|
|
483
|
+
],
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
stateMutability: "view",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
type: "function",
|
|
490
|
+
name: "getWriteEpochId",
|
|
491
|
+
inputs: [],
|
|
492
|
+
outputs: [
|
|
493
|
+
{
|
|
494
|
+
name: "",
|
|
495
|
+
type: "uint256",
|
|
496
|
+
internalType: "uint256",
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
stateMutability: "view",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
type: "function",
|
|
503
|
+
name: "implementation",
|
|
504
|
+
inputs: [],
|
|
505
|
+
outputs: [
|
|
506
|
+
{
|
|
507
|
+
name: "",
|
|
508
|
+
type: "address",
|
|
509
|
+
internalType: "address",
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
stateMutability: "view",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
type: "function",
|
|
516
|
+
name: "initialize",
|
|
517
|
+
inputs: [
|
|
518
|
+
{
|
|
519
|
+
name: "_dao",
|
|
520
|
+
type: "address",
|
|
521
|
+
internalType: "address",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: "_escrow",
|
|
525
|
+
type: "address",
|
|
526
|
+
internalType: "address",
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
name: "_startPaused",
|
|
530
|
+
type: "bool",
|
|
531
|
+
internalType: "bool",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: "_clock",
|
|
535
|
+
type: "address",
|
|
536
|
+
internalType: "address",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: "_ivotesAdapter",
|
|
540
|
+
type: "address",
|
|
541
|
+
internalType: "address",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
name: "_enableUpdateVotingPowerHook",
|
|
545
|
+
type: "bool",
|
|
546
|
+
internalType: "bool",
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
outputs: [],
|
|
550
|
+
stateMutability: "nonpayable",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
type: "function",
|
|
554
|
+
name: "isActive",
|
|
555
|
+
inputs: [
|
|
556
|
+
{
|
|
557
|
+
name: "_gauge",
|
|
558
|
+
type: "address",
|
|
559
|
+
internalType: "address",
|
|
560
|
+
},
|
|
561
|
+
],
|
|
562
|
+
outputs: [
|
|
563
|
+
{
|
|
564
|
+
name: "",
|
|
565
|
+
type: "bool",
|
|
566
|
+
internalType: "bool",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
stateMutability: "view",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
type: "function",
|
|
573
|
+
name: "isVoting",
|
|
574
|
+
inputs: [
|
|
575
|
+
{
|
|
576
|
+
name: "_address",
|
|
577
|
+
type: "address",
|
|
578
|
+
internalType: "address",
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
outputs: [
|
|
582
|
+
{
|
|
583
|
+
name: "",
|
|
584
|
+
type: "bool",
|
|
585
|
+
internalType: "bool",
|
|
586
|
+
},
|
|
587
|
+
],
|
|
588
|
+
stateMutability: "view",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
type: "function",
|
|
592
|
+
name: "ivotesAdapter",
|
|
593
|
+
inputs: [],
|
|
594
|
+
outputs: [
|
|
595
|
+
{
|
|
596
|
+
name: "",
|
|
597
|
+
type: "address",
|
|
598
|
+
internalType: "address",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
stateMutability: "view",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
type: "function",
|
|
605
|
+
name: "pause",
|
|
606
|
+
inputs: [],
|
|
607
|
+
outputs: [],
|
|
608
|
+
stateMutability: "nonpayable",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
type: "function",
|
|
612
|
+
name: "paused",
|
|
613
|
+
inputs: [],
|
|
614
|
+
outputs: [
|
|
615
|
+
{
|
|
616
|
+
name: "",
|
|
617
|
+
type: "bool",
|
|
618
|
+
internalType: "bool",
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
stateMutability: "view",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
type: "function",
|
|
625
|
+
name: "pluginType",
|
|
626
|
+
inputs: [],
|
|
627
|
+
outputs: [
|
|
628
|
+
{
|
|
629
|
+
name: "",
|
|
630
|
+
type: "uint8",
|
|
631
|
+
internalType: "enum IPlugin.PluginType",
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
stateMutability: "pure",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
type: "function",
|
|
638
|
+
name: "protocolVersion",
|
|
639
|
+
inputs: [],
|
|
640
|
+
outputs: [
|
|
641
|
+
{
|
|
642
|
+
name: "",
|
|
643
|
+
type: "uint8[3]",
|
|
644
|
+
internalType: "uint8[3]",
|
|
645
|
+
},
|
|
646
|
+
],
|
|
647
|
+
stateMutability: "pure",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
type: "function",
|
|
651
|
+
name: "proxiableUUID",
|
|
652
|
+
inputs: [],
|
|
653
|
+
outputs: [
|
|
654
|
+
{
|
|
655
|
+
name: "",
|
|
656
|
+
type: "bytes32",
|
|
657
|
+
internalType: "bytes32",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
stateMutability: "view",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
type: "function",
|
|
664
|
+
name: "reset",
|
|
665
|
+
inputs: [],
|
|
666
|
+
outputs: [],
|
|
667
|
+
stateMutability: "nonpayable",
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
type: "function",
|
|
671
|
+
name: "setEnableUpdateVotingPowerHook",
|
|
672
|
+
inputs: [
|
|
673
|
+
{
|
|
674
|
+
name: "_enableUpdateVotingPowerHook",
|
|
675
|
+
type: "bool",
|
|
676
|
+
internalType: "bool",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
outputs: [],
|
|
680
|
+
stateMutability: "nonpayable",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
type: "function",
|
|
684
|
+
name: "setIVotesAdapter",
|
|
685
|
+
inputs: [
|
|
686
|
+
{
|
|
687
|
+
name: "_ivotesAdapter",
|
|
688
|
+
type: "address",
|
|
689
|
+
internalType: "address",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
outputs: [],
|
|
693
|
+
stateMutability: "nonpayable",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
type: "function",
|
|
697
|
+
name: "setTargetConfig",
|
|
698
|
+
inputs: [
|
|
699
|
+
{
|
|
700
|
+
name: "_targetConfig",
|
|
701
|
+
type: "tuple",
|
|
702
|
+
internalType: "struct IPlugin.TargetConfig",
|
|
703
|
+
components: [
|
|
704
|
+
{
|
|
705
|
+
name: "target",
|
|
706
|
+
type: "address",
|
|
707
|
+
internalType: "address",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
name: "operation",
|
|
711
|
+
type: "uint8",
|
|
712
|
+
internalType: "enum IPlugin.Operation",
|
|
713
|
+
},
|
|
714
|
+
],
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
outputs: [],
|
|
718
|
+
stateMutability: "nonpayable",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
type: "function",
|
|
722
|
+
name: "supportsInterface",
|
|
723
|
+
inputs: [
|
|
724
|
+
{
|
|
725
|
+
name: "_interfaceId",
|
|
726
|
+
type: "bytes4",
|
|
727
|
+
internalType: "bytes4",
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
outputs: [
|
|
731
|
+
{
|
|
732
|
+
name: "",
|
|
733
|
+
type: "bool",
|
|
734
|
+
internalType: "bool",
|
|
735
|
+
},
|
|
736
|
+
],
|
|
737
|
+
stateMutability: "view",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
type: "function",
|
|
741
|
+
name: "totalVotingPowerCast",
|
|
742
|
+
inputs: [],
|
|
743
|
+
outputs: [
|
|
744
|
+
{
|
|
745
|
+
name: "",
|
|
746
|
+
type: "uint256",
|
|
747
|
+
internalType: "uint256",
|
|
748
|
+
},
|
|
749
|
+
],
|
|
750
|
+
stateMutability: "view",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
type: "function",
|
|
754
|
+
name: "unpause",
|
|
755
|
+
inputs: [],
|
|
756
|
+
outputs: [],
|
|
757
|
+
stateMutability: "nonpayable",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
type: "function",
|
|
761
|
+
name: "updateGaugeMetadata",
|
|
762
|
+
inputs: [
|
|
763
|
+
{
|
|
764
|
+
name: "_gauge",
|
|
765
|
+
type: "address",
|
|
766
|
+
internalType: "address",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
name: "_metadataURI",
|
|
770
|
+
type: "string",
|
|
771
|
+
internalType: "string",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
outputs: [],
|
|
775
|
+
stateMutability: "nonpayable",
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
type: "function",
|
|
779
|
+
name: "updateVotingPower",
|
|
780
|
+
inputs: [
|
|
781
|
+
{
|
|
782
|
+
name: "_from",
|
|
783
|
+
type: "address",
|
|
784
|
+
internalType: "address",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
name: "_to",
|
|
788
|
+
type: "address",
|
|
789
|
+
internalType: "address",
|
|
790
|
+
},
|
|
791
|
+
],
|
|
792
|
+
outputs: [],
|
|
793
|
+
stateMutability: "nonpayable",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
type: "function",
|
|
797
|
+
name: "upgradeTo",
|
|
798
|
+
inputs: [
|
|
799
|
+
{
|
|
800
|
+
name: "newImplementation",
|
|
801
|
+
type: "address",
|
|
802
|
+
internalType: "address",
|
|
803
|
+
},
|
|
804
|
+
],
|
|
805
|
+
outputs: [],
|
|
806
|
+
stateMutability: "nonpayable",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
type: "function",
|
|
810
|
+
name: "upgradeToAndCall",
|
|
811
|
+
inputs: [
|
|
812
|
+
{
|
|
813
|
+
name: "newImplementation",
|
|
814
|
+
type: "address",
|
|
815
|
+
internalType: "address",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
name: "data",
|
|
819
|
+
type: "bytes",
|
|
820
|
+
internalType: "bytes",
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
outputs: [],
|
|
824
|
+
stateMutability: "payable",
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
type: "function",
|
|
828
|
+
name: "usedVotingPower",
|
|
829
|
+
inputs: [
|
|
830
|
+
{
|
|
831
|
+
name: "_address",
|
|
832
|
+
type: "address",
|
|
833
|
+
internalType: "address",
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
outputs: [
|
|
837
|
+
{
|
|
838
|
+
name: "",
|
|
839
|
+
type: "uint256",
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
},
|
|
842
|
+
],
|
|
843
|
+
stateMutability: "view",
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
type: "function",
|
|
847
|
+
name: "vote",
|
|
848
|
+
inputs: [
|
|
849
|
+
{
|
|
850
|
+
name: "_votes",
|
|
851
|
+
type: "tuple[]",
|
|
852
|
+
internalType: "struct IAddressGaugeVote.GaugeVote[]",
|
|
853
|
+
components: [
|
|
854
|
+
{
|
|
855
|
+
name: "weight",
|
|
856
|
+
type: "uint256",
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
name: "gauge",
|
|
861
|
+
type: "address",
|
|
862
|
+
internalType: "address",
|
|
863
|
+
},
|
|
864
|
+
],
|
|
865
|
+
},
|
|
866
|
+
],
|
|
867
|
+
outputs: [],
|
|
868
|
+
stateMutability: "nonpayable",
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
type: "function",
|
|
872
|
+
name: "votes",
|
|
873
|
+
inputs: [
|
|
874
|
+
{
|
|
875
|
+
name: "_address",
|
|
876
|
+
type: "address",
|
|
877
|
+
internalType: "address",
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "_gauge",
|
|
881
|
+
type: "address",
|
|
882
|
+
internalType: "address",
|
|
883
|
+
},
|
|
884
|
+
],
|
|
885
|
+
outputs: [
|
|
886
|
+
{
|
|
887
|
+
name: "",
|
|
888
|
+
type: "uint256",
|
|
889
|
+
internalType: "uint256",
|
|
890
|
+
},
|
|
891
|
+
],
|
|
892
|
+
stateMutability: "view",
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
type: "function",
|
|
896
|
+
name: "votingActive",
|
|
897
|
+
inputs: [],
|
|
898
|
+
outputs: [
|
|
899
|
+
{
|
|
900
|
+
name: "",
|
|
901
|
+
type: "bool",
|
|
902
|
+
internalType: "bool",
|
|
903
|
+
},
|
|
904
|
+
],
|
|
905
|
+
stateMutability: "view",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
type: "event",
|
|
909
|
+
name: "AdminChanged",
|
|
910
|
+
inputs: [
|
|
911
|
+
{
|
|
912
|
+
name: "previousAdmin",
|
|
913
|
+
type: "address",
|
|
914
|
+
indexed: false,
|
|
915
|
+
internalType: "address",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
name: "newAdmin",
|
|
919
|
+
type: "address",
|
|
920
|
+
indexed: false,
|
|
921
|
+
internalType: "address",
|
|
922
|
+
},
|
|
923
|
+
],
|
|
924
|
+
anonymous: false,
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
type: "event",
|
|
928
|
+
name: "BeaconUpgraded",
|
|
929
|
+
inputs: [
|
|
930
|
+
{
|
|
931
|
+
name: "beacon",
|
|
932
|
+
type: "address",
|
|
933
|
+
indexed: true,
|
|
934
|
+
internalType: "address",
|
|
935
|
+
},
|
|
936
|
+
],
|
|
937
|
+
anonymous: false,
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
type: "event",
|
|
941
|
+
name: "GaugeActivated",
|
|
942
|
+
inputs: [
|
|
943
|
+
{
|
|
944
|
+
name: "gauge",
|
|
945
|
+
type: "address",
|
|
946
|
+
indexed: true,
|
|
947
|
+
internalType: "address",
|
|
948
|
+
},
|
|
949
|
+
],
|
|
950
|
+
anonymous: false,
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
type: "event",
|
|
954
|
+
name: "GaugeCreated",
|
|
955
|
+
inputs: [
|
|
956
|
+
{
|
|
957
|
+
name: "gauge",
|
|
958
|
+
type: "address",
|
|
959
|
+
indexed: true,
|
|
960
|
+
internalType: "address",
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
name: "creator",
|
|
964
|
+
type: "address",
|
|
965
|
+
indexed: true,
|
|
966
|
+
internalType: "address",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
name: "metadataURI",
|
|
970
|
+
type: "string",
|
|
971
|
+
indexed: false,
|
|
972
|
+
internalType: "string",
|
|
973
|
+
},
|
|
974
|
+
],
|
|
975
|
+
anonymous: false,
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
type: "event",
|
|
979
|
+
name: "GaugeDeactivated",
|
|
980
|
+
inputs: [
|
|
981
|
+
{
|
|
982
|
+
name: "gauge",
|
|
983
|
+
type: "address",
|
|
984
|
+
indexed: true,
|
|
985
|
+
internalType: "address",
|
|
986
|
+
},
|
|
987
|
+
],
|
|
988
|
+
anonymous: false,
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
type: "event",
|
|
992
|
+
name: "GaugeMetadataUpdated",
|
|
993
|
+
inputs: [
|
|
994
|
+
{
|
|
995
|
+
name: "gauge",
|
|
996
|
+
type: "address",
|
|
997
|
+
indexed: true,
|
|
998
|
+
internalType: "address",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
name: "metadataURI",
|
|
1002
|
+
type: "string",
|
|
1003
|
+
indexed: false,
|
|
1004
|
+
internalType: "string",
|
|
1005
|
+
},
|
|
1006
|
+
],
|
|
1007
|
+
anonymous: false,
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
type: "event",
|
|
1011
|
+
name: "Initialized",
|
|
1012
|
+
inputs: [
|
|
1013
|
+
{
|
|
1014
|
+
name: "version",
|
|
1015
|
+
type: "uint8",
|
|
1016
|
+
indexed: false,
|
|
1017
|
+
internalType: "uint8",
|
|
1018
|
+
},
|
|
1019
|
+
],
|
|
1020
|
+
anonymous: false,
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
type: "event",
|
|
1024
|
+
name: "Paused",
|
|
1025
|
+
inputs: [
|
|
1026
|
+
{
|
|
1027
|
+
name: "account",
|
|
1028
|
+
type: "address",
|
|
1029
|
+
indexed: false,
|
|
1030
|
+
internalType: "address",
|
|
1031
|
+
},
|
|
1032
|
+
],
|
|
1033
|
+
anonymous: false,
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
type: "event",
|
|
1037
|
+
name: "Reset",
|
|
1038
|
+
inputs: [
|
|
1039
|
+
{
|
|
1040
|
+
name: "voter",
|
|
1041
|
+
type: "address",
|
|
1042
|
+
indexed: true,
|
|
1043
|
+
internalType: "address",
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
name: "gauge",
|
|
1047
|
+
type: "address",
|
|
1048
|
+
indexed: true,
|
|
1049
|
+
internalType: "address",
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
name: "epoch",
|
|
1053
|
+
type: "uint256",
|
|
1054
|
+
indexed: true,
|
|
1055
|
+
internalType: "uint256",
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: "votingPowerRemovedFromGauge",
|
|
1059
|
+
type: "uint256",
|
|
1060
|
+
indexed: false,
|
|
1061
|
+
internalType: "uint256",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
name: "totalVotingPowerInGauge",
|
|
1065
|
+
type: "uint256",
|
|
1066
|
+
indexed: false,
|
|
1067
|
+
internalType: "uint256",
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
name: "totalVotingPowerInContract",
|
|
1071
|
+
type: "uint256",
|
|
1072
|
+
indexed: false,
|
|
1073
|
+
internalType: "uint256",
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
name: "timestamp",
|
|
1077
|
+
type: "uint256",
|
|
1078
|
+
indexed: false,
|
|
1079
|
+
internalType: "uint256",
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
anonymous: false,
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
type: "event",
|
|
1086
|
+
name: "TargetSet",
|
|
1087
|
+
inputs: [
|
|
1088
|
+
{
|
|
1089
|
+
name: "newTargetConfig",
|
|
1090
|
+
type: "tuple",
|
|
1091
|
+
indexed: false,
|
|
1092
|
+
internalType: "struct IPlugin.TargetConfig",
|
|
1093
|
+
components: [
|
|
1094
|
+
{
|
|
1095
|
+
name: "target",
|
|
1096
|
+
type: "address",
|
|
1097
|
+
internalType: "address",
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
name: "operation",
|
|
1101
|
+
type: "uint8",
|
|
1102
|
+
internalType: "enum IPlugin.Operation",
|
|
1103
|
+
},
|
|
1104
|
+
],
|
|
1105
|
+
},
|
|
1106
|
+
],
|
|
1107
|
+
anonymous: false,
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
type: "event",
|
|
1111
|
+
name: "Unpaused",
|
|
1112
|
+
inputs: [
|
|
1113
|
+
{
|
|
1114
|
+
name: "account",
|
|
1115
|
+
type: "address",
|
|
1116
|
+
indexed: false,
|
|
1117
|
+
internalType: "address",
|
|
1118
|
+
},
|
|
1119
|
+
],
|
|
1120
|
+
anonymous: false,
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
type: "event",
|
|
1124
|
+
name: "Upgraded",
|
|
1125
|
+
inputs: [
|
|
1126
|
+
{
|
|
1127
|
+
name: "implementation",
|
|
1128
|
+
type: "address",
|
|
1129
|
+
indexed: true,
|
|
1130
|
+
internalType: "address",
|
|
1131
|
+
},
|
|
1132
|
+
],
|
|
1133
|
+
anonymous: false,
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
type: "event",
|
|
1137
|
+
name: "Voted",
|
|
1138
|
+
inputs: [
|
|
1139
|
+
{
|
|
1140
|
+
name: "voter",
|
|
1141
|
+
type: "address",
|
|
1142
|
+
indexed: true,
|
|
1143
|
+
internalType: "address",
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
name: "gauge",
|
|
1147
|
+
type: "address",
|
|
1148
|
+
indexed: true,
|
|
1149
|
+
internalType: "address",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
name: "epoch",
|
|
1153
|
+
type: "uint256",
|
|
1154
|
+
indexed: true,
|
|
1155
|
+
internalType: "uint256",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
name: "votingPowerCastForGauge",
|
|
1159
|
+
type: "uint256",
|
|
1160
|
+
indexed: false,
|
|
1161
|
+
internalType: "uint256",
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
name: "totalVotingPowerInGauge",
|
|
1165
|
+
type: "uint256",
|
|
1166
|
+
indexed: false,
|
|
1167
|
+
internalType: "uint256",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
name: "totalVotingPowerInContract",
|
|
1171
|
+
type: "uint256",
|
|
1172
|
+
indexed: false,
|
|
1173
|
+
internalType: "uint256",
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
name: "timestamp",
|
|
1177
|
+
type: "uint256",
|
|
1178
|
+
indexed: false,
|
|
1179
|
+
internalType: "uint256",
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1182
|
+
anonymous: false,
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
type: "error",
|
|
1186
|
+
name: "AlreadyInitialized",
|
|
1187
|
+
inputs: [],
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
type: "error",
|
|
1191
|
+
name: "AlreadyVoted",
|
|
1192
|
+
inputs: [
|
|
1193
|
+
{
|
|
1194
|
+
name: "_address",
|
|
1195
|
+
type: "address",
|
|
1196
|
+
internalType: "address",
|
|
1197
|
+
},
|
|
1198
|
+
],
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
type: "error",
|
|
1202
|
+
name: "DaoUnauthorized",
|
|
1203
|
+
inputs: [
|
|
1204
|
+
{
|
|
1205
|
+
name: "dao",
|
|
1206
|
+
type: "address",
|
|
1207
|
+
internalType: "address",
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
name: "where",
|
|
1211
|
+
type: "address",
|
|
1212
|
+
internalType: "address",
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
name: "who",
|
|
1216
|
+
type: "address",
|
|
1217
|
+
internalType: "address",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
name: "permissionId",
|
|
1221
|
+
type: "bytes32",
|
|
1222
|
+
internalType: "bytes32",
|
|
1223
|
+
},
|
|
1224
|
+
],
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
type: "error",
|
|
1228
|
+
name: "DelegateCallFailed",
|
|
1229
|
+
inputs: [],
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
type: "error",
|
|
1233
|
+
name: "DoubleVote",
|
|
1234
|
+
inputs: [],
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
type: "error",
|
|
1238
|
+
name: "GaugeActivationUnchanged",
|
|
1239
|
+
inputs: [],
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
type: "error",
|
|
1243
|
+
name: "GaugeDoesNotExist",
|
|
1244
|
+
inputs: [
|
|
1245
|
+
{
|
|
1246
|
+
name: "_pool",
|
|
1247
|
+
type: "address",
|
|
1248
|
+
internalType: "address",
|
|
1249
|
+
},
|
|
1250
|
+
],
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
type: "error",
|
|
1254
|
+
name: "GaugeExists",
|
|
1255
|
+
inputs: [],
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
type: "error",
|
|
1259
|
+
name: "GaugeInactive",
|
|
1260
|
+
inputs: [
|
|
1261
|
+
{
|
|
1262
|
+
name: "_gauge",
|
|
1263
|
+
type: "address",
|
|
1264
|
+
internalType: "address",
|
|
1265
|
+
},
|
|
1266
|
+
],
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
type: "error",
|
|
1270
|
+
name: "InvalidTargetConfig",
|
|
1271
|
+
inputs: [
|
|
1272
|
+
{
|
|
1273
|
+
name: "targetConfig",
|
|
1274
|
+
type: "tuple",
|
|
1275
|
+
internalType: "struct IPlugin.TargetConfig",
|
|
1276
|
+
components: [
|
|
1277
|
+
{
|
|
1278
|
+
name: "target",
|
|
1279
|
+
type: "address",
|
|
1280
|
+
internalType: "address",
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
name: "operation",
|
|
1284
|
+
type: "uint8",
|
|
1285
|
+
internalType: "enum IPlugin.Operation",
|
|
1286
|
+
},
|
|
1287
|
+
],
|
|
1288
|
+
},
|
|
1289
|
+
],
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
type: "error",
|
|
1293
|
+
name: "NoVotes",
|
|
1294
|
+
inputs: [],
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
type: "error",
|
|
1298
|
+
name: "NoVotingPower",
|
|
1299
|
+
inputs: [],
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
type: "error",
|
|
1303
|
+
name: "NotApprovedOrOwner",
|
|
1304
|
+
inputs: [],
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
type: "error",
|
|
1308
|
+
name: "NotCurrentlyVoting",
|
|
1309
|
+
inputs: [],
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
type: "error",
|
|
1313
|
+
name: "OnlyEscrow",
|
|
1314
|
+
inputs: [],
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
type: "error",
|
|
1318
|
+
name: "UpdateVotingPowerHookNotEnabled",
|
|
1319
|
+
inputs: [],
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
type: "error",
|
|
1323
|
+
name: "VotingInactive",
|
|
1324
|
+
inputs: [],
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
type: "error",
|
|
1328
|
+
name: "ZeroGauge",
|
|
1329
|
+
inputs: [],
|
|
1330
|
+
},
|
|
1331
|
+
];
|
|
1332
|
+
const _bytecode = "0x60a0604052306080523480156200001557600080fd5b506200002062000030565b6200002a62000030565b620000f1565b600054610100900460ff16156200009d5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811614620000ef576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805161474a62000129600039600081816110ff01528181611195015281816113ca015281816114600152611557015261474a6000f3fe60806040526004361061034a5760003560e01c806391ddadf4116101bb578063bda46ea9116100f7578063dd63c06f11610095578063e79e5a231161006f578063e79e5a23146109ef578063ecc44a3814610a23578063f0363ae414610a38578063fdd644d814610a4d57600080fd5b8063dd63c06f14610999578063e284b4ee146109ae578063e2fdcc17146109ce57600080fd5b8063c9c4bfca116100d1578063c9c4bfca14610902578063cad1b90614610936578063d19d5ac714610956578063d826f88f1461098457600080fd5b8063bda46ea914610882578063c946c5cc146108be578063c98425ee146108e057600080fd5b8063abdb84e711610164578063b4b1013c1161013e578063b4b1013c146107f3578063b6a212ab14610813578063b9a09fd514610833578063bb225da21461086257600080fd5b8063abdb84e714610786578063ad288fe8146107a6578063b1c6f0e9146107c657600080fd5b80639ef13a41116101955780639ef13a41146107175780639f8a13d714610737578063aa9bbc0c1461077157600080fd5b806391ddadf41461069c5780639490895d146106bd5780639593c7ef146106de57600080fd5b806341de68301161028a5780635f8dd6491161023357806367ebd57c1161020d57806367ebd57c146105ef57806382bbad24146106335780638456cb59146106535780638cb750591461066857600080fd5b80635f8dd6491461059a57806361a8c8c4146105ba57806366dcecf3146105cf57600080fd5b806352d1902d1161026457806352d1902d146105585780635c60da1b1461056d5780635c975abb1461058257600080fd5b806341de6830146105145780634cea22f1146105305780634f1ef2861461054557600080fd5b806323303c6f116102f75780633659cfe6116102d15780633659cfe6146104ab5780633f4ba83a146104cb578063408e2727146104e05780634162169f146104f557600080fd5b806323303c6f146104495780632a63061a146104695780632ae9c6001461048957600080fd5b8063118f14c711610328578063118f14c7146103de57806315e5a1e51461041157806317125b3b1461043457600080fd5b806301ffc9a71461034f578063071d2171146103845780630a29e4c0146103bc575b600080fd5b34801561035b57600080fd5b5061036f61036a366004613cd5565b610a6d565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f366004613d2e565b610bea565b6040516001600160a01b03909116815260200161037b565b3480156103c857600080fd5b506103dc6103d7366004613db1565b610e1b565b005b3480156103ea57600080fd5b506101985461036f9074010000000000000000000000000000000000000000900460ff1681565b34801561041d57600080fd5b50610426610e90565b60405190815260200161037b565b34801561044057600080fd5b50610426610f1d565b34801561045557600080fd5b506103dc610464366004613de4565b610f51565b34801561047557600080fd5b50610426610484366004613de4565b611090565b34801561049557600080fd5b5061049e6110cb565b60405161037b9190613dff565b3480156104b757600080fd5b506103dc6104c6366004613de4565b6110f5565b3480156104d757600080fd5b506103dc611292565b3480156104ec57600080fd5b5061036f6112d4565b34801561050157600080fd5b5061012d546001600160a01b03166103a4565b34801561052057600080fd5b50600060405161037b9190613e62565b34801561053c57600080fd5b5061042661135c565b6103dc610553366004613f05565b6113c0565b34801561056457600080fd5b5061042661154a565b34801561057957600080fd5b506103a461160f565b34801561058e57600080fd5b5060fb5460ff1661036f565b3480156105a657600080fd5b5061036f6105b5366004613de4565b611642565b3480156105c657600080fd5b5061042661167f565b3480156105db57600080fd5b506103dc6105ea366004613fb9565b611789565b3480156105fb57600080fd5b5061042661060a366004614033565b6000918252610196602090815260408084206001600160a01b0393909316845291905290205490565b34801561063f57600080fd5b506103dc61064e366004613de4565b61199e565b34801561065f57600080fd5b506103dc611ad4565b34801561067457600080fd5b506104267f568cc693d84eb1901f8bcecba154cbdef23ca3cf67efc0a0b698528a06c660f781565b3480156106a857600080fd5b50610192546103a4906001600160a01b031681565b3480156106c957600080fd5b50610198546103a4906001600160a01b031681565b3480156106ea57600080fd5b506104266106f9366004614033565b61019660209081526000928352604080842090915290825290205481565b34801561072357600080fd5b50610426610732366004613de4565b611b16565b34801561074357600080fd5b5061036f610752366004613de4565b6001600160a01b03166000908152610195602052604090205460ff1690565b34801561077d57600080fd5b50610426611b4e565b34801561079257600080fd5b506103dc6107a1366004613de4565b611bb2565b3480156107b257600080fd5b506103dc6107c1366004613d2e565b611c28565b3480156107d257600080fd5b506107e66107e1366004613de4565b611d31565b60405161037b91906140a6565b3480156107ff57600080fd5b506103a461080e3660046140d7565b611e21565b34801561081f57600080fd5b506103dc61082e3660046140f0565b611e4c565b34801561083f57600080fd5b5061085361084e366004613de4565b611f05565b60405161037b93929190614165565b34801561086e57600080fd5b506103dc61087d36600461418f565b611fb5565b34801561088e57600080fd5b5061036f61089d366004613de4565b6001600160a01b031660009081526101956020526040902060010154151590565b3480156108ca57600080fd5b506108d3612006565b60405161037b91906141a7565b3480156108ec57600080fd5b506108f5612069565b60405161037b91906141f4565b34801561090e57600080fd5b506104267f821b6e3a557148015a918c89e5d092e878a69854a2d1a410635f771bd5a8a3f581565b34801561094257600080fd5b50610426610951366004613db1565b6120e2565b34801561096257600080fd5b506104266109713660046140d7565b6101936020526000908152604090205481565b34801561099057600080fd5b506103dc612140565b3480156109a557600080fd5b506108f56121e1565b3480156109ba57600080fd5b506103dc6109c9366004614228565b6122a4565b3480156109da57600080fd5b50610191546103a4906001600160a01b031681565b3480156109fb57600080fd5b506104267ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201481565b348015610a2f57600080fd5b5061042661232a565b348015610a4457600080fd5b5061042661238e565b348015610a5957600080fd5b506108d3610a68366004613de4565b6123af565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f41de6830000000000000000000000000000000000000000000000000000000001480610b0057507fffffffff0000000000000000000000000000000000000000000000000000000082167f2ae9c60000000000000000000000000000000000000000000000000000000000145b80610b4c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f52d1902d00000000000000000000000000000000000000000000000000000000145b80610b9857507fffffffff0000000000000000000000000000000000000000000000000000000082167fafc5b82300000000000000000000000000000000000000000000000000000000145b80610be457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b61012d546000907ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490610c2c906001600160a01b031630335b8460003661243f565b610c3461252d565b6001600160a01b038516610c74576040517f32e63e4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166000908152610195602052604090206001015415610cc8576040517f91fc82b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051806060016040528060011515815260200142815260200185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506001600160a01b038816815261019560209081526040918290208451815460ff1916901515178155908401516001820155908301519091506002820190610d6190826142d8565b505061019480546001810182556000919091527fa6f1ac7ad7b125ba5a5e1c96b00ad6914f90a503b1ac3d85a9dadbb4c639df920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0388169081179091556040513392507fe72b86315c30bd1bf352c4cf97594ba793f3e31b74bc874ce47ede0df6920ae990610dff90889088906143ff565b60405180910390a3849150610e1360018055565b509392505050565b610191546001600160a01b03163314610e60576040517f1a0831da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e698261258c565b806001600160a01b0316826001600160a01b03160315610e8c57610e8c8161258c565b5050565b61019254604080517fc75dd54100000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163c75dd5419160048083019260209291908290030181865afa158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f189190614413565b905090565b6101985460009074010000000000000000000000000000000000000000900460ff16610f4b57610f18611b4e565b50600090565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490610f8b906001600160a01b03163033610c23565b6001600160a01b03821660009081526101956020526040902060010154610fee576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b0382166000908152610195602052604090205460ff1615611042576040517fcf12acdd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660008181526101956020526040808220805460ff19166001179055517f34521f8891f6149b4baf837b8eea01eeefc28708be34ac8e705484dd34dde8189190a25050565b60008061109b610f1d565b6000908152610197602090815260408083206001600160a01b039096168352949052929092206002015492915050565b6110d3613c25565b5060408051606081018252600181526004602082015260009181019190915290565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036111935760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610fe5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166111ee7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b03161461126a5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610fe5565b61127381612863565b6040805160008082526020820190925261128f9183919061289d565b50565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d42014906112cc906001600160a01b03163033610c23565b61128f612a42565b61019254604080517f408e272700000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163408e27279160048083019260209291908290030181865afa158015611338573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f18919061442c565b61019254604080517f51b7d39900000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916351b7d3999160048083019260209291908290030181865afa158015610ef4573d6000803e3d6000fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361145e5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610fe5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166114b97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b0316146115355760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610fe5565b61153e82612863565b610e8c8282600161289d565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146115ea5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610fe5565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b6000610f187f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b60008061164d610f1d565b6000908152610197602090815260408083206001600160a01b0390961683529490529290922060030154151592915050565b61019254604080517f4ff0876a00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691634ff0876a9160048083019260209291908290030181865afa1580156116e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117079190614413565b61019260009054906101000a90046001600160a01b03166001600160a01b031663c75dd5416040518163ffffffff1660e01b8152600401602060405180830381865afa15801561175b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177f9190614413565b610f189190614478565b600054610100900460ff16158080156117a95750600054600160ff909116105b806117c35750303b1580156117c3575060005460ff166001145b6118355760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610fe5565b6000805460ff19166001179055801561187557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61187e87612a94565b611886612b1a565b61188e612b9f565b61019180547fffffffffffffffffffffffff00000000000000000000000000000000000000009081166001600160a01b0389811691909117909255610192805490911686831617905561019880549185167fffffffffffffffffffffff000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000084151502179055841561193257611932612c24565b801561199557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d42014906119d8906001600160a01b03163033610c23565b6001600160a01b03821660009081526101956020526040902060010154611a36576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b0383166004820152602401610fe5565b6001600160a01b0382166000908152610195602052604090205460ff16611a89576040517fcf12acdd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03821660008181526101956020526040808220805460ff19169055517f4a6f8353ec8700967336a2982804d34c6a35d417d5cb457ac11caa9eb917f0d49190a25050565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611b0e906001600160a01b03163033610c23565b61128f612c24565b600080611b21610f1d565b6000908152610196602090815260408083206001600160a01b039096168352949052929092205492915050565b61019254604080517f7667180800000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163766718089160048083019260209291908290030181865afa158015610ef4573d6000803e3d6000fd5b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611bec906001600160a01b03163033610c23565b5061019880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d4201490611c62906001600160a01b03163033610c23565b6001600160a01b03841660009081526101956020526040902060010154611cc0576040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610fe5565b6001600160a01b038416600090815261019560205260409020600201611ce783858361448b565b50836001600160a01b03167f98c22290de5c8f771a9b53bc6833b5ad1b69539ef5fdd73a0ebf36fba1cdab6b8484604051611d239291906143ff565b60405180910390a250505050565b6040805160608082018352600080835260208084018290528385018390526001600160a01b038616825261019581529084902084519283018552805460ff1615158352600181015491830191909152600281018054939492939192840191611d9890614245565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc490614245565b8015611e115780601f10611de657610100808354040283529160200191611e11565b820191906000526020600020905b815481529060010190602001808311611df457829003601f168201915b5050505050815250509050919050565b6101948181548110611e3257600080fd5b6000918252602090912001546001600160a01b0316905081565b611e5461252d565b611e5c612c61565b611e646112d4565b611e9a576040517f6d40818900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000339050611efb818484808060200260200160405190810160405280939291908181526020016000905b82821015611ef157611ee260408302860136819003810190614587565b81526020019060010190611ec5565b5050505050612cb4565b50610e8c60018055565b6101956020526000908152604090208054600182015460028301805460ff909316939192611f3290614245565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5e90614245565b8015611fab5780601f10611f8057610100808354040283529160200191611fab565b820191906000526020600020905b815481529060010190602001808311611f8e57829003601f168201915b5050505050905083565b61012d547f568cc693d84eb1901f8bcecba154cbdef23ca3cf67efc0a0b698528a06c660f790611fef906001600160a01b03163033610c23565b610e8c612001368490038401846145bd565b612f6f565b606061019480548060200260200160405190810160405280929190818152602001828054801561205f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612041575b5050505050905090565b60408051808201909152600080825260208201526040805180820190915261015f80546001600160a01b0381168352602083019074010000000000000000000000000000000000000000900460ff1660018111156120c9576120c9613e33565b60018111156120da576120da613e33565b905250919050565b6000806120ed610f1d565b6000818152610197602090815260408083206001600160a01b03808a16808652828552838620918a1686528185529285205492909452909152600290910154919250612138916130cf565b949350505050565b61214861252d565b612150612c61565b6121586112d4565b61218e576040517f6d40818900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61219733611642565b6121cd576040517f51387b1a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121d6336130fc565b6121df60018055565b565b60408051808201909152600080825260208201526040805180820190915261015f80546001600160a01b03811683526000929190602083019074010000000000000000000000000000000000000000900460ff16600181111561224657612246613e33565b600181111561225757612257613e33565b90525080519091506001600160a01b031661229f57604051806040016040528061228a61012d546001600160a01b031690565b6001600160a01b031681526020016000905290505b919050565b61012d547ffda1ae526c1fb38407f23e8b7712f7cfacc146f3e340a04221488331e0d42014906122de906001600160a01b03163033610c23565b50610198805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b61019254604080517fbed2e86b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163bed2e86b9160048083019260209291908290030181865afa158015610ef4573d6000803e3d6000fd5b600080612399610f1d565b6000908152610193602052604090205492915050565b606060006123bb610f1d565b6000818152610197602090815260408083206001600160a01b0388168452825291829020600101805483518184028101840190945280845293945091929083018282801561243257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612414575b5050505050915050919050565b6040517ffdef91060000000000000000000000000000000000000000000000000000000081526001600160a01b0387169063fdef91069061248c90889088908890889088906004016145f4565b602060405180830381865afa1580156124a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cd919061442c565b612525576040517f32dbe3b40000000000000000000000000000000000000000000000000000000081526001600160a01b03808816600483015280871660248301528516604482015260648101849052608401610fe5565b505050505050565b60026001540361257f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610fe5565b6002600155565b60018055565b6101985474010000000000000000000000000000000000000000900460ff166125e1576040517fec4df7bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125ea81611642565b6125f15750565b60006125fb610f1d565b6000818152610197602090815260408083206001600160a01b0387168452909152812060018101805493945090929091036126365750505050565b610198546040517f9ab24eb00000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301526000921690639ab24eb090602401602060405180830381865afa15801561269b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bf9190614413565b905080836002015410156126d4575050505050565b815460009067ffffffffffffffff8111156126f1576126f1613e7c565b60405190808252806020026020018201604052801561273657816020015b604080518082019091526000808252602082015281526020019060019003908161270f5790505b50905060005b83548110156127c857600084828154811061275957612759614627565b60009182526020808320909101546001600160a01b031680835288825260409283902054835180850190945280845291830181905285519093509091908590859081106127a8576127a8614627565b6020026020010181905250505080806127c090614656565b91505061273c565b5060006127d4826132d3565b90506127df876130fc565b60005b825181101561284f5761283c83828151811061280057612800614627565b602002602001015160200151888a8761283688878151811061282457612824614627565b60200260200101516000015188613325565b8b613341565b508061284781614656565b9150506127e2565b505050600283015550426003909101555050565b61012d547f821b6e3a557148015a918c89e5d092e878a69854a2d1a410635f771bd5a8a3f590610e8c906001600160a01b03163033610c23565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156128d5576128d0836134ac565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561292f575060408051601f3d908101601f1916820190925261292c91810190614413565b60015b6129a15760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608401610fe5565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114612a365760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152608401610fe5565b506128d0838383613582565b612a4a6135ad565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054610100900460ff16612b115760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b61128f816135ff565b600054610100900460ff16612b975760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b6121df6136b7565b600054610100900460ff16612c1c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b6121df613734565b612c2c612c61565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a773390565b60fb5460ff16156121df5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610fe5565b6101985460009074010000000000000000000000000000000000000000900460ff16612d7f57610198546001600160a01b0316633a46b1a884612cf561167f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381865afa158015612d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d7a9190614413565b612e07565b610198546040517f9ab24eb00000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015290911690639ab24eb090602401602060405180830381865afa158015612de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e079190614413565b905080600003612e43576040517f7c176b7400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81516000819003612e80576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e8984611642565b15612e9757612e97846130fc565b6000612ea1610f1d565b6000818152610197602090815260408083206001600160a01b038a1684529091528120919250612ed0866132d3565b905080600003612f0c576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b84811015612f58576000878281518110612f2b57612f2b614627565b60200260200101519050612f4381868b8a87896137bd565b50508080612f5090614656565b915050612f0f565b505060028101939093555050426003909101555050565b8051612fa4906001600160a01b03167f549ea75a0000000000000000000000000000000000000000000000000000000061395b565b8015612fc55750600181602001516001811115612fc357612fc3613e33565b145b15612ffe57806040517f266d0fb9000000000000000000000000000000000000000000000000000000008152600401610fe591906141f4565b805161015f80546001600160a01b039092167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117825560208401518493909183917fffffffffffffffffffffff00000000000000000000000000000000000000000016177401000000000000000000000000000000000000000083600181111561308d5761308d613e33565b02179055509050507f88e879ae0d71faf3aa708f2978daccb99b95243615dc104835b8c5a21c884ae6816040516130c491906141f4565b60405180910390a150565b60006ec097ce7bc90715b34b9f10000000006130eb838561468e565b6130f591906146a5565b9392505050565b6000613106610f1d565b6000818152610197602090815260408083206001600160a01b0387168452909152812091925060018201905b815481101561329c57600082828154811061314f5761314f614627565b60009182526020808320909101546001600160a01b0316808352908690526040822054600287015491935091906131879083906130cf565b6000888152610196602090815260408083206001600160a01b03881684529091528120805492935083929091906131bf908490614478565b909155505060008781526101936020526040812080548392906131e3908490614478565b90915550506001600160a01b038316600090815260208790526040812055613209611b4e565b6000888152610196602090815260408083206001600160a01b03888116808652918452828520548d865261019385529483902054835188815294850195909552918301939093524260608301528b16907fe87470fcfb5344dc8e12bed9dd48daacd950077df9304ffc65c423ee4fb443559060800160405180910390a4505050808061329490614656565b915050613132565b506000600283018190556003830181905560408051918252602082019081905290516132cc916001850191613c43565b5050505050565b600080805b835181101561331e578381815181106132f3576132f3614627565b6020026020010151600001518261330a91906146e0565b91508061331681614656565b9150506132d8565b5092915050565b6000816130eb846ec097ce7bc90715b34b9f100000000061468e565b60008061334e84866130cf565b6001848101805491820181556000908152602080822090920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038d1690811790915581529085905260408120805492935086929091906133ba9084906146e0565b90915550506000878152610196602090815260408083206001600160a01b038c168452909152812080548392906133f29084906146e0565b909155505060008781526101936020526040812080548392906134169084906146e0565b909155506134249050611b4e565b6000888152610196602090815260408083206001600160a01b038d8116808652918452828520548d865261019385529483902054835188815294850195909552918301939093524260608301528916907f9597ca1d5e7730de0b0614eeeea16ce1a90d9798253c18b1b4941ae3d2d454ec9060800160405180910390a4979650505050505050565b6001600160a01b0381163b6135295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610fe5565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b61358b83613977565b6000825111806135985750805b156128d0576135a783836139b7565b50505050565b60fb5460ff166121df5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610fe5565b600054610100900460ff1661367c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b61012d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600054610100900460ff166125865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b600054610100900460ff166137b15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610fe5565b60fb805460ff19169055565b60006137e887602001516001600160a01b031660009081526101956020526040902060010154151590565b61382f5760208701516040517f4c8901850000000000000000000000000000000000000000000000000000000081526001600160a01b039091166004820152602401610fe5565b61385687602001516001600160a01b03166000908152610195602052604090205460ff1690565b61389d5760208701516040517fd2b961e10000000000000000000000000000000000000000000000000000000081526001600160a01b039091166004820152602401610fe5565b6020808801516001600160a01b03166000908152908390526040902054156138f1576040517ffdebb48000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613901886000015185613325565b90508060000361393d576040517f198e163000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61394f88602001518888888588613341565b98975050505050505050565b6000613966836139dc565b80156130f557506130f58383613a40565b613980816134ac565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606130f5838360405180606001604052806027815260200161472360279139613b0f565b6000613a08827f01ffc9a700000000000000000000000000000000000000000000000000000000613a40565b8015610be45750613a39827fffffffff00000000000000000000000000000000000000000000000000000000613a40565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015613af8575060208210155b8015613b045750600081115b979650505050505050565b6060600080856001600160a01b031685604051613b2c91906146f3565b600060405180830381855af49150503d8060008114613b67576040519150601f19603f3d011682016040523d82523d6000602084013e613b6c565b606091505b5091509150613b7d86838387613b87565b9695505050505050565b60608315613bf6578251600003613bef576001600160a01b0385163b613bef5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610fe5565b5081612138565b6121388383815115613c0b5781518083602001fd5b8060405162461bcd60e51b8152600401610fe5919061470f565b60405180606001604052806003906020820280368337509192915050565b828054828255906000526020600020908101928215613cb0579160200282015b82811115613cb057825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190613c63565b50613cbc929150613cc0565b5090565b5b80821115613cbc5760008155600101613cc1565b600060208284031215613ce757600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146130f557600080fd5b80356001600160a01b038116811461229f57600080fd5b600080600060408486031215613d4357600080fd5b613d4c84613d17565b9250602084013567ffffffffffffffff80821115613d6957600080fd5b818601915086601f830112613d7d57600080fd5b813581811115613d8c57600080fd5b876020828501011115613d9e57600080fd5b6020830194508093505050509250925092565b60008060408385031215613dc457600080fd5b613dcd83613d17565b9150613ddb60208401613d17565b90509250929050565b600060208284031215613df657600080fd5b6130f582613d17565b60608101818360005b6003811015613e2a57815160ff16835260209283019290910190600101613e08565b50505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613e7657613e76613e33565b91905290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715613ece57613ece613e7c565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715613efd57613efd613e7c565b604052919050565b60008060408385031215613f1857600080fd5b613f2183613d17565b915060208084013567ffffffffffffffff80821115613f3f57600080fd5b818601915086601f830112613f5357600080fd5b813581811115613f6557613f65613e7c565b613f7784601f19601f84011601613ed4565b91508082528784828501011115613f8d57600080fd5b80848401858401376000848284010152508093505050509250929050565b801515811461128f57600080fd5b60008060008060008060c08789031215613fd257600080fd5b613fdb87613d17565b9550613fe960208801613d17565b94506040870135613ff981613fab565b935061400760608801613d17565b925061401560808801613d17565b915060a087013561402581613fab565b809150509295509295509295565b6000806040838503121561404657600080fd5b82359150613ddb60208401613d17565b60005b83811015614071578181015183820152602001614059565b50506000910152565b60008151808452614092816020860160208601614056565b601f01601f19169290920160200192915050565b602081528151151560208201526020820151604082015260006040830151606080840152612138608084018261407a565b6000602082840312156140e957600080fd5b5035919050565b6000806020838503121561410357600080fd5b823567ffffffffffffffff8082111561411b57600080fd5b818501915085601f83011261412f57600080fd5b81358181111561413e57600080fd5b8660208260061b850101111561415357600080fd5b60209290920196919550909350505050565b8315158152826020820152606060408201526000614186606083018461407a565b95945050505050565b6000604082840312156141a157600080fd5b50919050565b6020808252825182820181905260009190848201906040850190845b818110156141e85783516001600160a01b0316835292840192918401916001016141c3565b50909695505050505050565b81516001600160a01b03168152602082015160408201906002811061421b5761421b613e33565b8060208401525092915050565b60006020828403121561423a57600080fd5b81356130f581613fab565b600181811c9082168061425957607f821691505b6020821081036141a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b601f8211156128d057600081815260208120601f850160051c810160208610156142b95750805b601f850160051c820191505b81811015612525578281556001016142c5565b815167ffffffffffffffff8111156142f2576142f2613e7c565b614306816143008454614245565b84614292565b602080601f83116001811461435957600084156143235750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612525565b600085815260208120601f198616915b8281101561438857888601518255948401946001909101908401614369565b50858210156143c457878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b6020815260006121386020830184866143d4565b60006020828403121561442557600080fd5b5051919050565b60006020828403121561443e57600080fd5b81516130f581613fab565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610be457610be4614449565b67ffffffffffffffff8311156144a3576144a3613e7c565b6144b7836144b18354614245565b83614292565b6000601f84116001811461450957600085156144d35750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556132cc565b600083815260209020601f19861690835b8281101561453a578685013582556020948501946001909201910161451a565b5086821015614575577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006040828403121561459957600080fd5b6145a1613eab565b823581526145b160208401613d17565b60208201529392505050565b6000604082840312156145cf57600080fd5b6145d7613eab565b6145e083613d17565b81526020830135600281106145b157600080fd5b60006001600160a01b03808816835280871660208401525084604083015260806060830152613b046080830184866143d4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361468757614687614449565b5060010190565b8082028115828204841417610be457610be4614449565b6000826146db577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820180821115610be457610be4614449565b60008251614705818460208701614056565b9190910192915050565b6020815260006130f5602083018461407a56fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
|
|
1333
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
1334
|
+
export class AddressGaugeVoter__factory extends ContractFactory {
|
|
1335
|
+
constructor(...args) {
|
|
1336
|
+
if (isSuperArgs(args)) {
|
|
1337
|
+
super(...args);
|
|
1338
|
+
}
|
|
1339
|
+
else {
|
|
1340
|
+
super(_abi, _bytecode, args[0]);
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
deploy(overrides) {
|
|
1344
|
+
return super.deploy(overrides || {});
|
|
1345
|
+
}
|
|
1346
|
+
getDeployTransaction(overrides) {
|
|
1347
|
+
return super.getDeployTransaction(overrides || {});
|
|
1348
|
+
}
|
|
1349
|
+
attach(address) {
|
|
1350
|
+
return super.attach(address);
|
|
1351
|
+
}
|
|
1352
|
+
connect(signer) {
|
|
1353
|
+
return super.connect(signer);
|
|
1354
|
+
}
|
|
1355
|
+
static bytecode = _bytecode;
|
|
1356
|
+
static abi = _abi;
|
|
1357
|
+
static createInterface() {
|
|
1358
|
+
return new utils.Interface(_abi);
|
|
1359
|
+
}
|
|
1360
|
+
static connect(address, signerOrProvider) {
|
|
1361
|
+
return new Contract(address, _abi, signerOrProvider);
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
//# sourceMappingURL=AddressGaugeVoter__factory.js.map
|