@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,527 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
6
|
+
import type {
|
7
|
+
INeutralsRegistry,
|
8
|
+
INeutralsRegistryInterface,
|
9
|
+
} from "../../../contracts/interfaces/INeutralsRegistry";
|
10
|
+
|
11
|
+
const _abi = [
|
12
|
+
{
|
13
|
+
inputs: [
|
14
|
+
{
|
15
|
+
internalType: "address",
|
16
|
+
name: "delegator",
|
17
|
+
type: "address",
|
18
|
+
},
|
19
|
+
{
|
20
|
+
internalType: "address",
|
21
|
+
name: "neutral",
|
22
|
+
type: "address",
|
23
|
+
},
|
24
|
+
{
|
25
|
+
internalType: "uint256",
|
26
|
+
name: "requested",
|
27
|
+
type: "uint256",
|
28
|
+
},
|
29
|
+
{
|
30
|
+
internalType: "uint256",
|
31
|
+
name: "availible",
|
32
|
+
type: "uint256",
|
33
|
+
},
|
34
|
+
],
|
35
|
+
name: "InsufficientDelegationAmount",
|
36
|
+
type: "error",
|
37
|
+
},
|
38
|
+
{
|
39
|
+
inputs: [
|
40
|
+
{
|
41
|
+
internalType: "uint256",
|
42
|
+
name: "amount",
|
43
|
+
type: "uint256",
|
44
|
+
},
|
45
|
+
],
|
46
|
+
name: "InvalidDelegationAmount",
|
47
|
+
type: "error",
|
48
|
+
},
|
49
|
+
{
|
50
|
+
inputs: [
|
51
|
+
{
|
52
|
+
internalType: "uint256",
|
53
|
+
name: "requestedDelegation",
|
54
|
+
type: "uint256",
|
55
|
+
},
|
56
|
+
{
|
57
|
+
internalType: "uint256",
|
58
|
+
name: "currentDelegatedStake",
|
59
|
+
type: "uint256",
|
60
|
+
},
|
61
|
+
{
|
62
|
+
internalType: "uint256",
|
63
|
+
name: "maxPossibleDelegatedStake",
|
64
|
+
type: "uint256",
|
65
|
+
},
|
66
|
+
],
|
67
|
+
name: "MaxDelegationAmplificationConstraintViolated",
|
68
|
+
type: "error",
|
69
|
+
},
|
70
|
+
{
|
71
|
+
inputs: [
|
72
|
+
{
|
73
|
+
internalType: "address",
|
74
|
+
name: "neutral",
|
75
|
+
type: "address",
|
76
|
+
},
|
77
|
+
],
|
78
|
+
name: "NeutralAlreadyPaused",
|
79
|
+
type: "error",
|
80
|
+
},
|
81
|
+
{
|
82
|
+
inputs: [
|
83
|
+
{
|
84
|
+
internalType: "address",
|
85
|
+
name: "subject",
|
86
|
+
type: "address",
|
87
|
+
},
|
88
|
+
],
|
89
|
+
name: "NeutralCannotDelegateToHimself",
|
90
|
+
type: "error",
|
91
|
+
},
|
92
|
+
{
|
93
|
+
inputs: [
|
94
|
+
{
|
95
|
+
internalType: "address",
|
96
|
+
name: "neutral",
|
97
|
+
type: "address",
|
98
|
+
},
|
99
|
+
],
|
100
|
+
name: "NeutralHasNoStake",
|
101
|
+
type: "error",
|
102
|
+
},
|
103
|
+
{
|
104
|
+
inputs: [
|
105
|
+
{
|
106
|
+
internalType: "address",
|
107
|
+
name: "neutral",
|
108
|
+
type: "address",
|
109
|
+
},
|
110
|
+
],
|
111
|
+
name: "NeutralNotPaused",
|
112
|
+
type: "error",
|
113
|
+
},
|
114
|
+
{
|
115
|
+
inputs: [
|
116
|
+
{
|
117
|
+
internalType: "address",
|
118
|
+
name: "subject",
|
119
|
+
type: "address",
|
120
|
+
},
|
121
|
+
],
|
122
|
+
name: "NoWithdrawalAnnouncement",
|
123
|
+
type: "error",
|
124
|
+
},
|
125
|
+
{
|
126
|
+
inputs: [
|
127
|
+
{
|
128
|
+
internalType: "uint256",
|
129
|
+
name: "providedNumber",
|
130
|
+
type: "uint256",
|
131
|
+
},
|
132
|
+
{
|
133
|
+
internalType: "uint256",
|
134
|
+
name: "activeNeutralsCount",
|
135
|
+
type: "uint256",
|
136
|
+
},
|
137
|
+
],
|
138
|
+
name: "SelectedNeutralsNumberOutOfRange",
|
139
|
+
type: "error",
|
140
|
+
},
|
141
|
+
{
|
142
|
+
inputs: [
|
143
|
+
{
|
144
|
+
internalType: "address",
|
145
|
+
name: "subject",
|
146
|
+
type: "address",
|
147
|
+
},
|
148
|
+
],
|
149
|
+
name: "WithdrawalAlreadyAnnounced",
|
150
|
+
type: "error",
|
151
|
+
},
|
152
|
+
{
|
153
|
+
inputs: [
|
154
|
+
{
|
155
|
+
internalType: "address",
|
156
|
+
name: "subject",
|
157
|
+
type: "address",
|
158
|
+
},
|
159
|
+
{
|
160
|
+
internalType: "uint256",
|
161
|
+
name: "availableAt",
|
162
|
+
type: "uint256",
|
163
|
+
},
|
164
|
+
],
|
165
|
+
name: "WithdrawalNotReady",
|
166
|
+
type: "error",
|
167
|
+
},
|
168
|
+
{
|
169
|
+
anonymous: false,
|
170
|
+
inputs: [
|
171
|
+
{
|
172
|
+
indexed: false,
|
173
|
+
internalType: "address",
|
174
|
+
name: "delegator",
|
175
|
+
type: "address",
|
176
|
+
},
|
177
|
+
{
|
178
|
+
indexed: false,
|
179
|
+
internalType: "address",
|
180
|
+
name: "neutral",
|
181
|
+
type: "address",
|
182
|
+
},
|
183
|
+
{
|
184
|
+
indexed: false,
|
185
|
+
internalType: "uint256",
|
186
|
+
name: "amount",
|
187
|
+
type: "uint256",
|
188
|
+
},
|
189
|
+
],
|
190
|
+
name: "DelegationWithdrawn",
|
191
|
+
type: "event",
|
192
|
+
},
|
193
|
+
{
|
194
|
+
anonymous: false,
|
195
|
+
inputs: [
|
196
|
+
{
|
197
|
+
indexed: true,
|
198
|
+
internalType: "address",
|
199
|
+
name: "neutral",
|
200
|
+
type: "address",
|
201
|
+
},
|
202
|
+
{
|
203
|
+
indexed: false,
|
204
|
+
internalType: "uint256",
|
205
|
+
name: "stake",
|
206
|
+
type: "uint256",
|
207
|
+
},
|
208
|
+
],
|
209
|
+
name: "NeutralActivated",
|
210
|
+
type: "event",
|
211
|
+
},
|
212
|
+
{
|
213
|
+
anonymous: false,
|
214
|
+
inputs: [
|
215
|
+
{
|
216
|
+
indexed: true,
|
217
|
+
internalType: "address",
|
218
|
+
name: "neutral",
|
219
|
+
type: "address",
|
220
|
+
},
|
221
|
+
],
|
222
|
+
name: "NeutralMovedToStandby",
|
223
|
+
type: "event",
|
224
|
+
},
|
225
|
+
{
|
226
|
+
anonymous: false,
|
227
|
+
inputs: [
|
228
|
+
{
|
229
|
+
indexed: true,
|
230
|
+
internalType: "address",
|
231
|
+
name: "neutral",
|
232
|
+
type: "address",
|
233
|
+
},
|
234
|
+
],
|
235
|
+
name: "NeutralPaused",
|
236
|
+
type: "event",
|
237
|
+
},
|
238
|
+
{
|
239
|
+
anonymous: false,
|
240
|
+
inputs: [
|
241
|
+
{
|
242
|
+
indexed: true,
|
243
|
+
internalType: "address",
|
244
|
+
name: "neutral",
|
245
|
+
type: "address",
|
246
|
+
},
|
247
|
+
{
|
248
|
+
indexed: false,
|
249
|
+
internalType: "uint256",
|
250
|
+
name: "amount",
|
251
|
+
type: "uint256",
|
252
|
+
},
|
253
|
+
{
|
254
|
+
indexed: false,
|
255
|
+
internalType: "address",
|
256
|
+
name: "recipient",
|
257
|
+
type: "address",
|
258
|
+
},
|
259
|
+
],
|
260
|
+
name: "NeutralSlashed",
|
261
|
+
type: "event",
|
262
|
+
},
|
263
|
+
{
|
264
|
+
anonymous: false,
|
265
|
+
inputs: [
|
266
|
+
{
|
267
|
+
indexed: true,
|
268
|
+
internalType: "address",
|
269
|
+
name: "neutral",
|
270
|
+
type: "address",
|
271
|
+
},
|
272
|
+
{
|
273
|
+
indexed: false,
|
274
|
+
internalType: "uint256",
|
275
|
+
name: "amount",
|
276
|
+
type: "uint256",
|
277
|
+
},
|
278
|
+
{
|
279
|
+
indexed: false,
|
280
|
+
internalType: "uint256",
|
281
|
+
name: "totalStake",
|
282
|
+
type: "uint256",
|
283
|
+
},
|
284
|
+
],
|
285
|
+
name: "NeutralStaked",
|
286
|
+
type: "event",
|
287
|
+
},
|
288
|
+
{
|
289
|
+
anonymous: false,
|
290
|
+
inputs: [
|
291
|
+
{
|
292
|
+
indexed: true,
|
293
|
+
internalType: "address",
|
294
|
+
name: "neutral",
|
295
|
+
type: "address",
|
296
|
+
},
|
297
|
+
],
|
298
|
+
name: "NeutralUnpaused",
|
299
|
+
type: "event",
|
300
|
+
},
|
301
|
+
{
|
302
|
+
anonymous: false,
|
303
|
+
inputs: [
|
304
|
+
{
|
305
|
+
indexed: true,
|
306
|
+
internalType: "address",
|
307
|
+
name: "neutral",
|
308
|
+
type: "address",
|
309
|
+
},
|
310
|
+
{
|
311
|
+
indexed: false,
|
312
|
+
internalType: "uint256",
|
313
|
+
name: "amount",
|
314
|
+
type: "uint256",
|
315
|
+
},
|
316
|
+
{
|
317
|
+
indexed: false,
|
318
|
+
internalType: "uint256",
|
319
|
+
name: "remainingStake",
|
320
|
+
type: "uint256",
|
321
|
+
},
|
322
|
+
],
|
323
|
+
name: "NeutralUnstaked",
|
324
|
+
type: "event",
|
325
|
+
},
|
326
|
+
{
|
327
|
+
anonymous: false,
|
328
|
+
inputs: [
|
329
|
+
{
|
330
|
+
indexed: true,
|
331
|
+
internalType: "address",
|
332
|
+
name: "neutral",
|
333
|
+
type: "address",
|
334
|
+
},
|
335
|
+
{
|
336
|
+
indexed: false,
|
337
|
+
internalType: "uint256",
|
338
|
+
name: "amount",
|
339
|
+
type: "uint256",
|
340
|
+
},
|
341
|
+
],
|
342
|
+
name: "RewardsClaimed",
|
343
|
+
type: "event",
|
344
|
+
},
|
345
|
+
{
|
346
|
+
anonymous: false,
|
347
|
+
inputs: [
|
348
|
+
{
|
349
|
+
indexed: false,
|
350
|
+
internalType: "address[]",
|
351
|
+
name: "selectedNeutrals",
|
352
|
+
type: "address[]",
|
353
|
+
},
|
354
|
+
{
|
355
|
+
indexed: false,
|
356
|
+
internalType: "uint256",
|
357
|
+
name: "totalAmount",
|
358
|
+
type: "uint256",
|
359
|
+
},
|
360
|
+
],
|
361
|
+
name: "RewardsDistributed",
|
362
|
+
type: "event",
|
363
|
+
},
|
364
|
+
{
|
365
|
+
anonymous: false,
|
366
|
+
inputs: [
|
367
|
+
{
|
368
|
+
indexed: true,
|
369
|
+
internalType: "address",
|
370
|
+
name: "neutral",
|
371
|
+
type: "address",
|
372
|
+
},
|
373
|
+
{
|
374
|
+
indexed: false,
|
375
|
+
internalType: "uint256",
|
376
|
+
name: "amount",
|
377
|
+
type: "uint256",
|
378
|
+
},
|
379
|
+
{
|
380
|
+
indexed: false,
|
381
|
+
internalType: "uint256",
|
382
|
+
name: "availableAt",
|
383
|
+
type: "uint256",
|
384
|
+
},
|
385
|
+
],
|
386
|
+
name: "WithdrawalAnnounced",
|
387
|
+
type: "event",
|
388
|
+
},
|
389
|
+
{
|
390
|
+
anonymous: false,
|
391
|
+
inputs: [
|
392
|
+
{
|
393
|
+
indexed: true,
|
394
|
+
internalType: "address",
|
395
|
+
name: "neutral",
|
396
|
+
type: "address",
|
397
|
+
},
|
398
|
+
{
|
399
|
+
indexed: false,
|
400
|
+
internalType: "uint256",
|
401
|
+
name: "amount",
|
402
|
+
type: "uint256",
|
403
|
+
},
|
404
|
+
],
|
405
|
+
name: "WithdrawalCancelled",
|
406
|
+
type: "event",
|
407
|
+
},
|
408
|
+
{
|
409
|
+
inputs: [
|
410
|
+
{
|
411
|
+
internalType: "address[]",
|
412
|
+
name: "selectedNeutrals_",
|
413
|
+
type: "address[]",
|
414
|
+
},
|
415
|
+
{
|
416
|
+
internalType: "uint256",
|
417
|
+
name: "amount_",
|
418
|
+
type: "uint256",
|
419
|
+
},
|
420
|
+
],
|
421
|
+
name: "distributeRewards",
|
422
|
+
outputs: [],
|
423
|
+
stateMutability: "nonpayable",
|
424
|
+
type: "function",
|
425
|
+
},
|
426
|
+
{
|
427
|
+
inputs: [],
|
428
|
+
name: "getNeutralsCount",
|
429
|
+
outputs: [
|
430
|
+
{
|
431
|
+
internalType: "uint256",
|
432
|
+
name: "",
|
433
|
+
type: "uint256",
|
434
|
+
},
|
435
|
+
],
|
436
|
+
stateMutability: "view",
|
437
|
+
type: "function",
|
438
|
+
},
|
439
|
+
{
|
440
|
+
inputs: [
|
441
|
+
{
|
442
|
+
internalType: "uint256",
|
443
|
+
name: "number_",
|
444
|
+
type: "uint256",
|
445
|
+
},
|
446
|
+
],
|
447
|
+
name: "getNeutralsSlice",
|
448
|
+
outputs: [
|
449
|
+
{
|
450
|
+
internalType: "address[]",
|
451
|
+
name: "",
|
452
|
+
type: "address[]",
|
453
|
+
},
|
454
|
+
],
|
455
|
+
stateMutability: "view",
|
456
|
+
type: "function",
|
457
|
+
},
|
458
|
+
{
|
459
|
+
inputs: [
|
460
|
+
{
|
461
|
+
internalType: "address",
|
462
|
+
name: "candidate_",
|
463
|
+
type: "address",
|
464
|
+
},
|
465
|
+
],
|
466
|
+
name: "isNeutral",
|
467
|
+
outputs: [
|
468
|
+
{
|
469
|
+
internalType: "bool",
|
470
|
+
name: "",
|
471
|
+
type: "bool",
|
472
|
+
},
|
473
|
+
],
|
474
|
+
stateMutability: "view",
|
475
|
+
type: "function",
|
476
|
+
},
|
477
|
+
{
|
478
|
+
inputs: [
|
479
|
+
{
|
480
|
+
internalType: "address",
|
481
|
+
name: "neutral_",
|
482
|
+
type: "address",
|
483
|
+
},
|
484
|
+
{
|
485
|
+
internalType: "uint256",
|
486
|
+
name: "amount_",
|
487
|
+
type: "uint256",
|
488
|
+
},
|
489
|
+
],
|
490
|
+
name: "slashNeutral",
|
491
|
+
outputs: [],
|
492
|
+
stateMutability: "nonpayable",
|
493
|
+
type: "function",
|
494
|
+
},
|
495
|
+
{
|
496
|
+
inputs: [
|
497
|
+
{
|
498
|
+
internalType: "bytes4",
|
499
|
+
name: "interfaceId",
|
500
|
+
type: "bytes4",
|
501
|
+
},
|
502
|
+
],
|
503
|
+
name: "supportsInterface",
|
504
|
+
outputs: [
|
505
|
+
{
|
506
|
+
internalType: "bool",
|
507
|
+
name: "",
|
508
|
+
type: "bool",
|
509
|
+
},
|
510
|
+
],
|
511
|
+
stateMutability: "view",
|
512
|
+
type: "function",
|
513
|
+
},
|
514
|
+
] as const;
|
515
|
+
|
516
|
+
export class INeutralsRegistry__factory {
|
517
|
+
static readonly abi = _abi;
|
518
|
+
static createInterface(): INeutralsRegistryInterface {
|
519
|
+
return new Interface(_abi) as INeutralsRegistryInterface;
|
520
|
+
}
|
521
|
+
static connect(
|
522
|
+
address: string,
|
523
|
+
runner?: ContractRunner | null
|
524
|
+
): INeutralsRegistry {
|
525
|
+
return new Contract(address, _abi, runner) as unknown as INeutralsRegistry;
|
526
|
+
}
|
527
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
6
|
+
import type {
|
7
|
+
IQParameters,
|
8
|
+
IQParametersInterface,
|
9
|
+
} from "../../../contracts/interfaces/IQParameters";
|
10
|
+
|
11
|
+
const _abi = [
|
12
|
+
{
|
13
|
+
inputs: [
|
14
|
+
{
|
15
|
+
internalType: "string",
|
16
|
+
name: "_key",
|
17
|
+
type: "string",
|
18
|
+
},
|
19
|
+
],
|
20
|
+
name: "getAddr",
|
21
|
+
outputs: [
|
22
|
+
{
|
23
|
+
internalType: "address",
|
24
|
+
name: "",
|
25
|
+
type: "address",
|
26
|
+
},
|
27
|
+
],
|
28
|
+
stateMutability: "view",
|
29
|
+
type: "function",
|
30
|
+
},
|
31
|
+
{
|
32
|
+
inputs: [
|
33
|
+
{
|
34
|
+
internalType: "string",
|
35
|
+
name: "_key",
|
36
|
+
type: "string",
|
37
|
+
},
|
38
|
+
],
|
39
|
+
name: "getBytes32",
|
40
|
+
outputs: [
|
41
|
+
{
|
42
|
+
internalType: "bytes32",
|
43
|
+
name: "",
|
44
|
+
type: "bytes32",
|
45
|
+
},
|
46
|
+
],
|
47
|
+
stateMutability: "view",
|
48
|
+
type: "function",
|
49
|
+
},
|
50
|
+
{
|
51
|
+
inputs: [
|
52
|
+
{
|
53
|
+
internalType: "string",
|
54
|
+
name: "_key",
|
55
|
+
type: "string",
|
56
|
+
},
|
57
|
+
],
|
58
|
+
name: "getString",
|
59
|
+
outputs: [
|
60
|
+
{
|
61
|
+
internalType: "string",
|
62
|
+
name: "",
|
63
|
+
type: "string",
|
64
|
+
},
|
65
|
+
],
|
66
|
+
stateMutability: "view",
|
67
|
+
type: "function",
|
68
|
+
},
|
69
|
+
{
|
70
|
+
inputs: [
|
71
|
+
{
|
72
|
+
internalType: "string",
|
73
|
+
name: "_key",
|
74
|
+
type: "string",
|
75
|
+
},
|
76
|
+
],
|
77
|
+
name: "getUint",
|
78
|
+
outputs: [
|
79
|
+
{
|
80
|
+
internalType: "uint256",
|
81
|
+
name: "",
|
82
|
+
type: "uint256",
|
83
|
+
},
|
84
|
+
],
|
85
|
+
stateMutability: "view",
|
86
|
+
type: "function",
|
87
|
+
},
|
88
|
+
] as const;
|
89
|
+
|
90
|
+
export class IQParameters__factory {
|
91
|
+
static readonly abi = _abi;
|
92
|
+
static createInterface(): IQParametersInterface {
|
93
|
+
return new Interface(_abi) as IQParametersInterface;
|
94
|
+
}
|
95
|
+
static connect(
|
96
|
+
address: string,
|
97
|
+
runner?: ContractRunner | null
|
98
|
+
): IQParameters {
|
99
|
+
return new Contract(address, _abi, runner) as unknown as IQParameters;
|
100
|
+
}
|
101
|
+
}
|