@web3dotorg/evm-slc-core-sdk 0.3.2
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/common.ts +131 -0
- package/constants.ts +34 -0
- package/contracts/governance/ExecutorsRegistry.ts +1249 -0
- package/contracts/governance/Governance.ts +1740 -0
- package/contracts/governance/NeutralsRegistry.ts +1393 -0
- package/contracts/governance/ParameterRegistry.ts +832 -0
- package/contracts/governance/index.ts +7 -0
- package/contracts/index.ts +15 -0
- package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
- package/contracts/interfaces/IGovernance.ts +215 -0
- package/contracts/interfaces/INeutralsRegistry.ts +624 -0
- package/contracts/interfaces/IQParameters.ts +109 -0
- package/contracts/interfaces/ISLCCore.ts +289 -0
- package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
- package/contracts/interfaces/IWrappedToken.ts +272 -0
- package/contracts/interfaces/index.ts +10 -0
- package/contracts/libs/Errors.ts +71 -0
- package/contracts/libs/NeutralsSelection.ts +71 -0
- package/contracts/libs/index.ts +5 -0
- package/contracts/mocks/MockGovernance.ts +389 -0
- package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
- package/contracts/mocks/SimpleContract.ts +110 -0
- package/contracts/mocks/WrappedToken.ts +334 -0
- package/contracts/mocks/index.ts +7 -0
- package/contracts/slc-core/SLCCore.ts +397 -0
- package/contracts/slc-core/SLCCoreFactory.ts +559 -0
- package/contracts/slc-core/index.ts +5 -0
- package/contracts/token/Token.ts +399 -0
- package/contracts/token/index.ts +4 -0
- package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
- package/factories/contracts/governance/Governance__factory.ts +2328 -0
- package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
- package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
- package/factories/contracts/governance/index.ts +7 -0
- package/factories/contracts/index.ts +9 -0
- package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
- package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
- package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
- package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
- package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
- package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
- package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
- package/factories/contracts/interfaces/index.ts +10 -0
- package/factories/contracts/libs/Errors__factory.ts +205 -0
- package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
- package/factories/contracts/libs/index.ts +5 -0
- package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
- package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
- package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
- package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
- package/factories/contracts/mocks/index.ts +7 -0
- package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
- package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
- package/factories/contracts/slc-core/index.ts +5 -0
- package/factories/contracts/token/Token__factory.ts +505 -0
- package/factories/contracts/token/index.ts +4 -0
- package/index.ts +38 -0
- package/package.json +25 -0
@@ -0,0 +1,834 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import {
|
5
|
+
Contract,
|
6
|
+
ContractFactory,
|
7
|
+
ContractTransactionResponse,
|
8
|
+
Interface,
|
9
|
+
} from "ethers";
|
10
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
11
|
+
import type { NonPayableOverrides } from "../../../common";
|
12
|
+
import type {
|
13
|
+
ParameterRegistry,
|
14
|
+
ParameterRegistryInterface,
|
15
|
+
} from "../../../contracts/governance/ParameterRegistry";
|
16
|
+
|
17
|
+
const _abi = [
|
18
|
+
{
|
19
|
+
inputs: [
|
20
|
+
{
|
21
|
+
internalType: "address",
|
22
|
+
name: "target",
|
23
|
+
type: "address",
|
24
|
+
},
|
25
|
+
],
|
26
|
+
name: "AddressEmptyCode",
|
27
|
+
type: "error",
|
28
|
+
},
|
29
|
+
{
|
30
|
+
inputs: [
|
31
|
+
{
|
32
|
+
internalType: "address",
|
33
|
+
name: "implementation",
|
34
|
+
type: "address",
|
35
|
+
},
|
36
|
+
],
|
37
|
+
name: "ERC1967InvalidImplementation",
|
38
|
+
type: "error",
|
39
|
+
},
|
40
|
+
{
|
41
|
+
inputs: [],
|
42
|
+
name: "ERC1967NonPayable",
|
43
|
+
type: "error",
|
44
|
+
},
|
45
|
+
{
|
46
|
+
inputs: [],
|
47
|
+
name: "FailedCall",
|
48
|
+
type: "error",
|
49
|
+
},
|
50
|
+
{
|
51
|
+
inputs: [],
|
52
|
+
name: "InvalidInitialization",
|
53
|
+
type: "error",
|
54
|
+
},
|
55
|
+
{
|
56
|
+
inputs: [],
|
57
|
+
name: "InvalidOwner",
|
58
|
+
type: "error",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
inputs: [],
|
62
|
+
name: "NotInitializing",
|
63
|
+
type: "error",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
inputs: [
|
67
|
+
{
|
68
|
+
internalType: "string",
|
69
|
+
name: "key",
|
70
|
+
type: "string",
|
71
|
+
},
|
72
|
+
],
|
73
|
+
name: "ParameterNotFound",
|
74
|
+
type: "error",
|
75
|
+
},
|
76
|
+
{
|
77
|
+
inputs: [],
|
78
|
+
name: "UUPSUnauthorizedCallContext",
|
79
|
+
type: "error",
|
80
|
+
},
|
81
|
+
{
|
82
|
+
inputs: [
|
83
|
+
{
|
84
|
+
internalType: "bytes32",
|
85
|
+
name: "slot",
|
86
|
+
type: "bytes32",
|
87
|
+
},
|
88
|
+
],
|
89
|
+
name: "UUPSUnsupportedProxiableUUID",
|
90
|
+
type: "error",
|
91
|
+
},
|
92
|
+
{
|
93
|
+
inputs: [
|
94
|
+
{
|
95
|
+
internalType: "address",
|
96
|
+
name: "account",
|
97
|
+
type: "address",
|
98
|
+
},
|
99
|
+
],
|
100
|
+
name: "UnauthorizedAccount",
|
101
|
+
type: "error",
|
102
|
+
},
|
103
|
+
{
|
104
|
+
anonymous: false,
|
105
|
+
inputs: [
|
106
|
+
{
|
107
|
+
indexed: true,
|
108
|
+
internalType: "string",
|
109
|
+
name: "key",
|
110
|
+
type: "string",
|
111
|
+
},
|
112
|
+
{
|
113
|
+
indexed: true,
|
114
|
+
internalType: "address",
|
115
|
+
name: "value",
|
116
|
+
type: "address",
|
117
|
+
},
|
118
|
+
],
|
119
|
+
name: "AddressParameterSet",
|
120
|
+
type: "event",
|
121
|
+
},
|
122
|
+
{
|
123
|
+
anonymous: false,
|
124
|
+
inputs: [
|
125
|
+
{
|
126
|
+
indexed: true,
|
127
|
+
internalType: "string",
|
128
|
+
name: "key",
|
129
|
+
type: "string",
|
130
|
+
},
|
131
|
+
{
|
132
|
+
indexed: true,
|
133
|
+
internalType: "bytes32",
|
134
|
+
name: "value",
|
135
|
+
type: "bytes32",
|
136
|
+
},
|
137
|
+
],
|
138
|
+
name: "Bytes32ParameterSet",
|
139
|
+
type: "event",
|
140
|
+
},
|
141
|
+
{
|
142
|
+
anonymous: false,
|
143
|
+
inputs: [
|
144
|
+
{
|
145
|
+
indexed: false,
|
146
|
+
internalType: "uint64",
|
147
|
+
name: "version",
|
148
|
+
type: "uint64",
|
149
|
+
},
|
150
|
+
],
|
151
|
+
name: "Initialized",
|
152
|
+
type: "event",
|
153
|
+
},
|
154
|
+
{
|
155
|
+
anonymous: false,
|
156
|
+
inputs: [
|
157
|
+
{
|
158
|
+
indexed: false,
|
159
|
+
internalType: "address[]",
|
160
|
+
name: "newOwners",
|
161
|
+
type: "address[]",
|
162
|
+
},
|
163
|
+
],
|
164
|
+
name: "OwnersAdded",
|
165
|
+
type: "event",
|
166
|
+
},
|
167
|
+
{
|
168
|
+
anonymous: false,
|
169
|
+
inputs: [
|
170
|
+
{
|
171
|
+
indexed: false,
|
172
|
+
internalType: "address[]",
|
173
|
+
name: "removedOwners",
|
174
|
+
type: "address[]",
|
175
|
+
},
|
176
|
+
],
|
177
|
+
name: "OwnersRemoved",
|
178
|
+
type: "event",
|
179
|
+
},
|
180
|
+
{
|
181
|
+
anonymous: false,
|
182
|
+
inputs: [
|
183
|
+
{
|
184
|
+
indexed: true,
|
185
|
+
internalType: "string",
|
186
|
+
name: "key",
|
187
|
+
type: "string",
|
188
|
+
},
|
189
|
+
{
|
190
|
+
indexed: true,
|
191
|
+
internalType: "string",
|
192
|
+
name: "value",
|
193
|
+
type: "string",
|
194
|
+
},
|
195
|
+
],
|
196
|
+
name: "StringParameterSet",
|
197
|
+
type: "event",
|
198
|
+
},
|
199
|
+
{
|
200
|
+
anonymous: false,
|
201
|
+
inputs: [
|
202
|
+
{
|
203
|
+
indexed: true,
|
204
|
+
internalType: "string",
|
205
|
+
name: "key",
|
206
|
+
type: "string",
|
207
|
+
},
|
208
|
+
{
|
209
|
+
indexed: true,
|
210
|
+
internalType: "uint256",
|
211
|
+
name: "value",
|
212
|
+
type: "uint256",
|
213
|
+
},
|
214
|
+
],
|
215
|
+
name: "UintParameterSet",
|
216
|
+
type: "event",
|
217
|
+
},
|
218
|
+
{
|
219
|
+
anonymous: false,
|
220
|
+
inputs: [
|
221
|
+
{
|
222
|
+
indexed: true,
|
223
|
+
internalType: "address",
|
224
|
+
name: "implementation",
|
225
|
+
type: "address",
|
226
|
+
},
|
227
|
+
],
|
228
|
+
name: "Upgraded",
|
229
|
+
type: "event",
|
230
|
+
},
|
231
|
+
{
|
232
|
+
inputs: [],
|
233
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
234
|
+
outputs: [
|
235
|
+
{
|
236
|
+
internalType: "string",
|
237
|
+
name: "",
|
238
|
+
type: "string",
|
239
|
+
},
|
240
|
+
],
|
241
|
+
stateMutability: "view",
|
242
|
+
type: "function",
|
243
|
+
},
|
244
|
+
{
|
245
|
+
inputs: [
|
246
|
+
{
|
247
|
+
internalType: "address[]",
|
248
|
+
name: "initialOwners_",
|
249
|
+
type: "address[]",
|
250
|
+
},
|
251
|
+
],
|
252
|
+
name: "__ParameterRegistry_init",
|
253
|
+
outputs: [],
|
254
|
+
stateMutability: "nonpayable",
|
255
|
+
type: "function",
|
256
|
+
},
|
257
|
+
{
|
258
|
+
inputs: [
|
259
|
+
{
|
260
|
+
internalType: "address[]",
|
261
|
+
name: "newOwners_",
|
262
|
+
type: "address[]",
|
263
|
+
},
|
264
|
+
],
|
265
|
+
name: "addOwners",
|
266
|
+
outputs: [],
|
267
|
+
stateMutability: "nonpayable",
|
268
|
+
type: "function",
|
269
|
+
},
|
270
|
+
{
|
271
|
+
inputs: [
|
272
|
+
{
|
273
|
+
internalType: "string",
|
274
|
+
name: "key_",
|
275
|
+
type: "string",
|
276
|
+
},
|
277
|
+
],
|
278
|
+
name: "getAddr",
|
279
|
+
outputs: [
|
280
|
+
{
|
281
|
+
internalType: "address",
|
282
|
+
name: "",
|
283
|
+
type: "address",
|
284
|
+
},
|
285
|
+
],
|
286
|
+
stateMutability: "view",
|
287
|
+
type: "function",
|
288
|
+
},
|
289
|
+
{
|
290
|
+
inputs: [
|
291
|
+
{
|
292
|
+
internalType: "uint256",
|
293
|
+
name: "offset_",
|
294
|
+
type: "uint256",
|
295
|
+
},
|
296
|
+
{
|
297
|
+
internalType: "uint256",
|
298
|
+
name: "limit_",
|
299
|
+
type: "uint256",
|
300
|
+
},
|
301
|
+
],
|
302
|
+
name: "getAddressParameters",
|
303
|
+
outputs: [
|
304
|
+
{
|
305
|
+
components: [
|
306
|
+
{
|
307
|
+
internalType: "string",
|
308
|
+
name: "key",
|
309
|
+
type: "string",
|
310
|
+
},
|
311
|
+
{
|
312
|
+
internalType: "address",
|
313
|
+
name: "value",
|
314
|
+
type: "address",
|
315
|
+
},
|
316
|
+
],
|
317
|
+
internalType: "struct ParameterRegistry.AddressParameter[]",
|
318
|
+
name: "parameters",
|
319
|
+
type: "tuple[]",
|
320
|
+
},
|
321
|
+
],
|
322
|
+
stateMutability: "view",
|
323
|
+
type: "function",
|
324
|
+
},
|
325
|
+
{
|
326
|
+
inputs: [
|
327
|
+
{
|
328
|
+
internalType: "string",
|
329
|
+
name: "key_",
|
330
|
+
type: "string",
|
331
|
+
},
|
332
|
+
],
|
333
|
+
name: "getBytes32",
|
334
|
+
outputs: [
|
335
|
+
{
|
336
|
+
internalType: "bytes32",
|
337
|
+
name: "",
|
338
|
+
type: "bytes32",
|
339
|
+
},
|
340
|
+
],
|
341
|
+
stateMutability: "view",
|
342
|
+
type: "function",
|
343
|
+
},
|
344
|
+
{
|
345
|
+
inputs: [
|
346
|
+
{
|
347
|
+
internalType: "uint256",
|
348
|
+
name: "offset_",
|
349
|
+
type: "uint256",
|
350
|
+
},
|
351
|
+
{
|
352
|
+
internalType: "uint256",
|
353
|
+
name: "limit_",
|
354
|
+
type: "uint256",
|
355
|
+
},
|
356
|
+
],
|
357
|
+
name: "getBytes32Parameters",
|
358
|
+
outputs: [
|
359
|
+
{
|
360
|
+
components: [
|
361
|
+
{
|
362
|
+
internalType: "string",
|
363
|
+
name: "key",
|
364
|
+
type: "string",
|
365
|
+
},
|
366
|
+
{
|
367
|
+
internalType: "bytes32",
|
368
|
+
name: "value",
|
369
|
+
type: "bytes32",
|
370
|
+
},
|
371
|
+
],
|
372
|
+
internalType: "struct ParameterRegistry.Bytes32Parameter[]",
|
373
|
+
name: "parameters",
|
374
|
+
type: "tuple[]",
|
375
|
+
},
|
376
|
+
],
|
377
|
+
stateMutability: "view",
|
378
|
+
type: "function",
|
379
|
+
},
|
380
|
+
{
|
381
|
+
inputs: [],
|
382
|
+
name: "getOwners",
|
383
|
+
outputs: [
|
384
|
+
{
|
385
|
+
internalType: "address[]",
|
386
|
+
name: "",
|
387
|
+
type: "address[]",
|
388
|
+
},
|
389
|
+
],
|
390
|
+
stateMutability: "view",
|
391
|
+
type: "function",
|
392
|
+
},
|
393
|
+
{
|
394
|
+
inputs: [],
|
395
|
+
name: "getParameterCounts",
|
396
|
+
outputs: [
|
397
|
+
{
|
398
|
+
internalType: "uint256",
|
399
|
+
name: "addressCount",
|
400
|
+
type: "uint256",
|
401
|
+
},
|
402
|
+
{
|
403
|
+
internalType: "uint256",
|
404
|
+
name: "uintCount",
|
405
|
+
type: "uint256",
|
406
|
+
},
|
407
|
+
{
|
408
|
+
internalType: "uint256",
|
409
|
+
name: "stringCount",
|
410
|
+
type: "uint256",
|
411
|
+
},
|
412
|
+
{
|
413
|
+
internalType: "uint256",
|
414
|
+
name: "bytes32Count",
|
415
|
+
type: "uint256",
|
416
|
+
},
|
417
|
+
],
|
418
|
+
stateMutability: "view",
|
419
|
+
type: "function",
|
420
|
+
},
|
421
|
+
{
|
422
|
+
inputs: [
|
423
|
+
{
|
424
|
+
internalType: "string",
|
425
|
+
name: "key_",
|
426
|
+
type: "string",
|
427
|
+
},
|
428
|
+
],
|
429
|
+
name: "getString",
|
430
|
+
outputs: [
|
431
|
+
{
|
432
|
+
internalType: "string",
|
433
|
+
name: "",
|
434
|
+
type: "string",
|
435
|
+
},
|
436
|
+
],
|
437
|
+
stateMutability: "view",
|
438
|
+
type: "function",
|
439
|
+
},
|
440
|
+
{
|
441
|
+
inputs: [
|
442
|
+
{
|
443
|
+
internalType: "uint256",
|
444
|
+
name: "offset_",
|
445
|
+
type: "uint256",
|
446
|
+
},
|
447
|
+
{
|
448
|
+
internalType: "uint256",
|
449
|
+
name: "limit_",
|
450
|
+
type: "uint256",
|
451
|
+
},
|
452
|
+
],
|
453
|
+
name: "getStringParameters",
|
454
|
+
outputs: [
|
455
|
+
{
|
456
|
+
components: [
|
457
|
+
{
|
458
|
+
internalType: "string",
|
459
|
+
name: "key",
|
460
|
+
type: "string",
|
461
|
+
},
|
462
|
+
{
|
463
|
+
internalType: "string",
|
464
|
+
name: "value",
|
465
|
+
type: "string",
|
466
|
+
},
|
467
|
+
],
|
468
|
+
internalType: "struct ParameterRegistry.StringParameter[]",
|
469
|
+
name: "parameters",
|
470
|
+
type: "tuple[]",
|
471
|
+
},
|
472
|
+
],
|
473
|
+
stateMutability: "view",
|
474
|
+
type: "function",
|
475
|
+
},
|
476
|
+
{
|
477
|
+
inputs: [
|
478
|
+
{
|
479
|
+
internalType: "string",
|
480
|
+
name: "key_",
|
481
|
+
type: "string",
|
482
|
+
},
|
483
|
+
],
|
484
|
+
name: "getUint",
|
485
|
+
outputs: [
|
486
|
+
{
|
487
|
+
internalType: "uint256",
|
488
|
+
name: "",
|
489
|
+
type: "uint256",
|
490
|
+
},
|
491
|
+
],
|
492
|
+
stateMutability: "view",
|
493
|
+
type: "function",
|
494
|
+
},
|
495
|
+
{
|
496
|
+
inputs: [
|
497
|
+
{
|
498
|
+
internalType: "uint256",
|
499
|
+
name: "offset_",
|
500
|
+
type: "uint256",
|
501
|
+
},
|
502
|
+
{
|
503
|
+
internalType: "uint256",
|
504
|
+
name: "limit_",
|
505
|
+
type: "uint256",
|
506
|
+
},
|
507
|
+
],
|
508
|
+
name: "getUintParameters",
|
509
|
+
outputs: [
|
510
|
+
{
|
511
|
+
components: [
|
512
|
+
{
|
513
|
+
internalType: "string",
|
514
|
+
name: "key",
|
515
|
+
type: "string",
|
516
|
+
},
|
517
|
+
{
|
518
|
+
internalType: "uint256",
|
519
|
+
name: "value",
|
520
|
+
type: "uint256",
|
521
|
+
},
|
522
|
+
],
|
523
|
+
internalType: "struct ParameterRegistry.UintParameter[]",
|
524
|
+
name: "parameters",
|
525
|
+
type: "tuple[]",
|
526
|
+
},
|
527
|
+
],
|
528
|
+
stateMutability: "view",
|
529
|
+
type: "function",
|
530
|
+
},
|
531
|
+
{
|
532
|
+
inputs: [
|
533
|
+
{
|
534
|
+
internalType: "string",
|
535
|
+
name: "key_",
|
536
|
+
type: "string",
|
537
|
+
},
|
538
|
+
{
|
539
|
+
internalType: "enum ParameterRegistry.ParameterType",
|
540
|
+
name: "paramType_",
|
541
|
+
type: "uint8",
|
542
|
+
},
|
543
|
+
],
|
544
|
+
name: "hasParameter",
|
545
|
+
outputs: [
|
546
|
+
{
|
547
|
+
internalType: "bool",
|
548
|
+
name: "",
|
549
|
+
type: "bool",
|
550
|
+
},
|
551
|
+
],
|
552
|
+
stateMutability: "view",
|
553
|
+
type: "function",
|
554
|
+
},
|
555
|
+
{
|
556
|
+
inputs: [],
|
557
|
+
name: "implementation",
|
558
|
+
outputs: [
|
559
|
+
{
|
560
|
+
internalType: "address",
|
561
|
+
name: "",
|
562
|
+
type: "address",
|
563
|
+
},
|
564
|
+
],
|
565
|
+
stateMutability: "view",
|
566
|
+
type: "function",
|
567
|
+
},
|
568
|
+
{
|
569
|
+
inputs: [
|
570
|
+
{
|
571
|
+
internalType: "address",
|
572
|
+
name: "address_",
|
573
|
+
type: "address",
|
574
|
+
},
|
575
|
+
],
|
576
|
+
name: "isOwner",
|
577
|
+
outputs: [
|
578
|
+
{
|
579
|
+
internalType: "bool",
|
580
|
+
name: "",
|
581
|
+
type: "bool",
|
582
|
+
},
|
583
|
+
],
|
584
|
+
stateMutability: "view",
|
585
|
+
type: "function",
|
586
|
+
},
|
587
|
+
{
|
588
|
+
inputs: [],
|
589
|
+
name: "proxiableUUID",
|
590
|
+
outputs: [
|
591
|
+
{
|
592
|
+
internalType: "bytes32",
|
593
|
+
name: "",
|
594
|
+
type: "bytes32",
|
595
|
+
},
|
596
|
+
],
|
597
|
+
stateMutability: "view",
|
598
|
+
type: "function",
|
599
|
+
},
|
600
|
+
{
|
601
|
+
inputs: [
|
602
|
+
{
|
603
|
+
internalType: "string",
|
604
|
+
name: "key_",
|
605
|
+
type: "string",
|
606
|
+
},
|
607
|
+
],
|
608
|
+
name: "removeAddr",
|
609
|
+
outputs: [],
|
610
|
+
stateMutability: "nonpayable",
|
611
|
+
type: "function",
|
612
|
+
},
|
613
|
+
{
|
614
|
+
inputs: [
|
615
|
+
{
|
616
|
+
internalType: "string",
|
617
|
+
name: "key_",
|
618
|
+
type: "string",
|
619
|
+
},
|
620
|
+
],
|
621
|
+
name: "removeBytes32",
|
622
|
+
outputs: [],
|
623
|
+
stateMutability: "nonpayable",
|
624
|
+
type: "function",
|
625
|
+
},
|
626
|
+
{
|
627
|
+
inputs: [
|
628
|
+
{
|
629
|
+
internalType: "address[]",
|
630
|
+
name: "oldOwners_",
|
631
|
+
type: "address[]",
|
632
|
+
},
|
633
|
+
],
|
634
|
+
name: "removeOwners",
|
635
|
+
outputs: [],
|
636
|
+
stateMutability: "nonpayable",
|
637
|
+
type: "function",
|
638
|
+
},
|
639
|
+
{
|
640
|
+
inputs: [
|
641
|
+
{
|
642
|
+
internalType: "string",
|
643
|
+
name: "key_",
|
644
|
+
type: "string",
|
645
|
+
},
|
646
|
+
],
|
647
|
+
name: "removeString",
|
648
|
+
outputs: [],
|
649
|
+
stateMutability: "nonpayable",
|
650
|
+
type: "function",
|
651
|
+
},
|
652
|
+
{
|
653
|
+
inputs: [
|
654
|
+
{
|
655
|
+
internalType: "string",
|
656
|
+
name: "key_",
|
657
|
+
type: "string",
|
658
|
+
},
|
659
|
+
],
|
660
|
+
name: "removeUint",
|
661
|
+
outputs: [],
|
662
|
+
stateMutability: "nonpayable",
|
663
|
+
type: "function",
|
664
|
+
},
|
665
|
+
{
|
666
|
+
inputs: [],
|
667
|
+
name: "renounceOwnership",
|
668
|
+
outputs: [],
|
669
|
+
stateMutability: "nonpayable",
|
670
|
+
type: "function",
|
671
|
+
},
|
672
|
+
{
|
673
|
+
inputs: [
|
674
|
+
{
|
675
|
+
internalType: "string",
|
676
|
+
name: "key_",
|
677
|
+
type: "string",
|
678
|
+
},
|
679
|
+
{
|
680
|
+
internalType: "address",
|
681
|
+
name: "value_",
|
682
|
+
type: "address",
|
683
|
+
},
|
684
|
+
],
|
685
|
+
name: "setAddr",
|
686
|
+
outputs: [],
|
687
|
+
stateMutability: "nonpayable",
|
688
|
+
type: "function",
|
689
|
+
},
|
690
|
+
{
|
691
|
+
inputs: [
|
692
|
+
{
|
693
|
+
internalType: "string",
|
694
|
+
name: "key_",
|
695
|
+
type: "string",
|
696
|
+
},
|
697
|
+
{
|
698
|
+
internalType: "bytes32",
|
699
|
+
name: "value_",
|
700
|
+
type: "bytes32",
|
701
|
+
},
|
702
|
+
],
|
703
|
+
name: "setBytes32",
|
704
|
+
outputs: [],
|
705
|
+
stateMutability: "nonpayable",
|
706
|
+
type: "function",
|
707
|
+
},
|
708
|
+
{
|
709
|
+
inputs: [
|
710
|
+
{
|
711
|
+
internalType: "string",
|
712
|
+
name: "key_",
|
713
|
+
type: "string",
|
714
|
+
},
|
715
|
+
{
|
716
|
+
internalType: "string",
|
717
|
+
name: "value_",
|
718
|
+
type: "string",
|
719
|
+
},
|
720
|
+
],
|
721
|
+
name: "setString",
|
722
|
+
outputs: [],
|
723
|
+
stateMutability: "nonpayable",
|
724
|
+
type: "function",
|
725
|
+
},
|
726
|
+
{
|
727
|
+
inputs: [
|
728
|
+
{
|
729
|
+
internalType: "string",
|
730
|
+
name: "key_",
|
731
|
+
type: "string",
|
732
|
+
},
|
733
|
+
{
|
734
|
+
internalType: "uint256",
|
735
|
+
name: "value_",
|
736
|
+
type: "uint256",
|
737
|
+
},
|
738
|
+
],
|
739
|
+
name: "setUint",
|
740
|
+
outputs: [],
|
741
|
+
stateMutability: "nonpayable",
|
742
|
+
type: "function",
|
743
|
+
},
|
744
|
+
{
|
745
|
+
inputs: [
|
746
|
+
{
|
747
|
+
internalType: "bytes4",
|
748
|
+
name: "interfaceId_",
|
749
|
+
type: "bytes4",
|
750
|
+
},
|
751
|
+
],
|
752
|
+
name: "supportsInterface",
|
753
|
+
outputs: [
|
754
|
+
{
|
755
|
+
internalType: "bool",
|
756
|
+
name: "",
|
757
|
+
type: "bool",
|
758
|
+
},
|
759
|
+
],
|
760
|
+
stateMutability: "view",
|
761
|
+
type: "function",
|
762
|
+
},
|
763
|
+
{
|
764
|
+
inputs: [
|
765
|
+
{
|
766
|
+
internalType: "address",
|
767
|
+
name: "newImplementation",
|
768
|
+
type: "address",
|
769
|
+
},
|
770
|
+
{
|
771
|
+
internalType: "bytes",
|
772
|
+
name: "data",
|
773
|
+
type: "bytes",
|
774
|
+
},
|
775
|
+
],
|
776
|
+
name: "upgradeToAndCall",
|
777
|
+
outputs: [],
|
778
|
+
stateMutability: "payable",
|
779
|
+
type: "function",
|
780
|
+
},
|
781
|
+
] as const;
|
782
|
+
|
783
|
+
const _bytecode =
|
784
|
+
"0x60a0806040523460295730608052612d2b908161002f823960805181818161103d01526110e20152f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a71461183e57508063134d88701461167c578063213b9eb8146115ad57806327314f791461153e5780632f54bf6e146115125780632f95c8fb1461148057806337adb576146113b5578063446871f714611320578063498bff00146112a85780634f1ef2861461109457806352d1902d1461102a57806356523acd14610f955780635c60da1b14610f5f5780636c46a2c514610f415780636d8cc1c914610d825780636e1a133614610be5578063715018a614610b845780639c981fcb14610aee5780639fc3ef0b14610a5c578063a0e67e2b146109cd578063a9a5e3af146109ad578063ab61052714610942578063ad3cb1cc146108f7578063c6b770c2146106f2578063d396ae5b1461063a578063d502db971461057e578063e703d783146103b6578063e900549f146103635763f32367511461015e57600080fd5b3461035e5761018861016f36611891565b81600080516020612bff83398151915293929354611d88565b6101928282611ab3565b9161019c836119c0565b926101aa604051948561194d565b8084526101b9601f19916119c0565b0160005b8181106103475750509081600080516020612bff83398151915254925b82811061025d57846040518091602082016020835281518091526040830190602060408260051b8601019301916000905b82821061021a57505050500390f35b919360019193955060208091603f19898203018552875190828061024784516040855260408501906118ca565b930151910152960192019201859493919261020b565b60008482101561033357600080516020612bff83398151915290526040516001919061032c9060006102bc826102b5817f6108e1064dcaae634b644abf0d80cc2b1df846e6a8598a9d2487ad9b8881a18a8801611c6c565b038361194d565b5060405160208183516102d281838588016118a7565b81017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989403815203019020546040519161030983611932565b8252602082015261031a8584611ab3565b90610325828a611af0565b5287611af0565b50016101da565b634e487b7160e01b81526032600452602490fd5b602090610352611ad6565b828288010152016101bd565b600080fd5b3461035e57604036600319011261035e576004356001600160401b03811161035e576103939036906004016118ef565b90602435600481101561035e576020926103ac92611cef565b6040519015158152f35b3461035e57602036600319011261035e576004356001600160401b03811161035e573660238201121561035e578060040135906001600160401b03821161035e573660248360051b8301011161035e57600080516020612cbf833981519152549060ff8260401c1615926001600160401b03831680159081610576575b600114908161056c575b159081610563575b506105525767ffffffffffffffff198316600117600080516020612cbf8339815191525561047e9284610525575b5060243692016119d7565b60ff600080516020612cbf8339815191525460401c161561051457805115610503576104a990611dd8565b6104af57005b60ff60401b19600080516020612cbf8339815191525416600080516020612cbf833981519152557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b6349e27cff60e01b60005260046000fd5b631afcd79f60e31b60005260046000fd5b68ffffffffffffffffff19166801000000000000000117600080516020612cbf8339815191525584610473565b63f92ee8a960e01b60005260046000fd5b90501585610445565b303b15915061043d565b859150610433565b3461035e57602036600319011261035e576004356001600160401b03811161035e576105ae9036906004016118ef565b906105ba368383611989565b60208151910120600052600080516020612c5f8339815191526020526040600020541561061a5781602092604051928337600080516020612cdf83398151915290820190815281900382019020546040516001600160a01b039091168152f35b610636604051928392636ee0e8cf60e11b845260048401611bac565b0390fd5b3461035e57602036600319011261035e576004356001600160401b03811161035e5761066c60009136906004016118ef565b90610675611db3565b60405182828237600080516020612cdf833981519152838201908152819003602001902080546001600160a01b03191690556106ba6106b5368484611989565b6127aa565b5081604051928392833781018381520390207f15276838de8bad6084f38c9d74e16a00dfb163170dd3082ec8c6bc47110314ba8280a3005b3461035e5761071c61070336611891565b81600080516020612bdf83398151915293929354611d88565b6107268282611ab3565b91610730836119c0565b9261073e604051948561194d565b80845261074d601f19916119c0565b0160005b8181106108d25750509081600080516020612bdf83398151915254925b8281106107fd57846040518091602082016020835281518091526040830190602060408260051b8601019301916000905b8282106107ae57505050500390f35b919360019193955060206107ed8192603f198a8203018652885190836107dd83516040845260408401906118ca565b92015190848184039101526118ca565b960192019201859493919261079f565b60008482101561033357600080516020612bdf8339815191529052604051600191906108cb906000610855826102b5817f3394f3b76207ace39d10fa46e7cecce66e0a3377899f0cf290efe36cd2cc05b58801611c6c565b506108b56108bc60405160208185516108718183858a016118a7565b81017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989402815203019020604051936108a785611932565b845260405192838092611c6c565b038261194d565b602082015261031a8584611ab3565b500161076e565b6020906040516108e181611932565b6060815260608382015282828801015201610751565b3461035e57600036600319011261035e5761093e604080519061091a818361194d565b60058252640352e302e360dc1b6020830152519182916020835260208301906118ca565b0390f35b3461035e57600036600319011261035e576080600080516020612b7f83398151915254600080516020612bbf83398151915254600080516020612bdf83398151915254600080516020612bff8339815191525491604051938452602084015260408301526060820152f35b3461035e576109cb6109be36611a32565b6109c6611db3565b611e7d565b005b3461035e57600036600319011261035e57604051600080516020612c9f8339815191528054808352600091825260208301917fd0a3e974dc15f2bb30bdecee34e87621df5febbd7da4d9e3bbbccb9beece9c2f91905b818110610a465761093e85610a3a8187038261194d565b60405191829182611a70565b8254845260209093019260019283019201610a23565b3461035e57602036600319011261035e576004356001600160401b03811161035e57610a8e60009136906004016118ef565b90610a97611db3565b82610aa28383611b74565b55610ab6610ab1368484611989565b61261a565b5081604051928392833781018381520390207fe0cbfc54a306a7220af3b97d418a76f3c9a8a77930cd0a98d298952d988b10408280a3005b3461035e57602036600319011261035e576004356001600160401b03811161035e57610b1e9036906004016118ef565b90610b2a368383611989565b60208151910120600052600080516020612b9f8339815191526020526040600020541561061a57610b70610b6461093e936108b593611b3c565b60405192838092611c6c565b6040519182916020835260208301906118ca565b3461035e57600036600319011261035e57610b9d611db3565b60408051610bab828261194d565b600181526020810191601f1901368337805115610bcf57339091526109cb90611e7d565b634e487b7160e01b600052603260045260246000fd5b3461035e57604036600319011261035e576004356001600160401b03811161035e57610c159036906004016118ef565b6024356001600160401b03811161035e57610c349036906004016118ef565b919092610c3f611db3565b610c498282611b3c565b6001600160401b038411610d6c57610c6b84610c658354611bd4565b83611c25565b600084601f8111600114610d095780610c9a92600091610cfe575b508160011b916000199060031b1c19161790565b90555b610cb0610cab368484611989565b612203565b5081604051928392833781016000815203902091816040519283928337810160008152039020907f830582dff451a26e61485316c05575bdf4fc0989447584cae15a8f263f564122600080a3005b905087013588610c86565b50818152602081209085601f198116825b818110610d51575010610d37575b5050600184811b019055610c9d565b860135600019600387901b60f8161c191690558580610d28565b89840135855560019094019360209384019389935001610d1a565b634e487b7160e01b600052604160045260246000fd5b3461035e57610dac610d9336611891565b81600080516020612b7f83398151915293929354611d88565b610db68282611ab3565b91610dc0836119c0565b92610dce604051948561194d565b808452610ddd601f19916119c0565b0160005b818110610f2a5750509081600080516020612b7f83398151915254925b828110610e8957846040518091602082016020835281518091526040830190602060408260051b8601019301916000905b828210610e3e57505050500390f35b919360019193955060208091603f1989820301855287519082610e6a83516040845260408401906118ca565b9281878060a01b03910151169101529601920192018594939192610e2f565b60008482101561033357600080516020612b7f833981519152905260405160019190610f2390610edf816108b5817f13b12c426049ff197de915a735a471c85384602063ff9d7005fa0ec32ef6efc78701611c6c565b6040518151610ef28183602086016118a7565b810190600080516020612cdf8339815191528252602081878060a01b03930301902054166040519161030983611932565b5001610dfe565b602090610f35611ad6565b82828801015201610de1565b3461035e576109cb610f5236611a32565b610f5a611db3565b611dd8565b3461035e57600036600319011261035e57600080516020612c1f833981519152546040516001600160a01b039091168152602090f35b3461035e57604036600319011261035e576004356001600160401b03811161035e57610fc59036906004016118ef565b60243591610fd1611db3565b82610fdc8383611b74565b55610ff0610feb368484611989565b612150565b508160405192839283378101600081520390207fe0cbfc54a306a7220af3b97d418a76f3c9a8a77930cd0a98d298952d988b1040600080a3005b3461035e57600036600319011261035e577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163003611083576020604051600080516020612c1f8339815191528152f35b63703e46dd60e11b60005260046000fd5b604036600319011261035e576110a861191c565b6024356001600160401b03811161035e573660238201121561035e576110d8903690602481600401359101611989565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115611285575b506110835761111a611db3565b6040516352d1902d60e01b81526001600160a01b0383169290602081600481875afa60009181611251575b5061115f5783634c9c8ce360e01b60005260045260246000fd5b80600080516020612c1f83398151915285920361123d5750813b1561122957600080516020612c1f83398151915280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a281511561120f576000808360206109cb95519101845af43d15611207573d916111ea8361196e565b926111f8604051948561194d565b83523d6000602085013e61293a565b60609161293a565b50503461121857005b63b398979f60e01b60005260046000fd5b634c9c8ce360e01b60005260045260246000fd5b632a87526960e21b60005260045260246000fd5b9091506020813d60201161127d575b8161126d6020938361194d565b8101031261035e57519085611145565b3d9150611260565b600080516020612c1f833981519152546001600160a01b0316141590508361110d565b3461035e57602036600319011261035e576004356001600160401b03811161035e576112d89036906004016118ef565b906112e4368383611989565b60208151910120600052600080516020612cff8339815191526020526040600020541561061a5760209161131791611b74565b54604051908152f35b3461035e57604036600319011261035e576004356001600160401b03811161035e576113509036906004016118ef565b6024359161135c611db3565b826113678383611b04565b5561137b611376368484611989565b61209d565b508160405192839283378101600081520390207f2042609850eceaf9d9fb73ab0c7d348b5c445267fd7fbfde3ca7059373ffcd8c600080a3005b3461035e57602036600319011261035e576004356001600160401b03811161035e576113e59036906004016118ef565b906113ee611db3565b60006113fa8383611b3c565b6114048154611bd4565b601f8111611461575b505561142261141d368484611989565b61248a565b5081604051928392833781016000815203902060008020907f830582dff451a26e61485316c05575bdf4fc0989447584cae15a8f263f564122600080a3005b8183526020832061147a91601f0160051c810190611c0e565b8461140d565b3461035e57602036600319011261035e576004356001600160401b03811161035e576114b260009136906004016118ef565b906114bb611db3565b826114c68383611b04565b556114da6114d5368484611989565b6122d6565b5081604051928392833781018381520390207f2042609850eceaf9d9fb73ab0c7d348b5c445267fd7fbfde3ca7059373ffcd8c8280a3005b3461035e57602036600319011261035e5760206103ac6001600160a01b0361153861191c565b166122b6565b3461035e57602036600319011261035e576004356001600160401b03811161035e5761156e9036906004016118ef565b9061157a368383611989565b60208151910120600052600080516020612c7f8339815191526020526040600020541561061a5760209161131791611b04565b3461035e57604036600319011261035e576004356001600160401b03811161035e576115dd9036906004016118ef565b6024356001600160a01b038116929083900361035e576115fb611db3565b60405182828237600080516020612cdf833981519152838201908152819003602001902080546001600160a01b0319168417905561164261163d368484611989565b611fde565b508160405192839283378101600081520390207f15276838de8bad6084f38c9d74e16a00dfb163170dd3082ec8c6bc47110314ba600080a3005b3461035e576116a661168d36611891565b81600080516020612bbf83398151915293929354611d88565b6116b08282611ab3565b916116ba836119c0565b926116c8604051948561194d565b8084526116d7601f19916119c0565b0160005b8181106118275750509081600080516020612bbf83398151915254925b82811061177b57846040518091602082016020835281518091526040830190602060408260051b8601019301916000905b82821061173857505050500390f35b919360019193955060208091603f19898203018552875190828061176584516040855260408501906118ca565b9301519101529601920192018594939192611729565b60008482101561033357600080516020612bbf8339815191529052604051600191906118209060006117d3826102b5817f333ef9bec54e9e6f76eef5fa216891bac95a4497e3e3c8b2e3dd5d8842b3b6048801611c6c565b5060405160208183516117e981838588016118a7565b81017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989401815203019020546040519161030983611932565b50016116f8565b602090611832611ad6565b828288010152016116db565b3461035e57602036600319011261035e576004359063ffffffff60e01b821680920361035e57602091632720742560e01b8114908115611880575b5015158152f35b6301ffc9a760e01b14905083611879565b604090600319011261035e576004359060243590565b60005b8381106118ba5750506000910152565b81810151838201526020016118aa565b906020916118e3815180928185528580860191016118a7565b601f01601f1916010190565b9181601f8401121561035e578235916001600160401b03831161035e576020838186019501011161035e57565b600435906001600160a01b038216820361035e57565b604081019081106001600160401b03821117610d6c57604052565b90601f801991011681019081106001600160401b03821117610d6c57604052565b6001600160401b038111610d6c57601f01601f191660200190565b9291926119958261196e565b916119a3604051938461194d565b82948184528183011161035e578281602093846000960137010152565b6001600160401b038111610d6c5760051b60200190565b92916119e2826119c0565b936119f0604051958661194d565b602085848152019260051b810191821161035e57915b818310611a1257505050565b82356001600160a01b038116810361035e57815260209283019201611a06565b602060031982011261035e57600435906001600160401b03821161035e578060238301121561035e57816024611a6d936004013591016119d7565b90565b602060408183019282815284518094520192019060005b818110611a945750505090565b82516001600160a01b0316845260209384019390920191600101611a87565b91908203918211611ac057565b634e487b7160e01b600052601160045260246000fd5b60405190611ae382611932565b6000602083606081520152565b8051821015610bcf5760209160051b010190565b60209082604051938492833781017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940381520301902090565b60209082604051938492833781017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940281520301902090565b60209082604051938492833781017fdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940181520301902090565b90918060409360208452816020850152848401376000828201840152601f01601f1916010190565b90600182811c92168015611c04575b6020831014611bee57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611be3565b818110611c19575050565b60008155600101611c0e565b9190601f8111611c3457505050565b611c60926000526020600020906020601f840160051c83019310611c62575b601f0160051c0190611c0e565b565b9091508190611c53565b60009291815491611c7c83611bd4565b8083529260018116908115611cd25750600114611c9857505050565b60009081526020812093945091925b838310611cb8575060209250010190565b600181602092949394548385870101520191019190611ca7565b915050602093945060ff929192191683830152151560051b010190565b916004811015611d725780611d32575080604051928337600080516020612cdf8339815191529082019081528190036020019020546001600160a01b0316151590565b60018103611d4a5750611d4491611b74565b54151590565b600214611d5a57611d4491611b04565b611d6790611d6d92611b3c565b54611bd4565b151590565b634e487b7160e01b600052602160045260246000fd5b9291810192838211611ac057808411611dab575b50828111611da75750565b9150565b925038611d9c565b611dbc336122b6565b15611dc357565b6332b2baa360e01b6000523360045260246000fd5b60005b8151811015611e0a57600190611e036001600160a01b03611dfc8386611af0565b511661299b565b5001611ddb565b5060008052600080516020612c3f8339815191526020527fd78d4cfea0fa7a3b7f3c60ce2e50f9a8b385c2113cfd0e86c6b02386a3690bc05461050357611e787f5fd1e185ef572e7f662fcc63b7c9e778b996190372868af5fe137132c811398e9160405191829182611a70565b0390a1565b60005b8151811015611eaf57600190611ea86001600160a01b03611ea18386611af0565b5116612a55565b5001611e80565b50611e787f0bbb8c3531454b5141cebfe14eba43275a099c31e3357a4653412a08b05ce0cc9160405191829182611a70565b8054821015610bcf5760005260206000200190600090565b90929192611fc85782516001600160401b038111610d6c57611f2581611f1f8454611bd4565b84611c25565b6020601f8211600114611f66578190611f57939495600092611f5b575b50508160011b916000199060031b1c19161790565b9055565b015190503880611f42565b601f1982169083600052806000209160005b818110611fb057509583600195969710611f97575b505050811b019055565b015160001960f88460031b161c19169055388080611f8d565b9192602060018192868b015181550194019201611f78565b634e487b7160e01b600052600060045260246000fd5b805160208201206000526001600080516020612b7f8339815191520160205260406000205415151560001461209757600080516020612b7f83398151915254600160401b811015610d6c578161205982600161205f9401600080516020612b7f83398151915255600080516020612b7f833981519152611ee1565b90611ef9565b600080516020612b7f833981519152549060208151910120600052600080516020612c5f833981519152602052604060002055600190565b50600090565b805160208201206000526001600080516020612bff8339815191520160205260406000205415151560001461209757600080516020612bff83398151915254600160401b811015610d6c57816120598260016121189401600080516020612bff83398151915255600080516020612bff833981519152611ee1565b600080516020612bff833981519152549060208151910120600052600080516020612c7f833981519152602052604060002055600190565b805160208201206000526001600080516020612bbf8339815191520160205260406000205415151560001461209757600080516020612bbf83398151915254600160401b811015610d6c57816120598260016121cb9401600080516020612bbf83398151915255600080516020612bbf833981519152611ee1565b600080516020612bbf833981519152549060208151910120600052600080516020612cff833981519152602052604060002055600190565b805160208201206000526001600080516020612bdf8339815191520160205260406000205415151560001461209757600080516020612bdf83398151915254600160401b811015610d6c578161205982600161227e9401600080516020612bdf83398151915255600080516020612bdf833981519152611ee1565b600080516020612bdf833981519152549060208151910120600052600080516020612b9f833981519152602052604060002055600190565b600052600080516020612c3f833981519152602052604060002054151590565b6020815191012080600052600080516020612c7f833981519152602052604060002054801515600014612483576000198101818111611ac057600080516020612bff833981519152546000198101908111611ac05781810361240a575b505050600080516020612bff8339815191525480156123f4576000190161236881600080516020612bff833981519152611ee1565b611fc8576123768154611bd4565b90816123b0575b5050600080516020612bff83398151915255600052600080516020612c7f83398151915260205260006040812055600190565b81601f600093116001146123c85750555b388061237d565b818352602083206123e491601f0160051c810190600101611c0e565b80825281602081209155556123c1565b634e487b7160e01b600052603160045260246000fd5b61243e9161205961242c61245993600080516020612bff833981519152611ee1565b50916124456040518096818096611c6c565b038461194d565b600080516020612bff833981519152611ee1565b60208151910120600052600080516020612c7f833981519152602052604060002055388080612333565b5050600090565b6020815191012080600052600080516020612b9f833981519152602052604060002054801515600014612483576000198101818111611ac057600080516020612bdf833981519152546000198101908111611ac0578181036125a8575b505050600080516020612bdf8339815191525480156123f4576000190161251c81600080516020612bdf833981519152611ee1565b611fc85761252a8154611bd4565b9081612564575b5050600080516020612bdf83398151915255600052600080516020612b9f83398151915260205260006040812055600190565b81601f6000931160011461257c5750555b3880612531565b8183526020832061259891601f0160051c810190600101611c0e565b8082528160208120915555612575565b61243e916120596125ca6125f093600080516020612bdf833981519152611ee1565b50916125dc6040518096818096611c6c565b600080516020612bdf833981519152611ee1565b60208151910120600052600080516020612b9f8339815191526020526040600020553880806124e7565b6020815191012080600052600080516020612cff833981519152602052604060002054801515600014612483576000198101818111611ac057600080516020612bbf833981519152546000198101908111611ac057818103612738575b505050600080516020612bbf8339815191525480156123f457600019016126ac81600080516020612bbf833981519152611ee1565b611fc8576126ba8154611bd4565b90816126f4575b5050600080516020612bbf83398151915255600052600080516020612cff83398151915260205260006040812055600190565b81601f6000931160011461270c5750555b38806126c1565b8183526020832061272891601f0160051c810190600101611c0e565b8082528160208120915555612705565b61243e9161205961275a61278093600080516020612bbf833981519152611ee1565b509161276c6040518096818096611c6c565b600080516020612bbf833981519152611ee1565b60208151910120600052600080516020612cff833981519152602052604060002055388080612677565b6020815191012080600052600080516020612c5f833981519152602052604060002054801515600014612483576000198101818111611ac057600080516020612b7f833981519152546000198101908111611ac0578181036128c8575b505050600080516020612b7f8339815191525480156123f4576000190161283c81600080516020612b7f833981519152611ee1565b611fc85761284a8154611bd4565b9081612884575b5050600080516020612b7f83398151915255600052600080516020612c5f83398151915260205260006040812055600190565b81601f6000931160011461289c5750555b3880612851565b818352602083206128b891601f0160051c810190600101611c0e565b8082528160208120915555612895565b61243e916120596128ea61291093600080516020612b7f833981519152611ee1565b50916128fc6040518096818096611c6c565b600080516020612b7f833981519152611ee1565b60208151910120600052600080516020612c5f833981519152602052604060002055388080612807565b90612960575080511561294f57805190602001fd5b63d6bda27560e01b60005260046000fd5b81511580612992575b612971575090565b639996b31560e01b60009081526001600160a01b0391909116600452602490fd5b50803b15612969565b80600052600080516020612c3f8339815191526020526040600020541560001461209757600080516020612c9f83398151915254600160401b811015610d6c57612a22612a0b826001859401600080516020612c9f83398151915255600080516020612c9f833981519152611ee1565b819391549060031b91821b91600019901b19161790565b9055600080516020612c9f8339815191525490600052600080516020612c3f833981519152602052604060002055600190565b6000818152600080516020612c3f83398151915260205260409020548015612483576000198101818111611ac057600080516020612c9f83398151915254600019810191908211611ac057818103612b1d575b505050600080516020612c9f8339815191525480156123f45760001901612add81600080516020612c9f833981519152611ee1565b8154906000199060031b1b19169055600080516020612c9f83398151915255600052600080516020612c3f83398151915260205260006040812055600190565b612b59612b3b612a0b93600080516020612c9f833981519152611ee1565b90549060031b1c928392600080516020612c9f833981519152611ee1565b9055600052600080516020612c3f833981519152602052604060002055388080612aa856fedb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989404db4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940bdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989406db4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940adb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989408360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54985b7dba18117ef28d5d113b6eab9fb186b92b1987f5efdadbc365eb2a5cbbdb4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989405db4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad3898940954985b7dba18117ef28d5d113b6eab9fb186b92b1987f5efdadbc365eb2a5cbaf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00db4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989400db4673e5e220d5b2264587470c59af90d833b7a823651ce8108242ad38989407a164736f6c634300081e000a";
|
785
|
+
|
786
|
+
type ParameterRegistryConstructorParams =
|
787
|
+
| [signer?: Signer]
|
788
|
+
| ConstructorParameters<typeof ContractFactory>;
|
789
|
+
|
790
|
+
const isSuperArgs = (
|
791
|
+
xs: ParameterRegistryConstructorParams
|
792
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
793
|
+
|
794
|
+
export class ParameterRegistry__factory extends ContractFactory {
|
795
|
+
constructor(...args: ParameterRegistryConstructorParams) {
|
796
|
+
if (isSuperArgs(args)) {
|
797
|
+
super(...args);
|
798
|
+
} else {
|
799
|
+
super(_abi, _bytecode, args[0]);
|
800
|
+
}
|
801
|
+
this.contractName = "ParameterRegistry";
|
802
|
+
}
|
803
|
+
|
804
|
+
override getDeployTransaction(
|
805
|
+
overrides?: NonPayableOverrides & { from?: string }
|
806
|
+
): Promise<ContractDeployTransaction> {
|
807
|
+
return super.getDeployTransaction(overrides || {});
|
808
|
+
}
|
809
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
810
|
+
return super.deploy(overrides || {}) as Promise<
|
811
|
+
ParameterRegistry & {
|
812
|
+
deploymentTransaction(): ContractTransactionResponse;
|
813
|
+
}
|
814
|
+
>;
|
815
|
+
}
|
816
|
+
override connect(runner: ContractRunner | null): ParameterRegistry__factory {
|
817
|
+
return super.connect(runner) as ParameterRegistry__factory;
|
818
|
+
}
|
819
|
+
static readonly contractName: "ParameterRegistry";
|
820
|
+
|
821
|
+
public readonly contractName: "ParameterRegistry";
|
822
|
+
|
823
|
+
static readonly bytecode = _bytecode;
|
824
|
+
static readonly abi = _abi;
|
825
|
+
static createInterface(): ParameterRegistryInterface {
|
826
|
+
return new Interface(_abi) as ParameterRegistryInterface;
|
827
|
+
}
|
828
|
+
static connect(
|
829
|
+
address: string,
|
830
|
+
runner?: ContractRunner | null
|
831
|
+
): ParameterRegistry {
|
832
|
+
return new Contract(address, _abi, runner) as unknown as ParameterRegistry;
|
833
|
+
}
|
834
|
+
}
|