@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,815 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { PromiseOrValue } from "../common";
|
|
4
|
+
import type { VotingEscrowIncreasing, VotingEscrowIncreasingInterface } from "../VotingEscrowIncreasing";
|
|
5
|
+
type VotingEscrowIncreasingConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class VotingEscrowIncreasing__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: VotingEscrowIncreasingConstructorParams);
|
|
8
|
+
deploy(overrides?: Overrides & {
|
|
9
|
+
from?: PromiseOrValue<string>;
|
|
10
|
+
}): Promise<VotingEscrowIncreasing>;
|
|
11
|
+
getDeployTransaction(overrides?: Overrides & {
|
|
12
|
+
from?: PromiseOrValue<string>;
|
|
13
|
+
}): TransactionRequest;
|
|
14
|
+
attach(address: string): VotingEscrowIncreasing;
|
|
15
|
+
connect(signer: Signer): VotingEscrowIncreasing__factory;
|
|
16
|
+
static readonly bytecode: string;
|
|
17
|
+
static readonly abi: readonly [{
|
|
18
|
+
readonly type: "constructor";
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly stateMutability: "nonpayable";
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
readonly name: "ESCROW_ADMIN_ROLE";
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly name: "";
|
|
27
|
+
readonly type: "bytes32";
|
|
28
|
+
readonly internalType: "bytes32";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly name: "PAUSER_ROLE";
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly outputs: readonly [{
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "bytes32";
|
|
38
|
+
readonly internalType: "bytes32";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "view";
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly name: "SWEEPER_ROLE";
|
|
44
|
+
readonly inputs: readonly [];
|
|
45
|
+
readonly outputs: readonly [{
|
|
46
|
+
readonly name: "";
|
|
47
|
+
readonly type: "bytes32";
|
|
48
|
+
readonly internalType: "bytes32";
|
|
49
|
+
}];
|
|
50
|
+
readonly stateMutability: "view";
|
|
51
|
+
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly name: "beginWithdrawal";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly name: "_tokenId";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
readonly internalType: "uint256";
|
|
58
|
+
}];
|
|
59
|
+
readonly outputs: readonly [];
|
|
60
|
+
readonly stateMutability: "nonpayable";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "clock";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly name: "createLock";
|
|
74
|
+
readonly inputs: readonly [{
|
|
75
|
+
readonly name: "_value";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
readonly internalType: "uint256";
|
|
78
|
+
}];
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "nonpayable";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "createLockFor";
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly name: "_value";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
readonly internalType: "uint256";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "_to";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
}];
|
|
97
|
+
readonly outputs: readonly [{
|
|
98
|
+
readonly name: "";
|
|
99
|
+
readonly type: "uint256";
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
}];
|
|
102
|
+
readonly stateMutability: "nonpayable";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "function";
|
|
105
|
+
readonly name: "curve";
|
|
106
|
+
readonly inputs: readonly [];
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly type: "address";
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "function";
|
|
115
|
+
readonly name: "dao";
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly name: "";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
readonly internalType: "contract IDAO";
|
|
121
|
+
}];
|
|
122
|
+
readonly stateMutability: "view";
|
|
123
|
+
}, {
|
|
124
|
+
readonly type: "function";
|
|
125
|
+
readonly name: "decimals";
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly outputs: readonly [{
|
|
128
|
+
readonly name: "";
|
|
129
|
+
readonly type: "uint8";
|
|
130
|
+
readonly internalType: "uint8";
|
|
131
|
+
}];
|
|
132
|
+
readonly stateMutability: "view";
|
|
133
|
+
}, {
|
|
134
|
+
readonly type: "function";
|
|
135
|
+
readonly name: "implementation";
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly outputs: readonly [{
|
|
138
|
+
readonly name: "";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
}];
|
|
142
|
+
readonly stateMutability: "view";
|
|
143
|
+
}, {
|
|
144
|
+
readonly type: "function";
|
|
145
|
+
readonly name: "initialize";
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly name: "_token";
|
|
148
|
+
readonly type: "address";
|
|
149
|
+
readonly internalType: "address";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "_dao";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
readonly internalType: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "_clock";
|
|
156
|
+
readonly type: "address";
|
|
157
|
+
readonly internalType: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "_initialMinDeposit";
|
|
160
|
+
readonly type: "uint256";
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
}];
|
|
163
|
+
readonly outputs: readonly [];
|
|
164
|
+
readonly stateMutability: "nonpayable";
|
|
165
|
+
}, {
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
readonly name: "isApprovedOrOwner";
|
|
168
|
+
readonly inputs: readonly [{
|
|
169
|
+
readonly name: "_spender";
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "_tokenId";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
readonly internalType: "uint256";
|
|
176
|
+
}];
|
|
177
|
+
readonly outputs: readonly [{
|
|
178
|
+
readonly name: "";
|
|
179
|
+
readonly type: "bool";
|
|
180
|
+
readonly internalType: "bool";
|
|
181
|
+
}];
|
|
182
|
+
readonly stateMutability: "view";
|
|
183
|
+
}, {
|
|
184
|
+
readonly type: "function";
|
|
185
|
+
readonly name: "isVoting";
|
|
186
|
+
readonly inputs: readonly [{
|
|
187
|
+
readonly name: "_tokenId";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
readonly internalType: "uint256";
|
|
190
|
+
}];
|
|
191
|
+
readonly outputs: readonly [{
|
|
192
|
+
readonly name: "";
|
|
193
|
+
readonly type: "bool";
|
|
194
|
+
readonly internalType: "bool";
|
|
195
|
+
}];
|
|
196
|
+
readonly stateMutability: "view";
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
readonly name: "lastLockId";
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly name: "";
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
readonly internalType: "uint256";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
readonly name: "lockNFT";
|
|
210
|
+
readonly inputs: readonly [];
|
|
211
|
+
readonly outputs: readonly [{
|
|
212
|
+
readonly name: "";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
readonly internalType: "address";
|
|
215
|
+
}];
|
|
216
|
+
readonly stateMutability: "view";
|
|
217
|
+
}, {
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
readonly name: "locked";
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly name: "_tokenId";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
}];
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly name: "";
|
|
227
|
+
readonly type: "tuple";
|
|
228
|
+
readonly internalType: "struct ILockedBalanceIncreasing.LockedBalance";
|
|
229
|
+
readonly components: readonly [{
|
|
230
|
+
readonly name: "amount";
|
|
231
|
+
readonly type: "uint208";
|
|
232
|
+
readonly internalType: "uint208";
|
|
233
|
+
}, {
|
|
234
|
+
readonly name: "start";
|
|
235
|
+
readonly type: "uint48";
|
|
236
|
+
readonly internalType: "uint48";
|
|
237
|
+
}];
|
|
238
|
+
}];
|
|
239
|
+
readonly stateMutability: "view";
|
|
240
|
+
}, {
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
readonly name: "minDeposit";
|
|
243
|
+
readonly inputs: readonly [];
|
|
244
|
+
readonly outputs: readonly [{
|
|
245
|
+
readonly name: "";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
readonly internalType: "uint256";
|
|
248
|
+
}];
|
|
249
|
+
readonly stateMutability: "view";
|
|
250
|
+
}, {
|
|
251
|
+
readonly type: "function";
|
|
252
|
+
readonly name: "ownedTokens";
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly name: "_owner";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
readonly internalType: "address";
|
|
257
|
+
}];
|
|
258
|
+
readonly outputs: readonly [{
|
|
259
|
+
readonly name: "tokenIds";
|
|
260
|
+
readonly type: "uint256[]";
|
|
261
|
+
readonly internalType: "uint256[]";
|
|
262
|
+
}];
|
|
263
|
+
readonly stateMutability: "view";
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
readonly name: "pause";
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly outputs: readonly [];
|
|
269
|
+
readonly stateMutability: "nonpayable";
|
|
270
|
+
}, {
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
readonly name: "paused";
|
|
273
|
+
readonly inputs: readonly [];
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly name: "";
|
|
276
|
+
readonly type: "bool";
|
|
277
|
+
readonly internalType: "bool";
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "proxiableUUID";
|
|
283
|
+
readonly inputs: readonly [];
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly name: "";
|
|
286
|
+
readonly type: "bytes32";
|
|
287
|
+
readonly internalType: "bytes32";
|
|
288
|
+
}];
|
|
289
|
+
readonly stateMutability: "view";
|
|
290
|
+
}, {
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
readonly name: "queue";
|
|
293
|
+
readonly inputs: readonly [];
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly name: "";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
300
|
+
}, {
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
readonly name: "resetVotesAndBeginWithdrawal";
|
|
303
|
+
readonly inputs: readonly [{
|
|
304
|
+
readonly name: "_tokenId";
|
|
305
|
+
readonly type: "uint256";
|
|
306
|
+
readonly internalType: "uint256";
|
|
307
|
+
}];
|
|
308
|
+
readonly outputs: readonly [];
|
|
309
|
+
readonly stateMutability: "nonpayable";
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "setClock";
|
|
313
|
+
readonly inputs: readonly [{
|
|
314
|
+
readonly name: "_clock";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
readonly internalType: "address";
|
|
317
|
+
}];
|
|
318
|
+
readonly outputs: readonly [];
|
|
319
|
+
readonly stateMutability: "nonpayable";
|
|
320
|
+
}, {
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "setCurve";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly name: "_curve";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
}];
|
|
328
|
+
readonly outputs: readonly [];
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
330
|
+
}, {
|
|
331
|
+
readonly type: "function";
|
|
332
|
+
readonly name: "setLockNFT";
|
|
333
|
+
readonly inputs: readonly [{
|
|
334
|
+
readonly name: "_nft";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
readonly internalType: "address";
|
|
337
|
+
}];
|
|
338
|
+
readonly outputs: readonly [];
|
|
339
|
+
readonly stateMutability: "nonpayable";
|
|
340
|
+
}, {
|
|
341
|
+
readonly type: "function";
|
|
342
|
+
readonly name: "setMinDeposit";
|
|
343
|
+
readonly inputs: readonly [{
|
|
344
|
+
readonly name: "_minDeposit";
|
|
345
|
+
readonly type: "uint256";
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
}];
|
|
348
|
+
readonly outputs: readonly [];
|
|
349
|
+
readonly stateMutability: "nonpayable";
|
|
350
|
+
}, {
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
readonly name: "setQueue";
|
|
353
|
+
readonly inputs: readonly [{
|
|
354
|
+
readonly name: "_queue";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
readonly internalType: "address";
|
|
357
|
+
}];
|
|
358
|
+
readonly outputs: readonly [];
|
|
359
|
+
readonly stateMutability: "nonpayable";
|
|
360
|
+
}, {
|
|
361
|
+
readonly type: "function";
|
|
362
|
+
readonly name: "setVoter";
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly name: "_voter";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
readonly internalType: "address";
|
|
367
|
+
}];
|
|
368
|
+
readonly outputs: readonly [];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
}, {
|
|
371
|
+
readonly type: "function";
|
|
372
|
+
readonly name: "sweep";
|
|
373
|
+
readonly inputs: readonly [];
|
|
374
|
+
readonly outputs: readonly [];
|
|
375
|
+
readonly stateMutability: "nonpayable";
|
|
376
|
+
}, {
|
|
377
|
+
readonly type: "function";
|
|
378
|
+
readonly name: "sweepNFT";
|
|
379
|
+
readonly inputs: readonly [{
|
|
380
|
+
readonly name: "_tokenId";
|
|
381
|
+
readonly type: "uint256";
|
|
382
|
+
readonly internalType: "uint256";
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "_to";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
readonly internalType: "address";
|
|
387
|
+
}];
|
|
388
|
+
readonly outputs: readonly [];
|
|
389
|
+
readonly stateMutability: "nonpayable";
|
|
390
|
+
}, {
|
|
391
|
+
readonly type: "function";
|
|
392
|
+
readonly name: "token";
|
|
393
|
+
readonly inputs: readonly [];
|
|
394
|
+
readonly outputs: readonly [{
|
|
395
|
+
readonly name: "";
|
|
396
|
+
readonly type: "address";
|
|
397
|
+
readonly internalType: "address";
|
|
398
|
+
}];
|
|
399
|
+
readonly stateMutability: "view";
|
|
400
|
+
}, {
|
|
401
|
+
readonly type: "function";
|
|
402
|
+
readonly name: "totalLocked";
|
|
403
|
+
readonly inputs: readonly [];
|
|
404
|
+
readonly outputs: readonly [{
|
|
405
|
+
readonly name: "";
|
|
406
|
+
readonly type: "uint256";
|
|
407
|
+
readonly internalType: "uint256";
|
|
408
|
+
}];
|
|
409
|
+
readonly stateMutability: "view";
|
|
410
|
+
}, {
|
|
411
|
+
readonly type: "function";
|
|
412
|
+
readonly name: "totalVotingPower";
|
|
413
|
+
readonly inputs: readonly [];
|
|
414
|
+
readonly outputs: readonly [{
|
|
415
|
+
readonly name: "";
|
|
416
|
+
readonly type: "uint256";
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
}];
|
|
419
|
+
readonly stateMutability: "view";
|
|
420
|
+
}, {
|
|
421
|
+
readonly type: "function";
|
|
422
|
+
readonly name: "totalVotingPowerAt";
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly name: "_timestamp";
|
|
425
|
+
readonly type: "uint256";
|
|
426
|
+
readonly internalType: "uint256";
|
|
427
|
+
}];
|
|
428
|
+
readonly outputs: readonly [{
|
|
429
|
+
readonly name: "";
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
readonly internalType: "uint256";
|
|
432
|
+
}];
|
|
433
|
+
readonly stateMutability: "view";
|
|
434
|
+
}, {
|
|
435
|
+
readonly type: "function";
|
|
436
|
+
readonly name: "unpause";
|
|
437
|
+
readonly inputs: readonly [];
|
|
438
|
+
readonly outputs: readonly [];
|
|
439
|
+
readonly stateMutability: "nonpayable";
|
|
440
|
+
}, {
|
|
441
|
+
readonly type: "function";
|
|
442
|
+
readonly name: "upgradeTo";
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly name: "newImplementation";
|
|
445
|
+
readonly type: "address";
|
|
446
|
+
readonly internalType: "address";
|
|
447
|
+
}];
|
|
448
|
+
readonly outputs: readonly [];
|
|
449
|
+
readonly stateMutability: "nonpayable";
|
|
450
|
+
}, {
|
|
451
|
+
readonly type: "function";
|
|
452
|
+
readonly name: "upgradeToAndCall";
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly name: "newImplementation";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
readonly internalType: "address";
|
|
457
|
+
}, {
|
|
458
|
+
readonly name: "data";
|
|
459
|
+
readonly type: "bytes";
|
|
460
|
+
readonly internalType: "bytes";
|
|
461
|
+
}];
|
|
462
|
+
readonly outputs: readonly [];
|
|
463
|
+
readonly stateMutability: "payable";
|
|
464
|
+
}, {
|
|
465
|
+
readonly type: "function";
|
|
466
|
+
readonly name: "voter";
|
|
467
|
+
readonly inputs: readonly [];
|
|
468
|
+
readonly outputs: readonly [{
|
|
469
|
+
readonly name: "";
|
|
470
|
+
readonly type: "address";
|
|
471
|
+
readonly internalType: "address";
|
|
472
|
+
}];
|
|
473
|
+
readonly stateMutability: "view";
|
|
474
|
+
}, {
|
|
475
|
+
readonly type: "function";
|
|
476
|
+
readonly name: "votingPower";
|
|
477
|
+
readonly inputs: readonly [{
|
|
478
|
+
readonly name: "_tokenId";
|
|
479
|
+
readonly type: "uint256";
|
|
480
|
+
readonly internalType: "uint256";
|
|
481
|
+
}];
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "function";
|
|
490
|
+
readonly name: "votingPowerAt";
|
|
491
|
+
readonly inputs: readonly [{
|
|
492
|
+
readonly name: "_tokenId";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
readonly internalType: "uint256";
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: "_t";
|
|
497
|
+
readonly type: "uint256";
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
}];
|
|
500
|
+
readonly outputs: readonly [{
|
|
501
|
+
readonly name: "";
|
|
502
|
+
readonly type: "uint256";
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
}];
|
|
505
|
+
readonly stateMutability: "view";
|
|
506
|
+
}, {
|
|
507
|
+
readonly type: "function";
|
|
508
|
+
readonly name: "votingPowerForAccount";
|
|
509
|
+
readonly inputs: readonly [{
|
|
510
|
+
readonly name: "_account";
|
|
511
|
+
readonly type: "address";
|
|
512
|
+
readonly internalType: "address";
|
|
513
|
+
}];
|
|
514
|
+
readonly outputs: readonly [{
|
|
515
|
+
readonly name: "accountVotingPower";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
readonly internalType: "uint256";
|
|
518
|
+
}];
|
|
519
|
+
readonly stateMutability: "view";
|
|
520
|
+
}, {
|
|
521
|
+
readonly type: "function";
|
|
522
|
+
readonly name: "withdraw";
|
|
523
|
+
readonly inputs: readonly [{
|
|
524
|
+
readonly name: "_tokenId";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
}];
|
|
528
|
+
readonly outputs: readonly [];
|
|
529
|
+
readonly stateMutability: "nonpayable";
|
|
530
|
+
}, {
|
|
531
|
+
readonly type: "event";
|
|
532
|
+
readonly name: "AdminChanged";
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly name: "previousAdmin";
|
|
535
|
+
readonly type: "address";
|
|
536
|
+
readonly indexed: false;
|
|
537
|
+
readonly internalType: "address";
|
|
538
|
+
}, {
|
|
539
|
+
readonly name: "newAdmin";
|
|
540
|
+
readonly type: "address";
|
|
541
|
+
readonly indexed: false;
|
|
542
|
+
readonly internalType: "address";
|
|
543
|
+
}];
|
|
544
|
+
readonly anonymous: false;
|
|
545
|
+
}, {
|
|
546
|
+
readonly type: "event";
|
|
547
|
+
readonly name: "BeaconUpgraded";
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly name: "beacon";
|
|
550
|
+
readonly type: "address";
|
|
551
|
+
readonly indexed: true;
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
}];
|
|
554
|
+
readonly anonymous: false;
|
|
555
|
+
}, {
|
|
556
|
+
readonly type: "event";
|
|
557
|
+
readonly name: "Deposit";
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly name: "depositor";
|
|
560
|
+
readonly type: "address";
|
|
561
|
+
readonly indexed: true;
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "tokenId";
|
|
565
|
+
readonly type: "uint256";
|
|
566
|
+
readonly indexed: true;
|
|
567
|
+
readonly internalType: "uint256";
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "startTs";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
readonly indexed: true;
|
|
572
|
+
readonly internalType: "uint256";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "value";
|
|
575
|
+
readonly type: "uint256";
|
|
576
|
+
readonly indexed: false;
|
|
577
|
+
readonly internalType: "uint256";
|
|
578
|
+
}, {
|
|
579
|
+
readonly name: "newTotalLocked";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
readonly indexed: false;
|
|
582
|
+
readonly internalType: "uint256";
|
|
583
|
+
}];
|
|
584
|
+
readonly anonymous: false;
|
|
585
|
+
}, {
|
|
586
|
+
readonly type: "event";
|
|
587
|
+
readonly name: "Initialized";
|
|
588
|
+
readonly inputs: readonly [{
|
|
589
|
+
readonly name: "version";
|
|
590
|
+
readonly type: "uint8";
|
|
591
|
+
readonly indexed: false;
|
|
592
|
+
readonly internalType: "uint8";
|
|
593
|
+
}];
|
|
594
|
+
readonly anonymous: false;
|
|
595
|
+
}, {
|
|
596
|
+
readonly type: "event";
|
|
597
|
+
readonly name: "MinDepositSet";
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly name: "minDeposit";
|
|
600
|
+
readonly type: "uint256";
|
|
601
|
+
readonly indexed: false;
|
|
602
|
+
readonly internalType: "uint256";
|
|
603
|
+
}];
|
|
604
|
+
readonly anonymous: false;
|
|
605
|
+
}, {
|
|
606
|
+
readonly type: "event";
|
|
607
|
+
readonly name: "Paused";
|
|
608
|
+
readonly inputs: readonly [{
|
|
609
|
+
readonly name: "account";
|
|
610
|
+
readonly type: "address";
|
|
611
|
+
readonly indexed: false;
|
|
612
|
+
readonly internalType: "address";
|
|
613
|
+
}];
|
|
614
|
+
readonly anonymous: false;
|
|
615
|
+
}, {
|
|
616
|
+
readonly type: "event";
|
|
617
|
+
readonly name: "Sweep";
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly name: "to";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
readonly indexed: true;
|
|
622
|
+
readonly internalType: "address";
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "amount";
|
|
625
|
+
readonly type: "uint256";
|
|
626
|
+
readonly indexed: false;
|
|
627
|
+
readonly internalType: "uint256";
|
|
628
|
+
}];
|
|
629
|
+
readonly anonymous: false;
|
|
630
|
+
}, {
|
|
631
|
+
readonly type: "event";
|
|
632
|
+
readonly name: "SweepNFT";
|
|
633
|
+
readonly inputs: readonly [{
|
|
634
|
+
readonly name: "to";
|
|
635
|
+
readonly type: "address";
|
|
636
|
+
readonly indexed: true;
|
|
637
|
+
readonly internalType: "address";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "tokenId";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
readonly indexed: false;
|
|
642
|
+
readonly internalType: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
readonly anonymous: false;
|
|
645
|
+
}, {
|
|
646
|
+
readonly type: "event";
|
|
647
|
+
readonly name: "Unpaused";
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly name: "account";
|
|
650
|
+
readonly type: "address";
|
|
651
|
+
readonly indexed: false;
|
|
652
|
+
readonly internalType: "address";
|
|
653
|
+
}];
|
|
654
|
+
readonly anonymous: false;
|
|
655
|
+
}, {
|
|
656
|
+
readonly type: "event";
|
|
657
|
+
readonly name: "Upgraded";
|
|
658
|
+
readonly inputs: readonly [{
|
|
659
|
+
readonly name: "implementation";
|
|
660
|
+
readonly type: "address";
|
|
661
|
+
readonly indexed: true;
|
|
662
|
+
readonly internalType: "address";
|
|
663
|
+
}];
|
|
664
|
+
readonly anonymous: false;
|
|
665
|
+
}, {
|
|
666
|
+
readonly type: "event";
|
|
667
|
+
readonly name: "Withdraw";
|
|
668
|
+
readonly inputs: readonly [{
|
|
669
|
+
readonly name: "depositor";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
readonly indexed: true;
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "tokenId";
|
|
675
|
+
readonly type: "uint256";
|
|
676
|
+
readonly indexed: true;
|
|
677
|
+
readonly internalType: "uint256";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "value";
|
|
680
|
+
readonly type: "uint256";
|
|
681
|
+
readonly indexed: false;
|
|
682
|
+
readonly internalType: "uint256";
|
|
683
|
+
}, {
|
|
684
|
+
readonly name: "ts";
|
|
685
|
+
readonly type: "uint256";
|
|
686
|
+
readonly indexed: false;
|
|
687
|
+
readonly internalType: "uint256";
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: "newTotalLocked";
|
|
690
|
+
readonly type: "uint256";
|
|
691
|
+
readonly indexed: false;
|
|
692
|
+
readonly internalType: "uint256";
|
|
693
|
+
}];
|
|
694
|
+
readonly anonymous: false;
|
|
695
|
+
}, {
|
|
696
|
+
readonly type: "error";
|
|
697
|
+
readonly name: "AddressAlreadySet";
|
|
698
|
+
readonly inputs: readonly [];
|
|
699
|
+
}, {
|
|
700
|
+
readonly type: "error";
|
|
701
|
+
readonly name: "AlreadyVoted";
|
|
702
|
+
readonly inputs: readonly [];
|
|
703
|
+
}, {
|
|
704
|
+
readonly type: "error";
|
|
705
|
+
readonly name: "AmountTooSmall";
|
|
706
|
+
readonly inputs: readonly [];
|
|
707
|
+
}, {
|
|
708
|
+
readonly type: "error";
|
|
709
|
+
readonly name: "CannotExit";
|
|
710
|
+
readonly inputs: readonly [];
|
|
711
|
+
}, {
|
|
712
|
+
readonly type: "error";
|
|
713
|
+
readonly name: "CannotWithdrawInSameBlock";
|
|
714
|
+
readonly inputs: readonly [];
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "error";
|
|
717
|
+
readonly name: "DaoUnauthorized";
|
|
718
|
+
readonly inputs: readonly [{
|
|
719
|
+
readonly name: "dao";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
readonly internalType: "address";
|
|
722
|
+
}, {
|
|
723
|
+
readonly name: "where";
|
|
724
|
+
readonly type: "address";
|
|
725
|
+
readonly internalType: "address";
|
|
726
|
+
}, {
|
|
727
|
+
readonly name: "who";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
readonly internalType: "address";
|
|
730
|
+
}, {
|
|
731
|
+
readonly name: "permissionId";
|
|
732
|
+
readonly type: "bytes32";
|
|
733
|
+
readonly internalType: "bytes32";
|
|
734
|
+
}];
|
|
735
|
+
}, {
|
|
736
|
+
readonly type: "error";
|
|
737
|
+
readonly name: "LockNFTAlreadySet";
|
|
738
|
+
readonly inputs: readonly [];
|
|
739
|
+
}, {
|
|
740
|
+
readonly type: "error";
|
|
741
|
+
readonly name: "MustBe18Decimals";
|
|
742
|
+
readonly inputs: readonly [];
|
|
743
|
+
}, {
|
|
744
|
+
readonly type: "error";
|
|
745
|
+
readonly name: "NoLockFound";
|
|
746
|
+
readonly inputs: readonly [];
|
|
747
|
+
}, {
|
|
748
|
+
readonly type: "error";
|
|
749
|
+
readonly name: "NoOwner";
|
|
750
|
+
readonly inputs: readonly [];
|
|
751
|
+
}, {
|
|
752
|
+
readonly type: "error";
|
|
753
|
+
readonly name: "NonExistentToken";
|
|
754
|
+
readonly inputs: readonly [];
|
|
755
|
+
}, {
|
|
756
|
+
readonly type: "error";
|
|
757
|
+
readonly name: "NotApprovedOrOwner";
|
|
758
|
+
readonly inputs: readonly [];
|
|
759
|
+
}, {
|
|
760
|
+
readonly type: "error";
|
|
761
|
+
readonly name: "NotOwner";
|
|
762
|
+
readonly inputs: readonly [];
|
|
763
|
+
}, {
|
|
764
|
+
readonly type: "error";
|
|
765
|
+
readonly name: "NotSameOwner";
|
|
766
|
+
readonly inputs: readonly [];
|
|
767
|
+
}, {
|
|
768
|
+
readonly type: "error";
|
|
769
|
+
readonly name: "NotTicketHolder";
|
|
770
|
+
readonly inputs: readonly [];
|
|
771
|
+
}, {
|
|
772
|
+
readonly type: "error";
|
|
773
|
+
readonly name: "NotVoter";
|
|
774
|
+
readonly inputs: readonly [];
|
|
775
|
+
}, {
|
|
776
|
+
readonly type: "error";
|
|
777
|
+
readonly name: "NothingToSweep";
|
|
778
|
+
readonly inputs: readonly [];
|
|
779
|
+
}, {
|
|
780
|
+
readonly type: "error";
|
|
781
|
+
readonly name: "OnlyIVotesAdapter";
|
|
782
|
+
readonly inputs: readonly [];
|
|
783
|
+
}, {
|
|
784
|
+
readonly type: "error";
|
|
785
|
+
readonly name: "OnlyLockNFT";
|
|
786
|
+
readonly inputs: readonly [];
|
|
787
|
+
}, {
|
|
788
|
+
readonly type: "error";
|
|
789
|
+
readonly name: "OwnershipChange";
|
|
790
|
+
readonly inputs: readonly [];
|
|
791
|
+
}, {
|
|
792
|
+
readonly type: "error";
|
|
793
|
+
readonly name: "SameAddress";
|
|
794
|
+
readonly inputs: readonly [];
|
|
795
|
+
}, {
|
|
796
|
+
readonly type: "error";
|
|
797
|
+
readonly name: "TransferBalanceIncorrect";
|
|
798
|
+
readonly inputs: readonly [];
|
|
799
|
+
}, {
|
|
800
|
+
readonly type: "error";
|
|
801
|
+
readonly name: "ZeroAddress";
|
|
802
|
+
readonly inputs: readonly [];
|
|
803
|
+
}, {
|
|
804
|
+
readonly type: "error";
|
|
805
|
+
readonly name: "ZeroAmount";
|
|
806
|
+
readonly inputs: readonly [];
|
|
807
|
+
}, {
|
|
808
|
+
readonly type: "error";
|
|
809
|
+
readonly name: "ZeroBalance";
|
|
810
|
+
readonly inputs: readonly [];
|
|
811
|
+
}];
|
|
812
|
+
static createInterface(): VotingEscrowIncreasingInterface;
|
|
813
|
+
static connect(address: string, signerOrProvider: Signer | Provider): VotingEscrowIncreasing;
|
|
814
|
+
}
|
|
815
|
+
export {};
|