@underscore-finance/sdk 1.2.12 → 1.2.14
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/contracts/Helpers.d.ts +1463 -0
- package/dist/contracts/Helpers.d.ts.map +1 -0
- package/dist/contracts/Helpers.js +1817 -0
- package/dist/contracts/LegoBook.d.ts +0 -53
- package/dist/contracts/LegoBook.d.ts.map +1 -1
- package/dist/contracts/LegoBook.js +1 -69
- package/dist/contracts/LevgVaultAgent.d.ts +1955 -0
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -0
- package/dist/contracts/LevgVaultAgent.js +2523 -0
- package/dist/contracts/LevgVaultHelper.d.ts +13 -232
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +9 -303
- package/dist/contracts/LevgVaultTools.d.ts +2629 -0
- package/dist/contracts/LevgVaultTools.d.ts.map +1 -0
- package/dist/contracts/LevgVaultTools.js +3560 -0
- package/dist/contracts/index.d.ts +3 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +3 -0
- package/dist/contracts/sdk.d.ts +6 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1463 @@
|
|
|
1
|
+
import { AddressResolverFunction } from '@dappql/async';
|
|
2
|
+
import { ParseEventLogsReturnType, Log, RpcLog, PublicClient, WalletClient } from 'viem';
|
|
3
|
+
type ExtractArgs<T> = T extends (...args: infer P) => any ? P : never;
|
|
4
|
+
type Address = `0x${string}`;
|
|
5
|
+
export declare const abi: readonly [{
|
|
6
|
+
readonly name: "GovChangeTimeLockModified";
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly name: "prevTimeLock";
|
|
9
|
+
readonly type: "uint256";
|
|
10
|
+
readonly indexed: false;
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "newTimeLock";
|
|
13
|
+
readonly type: "uint256";
|
|
14
|
+
readonly indexed: false;
|
|
15
|
+
}];
|
|
16
|
+
readonly anonymous: false;
|
|
17
|
+
readonly type: "event";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "RegistryTimeLockModified";
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "newTimeLock";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
readonly indexed: false;
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "prevTimeLock";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
readonly indexed: false;
|
|
28
|
+
}, {
|
|
29
|
+
readonly name: "registry";
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
readonly indexed: false;
|
|
32
|
+
}];
|
|
33
|
+
readonly anonymous: false;
|
|
34
|
+
readonly type: "event";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "GovChangeStarted";
|
|
37
|
+
readonly inputs: readonly [{
|
|
38
|
+
readonly name: "prevGov";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
readonly indexed: true;
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "newGov";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
readonly indexed: true;
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "confirmBlock";
|
|
47
|
+
readonly type: "uint256";
|
|
48
|
+
readonly indexed: false;
|
|
49
|
+
}];
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly type: "event";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "GovChangeConfirmed";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly name: "prevGov";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
readonly indexed: true;
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "newGov";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
readonly indexed: true;
|
|
62
|
+
}, {
|
|
63
|
+
readonly name: "initiatedBlock";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
readonly indexed: false;
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "confirmBlock";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
readonly indexed: false;
|
|
70
|
+
}];
|
|
71
|
+
readonly anonymous: false;
|
|
72
|
+
readonly type: "event";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "GovChangeCancelled";
|
|
75
|
+
readonly inputs: readonly [{
|
|
76
|
+
readonly name: "cancelledGov";
|
|
77
|
+
readonly type: "address";
|
|
78
|
+
readonly indexed: true;
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "initiatedBlock";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly indexed: false;
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "confirmBlock";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
readonly indexed: false;
|
|
87
|
+
}];
|
|
88
|
+
readonly anonymous: false;
|
|
89
|
+
readonly type: "event";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "GovRelinquished";
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly name: "prevGov";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
readonly indexed: true;
|
|
96
|
+
}];
|
|
97
|
+
readonly anonymous: false;
|
|
98
|
+
readonly type: "event";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "UndyHqSetupFinished";
|
|
101
|
+
readonly inputs: readonly [{
|
|
102
|
+
readonly name: "prevGov";
|
|
103
|
+
readonly type: "address";
|
|
104
|
+
readonly indexed: true;
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "newGov";
|
|
107
|
+
readonly type: "address";
|
|
108
|
+
readonly indexed: true;
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "timeLock";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
}];
|
|
114
|
+
readonly anonymous: false;
|
|
115
|
+
readonly type: "event";
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "DepartmentPauseModified";
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly name: "isPaused";
|
|
120
|
+
readonly type: "bool";
|
|
121
|
+
readonly indexed: false;
|
|
122
|
+
}];
|
|
123
|
+
readonly anonymous: false;
|
|
124
|
+
readonly type: "event";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "DepartmentFundsRecovered";
|
|
127
|
+
readonly inputs: readonly [{
|
|
128
|
+
readonly name: "asset";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
readonly indexed: true;
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "recipient";
|
|
133
|
+
readonly type: "address";
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: "balance";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
readonly indexed: false;
|
|
139
|
+
}];
|
|
140
|
+
readonly anonymous: false;
|
|
141
|
+
readonly type: "event";
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "NewAddressPending";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "addr";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
readonly indexed: true;
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "description";
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly indexed: false;
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "confirmBlock";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
readonly indexed: false;
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "registry";
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
}];
|
|
161
|
+
readonly anonymous: false;
|
|
162
|
+
readonly type: "event";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "NewAddressConfirmed";
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly name: "addr";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly indexed: true;
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "regId";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly indexed: false;
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "description";
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly indexed: false;
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "registry";
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly indexed: false;
|
|
181
|
+
}];
|
|
182
|
+
readonly anonymous: false;
|
|
183
|
+
readonly type: "event";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "NewAddressCancelled";
|
|
186
|
+
readonly inputs: readonly [{
|
|
187
|
+
readonly name: "description";
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "addr";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
readonly indexed: true;
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "initiatedBlock";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
readonly indexed: false;
|
|
198
|
+
}, {
|
|
199
|
+
readonly name: "confirmBlock";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
readonly indexed: false;
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "registry";
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly indexed: false;
|
|
206
|
+
}];
|
|
207
|
+
readonly anonymous: false;
|
|
208
|
+
readonly type: "event";
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "AddressUpdatePending";
|
|
211
|
+
readonly inputs: readonly [{
|
|
212
|
+
readonly name: "regId";
|
|
213
|
+
readonly type: "uint256";
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "description";
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
readonly indexed: false;
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "newAddr";
|
|
221
|
+
readonly type: "address";
|
|
222
|
+
readonly indexed: true;
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "prevAddr";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
readonly indexed: true;
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "version";
|
|
229
|
+
readonly type: "uint256";
|
|
230
|
+
readonly indexed: false;
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "confirmBlock";
|
|
233
|
+
readonly type: "uint256";
|
|
234
|
+
readonly indexed: false;
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "registry";
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
readonly indexed: false;
|
|
239
|
+
}];
|
|
240
|
+
readonly anonymous: false;
|
|
241
|
+
readonly type: "event";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "AddressUpdateConfirmed";
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly name: "regId";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
readonly indexed: false;
|
|
248
|
+
}, {
|
|
249
|
+
readonly name: "description";
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly indexed: false;
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "newAddr";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
readonly indexed: true;
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "prevAddr";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
readonly indexed: true;
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "version";
|
|
262
|
+
readonly type: "uint256";
|
|
263
|
+
readonly indexed: false;
|
|
264
|
+
}, {
|
|
265
|
+
readonly name: "registry";
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
readonly indexed: false;
|
|
268
|
+
}];
|
|
269
|
+
readonly anonymous: false;
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "AddressUpdateCancelled";
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly name: "regId";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
readonly indexed: false;
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "description";
|
|
279
|
+
readonly type: "string";
|
|
280
|
+
readonly indexed: false;
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "newAddr";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
readonly indexed: true;
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "prevAddr";
|
|
287
|
+
readonly type: "address";
|
|
288
|
+
readonly indexed: true;
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "initiatedBlock";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
readonly indexed: false;
|
|
293
|
+
}, {
|
|
294
|
+
readonly name: "confirmBlock";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
readonly indexed: false;
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "registry";
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
readonly indexed: false;
|
|
301
|
+
}];
|
|
302
|
+
readonly anonymous: false;
|
|
303
|
+
readonly type: "event";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "AddressDisablePending";
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly name: "regId";
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
readonly indexed: false;
|
|
310
|
+
}, {
|
|
311
|
+
readonly name: "description";
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly indexed: false;
|
|
314
|
+
}, {
|
|
315
|
+
readonly name: "addr";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
readonly indexed: true;
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "version";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
readonly indexed: false;
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "confirmBlock";
|
|
324
|
+
readonly type: "uint256";
|
|
325
|
+
readonly indexed: false;
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "registry";
|
|
328
|
+
readonly type: "string";
|
|
329
|
+
readonly indexed: false;
|
|
330
|
+
}];
|
|
331
|
+
readonly anonymous: false;
|
|
332
|
+
readonly type: "event";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "AddressDisableConfirmed";
|
|
335
|
+
readonly inputs: readonly [{
|
|
336
|
+
readonly name: "regId";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
readonly indexed: false;
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "description";
|
|
341
|
+
readonly type: "string";
|
|
342
|
+
readonly indexed: false;
|
|
343
|
+
}, {
|
|
344
|
+
readonly name: "addr";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
readonly indexed: true;
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "version";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
readonly indexed: false;
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "registry";
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
readonly indexed: false;
|
|
355
|
+
}];
|
|
356
|
+
readonly anonymous: false;
|
|
357
|
+
readonly type: "event";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "AddressDisableCancelled";
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly name: "regId";
|
|
362
|
+
readonly type: "uint256";
|
|
363
|
+
readonly indexed: false;
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "description";
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
readonly indexed: false;
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "addr";
|
|
370
|
+
readonly type: "address";
|
|
371
|
+
readonly indexed: true;
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "initiatedBlock";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
readonly indexed: false;
|
|
376
|
+
}, {
|
|
377
|
+
readonly name: "confirmBlock";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
readonly indexed: false;
|
|
380
|
+
}, {
|
|
381
|
+
readonly name: "registry";
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
readonly indexed: false;
|
|
384
|
+
}];
|
|
385
|
+
readonly anonymous: false;
|
|
386
|
+
readonly type: "event";
|
|
387
|
+
}, {
|
|
388
|
+
readonly stateMutability: "view";
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly name: "getUndyHqFromGov";
|
|
391
|
+
readonly inputs: readonly [];
|
|
392
|
+
readonly outputs: readonly [{
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}];
|
|
396
|
+
}, {
|
|
397
|
+
readonly stateMutability: "view";
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
readonly name: "canGovern";
|
|
400
|
+
readonly inputs: readonly [{
|
|
401
|
+
readonly name: "_addr";
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
}];
|
|
404
|
+
readonly outputs: readonly [{
|
|
405
|
+
readonly name: "";
|
|
406
|
+
readonly type: "bool";
|
|
407
|
+
}];
|
|
408
|
+
}, {
|
|
409
|
+
readonly stateMutability: "view";
|
|
410
|
+
readonly type: "function";
|
|
411
|
+
readonly name: "getGovernors";
|
|
412
|
+
readonly inputs: readonly [];
|
|
413
|
+
readonly outputs: readonly [{
|
|
414
|
+
readonly name: "";
|
|
415
|
+
readonly type: "address[]";
|
|
416
|
+
}];
|
|
417
|
+
}, {
|
|
418
|
+
readonly stateMutability: "view";
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
readonly name: "hasPendingGovChange";
|
|
421
|
+
readonly inputs: readonly [];
|
|
422
|
+
readonly outputs: readonly [{
|
|
423
|
+
readonly name: "";
|
|
424
|
+
readonly type: "bool";
|
|
425
|
+
}];
|
|
426
|
+
}, {
|
|
427
|
+
readonly stateMutability: "nonpayable";
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
readonly name: "startGovernanceChange";
|
|
430
|
+
readonly inputs: readonly [{
|
|
431
|
+
readonly name: "_newGov";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}];
|
|
434
|
+
readonly outputs: readonly [];
|
|
435
|
+
}, {
|
|
436
|
+
readonly stateMutability: "nonpayable";
|
|
437
|
+
readonly type: "function";
|
|
438
|
+
readonly name: "confirmGovernanceChange";
|
|
439
|
+
readonly inputs: readonly [];
|
|
440
|
+
readonly outputs: readonly [];
|
|
441
|
+
}, {
|
|
442
|
+
readonly stateMutability: "nonpayable";
|
|
443
|
+
readonly type: "function";
|
|
444
|
+
readonly name: "cancelGovernanceChange";
|
|
445
|
+
readonly inputs: readonly [];
|
|
446
|
+
readonly outputs: readonly [];
|
|
447
|
+
}, {
|
|
448
|
+
readonly stateMutability: "nonpayable";
|
|
449
|
+
readonly type: "function";
|
|
450
|
+
readonly name: "relinquishGov";
|
|
451
|
+
readonly inputs: readonly [];
|
|
452
|
+
readonly outputs: readonly [];
|
|
453
|
+
}, {
|
|
454
|
+
readonly stateMutability: "nonpayable";
|
|
455
|
+
readonly type: "function";
|
|
456
|
+
readonly name: "setGovTimeLock";
|
|
457
|
+
readonly inputs: readonly [{
|
|
458
|
+
readonly name: "_numBlocks";
|
|
459
|
+
readonly type: "uint256";
|
|
460
|
+
}];
|
|
461
|
+
readonly outputs: readonly [{
|
|
462
|
+
readonly name: "";
|
|
463
|
+
readonly type: "bool";
|
|
464
|
+
}];
|
|
465
|
+
}, {
|
|
466
|
+
readonly stateMutability: "view";
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
readonly name: "isValidGovTimeLock";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "_newTimeLock";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}];
|
|
473
|
+
readonly outputs: readonly [{
|
|
474
|
+
readonly name: "";
|
|
475
|
+
readonly type: "bool";
|
|
476
|
+
}];
|
|
477
|
+
}, {
|
|
478
|
+
readonly stateMutability: "view";
|
|
479
|
+
readonly type: "function";
|
|
480
|
+
readonly name: "minGovChangeTimeLock";
|
|
481
|
+
readonly inputs: readonly [];
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
}];
|
|
486
|
+
}, {
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
readonly name: "maxGovChangeTimeLock";
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly outputs: readonly [{
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
}];
|
|
495
|
+
}, {
|
|
496
|
+
readonly stateMutability: "nonpayable";
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
readonly name: "finishUndyHqSetup";
|
|
499
|
+
readonly inputs: readonly [{
|
|
500
|
+
readonly name: "_newGov";
|
|
501
|
+
readonly type: "address";
|
|
502
|
+
}];
|
|
503
|
+
readonly outputs: readonly [{
|
|
504
|
+
readonly name: "";
|
|
505
|
+
readonly type: "bool";
|
|
506
|
+
}];
|
|
507
|
+
}, {
|
|
508
|
+
readonly stateMutability: "nonpayable";
|
|
509
|
+
readonly type: "function";
|
|
510
|
+
readonly name: "finishUndyHqSetup";
|
|
511
|
+
readonly inputs: readonly [{
|
|
512
|
+
readonly name: "_newGov";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "_timeLock";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}];
|
|
518
|
+
readonly outputs: readonly [{
|
|
519
|
+
readonly name: "";
|
|
520
|
+
readonly type: "bool";
|
|
521
|
+
}];
|
|
522
|
+
}, {
|
|
523
|
+
readonly stateMutability: "view";
|
|
524
|
+
readonly type: "function";
|
|
525
|
+
readonly name: "governance";
|
|
526
|
+
readonly inputs: readonly [];
|
|
527
|
+
readonly outputs: readonly [{
|
|
528
|
+
readonly name: "";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
}];
|
|
531
|
+
}, {
|
|
532
|
+
readonly stateMutability: "view";
|
|
533
|
+
readonly type: "function";
|
|
534
|
+
readonly name: "pendingGov";
|
|
535
|
+
readonly inputs: readonly [];
|
|
536
|
+
readonly outputs: readonly [{
|
|
537
|
+
readonly name: "";
|
|
538
|
+
readonly type: "tuple";
|
|
539
|
+
readonly components: readonly [{
|
|
540
|
+
readonly name: "newGov";
|
|
541
|
+
readonly type: "address";
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: "initiatedBlock";
|
|
544
|
+
readonly type: "uint256";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "confirmBlock";
|
|
547
|
+
readonly type: "uint256";
|
|
548
|
+
}];
|
|
549
|
+
}];
|
|
550
|
+
}, {
|
|
551
|
+
readonly stateMutability: "view";
|
|
552
|
+
readonly type: "function";
|
|
553
|
+
readonly name: "numGovChanges";
|
|
554
|
+
readonly inputs: readonly [];
|
|
555
|
+
readonly outputs: readonly [{
|
|
556
|
+
readonly name: "";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
}];
|
|
559
|
+
}, {
|
|
560
|
+
readonly stateMutability: "view";
|
|
561
|
+
readonly type: "function";
|
|
562
|
+
readonly name: "govChangeTimeLock";
|
|
563
|
+
readonly inputs: readonly [];
|
|
564
|
+
readonly outputs: readonly [{
|
|
565
|
+
readonly name: "";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
}];
|
|
568
|
+
}, {
|
|
569
|
+
readonly stateMutability: "view";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
readonly name: "getRegistryDescription";
|
|
572
|
+
readonly inputs: readonly [];
|
|
573
|
+
readonly outputs: readonly [{
|
|
574
|
+
readonly name: "";
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
}];
|
|
577
|
+
}, {
|
|
578
|
+
readonly stateMutability: "view";
|
|
579
|
+
readonly type: "function";
|
|
580
|
+
readonly name: "isValidNewAddress";
|
|
581
|
+
readonly inputs: readonly [{
|
|
582
|
+
readonly name: "_addr";
|
|
583
|
+
readonly type: "address";
|
|
584
|
+
}];
|
|
585
|
+
readonly outputs: readonly [{
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly type: "bool";
|
|
588
|
+
}];
|
|
589
|
+
}, {
|
|
590
|
+
readonly stateMutability: "view";
|
|
591
|
+
readonly type: "function";
|
|
592
|
+
readonly name: "isValidAddressUpdate";
|
|
593
|
+
readonly inputs: readonly [{
|
|
594
|
+
readonly name: "_regId";
|
|
595
|
+
readonly type: "uint256";
|
|
596
|
+
}, {
|
|
597
|
+
readonly name: "_newAddr";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
}];
|
|
600
|
+
readonly outputs: readonly [{
|
|
601
|
+
readonly name: "";
|
|
602
|
+
readonly type: "bool";
|
|
603
|
+
}];
|
|
604
|
+
}, {
|
|
605
|
+
readonly stateMutability: "view";
|
|
606
|
+
readonly type: "function";
|
|
607
|
+
readonly name: "isValidAddressDisable";
|
|
608
|
+
readonly inputs: readonly [{
|
|
609
|
+
readonly name: "_regId";
|
|
610
|
+
readonly type: "uint256";
|
|
611
|
+
}];
|
|
612
|
+
readonly outputs: readonly [{
|
|
613
|
+
readonly name: "";
|
|
614
|
+
readonly type: "bool";
|
|
615
|
+
}];
|
|
616
|
+
}, {
|
|
617
|
+
readonly stateMutability: "nonpayable";
|
|
618
|
+
readonly type: "function";
|
|
619
|
+
readonly name: "setRegistryTimeLock";
|
|
620
|
+
readonly inputs: readonly [{
|
|
621
|
+
readonly name: "_numBlocks";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
}];
|
|
624
|
+
readonly outputs: readonly [{
|
|
625
|
+
readonly name: "";
|
|
626
|
+
readonly type: "bool";
|
|
627
|
+
}];
|
|
628
|
+
}, {
|
|
629
|
+
readonly stateMutability: "view";
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
readonly name: "isValidRegistryTimeLock";
|
|
632
|
+
readonly inputs: readonly [{
|
|
633
|
+
readonly name: "_numBlocks";
|
|
634
|
+
readonly type: "uint256";
|
|
635
|
+
}];
|
|
636
|
+
readonly outputs: readonly [{
|
|
637
|
+
readonly name: "";
|
|
638
|
+
readonly type: "bool";
|
|
639
|
+
}];
|
|
640
|
+
}, {
|
|
641
|
+
readonly stateMutability: "nonpayable";
|
|
642
|
+
readonly type: "function";
|
|
643
|
+
readonly name: "setRegistryTimeLockAfterSetup";
|
|
644
|
+
readonly inputs: readonly [];
|
|
645
|
+
readonly outputs: readonly [{
|
|
646
|
+
readonly name: "";
|
|
647
|
+
readonly type: "bool";
|
|
648
|
+
}];
|
|
649
|
+
}, {
|
|
650
|
+
readonly stateMutability: "nonpayable";
|
|
651
|
+
readonly type: "function";
|
|
652
|
+
readonly name: "setRegistryTimeLockAfterSetup";
|
|
653
|
+
readonly inputs: readonly [{
|
|
654
|
+
readonly name: "_numBlocks";
|
|
655
|
+
readonly type: "uint256";
|
|
656
|
+
}];
|
|
657
|
+
readonly outputs: readonly [{
|
|
658
|
+
readonly name: "";
|
|
659
|
+
readonly type: "bool";
|
|
660
|
+
}];
|
|
661
|
+
}, {
|
|
662
|
+
readonly stateMutability: "view";
|
|
663
|
+
readonly type: "function";
|
|
664
|
+
readonly name: "minRegistryTimeLock";
|
|
665
|
+
readonly inputs: readonly [];
|
|
666
|
+
readonly outputs: readonly [{
|
|
667
|
+
readonly name: "";
|
|
668
|
+
readonly type: "uint256";
|
|
669
|
+
}];
|
|
670
|
+
}, {
|
|
671
|
+
readonly stateMutability: "view";
|
|
672
|
+
readonly type: "function";
|
|
673
|
+
readonly name: "maxRegistryTimeLock";
|
|
674
|
+
readonly inputs: readonly [];
|
|
675
|
+
readonly outputs: readonly [{
|
|
676
|
+
readonly name: "";
|
|
677
|
+
readonly type: "uint256";
|
|
678
|
+
}];
|
|
679
|
+
}, {
|
|
680
|
+
readonly stateMutability: "view";
|
|
681
|
+
readonly type: "function";
|
|
682
|
+
readonly name: "isValidAddr";
|
|
683
|
+
readonly inputs: readonly [{
|
|
684
|
+
readonly name: "_addr";
|
|
685
|
+
readonly type: "address";
|
|
686
|
+
}];
|
|
687
|
+
readonly outputs: readonly [{
|
|
688
|
+
readonly name: "";
|
|
689
|
+
readonly type: "bool";
|
|
690
|
+
}];
|
|
691
|
+
}, {
|
|
692
|
+
readonly stateMutability: "view";
|
|
693
|
+
readonly type: "function";
|
|
694
|
+
readonly name: "isValidRegId";
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly name: "_regId";
|
|
697
|
+
readonly type: "uint256";
|
|
698
|
+
}];
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly name: "";
|
|
701
|
+
readonly type: "bool";
|
|
702
|
+
}];
|
|
703
|
+
}, {
|
|
704
|
+
readonly stateMutability: "view";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
readonly name: "getRegId";
|
|
707
|
+
readonly inputs: readonly [{
|
|
708
|
+
readonly name: "_addr";
|
|
709
|
+
readonly type: "address";
|
|
710
|
+
}];
|
|
711
|
+
readonly outputs: readonly [{
|
|
712
|
+
readonly name: "";
|
|
713
|
+
readonly type: "uint256";
|
|
714
|
+
}];
|
|
715
|
+
}, {
|
|
716
|
+
readonly stateMutability: "view";
|
|
717
|
+
readonly type: "function";
|
|
718
|
+
readonly name: "getAddr";
|
|
719
|
+
readonly inputs: readonly [{
|
|
720
|
+
readonly name: "_regId";
|
|
721
|
+
readonly type: "uint256";
|
|
722
|
+
}];
|
|
723
|
+
readonly outputs: readonly [{
|
|
724
|
+
readonly name: "";
|
|
725
|
+
readonly type: "address";
|
|
726
|
+
}];
|
|
727
|
+
}, {
|
|
728
|
+
readonly stateMutability: "view";
|
|
729
|
+
readonly type: "function";
|
|
730
|
+
readonly name: "getAddrInfo";
|
|
731
|
+
readonly inputs: readonly [{
|
|
732
|
+
readonly name: "_regId";
|
|
733
|
+
readonly type: "uint256";
|
|
734
|
+
}];
|
|
735
|
+
readonly outputs: readonly [{
|
|
736
|
+
readonly name: "";
|
|
737
|
+
readonly type: "tuple";
|
|
738
|
+
readonly components: readonly [{
|
|
739
|
+
readonly name: "addr";
|
|
740
|
+
readonly type: "address";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "version";
|
|
743
|
+
readonly type: "uint256";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "lastModified";
|
|
746
|
+
readonly type: "uint256";
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "description";
|
|
749
|
+
readonly type: "string";
|
|
750
|
+
}];
|
|
751
|
+
}];
|
|
752
|
+
}, {
|
|
753
|
+
readonly stateMutability: "view";
|
|
754
|
+
readonly type: "function";
|
|
755
|
+
readonly name: "getAddrDescription";
|
|
756
|
+
readonly inputs: readonly [{
|
|
757
|
+
readonly name: "_regId";
|
|
758
|
+
readonly type: "uint256";
|
|
759
|
+
}];
|
|
760
|
+
readonly outputs: readonly [{
|
|
761
|
+
readonly name: "";
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
}];
|
|
764
|
+
}, {
|
|
765
|
+
readonly stateMutability: "view";
|
|
766
|
+
readonly type: "function";
|
|
767
|
+
readonly name: "getNumAddrs";
|
|
768
|
+
readonly inputs: readonly [];
|
|
769
|
+
readonly outputs: readonly [{
|
|
770
|
+
readonly name: "";
|
|
771
|
+
readonly type: "uint256";
|
|
772
|
+
}];
|
|
773
|
+
}, {
|
|
774
|
+
readonly stateMutability: "view";
|
|
775
|
+
readonly type: "function";
|
|
776
|
+
readonly name: "getLastAddr";
|
|
777
|
+
readonly inputs: readonly [];
|
|
778
|
+
readonly outputs: readonly [{
|
|
779
|
+
readonly name: "";
|
|
780
|
+
readonly type: "address";
|
|
781
|
+
}];
|
|
782
|
+
}, {
|
|
783
|
+
readonly stateMutability: "view";
|
|
784
|
+
readonly type: "function";
|
|
785
|
+
readonly name: "getLastRegId";
|
|
786
|
+
readonly inputs: readonly [];
|
|
787
|
+
readonly outputs: readonly [{
|
|
788
|
+
readonly name: "";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
}];
|
|
791
|
+
}, {
|
|
792
|
+
readonly stateMutability: "view";
|
|
793
|
+
readonly type: "function";
|
|
794
|
+
readonly name: "registryChangeTimeLock";
|
|
795
|
+
readonly inputs: readonly [];
|
|
796
|
+
readonly outputs: readonly [{
|
|
797
|
+
readonly name: "";
|
|
798
|
+
readonly type: "uint256";
|
|
799
|
+
}];
|
|
800
|
+
}, {
|
|
801
|
+
readonly stateMutability: "view";
|
|
802
|
+
readonly type: "function";
|
|
803
|
+
readonly name: "addrInfo";
|
|
804
|
+
readonly inputs: readonly [{
|
|
805
|
+
readonly name: "arg0";
|
|
806
|
+
readonly type: "uint256";
|
|
807
|
+
}];
|
|
808
|
+
readonly outputs: readonly [{
|
|
809
|
+
readonly name: "";
|
|
810
|
+
readonly type: "tuple";
|
|
811
|
+
readonly components: readonly [{
|
|
812
|
+
readonly name: "addr";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
}, {
|
|
815
|
+
readonly name: "version";
|
|
816
|
+
readonly type: "uint256";
|
|
817
|
+
}, {
|
|
818
|
+
readonly name: "lastModified";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}, {
|
|
821
|
+
readonly name: "description";
|
|
822
|
+
readonly type: "string";
|
|
823
|
+
}];
|
|
824
|
+
}];
|
|
825
|
+
}, {
|
|
826
|
+
readonly stateMutability: "view";
|
|
827
|
+
readonly type: "function";
|
|
828
|
+
readonly name: "addrToRegId";
|
|
829
|
+
readonly inputs: readonly [{
|
|
830
|
+
readonly name: "arg0";
|
|
831
|
+
readonly type: "address";
|
|
832
|
+
}];
|
|
833
|
+
readonly outputs: readonly [{
|
|
834
|
+
readonly name: "";
|
|
835
|
+
readonly type: "uint256";
|
|
836
|
+
}];
|
|
837
|
+
}, {
|
|
838
|
+
readonly stateMutability: "view";
|
|
839
|
+
readonly type: "function";
|
|
840
|
+
readonly name: "numAddrs";
|
|
841
|
+
readonly inputs: readonly [];
|
|
842
|
+
readonly outputs: readonly [{
|
|
843
|
+
readonly name: "";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}];
|
|
846
|
+
}, {
|
|
847
|
+
readonly stateMutability: "view";
|
|
848
|
+
readonly type: "function";
|
|
849
|
+
readonly name: "pendingNewAddr";
|
|
850
|
+
readonly inputs: readonly [{
|
|
851
|
+
readonly name: "arg0";
|
|
852
|
+
readonly type: "address";
|
|
853
|
+
}];
|
|
854
|
+
readonly outputs: readonly [{
|
|
855
|
+
readonly name: "";
|
|
856
|
+
readonly type: "tuple";
|
|
857
|
+
readonly components: readonly [{
|
|
858
|
+
readonly name: "description";
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
}, {
|
|
861
|
+
readonly name: "initiatedBlock";
|
|
862
|
+
readonly type: "uint256";
|
|
863
|
+
}, {
|
|
864
|
+
readonly name: "confirmBlock";
|
|
865
|
+
readonly type: "uint256";
|
|
866
|
+
}];
|
|
867
|
+
}];
|
|
868
|
+
}, {
|
|
869
|
+
readonly stateMutability: "view";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
readonly name: "pendingAddrUpdate";
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly name: "arg0";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly outputs: readonly [{
|
|
877
|
+
readonly name: "";
|
|
878
|
+
readonly type: "tuple";
|
|
879
|
+
readonly components: readonly [{
|
|
880
|
+
readonly name: "newAddr";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "initiatedBlock";
|
|
884
|
+
readonly type: "uint256";
|
|
885
|
+
}, {
|
|
886
|
+
readonly name: "confirmBlock";
|
|
887
|
+
readonly type: "uint256";
|
|
888
|
+
}];
|
|
889
|
+
}];
|
|
890
|
+
}, {
|
|
891
|
+
readonly stateMutability: "view";
|
|
892
|
+
readonly type: "function";
|
|
893
|
+
readonly name: "pendingAddrDisable";
|
|
894
|
+
readonly inputs: readonly [{
|
|
895
|
+
readonly name: "arg0";
|
|
896
|
+
readonly type: "uint256";
|
|
897
|
+
}];
|
|
898
|
+
readonly outputs: readonly [{
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "tuple";
|
|
901
|
+
readonly components: readonly [{
|
|
902
|
+
readonly name: "initiatedBlock";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "confirmBlock";
|
|
906
|
+
readonly type: "uint256";
|
|
907
|
+
}];
|
|
908
|
+
}];
|
|
909
|
+
}, {
|
|
910
|
+
readonly stateMutability: "view";
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
readonly name: "getAddys";
|
|
913
|
+
readonly inputs: readonly [];
|
|
914
|
+
readonly outputs: readonly [{
|
|
915
|
+
readonly name: "";
|
|
916
|
+
readonly type: "tuple";
|
|
917
|
+
readonly components: readonly [{
|
|
918
|
+
readonly name: "hq";
|
|
919
|
+
readonly type: "address";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "undyToken";
|
|
922
|
+
readonly type: "address";
|
|
923
|
+
}, {
|
|
924
|
+
readonly name: "ledger";
|
|
925
|
+
readonly type: "address";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "missionControl";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "legoBook";
|
|
931
|
+
readonly type: "address";
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "switchboard";
|
|
934
|
+
readonly type: "address";
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "hatchery";
|
|
937
|
+
readonly type: "address";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "lootDistributor";
|
|
940
|
+
readonly type: "address";
|
|
941
|
+
}, {
|
|
942
|
+
readonly name: "appraiser";
|
|
943
|
+
readonly type: "address";
|
|
944
|
+
}, {
|
|
945
|
+
readonly name: "walletBackpack";
|
|
946
|
+
readonly type: "address";
|
|
947
|
+
}, {
|
|
948
|
+
readonly name: "billing";
|
|
949
|
+
readonly type: "address";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "vaultRegistry";
|
|
952
|
+
readonly type: "address";
|
|
953
|
+
}];
|
|
954
|
+
}];
|
|
955
|
+
}, {
|
|
956
|
+
readonly stateMutability: "view";
|
|
957
|
+
readonly type: "function";
|
|
958
|
+
readonly name: "getUndyHq";
|
|
959
|
+
readonly inputs: readonly [];
|
|
960
|
+
readonly outputs: readonly [{
|
|
961
|
+
readonly name: "";
|
|
962
|
+
readonly type: "address";
|
|
963
|
+
}];
|
|
964
|
+
}, {
|
|
965
|
+
readonly stateMutability: "view";
|
|
966
|
+
readonly type: "function";
|
|
967
|
+
readonly name: "canMintUndy";
|
|
968
|
+
readonly inputs: readonly [];
|
|
969
|
+
readonly outputs: readonly [{
|
|
970
|
+
readonly name: "";
|
|
971
|
+
readonly type: "bool";
|
|
972
|
+
}];
|
|
973
|
+
}, {
|
|
974
|
+
readonly stateMutability: "nonpayable";
|
|
975
|
+
readonly type: "function";
|
|
976
|
+
readonly name: "pause";
|
|
977
|
+
readonly inputs: readonly [{
|
|
978
|
+
readonly name: "_shouldPause";
|
|
979
|
+
readonly type: "bool";
|
|
980
|
+
}];
|
|
981
|
+
readonly outputs: readonly [];
|
|
982
|
+
}, {
|
|
983
|
+
readonly stateMutability: "nonpayable";
|
|
984
|
+
readonly type: "function";
|
|
985
|
+
readonly name: "recoverFunds";
|
|
986
|
+
readonly inputs: readonly [{
|
|
987
|
+
readonly name: "_recipient";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}, {
|
|
990
|
+
readonly name: "_asset";
|
|
991
|
+
readonly type: "address";
|
|
992
|
+
}];
|
|
993
|
+
readonly outputs: readonly [];
|
|
994
|
+
}, {
|
|
995
|
+
readonly stateMutability: "nonpayable";
|
|
996
|
+
readonly type: "function";
|
|
997
|
+
readonly name: "recoverFundsMany";
|
|
998
|
+
readonly inputs: readonly [{
|
|
999
|
+
readonly name: "_recipient";
|
|
1000
|
+
readonly type: "address";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly name: "_assets";
|
|
1003
|
+
readonly type: "address[]";
|
|
1004
|
+
}];
|
|
1005
|
+
readonly outputs: readonly [];
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly stateMutability: "view";
|
|
1008
|
+
readonly type: "function";
|
|
1009
|
+
readonly name: "isPaused";
|
|
1010
|
+
readonly inputs: readonly [];
|
|
1011
|
+
readonly outputs: readonly [{
|
|
1012
|
+
readonly name: "";
|
|
1013
|
+
readonly type: "bool";
|
|
1014
|
+
}];
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly stateMutability: "view";
|
|
1017
|
+
readonly type: "function";
|
|
1018
|
+
readonly name: "isHelpersAddr";
|
|
1019
|
+
readonly inputs: readonly [{
|
|
1020
|
+
readonly name: "_addr";
|
|
1021
|
+
readonly type: "address";
|
|
1022
|
+
}];
|
|
1023
|
+
readonly outputs: readonly [{
|
|
1024
|
+
readonly name: "";
|
|
1025
|
+
readonly type: "bool";
|
|
1026
|
+
}];
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly stateMutability: "nonpayable";
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
readonly name: "startAddNewAddressToRegistry";
|
|
1031
|
+
readonly inputs: readonly [{
|
|
1032
|
+
readonly name: "_addr";
|
|
1033
|
+
readonly type: "address";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly name: "_description";
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly outputs: readonly [{
|
|
1039
|
+
readonly name: "";
|
|
1040
|
+
readonly type: "bool";
|
|
1041
|
+
}];
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly stateMutability: "nonpayable";
|
|
1044
|
+
readonly type: "function";
|
|
1045
|
+
readonly name: "confirmNewAddressToRegistry";
|
|
1046
|
+
readonly inputs: readonly [{
|
|
1047
|
+
readonly name: "_addr";
|
|
1048
|
+
readonly type: "address";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly outputs: readonly [{
|
|
1051
|
+
readonly name: "";
|
|
1052
|
+
readonly type: "uint256";
|
|
1053
|
+
}];
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly stateMutability: "nonpayable";
|
|
1056
|
+
readonly type: "function";
|
|
1057
|
+
readonly name: "cancelNewAddressToRegistry";
|
|
1058
|
+
readonly inputs: readonly [{
|
|
1059
|
+
readonly name: "_addr";
|
|
1060
|
+
readonly type: "address";
|
|
1061
|
+
}];
|
|
1062
|
+
readonly outputs: readonly [{
|
|
1063
|
+
readonly name: "";
|
|
1064
|
+
readonly type: "bool";
|
|
1065
|
+
}];
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly stateMutability: "nonpayable";
|
|
1068
|
+
readonly type: "function";
|
|
1069
|
+
readonly name: "startAddressUpdateToRegistry";
|
|
1070
|
+
readonly inputs: readonly [{
|
|
1071
|
+
readonly name: "_regId";
|
|
1072
|
+
readonly type: "uint256";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly name: "_newAddr";
|
|
1075
|
+
readonly type: "address";
|
|
1076
|
+
}];
|
|
1077
|
+
readonly outputs: readonly [{
|
|
1078
|
+
readonly name: "";
|
|
1079
|
+
readonly type: "bool";
|
|
1080
|
+
}];
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly stateMutability: "nonpayable";
|
|
1083
|
+
readonly type: "function";
|
|
1084
|
+
readonly name: "confirmAddressUpdateToRegistry";
|
|
1085
|
+
readonly inputs: readonly [{
|
|
1086
|
+
readonly name: "_regId";
|
|
1087
|
+
readonly type: "uint256";
|
|
1088
|
+
}];
|
|
1089
|
+
readonly outputs: readonly [{
|
|
1090
|
+
readonly name: "";
|
|
1091
|
+
readonly type: "bool";
|
|
1092
|
+
}];
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly stateMutability: "nonpayable";
|
|
1095
|
+
readonly type: "function";
|
|
1096
|
+
readonly name: "cancelAddressUpdateToRegistry";
|
|
1097
|
+
readonly inputs: readonly [{
|
|
1098
|
+
readonly name: "_regId";
|
|
1099
|
+
readonly type: "uint256";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly outputs: readonly [{
|
|
1102
|
+
readonly name: "";
|
|
1103
|
+
readonly type: "bool";
|
|
1104
|
+
}];
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly stateMutability: "nonpayable";
|
|
1107
|
+
readonly type: "function";
|
|
1108
|
+
readonly name: "startAddressDisableInRegistry";
|
|
1109
|
+
readonly inputs: readonly [{
|
|
1110
|
+
readonly name: "_regId";
|
|
1111
|
+
readonly type: "uint256";
|
|
1112
|
+
}];
|
|
1113
|
+
readonly outputs: readonly [{
|
|
1114
|
+
readonly name: "";
|
|
1115
|
+
readonly type: "bool";
|
|
1116
|
+
}];
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly stateMutability: "nonpayable";
|
|
1119
|
+
readonly type: "function";
|
|
1120
|
+
readonly name: "confirmAddressDisableInRegistry";
|
|
1121
|
+
readonly inputs: readonly [{
|
|
1122
|
+
readonly name: "_regId";
|
|
1123
|
+
readonly type: "uint256";
|
|
1124
|
+
}];
|
|
1125
|
+
readonly outputs: readonly [{
|
|
1126
|
+
readonly name: "";
|
|
1127
|
+
readonly type: "bool";
|
|
1128
|
+
}];
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly stateMutability: "nonpayable";
|
|
1131
|
+
readonly type: "function";
|
|
1132
|
+
readonly name: "cancelAddressDisableInRegistry";
|
|
1133
|
+
readonly inputs: readonly [{
|
|
1134
|
+
readonly name: "_regId";
|
|
1135
|
+
readonly type: "uint256";
|
|
1136
|
+
}];
|
|
1137
|
+
readonly outputs: readonly [{
|
|
1138
|
+
readonly name: "";
|
|
1139
|
+
readonly type: "bool";
|
|
1140
|
+
}];
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly stateMutability: "nonpayable";
|
|
1143
|
+
readonly type: "constructor";
|
|
1144
|
+
readonly inputs: readonly [{
|
|
1145
|
+
readonly name: "_undyHq";
|
|
1146
|
+
readonly type: "address";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly name: "_tempGov";
|
|
1149
|
+
readonly type: "address";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly name: "_minRegistryTimeLock";
|
|
1152
|
+
readonly type: "uint256";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly name: "_maxRegistryTimeLock";
|
|
1155
|
+
readonly type: "uint256";
|
|
1156
|
+
}];
|
|
1157
|
+
readonly outputs: readonly [];
|
|
1158
|
+
}];
|
|
1159
|
+
export declare const deployAddress: Address | undefined;
|
|
1160
|
+
export type Contract = {
|
|
1161
|
+
calls: {
|
|
1162
|
+
getUndyHqFromGov: () => Promise<`0x${string}`>;
|
|
1163
|
+
canGovern: (addr: `0x${string}`) => Promise<boolean>;
|
|
1164
|
+
getGovernors: () => Promise<`0x${string}`[]>;
|
|
1165
|
+
hasPendingGovChange: () => Promise<boolean>;
|
|
1166
|
+
isValidGovTimeLock: (newTimeLock: bigint) => Promise<boolean>;
|
|
1167
|
+
minGovChangeTimeLock: () => Promise<bigint>;
|
|
1168
|
+
maxGovChangeTimeLock: () => Promise<bigint>;
|
|
1169
|
+
governance: () => Promise<`0x${string}`>;
|
|
1170
|
+
pendingGov: () => Promise<{
|
|
1171
|
+
newGov: `0x${string}`;
|
|
1172
|
+
initiatedBlock: bigint;
|
|
1173
|
+
confirmBlock: bigint;
|
|
1174
|
+
}>;
|
|
1175
|
+
numGovChanges: () => Promise<bigint>;
|
|
1176
|
+
govChangeTimeLock: () => Promise<bigint>;
|
|
1177
|
+
getRegistryDescription: () => Promise<string>;
|
|
1178
|
+
isValidNewAddress: (addr: `0x${string}`) => Promise<boolean>;
|
|
1179
|
+
isValidAddressUpdate: (regId: bigint, newAddr: `0x${string}`) => Promise<boolean>;
|
|
1180
|
+
isValidAddressDisable: (regId: bigint) => Promise<boolean>;
|
|
1181
|
+
isValidRegistryTimeLock: (numBlocks: bigint) => Promise<boolean>;
|
|
1182
|
+
minRegistryTimeLock: () => Promise<bigint>;
|
|
1183
|
+
maxRegistryTimeLock: () => Promise<bigint>;
|
|
1184
|
+
isValidAddr: (addr: `0x${string}`) => Promise<boolean>;
|
|
1185
|
+
isValidRegId: (regId: bigint) => Promise<boolean>;
|
|
1186
|
+
getRegId: (addr: `0x${string}`) => Promise<bigint>;
|
|
1187
|
+
getAddr: (regId: bigint) => Promise<`0x${string}`>;
|
|
1188
|
+
getAddrInfo: (regId: bigint) => Promise<{
|
|
1189
|
+
addr: `0x${string}`;
|
|
1190
|
+
version: bigint;
|
|
1191
|
+
lastModified: bigint;
|
|
1192
|
+
description: string;
|
|
1193
|
+
}>;
|
|
1194
|
+
getAddrDescription: (regId: bigint) => Promise<string>;
|
|
1195
|
+
getNumAddrs: () => Promise<bigint>;
|
|
1196
|
+
getLastAddr: () => Promise<`0x${string}`>;
|
|
1197
|
+
getLastRegId: () => Promise<bigint>;
|
|
1198
|
+
registryChangeTimeLock: () => Promise<bigint>;
|
|
1199
|
+
addrInfo: (arg0: bigint) => Promise<{
|
|
1200
|
+
addr: `0x${string}`;
|
|
1201
|
+
version: bigint;
|
|
1202
|
+
lastModified: bigint;
|
|
1203
|
+
description: string;
|
|
1204
|
+
}>;
|
|
1205
|
+
addrToRegId: (arg0: `0x${string}`) => Promise<bigint>;
|
|
1206
|
+
numAddrs: () => Promise<bigint>;
|
|
1207
|
+
pendingNewAddr: (arg0: `0x${string}`) => Promise<{
|
|
1208
|
+
description: string;
|
|
1209
|
+
initiatedBlock: bigint;
|
|
1210
|
+
confirmBlock: bigint;
|
|
1211
|
+
}>;
|
|
1212
|
+
pendingAddrUpdate: (arg0: bigint) => Promise<{
|
|
1213
|
+
newAddr: `0x${string}`;
|
|
1214
|
+
initiatedBlock: bigint;
|
|
1215
|
+
confirmBlock: bigint;
|
|
1216
|
+
}>;
|
|
1217
|
+
pendingAddrDisable: (arg0: bigint) => Promise<{
|
|
1218
|
+
initiatedBlock: bigint;
|
|
1219
|
+
confirmBlock: bigint;
|
|
1220
|
+
}>;
|
|
1221
|
+
getAddys: () => Promise<{
|
|
1222
|
+
hq: `0x${string}`;
|
|
1223
|
+
undyToken: `0x${string}`;
|
|
1224
|
+
ledger: `0x${string}`;
|
|
1225
|
+
missionControl: `0x${string}`;
|
|
1226
|
+
legoBook: `0x${string}`;
|
|
1227
|
+
switchboard: `0x${string}`;
|
|
1228
|
+
hatchery: `0x${string}`;
|
|
1229
|
+
lootDistributor: `0x${string}`;
|
|
1230
|
+
appraiser: `0x${string}`;
|
|
1231
|
+
walletBackpack: `0x${string}`;
|
|
1232
|
+
billing: `0x${string}`;
|
|
1233
|
+
vaultRegistry: `0x${string}`;
|
|
1234
|
+
}>;
|
|
1235
|
+
getUndyHq: () => Promise<`0x${string}`>;
|
|
1236
|
+
canMintUndy: () => Promise<boolean>;
|
|
1237
|
+
isPaused: () => Promise<boolean>;
|
|
1238
|
+
isHelpersAddr: (addr: `0x${string}`) => Promise<boolean>;
|
|
1239
|
+
};
|
|
1240
|
+
mutations: {
|
|
1241
|
+
startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
|
|
1242
|
+
confirmGovernanceChange: () => Promise<void>;
|
|
1243
|
+
cancelGovernanceChange: () => Promise<void>;
|
|
1244
|
+
relinquishGov: () => Promise<void>;
|
|
1245
|
+
setGovTimeLock: (numBlocks: bigint) => Promise<boolean>;
|
|
1246
|
+
finishUndyHqSetup: (newGov: `0x${string}`, timeLock?: bigint) => Promise<boolean>;
|
|
1247
|
+
setRegistryTimeLock: (numBlocks: bigint) => Promise<boolean>;
|
|
1248
|
+
setRegistryTimeLockAfterSetup: (numBlocks?: bigint) => Promise<boolean>;
|
|
1249
|
+
pause: (shouldPause: boolean) => Promise<void>;
|
|
1250
|
+
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
1251
|
+
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
1252
|
+
startAddNewAddressToRegistry: (addr: `0x${string}`, description: string) => Promise<boolean>;
|
|
1253
|
+
confirmNewAddressToRegistry: (addr: `0x${string}`) => Promise<bigint>;
|
|
1254
|
+
cancelNewAddressToRegistry: (addr: `0x${string}`) => Promise<boolean>;
|
|
1255
|
+
startAddressUpdateToRegistry: (regId: bigint, newAddr: `0x${string}`) => Promise<boolean>;
|
|
1256
|
+
confirmAddressUpdateToRegistry: (regId: bigint) => Promise<boolean>;
|
|
1257
|
+
cancelAddressUpdateToRegistry: (regId: bigint) => Promise<boolean>;
|
|
1258
|
+
startAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
1259
|
+
confirmAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
1260
|
+
cancelAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
1261
|
+
};
|
|
1262
|
+
events: {
|
|
1263
|
+
GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
|
|
1264
|
+
RegistryTimeLockModified: (newTimeLock: bigint, prevTimeLock: bigint, registry: string) => Promise<void>;
|
|
1265
|
+
GovChangeStarted: (prevGov: `0x${string}`, newGov: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
1266
|
+
GovChangeConfirmed: (prevGov: `0x${string}`, newGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
1267
|
+
GovChangeCancelled: (cancelledGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
1268
|
+
GovRelinquished: (prevGov: `0x${string}`) => Promise<void>;
|
|
1269
|
+
UndyHqSetupFinished: (prevGov: `0x${string}`, newGov: `0x${string}`, timeLock: bigint) => Promise<void>;
|
|
1270
|
+
DepartmentPauseModified: (isPaused: boolean) => Promise<void>;
|
|
1271
|
+
DepartmentFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
|
|
1272
|
+
NewAddressPending: (addr: `0x${string}`, description: string, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1273
|
+
NewAddressConfirmed: (addr: `0x${string}`, regId: bigint, description: string, registry: string) => Promise<void>;
|
|
1274
|
+
NewAddressCancelled: (description: string, addr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1275
|
+
AddressUpdatePending: (regId: bigint, description: string, newAddr: `0x${string}`, prevAddr: `0x${string}`, version: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1276
|
+
AddressUpdateConfirmed: (regId: bigint, description: string, newAddr: `0x${string}`, prevAddr: `0x${string}`, version: bigint, registry: string) => Promise<void>;
|
|
1277
|
+
AddressUpdateCancelled: (regId: bigint, description: string, newAddr: `0x${string}`, prevAddr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1278
|
+
AddressDisablePending: (regId: bigint, description: string, addr: `0x${string}`, version: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1279
|
+
AddressDisableConfirmed: (regId: bigint, description: string, addr: `0x${string}`, version: bigint, registry: string) => Promise<void>;
|
|
1280
|
+
AddressDisableCancelled: (regId: bigint, description: string, addr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
export type Calls = keyof Contract['calls'];
|
|
1284
|
+
export type Request<M extends Calls> = {
|
|
1285
|
+
contractName: 'Helpers';
|
|
1286
|
+
method: M;
|
|
1287
|
+
args: ExtractArgs<Contract['calls'][M]>;
|
|
1288
|
+
address: Address | undefined;
|
|
1289
|
+
deployAddress: Address | undefined;
|
|
1290
|
+
defaultValue: Awaited<ReturnType<Contract['calls'][M]>> | undefined;
|
|
1291
|
+
getAbi: () => typeof abi;
|
|
1292
|
+
with: (options: {
|
|
1293
|
+
contractAddress?: Address;
|
|
1294
|
+
defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
|
|
1295
|
+
}) => Request<M>;
|
|
1296
|
+
defaultTo: (defaultValue: Awaited<ReturnType<Contract['calls'][M]>>) => Request<M>;
|
|
1297
|
+
at: (address: Address) => Request<M>;
|
|
1298
|
+
};
|
|
1299
|
+
export type CallReturn<M extends Calls> = NonNullable<Request<M>['defaultValue']>;
|
|
1300
|
+
declare function getRequest<M extends Calls>(method: M, args: ExtractArgs<Contract['calls'][M]>, contractAddressOrOptions?: Address | {
|
|
1301
|
+
contractAddress?: Address;
|
|
1302
|
+
defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
|
|
1303
|
+
}): Request<M>;
|
|
1304
|
+
type CallType = {
|
|
1305
|
+
[K in Calls]: (...args: ExtractArgs<Contract['calls'][K]>) => ReturnType<typeof getRequest<K>>;
|
|
1306
|
+
};
|
|
1307
|
+
export declare const call: CallType;
|
|
1308
|
+
export type Mutations = keyof Contract['mutations'];
|
|
1309
|
+
export declare const mutation: {
|
|
1310
|
+
[K in Mutations]: {
|
|
1311
|
+
contractName: 'Helpers';
|
|
1312
|
+
deployAddress: Address | undefined;
|
|
1313
|
+
getAbi: () => typeof abi;
|
|
1314
|
+
functionName: K;
|
|
1315
|
+
argsType: ExtractArgs<Contract['mutations'][K]> | undefined;
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
export type ParsedEvent<T extends keyof Contract['events']> = {
|
|
1319
|
+
event: RpcLog | Log;
|
|
1320
|
+
parsed: ParseEventLogsReturnType<typeof abi, T>;
|
|
1321
|
+
};
|
|
1322
|
+
export declare function parseEvents<T extends keyof Contract['events']>(eventName: T, events: (RpcLog | Log)[]): ParsedEvent<T>[];
|
|
1323
|
+
export declare function getEventTopic<T extends keyof Contract['events']>(eventName: T): Address;
|
|
1324
|
+
export type SDK = {
|
|
1325
|
+
deployAddress: Address | undefined;
|
|
1326
|
+
abi: typeof abi;
|
|
1327
|
+
events: {
|
|
1328
|
+
GovChangeTimeLockModified: {
|
|
1329
|
+
topic: Address;
|
|
1330
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeTimeLockModified'>[];
|
|
1331
|
+
};
|
|
1332
|
+
RegistryTimeLockModified: {
|
|
1333
|
+
topic: Address;
|
|
1334
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'RegistryTimeLockModified'>[];
|
|
1335
|
+
};
|
|
1336
|
+
GovChangeStarted: {
|
|
1337
|
+
topic: Address;
|
|
1338
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeStarted'>[];
|
|
1339
|
+
};
|
|
1340
|
+
GovChangeConfirmed: {
|
|
1341
|
+
topic: Address;
|
|
1342
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeConfirmed'>[];
|
|
1343
|
+
};
|
|
1344
|
+
GovChangeCancelled: {
|
|
1345
|
+
topic: Address;
|
|
1346
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovChangeCancelled'>[];
|
|
1347
|
+
};
|
|
1348
|
+
GovRelinquished: {
|
|
1349
|
+
topic: Address;
|
|
1350
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'GovRelinquished'>[];
|
|
1351
|
+
};
|
|
1352
|
+
UndyHqSetupFinished: {
|
|
1353
|
+
topic: Address;
|
|
1354
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'UndyHqSetupFinished'>[];
|
|
1355
|
+
};
|
|
1356
|
+
DepartmentPauseModified: {
|
|
1357
|
+
topic: Address;
|
|
1358
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'DepartmentPauseModified'>[];
|
|
1359
|
+
};
|
|
1360
|
+
DepartmentFundsRecovered: {
|
|
1361
|
+
topic: Address;
|
|
1362
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'DepartmentFundsRecovered'>[];
|
|
1363
|
+
};
|
|
1364
|
+
NewAddressPending: {
|
|
1365
|
+
topic: Address;
|
|
1366
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'NewAddressPending'>[];
|
|
1367
|
+
};
|
|
1368
|
+
NewAddressConfirmed: {
|
|
1369
|
+
topic: Address;
|
|
1370
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'NewAddressConfirmed'>[];
|
|
1371
|
+
};
|
|
1372
|
+
NewAddressCancelled: {
|
|
1373
|
+
topic: Address;
|
|
1374
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'NewAddressCancelled'>[];
|
|
1375
|
+
};
|
|
1376
|
+
AddressUpdatePending: {
|
|
1377
|
+
topic: Address;
|
|
1378
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressUpdatePending'>[];
|
|
1379
|
+
};
|
|
1380
|
+
AddressUpdateConfirmed: {
|
|
1381
|
+
topic: Address;
|
|
1382
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressUpdateConfirmed'>[];
|
|
1383
|
+
};
|
|
1384
|
+
AddressUpdateCancelled: {
|
|
1385
|
+
topic: Address;
|
|
1386
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressUpdateCancelled'>[];
|
|
1387
|
+
};
|
|
1388
|
+
AddressDisablePending: {
|
|
1389
|
+
topic: Address;
|
|
1390
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressDisablePending'>[];
|
|
1391
|
+
};
|
|
1392
|
+
AddressDisableConfirmed: {
|
|
1393
|
+
topic: Address;
|
|
1394
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressDisableConfirmed'>[];
|
|
1395
|
+
};
|
|
1396
|
+
AddressDisableCancelled: {
|
|
1397
|
+
topic: Address;
|
|
1398
|
+
parse: (events: (RpcLog | Log)[]) => ParsedEvent<'AddressDisableCancelled'>[];
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
getUndyHqFromGov: (...args: ExtractArgs<Contract['calls']['getUndyHqFromGov']>) => Promise<CallReturn<'getUndyHqFromGov'>>;
|
|
1402
|
+
canGovern: (...args: ExtractArgs<Contract['calls']['canGovern']>) => Promise<CallReturn<'canGovern'>>;
|
|
1403
|
+
getGovernors: (...args: ExtractArgs<Contract['calls']['getGovernors']>) => Promise<CallReturn<'getGovernors'>>;
|
|
1404
|
+
hasPendingGovChange: (...args: ExtractArgs<Contract['calls']['hasPendingGovChange']>) => Promise<CallReturn<'hasPendingGovChange'>>;
|
|
1405
|
+
isValidGovTimeLock: (...args: ExtractArgs<Contract['calls']['isValidGovTimeLock']>) => Promise<CallReturn<'isValidGovTimeLock'>>;
|
|
1406
|
+
minGovChangeTimeLock: (...args: ExtractArgs<Contract['calls']['minGovChangeTimeLock']>) => Promise<CallReturn<'minGovChangeTimeLock'>>;
|
|
1407
|
+
maxGovChangeTimeLock: (...args: ExtractArgs<Contract['calls']['maxGovChangeTimeLock']>) => Promise<CallReturn<'maxGovChangeTimeLock'>>;
|
|
1408
|
+
governance: (...args: ExtractArgs<Contract['calls']['governance']>) => Promise<CallReturn<'governance'>>;
|
|
1409
|
+
pendingGov: (...args: ExtractArgs<Contract['calls']['pendingGov']>) => Promise<CallReturn<'pendingGov'>>;
|
|
1410
|
+
numGovChanges: (...args: ExtractArgs<Contract['calls']['numGovChanges']>) => Promise<CallReturn<'numGovChanges'>>;
|
|
1411
|
+
govChangeTimeLock: (...args: ExtractArgs<Contract['calls']['govChangeTimeLock']>) => Promise<CallReturn<'govChangeTimeLock'>>;
|
|
1412
|
+
getRegistryDescription: (...args: ExtractArgs<Contract['calls']['getRegistryDescription']>) => Promise<CallReturn<'getRegistryDescription'>>;
|
|
1413
|
+
isValidNewAddress: (...args: ExtractArgs<Contract['calls']['isValidNewAddress']>) => Promise<CallReturn<'isValidNewAddress'>>;
|
|
1414
|
+
isValidAddressUpdate: (...args: ExtractArgs<Contract['calls']['isValidAddressUpdate']>) => Promise<CallReturn<'isValidAddressUpdate'>>;
|
|
1415
|
+
isValidAddressDisable: (...args: ExtractArgs<Contract['calls']['isValidAddressDisable']>) => Promise<CallReturn<'isValidAddressDisable'>>;
|
|
1416
|
+
isValidRegistryTimeLock: (...args: ExtractArgs<Contract['calls']['isValidRegistryTimeLock']>) => Promise<CallReturn<'isValidRegistryTimeLock'>>;
|
|
1417
|
+
minRegistryTimeLock: (...args: ExtractArgs<Contract['calls']['minRegistryTimeLock']>) => Promise<CallReturn<'minRegistryTimeLock'>>;
|
|
1418
|
+
maxRegistryTimeLock: (...args: ExtractArgs<Contract['calls']['maxRegistryTimeLock']>) => Promise<CallReturn<'maxRegistryTimeLock'>>;
|
|
1419
|
+
isValidAddr: (...args: ExtractArgs<Contract['calls']['isValidAddr']>) => Promise<CallReturn<'isValidAddr'>>;
|
|
1420
|
+
isValidRegId: (...args: ExtractArgs<Contract['calls']['isValidRegId']>) => Promise<CallReturn<'isValidRegId'>>;
|
|
1421
|
+
getRegId: (...args: ExtractArgs<Contract['calls']['getRegId']>) => Promise<CallReturn<'getRegId'>>;
|
|
1422
|
+
getAddr: (...args: ExtractArgs<Contract['calls']['getAddr']>) => Promise<CallReturn<'getAddr'>>;
|
|
1423
|
+
getAddrInfo: (...args: ExtractArgs<Contract['calls']['getAddrInfo']>) => Promise<CallReturn<'getAddrInfo'>>;
|
|
1424
|
+
getAddrDescription: (...args: ExtractArgs<Contract['calls']['getAddrDescription']>) => Promise<CallReturn<'getAddrDescription'>>;
|
|
1425
|
+
getNumAddrs: (...args: ExtractArgs<Contract['calls']['getNumAddrs']>) => Promise<CallReturn<'getNumAddrs'>>;
|
|
1426
|
+
getLastAddr: (...args: ExtractArgs<Contract['calls']['getLastAddr']>) => Promise<CallReturn<'getLastAddr'>>;
|
|
1427
|
+
getLastRegId: (...args: ExtractArgs<Contract['calls']['getLastRegId']>) => Promise<CallReturn<'getLastRegId'>>;
|
|
1428
|
+
registryChangeTimeLock: (...args: ExtractArgs<Contract['calls']['registryChangeTimeLock']>) => Promise<CallReturn<'registryChangeTimeLock'>>;
|
|
1429
|
+
addrInfo: (...args: ExtractArgs<Contract['calls']['addrInfo']>) => Promise<CallReturn<'addrInfo'>>;
|
|
1430
|
+
addrToRegId: (...args: ExtractArgs<Contract['calls']['addrToRegId']>) => Promise<CallReturn<'addrToRegId'>>;
|
|
1431
|
+
numAddrs: (...args: ExtractArgs<Contract['calls']['numAddrs']>) => Promise<CallReturn<'numAddrs'>>;
|
|
1432
|
+
pendingNewAddr: (...args: ExtractArgs<Contract['calls']['pendingNewAddr']>) => Promise<CallReturn<'pendingNewAddr'>>;
|
|
1433
|
+
pendingAddrUpdate: (...args: ExtractArgs<Contract['calls']['pendingAddrUpdate']>) => Promise<CallReturn<'pendingAddrUpdate'>>;
|
|
1434
|
+
pendingAddrDisable: (...args: ExtractArgs<Contract['calls']['pendingAddrDisable']>) => Promise<CallReturn<'pendingAddrDisable'>>;
|
|
1435
|
+
getAddys: (...args: ExtractArgs<Contract['calls']['getAddys']>) => Promise<CallReturn<'getAddys'>>;
|
|
1436
|
+
getUndyHq: (...args: ExtractArgs<Contract['calls']['getUndyHq']>) => Promise<CallReturn<'getUndyHq'>>;
|
|
1437
|
+
canMintUndy: (...args: ExtractArgs<Contract['calls']['canMintUndy']>) => Promise<CallReturn<'canMintUndy'>>;
|
|
1438
|
+
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
1439
|
+
isHelpersAddr: (...args: ExtractArgs<Contract['calls']['isHelpersAddr']>) => Promise<CallReturn<'isHelpersAddr'>>;
|
|
1440
|
+
startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
|
|
1441
|
+
confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
|
|
1442
|
+
cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
|
|
1443
|
+
relinquishGov: (...args: ExtractArgs<Contract['mutations']['relinquishGov']>) => Promise<Address>;
|
|
1444
|
+
setGovTimeLock: (...args: ExtractArgs<Contract['mutations']['setGovTimeLock']>) => Promise<Address>;
|
|
1445
|
+
finishUndyHqSetup: (...args: ExtractArgs<Contract['mutations']['finishUndyHqSetup']>) => Promise<Address>;
|
|
1446
|
+
setRegistryTimeLock: (...args: ExtractArgs<Contract['mutations']['setRegistryTimeLock']>) => Promise<Address>;
|
|
1447
|
+
setRegistryTimeLockAfterSetup: (...args: ExtractArgs<Contract['mutations']['setRegistryTimeLockAfterSetup']>) => Promise<Address>;
|
|
1448
|
+
pause: (...args: ExtractArgs<Contract['mutations']['pause']>) => Promise<Address>;
|
|
1449
|
+
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
1450
|
+
recoverFundsMany: (...args: ExtractArgs<Contract['mutations']['recoverFundsMany']>) => Promise<Address>;
|
|
1451
|
+
startAddNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['startAddNewAddressToRegistry']>) => Promise<Address>;
|
|
1452
|
+
confirmNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['confirmNewAddressToRegistry']>) => Promise<Address>;
|
|
1453
|
+
cancelNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['cancelNewAddressToRegistry']>) => Promise<Address>;
|
|
1454
|
+
startAddressUpdateToRegistry: (...args: ExtractArgs<Contract['mutations']['startAddressUpdateToRegistry']>) => Promise<Address>;
|
|
1455
|
+
confirmAddressUpdateToRegistry: (...args: ExtractArgs<Contract['mutations']['confirmAddressUpdateToRegistry']>) => Promise<Address>;
|
|
1456
|
+
cancelAddressUpdateToRegistry: (...args: ExtractArgs<Contract['mutations']['cancelAddressUpdateToRegistry']>) => Promise<Address>;
|
|
1457
|
+
startAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['startAddressDisableInRegistry']>) => Promise<Address>;
|
|
1458
|
+
confirmAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['confirmAddressDisableInRegistry']>) => Promise<Address>;
|
|
1459
|
+
cancelAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['cancelAddressDisableInRegistry']>) => Promise<Address>;
|
|
1460
|
+
};
|
|
1461
|
+
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient, addressResolver?: AddressResolverFunction): SDK;
|
|
1462
|
+
export {};
|
|
1463
|
+
//# sourceMappingURL=Helpers.d.ts.map
|