@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.
Files changed (58) hide show
  1. package/common.ts +131 -0
  2. package/constants.ts +34 -0
  3. package/contracts/governance/ExecutorsRegistry.ts +1249 -0
  4. package/contracts/governance/Governance.ts +1740 -0
  5. package/contracts/governance/NeutralsRegistry.ts +1393 -0
  6. package/contracts/governance/ParameterRegistry.ts +832 -0
  7. package/contracts/governance/index.ts +7 -0
  8. package/contracts/index.ts +15 -0
  9. package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
  10. package/contracts/interfaces/IGovernance.ts +215 -0
  11. package/contracts/interfaces/INeutralsRegistry.ts +624 -0
  12. package/contracts/interfaces/IQParameters.ts +109 -0
  13. package/contracts/interfaces/ISLCCore.ts +289 -0
  14. package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
  15. package/contracts/interfaces/IWrappedToken.ts +272 -0
  16. package/contracts/interfaces/index.ts +10 -0
  17. package/contracts/libs/Errors.ts +71 -0
  18. package/contracts/libs/NeutralsSelection.ts +71 -0
  19. package/contracts/libs/index.ts +5 -0
  20. package/contracts/mocks/MockGovernance.ts +389 -0
  21. package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
  22. package/contracts/mocks/SimpleContract.ts +110 -0
  23. package/contracts/mocks/WrappedToken.ts +334 -0
  24. package/contracts/mocks/index.ts +7 -0
  25. package/contracts/slc-core/SLCCore.ts +397 -0
  26. package/contracts/slc-core/SLCCoreFactory.ts +559 -0
  27. package/contracts/slc-core/index.ts +5 -0
  28. package/contracts/token/Token.ts +399 -0
  29. package/contracts/token/index.ts +4 -0
  30. package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
  31. package/factories/contracts/governance/Governance__factory.ts +2328 -0
  32. package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
  33. package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
  34. package/factories/contracts/governance/index.ts +7 -0
  35. package/factories/contracts/index.ts +9 -0
  36. package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
  37. package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
  38. package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
  39. package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
  40. package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
  41. package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
  42. package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
  43. package/factories/contracts/interfaces/index.ts +10 -0
  44. package/factories/contracts/libs/Errors__factory.ts +205 -0
  45. package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
  46. package/factories/contracts/libs/index.ts +5 -0
  47. package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
  48. package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
  49. package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
  50. package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
  51. package/factories/contracts/mocks/index.ts +7 -0
  52. package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
  53. package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
  54. package/factories/contracts/slc-core/index.ts +5 -0
  55. package/factories/contracts/token/Token__factory.ts +505 -0
  56. package/factories/contracts/token/index.ts +4 -0
  57. package/index.ts +38 -0
  58. package/package.json +25 -0
@@ -0,0 +1,568 @@
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
+ SLCCoreFactory,
14
+ SLCCoreFactoryInterface,
15
+ } from "../../../contracts/slc-core/SLCCoreFactory";
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: "parametersRegistry",
34
+ type: "address",
35
+ },
36
+ ],
37
+ name: "DefaultGovernanceNotSet",
38
+ type: "error",
39
+ },
40
+ {
41
+ inputs: [
42
+ {
43
+ internalType: "address",
44
+ name: "implementation",
45
+ type: "address",
46
+ },
47
+ ],
48
+ name: "ERC1967InvalidImplementation",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "ERC1967NonPayable",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "FailedCall",
59
+ type: "error",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "InvalidInitialization",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "NotInitializing",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "owner",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "OwnableInvalidOwner",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: "address",
86
+ name: "account",
87
+ type: "address",
88
+ },
89
+ ],
90
+ name: "OwnableUnauthorizedAccount",
91
+ type: "error",
92
+ },
93
+ {
94
+ inputs: [],
95
+ name: "UUPSUnauthorizedCallContext",
96
+ type: "error",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "bytes32",
102
+ name: "slot",
103
+ type: "bytes32",
104
+ },
105
+ ],
106
+ name: "UUPSUnsupportedProxiableUUID",
107
+ type: "error",
108
+ },
109
+ {
110
+ anonymous: false,
111
+ inputs: [
112
+ {
113
+ indexed: false,
114
+ internalType: "uint64",
115
+ name: "version",
116
+ type: "uint64",
117
+ },
118
+ ],
119
+ name: "Initialized",
120
+ type: "event",
121
+ },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ {
126
+ indexed: true,
127
+ internalType: "address",
128
+ name: "previousOwner",
129
+ type: "address",
130
+ },
131
+ {
132
+ indexed: true,
133
+ internalType: "address",
134
+ name: "newOwner",
135
+ type: "address",
136
+ },
137
+ ],
138
+ name: "OwnershipTransferred",
139
+ type: "event",
140
+ },
141
+ {
142
+ anonymous: false,
143
+ inputs: [
144
+ {
145
+ indexed: true,
146
+ internalType: "address",
147
+ name: "slc",
148
+ type: "address",
149
+ },
150
+ {
151
+ indexed: true,
152
+ internalType: "address",
153
+ name: "governance",
154
+ type: "address",
155
+ },
156
+ {
157
+ indexed: true,
158
+ internalType: "address",
159
+ name: "deployer",
160
+ type: "address",
161
+ },
162
+ ],
163
+ name: "SLCDeployed",
164
+ type: "event",
165
+ },
166
+ {
167
+ anonymous: false,
168
+ inputs: [
169
+ {
170
+ indexed: true,
171
+ internalType: "address",
172
+ name: "implementation",
173
+ type: "address",
174
+ },
175
+ ],
176
+ name: "Upgraded",
177
+ type: "event",
178
+ },
179
+ {
180
+ inputs: [],
181
+ name: "UPGRADE_INTERFACE_VERSION",
182
+ outputs: [
183
+ {
184
+ internalType: "string",
185
+ name: "",
186
+ type: "string",
187
+ },
188
+ ],
189
+ stateMutability: "view",
190
+ type: "function",
191
+ },
192
+ {
193
+ inputs: [
194
+ {
195
+ internalType: "address",
196
+ name: "initialOwner_",
197
+ type: "address",
198
+ },
199
+ {
200
+ internalType: "address",
201
+ name: "parametersRegistry_",
202
+ type: "address",
203
+ },
204
+ {
205
+ internalType: "address",
206
+ name: "slcImplementation_",
207
+ type: "address",
208
+ },
209
+ ],
210
+ name: "__SLCFactory_init",
211
+ outputs: [],
212
+ stateMutability: "nonpayable",
213
+ type: "function",
214
+ },
215
+ {
216
+ inputs: [
217
+ {
218
+ internalType: "string",
219
+ name: "legalDocumentLink_",
220
+ type: "string",
221
+ },
222
+ ],
223
+ name: "deploySLC",
224
+ outputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "",
228
+ type: "address",
229
+ },
230
+ ],
231
+ stateMutability: "nonpayable",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [
236
+ {
237
+ internalType: "address",
238
+ name: "governance_",
239
+ type: "address",
240
+ },
241
+ {
242
+ internalType: "string",
243
+ name: "legalDocumentLink_",
244
+ type: "string",
245
+ },
246
+ ],
247
+ name: "deploySLCWithGovernance",
248
+ outputs: [
249
+ {
250
+ internalType: "address",
251
+ name: "",
252
+ type: "address",
253
+ },
254
+ ],
255
+ stateMutability: "nonpayable",
256
+ type: "function",
257
+ },
258
+ {
259
+ inputs: [
260
+ {
261
+ internalType: "uint256",
262
+ name: "offset_",
263
+ type: "uint256",
264
+ },
265
+ {
266
+ internalType: "uint256",
267
+ name: "limit_",
268
+ type: "uint256",
269
+ },
270
+ ],
271
+ name: "getDeployedSLCs",
272
+ outputs: [
273
+ {
274
+ internalType: "address[]",
275
+ name: "",
276
+ type: "address[]",
277
+ },
278
+ ],
279
+ stateMutability: "view",
280
+ type: "function",
281
+ },
282
+ {
283
+ inputs: [],
284
+ name: "getSLCCoreImplementation",
285
+ outputs: [
286
+ {
287
+ internalType: "address",
288
+ name: "",
289
+ type: "address",
290
+ },
291
+ ],
292
+ stateMutability: "view",
293
+ type: "function",
294
+ },
295
+ {
296
+ inputs: [],
297
+ name: "getSLCFactoryStorage",
298
+ outputs: [
299
+ {
300
+ components: [
301
+ {
302
+ internalType: "address",
303
+ name: "parametersRegistry",
304
+ type: "address",
305
+ },
306
+ {
307
+ internalType: "address",
308
+ name: "slcCoreImplementation",
309
+ type: "address",
310
+ },
311
+ ],
312
+ internalType: "struct SLCCoreFactory.SLCFactoryStorageData",
313
+ name: "",
314
+ type: "tuple",
315
+ },
316
+ ],
317
+ stateMutability: "view",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "address",
324
+ name: "slcDeployer_",
325
+ type: "address",
326
+ },
327
+ {
328
+ internalType: "uint256",
329
+ name: "nonce_",
330
+ type: "uint256",
331
+ },
332
+ ],
333
+ name: "getSalt",
334
+ outputs: [
335
+ {
336
+ internalType: "bytes32",
337
+ name: "",
338
+ type: "bytes32",
339
+ },
340
+ ],
341
+ stateMutability: "pure",
342
+ type: "function",
343
+ },
344
+ {
345
+ inputs: [],
346
+ name: "implementation",
347
+ outputs: [
348
+ {
349
+ internalType: "address",
350
+ name: "",
351
+ type: "address",
352
+ },
353
+ ],
354
+ stateMutability: "view",
355
+ type: "function",
356
+ },
357
+ {
358
+ inputs: [
359
+ {
360
+ internalType: "address",
361
+ name: "toCheck_",
362
+ type: "address",
363
+ },
364
+ ],
365
+ name: "isSLCCore",
366
+ outputs: [
367
+ {
368
+ internalType: "bool",
369
+ name: "",
370
+ type: "bool",
371
+ },
372
+ ],
373
+ stateMutability: "view",
374
+ type: "function",
375
+ },
376
+ {
377
+ inputs: [
378
+ {
379
+ internalType: "address",
380
+ name: "owner_",
381
+ type: "address",
382
+ },
383
+ ],
384
+ name: "nonces",
385
+ outputs: [
386
+ {
387
+ internalType: "uint256",
388
+ name: "",
389
+ type: "uint256",
390
+ },
391
+ ],
392
+ stateMutability: "view",
393
+ type: "function",
394
+ },
395
+ {
396
+ inputs: [],
397
+ name: "owner",
398
+ outputs: [
399
+ {
400
+ internalType: "address",
401
+ name: "",
402
+ type: "address",
403
+ },
404
+ ],
405
+ stateMutability: "view",
406
+ type: "function",
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "address",
412
+ name: "slcDeployer_",
413
+ type: "address",
414
+ },
415
+ {
416
+ internalType: "uint256",
417
+ name: "nonce_",
418
+ type: "uint256",
419
+ },
420
+ ],
421
+ name: "predictSLCAddress",
422
+ outputs: [
423
+ {
424
+ internalType: "address",
425
+ name: "",
426
+ type: "address",
427
+ },
428
+ ],
429
+ stateMutability: "view",
430
+ type: "function",
431
+ },
432
+ {
433
+ inputs: [],
434
+ name: "proxiableUUID",
435
+ outputs: [
436
+ {
437
+ internalType: "bytes32",
438
+ name: "",
439
+ type: "bytes32",
440
+ },
441
+ ],
442
+ stateMutability: "view",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [],
447
+ name: "renounceOwnership",
448
+ outputs: [],
449
+ stateMutability: "nonpayable",
450
+ type: "function",
451
+ },
452
+ {
453
+ inputs: [
454
+ {
455
+ internalType: "address",
456
+ name: "newImplementation_",
457
+ type: "address",
458
+ },
459
+ ],
460
+ name: "setSLCCoreImplementation",
461
+ outputs: [],
462
+ stateMutability: "nonpayable",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "bytes4",
469
+ name: "interfaceId_",
470
+ type: "bytes4",
471
+ },
472
+ ],
473
+ name: "supportsInterface",
474
+ outputs: [
475
+ {
476
+ internalType: "bool",
477
+ name: "",
478
+ type: "bool",
479
+ },
480
+ ],
481
+ stateMutability: "view",
482
+ type: "function",
483
+ },
484
+ {
485
+ inputs: [
486
+ {
487
+ internalType: "address",
488
+ name: "newOwner",
489
+ type: "address",
490
+ },
491
+ ],
492
+ name: "transferOwnership",
493
+ outputs: [],
494
+ stateMutability: "nonpayable",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: "address",
501
+ name: "newImplementation",
502
+ type: "address",
503
+ },
504
+ {
505
+ internalType: "bytes",
506
+ name: "data",
507
+ type: "bytes",
508
+ },
509
+ ],
510
+ name: "upgradeToAndCall",
511
+ outputs: [],
512
+ stateMutability: "payable",
513
+ type: "function",
514
+ },
515
+ ] as const;
516
+
517
+ const _bytecode =
518
+ "0x60a0806040523460295730608052611613908161002f823960805181818161084501526109180152f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714610b32575080633aef559c14610adc5780634f1ef2861461089c57806352d1902d1461083257806356456d83146107af5780635c60da1b146107795780636ecf2b0f1461070c578063715018a6146106a25780637ecebe001461067657806389b09e6c146106405780638da5cb5b1461060a5780639785debd146105db578063a732feba146105b2578063ad3cb1cc14610567578063c0cd5d4c14610415578063dcd0428814610306578063e554235614610169578063f2fde38b1461013e5763fd3926e1146100f057600080fd5b34610139576020366003190112610139576001600160a01b03610111610b85565b166000526000805160206115a783398151915260205260206040600020541515604051908152f35b600080fd5b346101395760203660031901126101395761016761015a610b85565b6101626110cb565b610e8f565b005b3461013957606036600319011261013957610182610b85565b6024356001600160a01b0381169190829003610139576044356001600160a01b0381168103610139576000805160206115e7833981519152549260ff8460401c1615936001600160401b038116801590816102fe575b60011490816102f4575b1590816102eb575b506102da5767ffffffffffffffff1981166001176000805160206115e7833981519152556102539361022d91866102ad575b50610225611126565b610162611126565b60008051602061154783398151915280546001600160a01b031916919091179055610e60565b61025957005b60ff60401b196000805160206115e783398151915254166000805160206115e7833981519152557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b68ffffffffffffffffff191668010000000000000001176000805160206115e7833981519152558661021c565b63f92ee8a960e01b60005260046000fd5b905015866101ea565b303b1591506101e2565b8691506101d8565b346101395760403660031901126101395761031f610b85565b600b60018060a01b036000805160206115c78339815191525416916103ea61029d6103cd6103dd6040516103566020850182610bf9565b838152602081019361128a8539602080986103986103a660405161037a8582610bf9565b60008152601f19850136868301376040519283918683019586611101565b03601f198101835282610bf9565b6040519586946103be858701998a9251928391610c35565b85019151809385840190610c35565b010103601f198101835282610bf9565b5190209160243590610e27565b604051916040830152838201523081520160ff8153605590206040516001600160a01b039091168152f35b34610139576020366003190112610139576004356001600160401b03811161013957610445903690600401610b9b565b9060018060a01b036000805160206115478339815191525416906040916104bb602084516104738682610bf9565b8181527f736c632e676f7665726e616e63652e64656661756c74476f7665726e616e63658282015285518093819263d502db9760e01b83528460048401526024830190610c58565b0381855afa90811561055c57600091610513575b50906001600160a01b038216156104ff5750926104ee91602094610f05565b90516001600160a01b039091168152f35b63a4d4bdd760e01b60005260045260246000fd5b6020813d602011610554575b8161052c60209383610bf9565b810103126105505751906001600160a01b038216820361054d5750856104cf565b80fd5b5080fd5b3d915061051f565b84513d6000823e3d90fd5b34610139576000366003190112610139576105ae604080519061058a8183610bf9565b60058252640352e302e360dc1b602083015251918291602083526020830190610c58565b0390f35b34610139576020366003190112610139576101676105ce610b85565b6105d66110cb565b610e60565b346101395760403660031901126101395760206106026105f9610b85565b60243590610e27565b604051908152f35b3461013957600036600319011261013957600080516020611567833981519152546040516001600160a01b039091168152602090f35b34610139576000366003190112610139576000805160206115c7833981519152546040516001600160a01b039091168152602090f35b34610139576020366003190112610139576020610699610694610b85565b610dee565b54604051908152f35b34610139576000366003190112610139576106bb6110cb565b60008051602061156783398151915280546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101395760403660031901126101395761072b602435600435610cb7565b60405180916020820160208352815180915260206040840192019060005b818110610757575050500390f35b82516001600160a01b0316845285945060209384019390920191600101610749565b3461013957600036600319011261013957600080516020611587833981519152546040516001600160a01b039091168152602090f35b3461013957600036600319011261013957600060206040516107d081610bc8565b8281520152600080516020611547833981519152546000805160206115c7833981519152546040805190926001600160a01b0390811692169060209061081581610bc8565b838152019081528251918252516001600160a01b03166020820152f35b34610139576000366003190112610139577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361088b5760206040516000805160206115878339815191528152f35b63703e46dd60e11b60005260046000fd5b6040366003190112610139576108b0610b85565b602435906001600160401b0382116101395736602383011215610139578160040135906108dc82610c1a565b916108ea6040519384610bf9565b8083526020830193366024838301011161013957816000926024602093018737840101526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115610ab9575b5061088b576109506110cb565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa60009181610a85575b506109955784634c9c8ce360e01b60005260045260246000fd5b80600080516020611587833981519152869203610a715750823b15610a5d5760008051602061158783398151915280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2825115610a425760008091610167945190845af43d15610a3a573d91610a1d83610c1a565b92610a2b6040519485610bf9565b83523d6000602085013e611228565b606091611228565b50505034610a4c57005b63b398979f60e01b60005260046000fd5b634c9c8ce360e01b60005260045260246000fd5b632a87526960e21b60005260045260246000fd5b9091506020813d602011610ab1575b81610aa160209383610bf9565b810103126101395751908661097b565b3d9150610a94565b600080516020611587833981519152546001600160a01b03161415905084610943565b3461013957604036600319011261013957610af5610b85565b6024356001600160401b03811161013957602091610b1a610b20923690600401610b9b565b91610f05565b6040516001600160a01b039091168152f35b34610139576020366003190112610139576004359063ffffffff60e01b821680920361013957602091635c4f270b60e01b8114908115610b74575b5015158152f35b6301ffc9a760e01b14905083610b6d565b600435906001600160a01b038216820361013957565b9181601f84011215610139578235916001600160401b038311610139576020838186019501011161013957565b604081019081106001600160401b03821117610be357604052565b634e487b7160e01b600052604160045260246000fd5b90601f801991011681019081106001600160401b03821117610be357604052565b6001600160401b038111610be357601f01601f191660200190565b60005b838110610c485750506000910152565b8181015183820152602001610c38565b90602091610c7181518092818552858086019101610c35565b601f01601f1916010190565b6001600160401b038111610be35760051b60200190565b91908201809211610ca157565b634e487b7160e01b600052601160045260246000fd5b9091600080516020611527833981519152549283831015610dd057610cdc9083610c94565b92808411610dc8575b50818303928311610ca15790610cfa83610c7d565b92610d086040519485610bf9565b808452610d17601f1991610c7d565b01366020850137600080516020611527833981519152549060005b8451811015610dc357610d458183610c94565b600084821015610daf5760008051602061152783398151915290527f0fbe5a72878ef604ae3790b4a26433b276c547e333ec85e890b8d8e065c16496015485516001600160a01b0390911690600090831015610daf5750600582901b860160200152600101610d32565b634e487b7160e01b81526032600452602490fd5b505050565b925038610ce5565b50915050604051610de2602082610bf9565b60008152600036813790565b6001600160a01b031660009081527f2a4c5f206148f75b3c203bb4f62027a088ca55bbc9fba0fb4e0029fabdf990066020526040902090565b906040519060208201926bffffffffffffffffffffffff199060601b168352603482015260348152610e5a605482610bf9565b51902090565b6000805160206115c783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03168015610eef5760008051602061156783398151915280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b631e4fbdf760e01b600052600060045260246000fd5b91600090610f1233610dee565b5493600185018086116110b757610f2833610dee565b556000805160206115c7833981519152546001600160a01b031694610f4d9033610e27565b60209060405196610f5e8389610bf9565b858852601f198301978836858301376040519161029d808401908482106001600160401b038311176110a35791849391610f9c9361128a8639611101565b039086f580156110985760018060a01b03169560405191610fbd8184610bf9565b8583523690830137853b15611094578391611033849260a4604051968795869563fe1d464760e01b875233600488015260018060a01b03169a8b602488015260806044880152816084880152838701378481018201879052601f01601f1916840184810382016003190160648601520190610c58565b038183885af1801561108957611079575b509061104f83611154565b50827fb1c7fff7b87010c38efaf8d7e5a7d5e41b5462f5c0a1c399a78d07bb9ce2d39d339380a490565b8161108391610bf9565b38611044565b6040513d84823e3d90fd5b8380fd5b6040513d86823e3d90fd5b634e487b7160e01b8a52604160045260248afd5b634e487b7160e01b84526011600452602484fd5b600080516020611567833981519152546001600160a01b031633036110ec57565b63118cdaa760e01b6000523360045260246000fd5b6001600160a01b03909116815260406020820181905261112392910190610c58565b90565b60ff6000805160206115e78339815191525460401c161561114357565b631afcd79f60e31b60005260046000fd5b90816000526000805160206115a783398151915260205260406000205415600014611222576000805160206115278339815191525491600160401b831015610be35760018301600080516020611527833981519152556000926000805160206115278339815191525481101561120e576020846000805160206115278339815191528495965220015560008051602061152783398151915254906000526000805160206115a7833981519152602052604060002055600190565b634e487b7160e01b84526032600452602484fd5b60009150565b9061124e575080511561123d57805190602001fd5b63d6bda27560e01b60005260046000fd5b81511580611280575b61125f575090565b639996b31560e01b60009081526001600160a01b0391909116600452602490fd5b50803b1561125756fe608060405261029d8038038061001481610188565b928339810190604081830312610183578051906001600160a01b03821690818303610183576020810151906001600160401b038211610183570183601f820112156101835780519061006d610068836101c3565b610188565b94828652602083830101116101835760005b82811061016e575050602060009185010152813b1561015a577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28151156101415760008083602061012995519101845af43d15610139573d91610119610068846101c3565b9283523d6000602085013e6101de565b505b604051605d90816102408239f35b6060916101de565b5050341561012b5763b398979f60e01b60005260046000fd5b634c9c8ce360e01b60005260045260246000fd5b8060208092840101518282890101520161007f565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176101ad57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b0381116101ad57601f01601f191660200190565b9061020457508051156101f357805190602001fd5b63d6bda27560e01b60005260046000fd5b81511580610236575b610215575090565b639996b31560e01b60009081526001600160a01b0391909116600452602490fd5b50803b1561020d56fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5460009081906001600160a01b0316368280378136915af43d6000803e15604b573d6000f35b3d6000fdfea164736f6c634300081e000a2a4c5f206148f75b3c203bb4f62027a088ca55bbc9fba0fb4e0029fabdf990042a4c5f206148f75b3c203bb4f62027a088ca55bbc9fba0fb4e0029fabdf990029016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc2a4c5f206148f75b3c203bb4f62027a088ca55bbc9fba0fb4e0029fabdf990052a4c5f206148f75b3c203bb4f62027a088ca55bbc9fba0fb4e0029fabdf99003f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a164736f6c634300081e000a";
519
+
520
+ type SLCCoreFactoryConstructorParams =
521
+ | [signer?: Signer]
522
+ | ConstructorParameters<typeof ContractFactory>;
523
+
524
+ const isSuperArgs = (
525
+ xs: SLCCoreFactoryConstructorParams
526
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
527
+
528
+ export class SLCCoreFactory__factory extends ContractFactory {
529
+ constructor(...args: SLCCoreFactoryConstructorParams) {
530
+ if (isSuperArgs(args)) {
531
+ super(...args);
532
+ } else {
533
+ super(_abi, _bytecode, args[0]);
534
+ }
535
+ this.contractName = "SLCCoreFactory";
536
+ }
537
+
538
+ override getDeployTransaction(
539
+ overrides?: NonPayableOverrides & { from?: string }
540
+ ): Promise<ContractDeployTransaction> {
541
+ return super.getDeployTransaction(overrides || {});
542
+ }
543
+ override deploy(overrides?: NonPayableOverrides & { from?: string }) {
544
+ return super.deploy(overrides || {}) as Promise<
545
+ SLCCoreFactory & {
546
+ deploymentTransaction(): ContractTransactionResponse;
547
+ }
548
+ >;
549
+ }
550
+ override connect(runner: ContractRunner | null): SLCCoreFactory__factory {
551
+ return super.connect(runner) as SLCCoreFactory__factory;
552
+ }
553
+ static readonly contractName: "SLCCoreFactory";
554
+
555
+ public readonly contractName: "SLCCoreFactory";
556
+
557
+ static readonly bytecode = _bytecode;
558
+ static readonly abi = _abi;
559
+ static createInterface(): SLCCoreFactoryInterface {
560
+ return new Interface(_abi) as SLCCoreFactoryInterface;
561
+ }
562
+ static connect(
563
+ address: string,
564
+ runner?: ContractRunner | null
565
+ ): SLCCoreFactory {
566
+ return new Contract(address, _abi, runner) as unknown as SLCCoreFactory;
567
+ }
568
+ }