@web3dotorg/evm-slc-core-sdk 0.3.11 → 0.3.13

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 (68) hide show
  1. package/abi/ExecutorsRegistry.json +1123 -0
  2. package/abi/Governance.json +2351 -0
  3. package/abi/IExecutorsRegistry.json +357 -0
  4. package/abi/IGovernance.json +133 -0
  5. package/abi/INeutralsRegistry.json +504 -0
  6. package/abi/IQParameters.json +78 -0
  7. package/abi/ISLCCore.json +207 -0
  8. package/abi/ISLCCoreFactory.json +174 -0
  9. package/abi/IWrappedToken.json +198 -0
  10. package/abi/NeutralsRegistry.json +1446 -0
  11. package/abi/ParameterRegistry.json +765 -0
  12. package/abi/SLCCore.json +307 -0
  13. package/abi/SLCCoreFactory.json +499 -0
  14. package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  15. package/lib.commonjs/contracts/governance/Governance.d.ts +15 -1
  16. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  17. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -37
  18. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -49
  19. package/lib.commonjs/factories/contracts/governance/Governance__factory.d.ts +19 -1
  20. package/lib.commonjs/factories/contracts/governance/Governance__factory.js +25 -1
  21. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1 -1
  22. package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.js +1 -1
  23. package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.d.ts +1 -1
  24. package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.js +1 -1
  25. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  26. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  27. package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.d.ts +1 -1
  28. package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.js +1 -1
  29. package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +1 -1
  30. package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.js +1 -1
  31. package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.d.ts +1 -1
  32. package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.js +1 -1
  33. package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +1 -1
  34. package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.js +1 -1
  35. package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.d.ts +1 -1
  36. package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.js +1 -1
  37. package/lib.commonjs/factories/contracts/token/Token__factory.d.ts +1 -1
  38. package/lib.commonjs/factories/contracts/token/Token__factory.js +1 -1
  39. package/lib.commonjs/index.d.ts +1 -1
  40. package/lib.commonjs/index.js +31 -2
  41. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  42. package/lib.esm/contracts/governance/Governance.d.ts +15 -1
  43. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  44. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -37
  45. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -49
  46. package/lib.esm/factories/contracts/governance/Governance__factory.d.ts +19 -1
  47. package/lib.esm/factories/contracts/governance/Governance__factory.js +25 -1
  48. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1 -1
  49. package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.js +1 -1
  50. package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.d.ts +1 -1
  51. package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.js +1 -1
  52. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  53. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  54. package/lib.esm/factories/contracts/mocks/MockGovernance__factory.d.ts +1 -1
  55. package/lib.esm/factories/contracts/mocks/MockGovernance__factory.js +1 -1
  56. package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +1 -1
  57. package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.js +1 -1
  58. package/lib.esm/factories/contracts/mocks/WrappedToken__factory.d.ts +1 -1
  59. package/lib.esm/factories/contracts/mocks/WrappedToken__factory.js +1 -1
  60. package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +1 -1
  61. package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.js +1 -1
  62. package/lib.esm/factories/contracts/slc-core/SLCCore__factory.d.ts +1 -1
  63. package/lib.esm/factories/contracts/slc-core/SLCCore__factory.js +1 -1
  64. package/lib.esm/factories/contracts/token/Token__factory.d.ts +1 -1
  65. package/lib.esm/factories/contracts/token/Token__factory.js +1 -1
  66. package/lib.esm/index.d.ts +1 -1
  67. package/lib.esm/index.js +12 -2
  68. package/package.json +4 -4
@@ -0,0 +1,499 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "target",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "AddressEmptyCode",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "parametersRegistry",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "name": "DefaultGovernanceNotSet",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "address",
28
+ "name": "implementation",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "ERC1967InvalidImplementation",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [],
37
+ "name": "ERC1967NonPayable",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [],
42
+ "name": "FailedCall",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "InvalidInitialization",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "NotInitializing",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "owner",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "OwnableInvalidOwner",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "account",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "OwnableUnauthorizedAccount",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "UUPSUnauthorizedCallContext",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "bytes32",
86
+ "name": "slot",
87
+ "type": "bytes32"
88
+ }
89
+ ],
90
+ "name": "UUPSUnsupportedProxiableUUID",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "anonymous": false,
95
+ "inputs": [
96
+ {
97
+ "indexed": false,
98
+ "internalType": "uint64",
99
+ "name": "version",
100
+ "type": "uint64"
101
+ }
102
+ ],
103
+ "name": "Initialized",
104
+ "type": "event"
105
+ },
106
+ {
107
+ "anonymous": false,
108
+ "inputs": [
109
+ {
110
+ "indexed": true,
111
+ "internalType": "address",
112
+ "name": "previousOwner",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "indexed": true,
117
+ "internalType": "address",
118
+ "name": "newOwner",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "OwnershipTransferred",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "slc",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "indexed": true,
136
+ "internalType": "address",
137
+ "name": "governance",
138
+ "type": "address"
139
+ },
140
+ {
141
+ "indexed": true,
142
+ "internalType": "address",
143
+ "name": "deployer",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "SLCDeployed",
148
+ "type": "event"
149
+ },
150
+ {
151
+ "anonymous": false,
152
+ "inputs": [
153
+ {
154
+ "indexed": true,
155
+ "internalType": "address",
156
+ "name": "implementation",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "Upgraded",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "UPGRADE_INTERFACE_VERSION",
166
+ "outputs": [
167
+ {
168
+ "internalType": "string",
169
+ "name": "",
170
+ "type": "string"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "initialOwner_",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "internalType": "address",
185
+ "name": "parametersRegistry_",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "address",
190
+ "name": "slcImplementation_",
191
+ "type": "address"
192
+ }
193
+ ],
194
+ "name": "__SLCFactory_init",
195
+ "outputs": [],
196
+ "stateMutability": "nonpayable",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "string",
203
+ "name": "legalDocumentLink_",
204
+ "type": "string"
205
+ }
206
+ ],
207
+ "name": "deploySLC",
208
+ "outputs": [
209
+ {
210
+ "internalType": "address",
211
+ "name": "",
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "stateMutability": "nonpayable",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "address",
222
+ "name": "governance_",
223
+ "type": "address"
224
+ },
225
+ {
226
+ "internalType": "string",
227
+ "name": "legalDocumentLink_",
228
+ "type": "string"
229
+ }
230
+ ],
231
+ "name": "deploySLCWithGovernance",
232
+ "outputs": [
233
+ {
234
+ "internalType": "address",
235
+ "name": "",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "nonpayable",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "offset_",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "limit_",
252
+ "type": "uint256"
253
+ }
254
+ ],
255
+ "name": "getDeployedSLCs",
256
+ "outputs": [
257
+ {
258
+ "internalType": "address[]",
259
+ "name": "",
260
+ "type": "address[]"
261
+ }
262
+ ],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getSLCCoreImplementation",
269
+ "outputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getSLCFactoryStorage",
282
+ "outputs": [
283
+ {
284
+ "components": [
285
+ {
286
+ "internalType": "address",
287
+ "name": "parametersRegistry",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "internalType": "address",
292
+ "name": "slcCoreImplementation",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "internalType": "struct SLCCoreFactory.SLCFactoryStorageData",
297
+ "name": "",
298
+ "type": "tuple"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "address",
308
+ "name": "slcDeployer_",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "nonce_",
314
+ "type": "uint256"
315
+ }
316
+ ],
317
+ "name": "getSalt",
318
+ "outputs": [
319
+ {
320
+ "internalType": "bytes32",
321
+ "name": "",
322
+ "type": "bytes32"
323
+ }
324
+ ],
325
+ "stateMutability": "pure",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [],
330
+ "name": "implementation",
331
+ "outputs": [
332
+ {
333
+ "internalType": "address",
334
+ "name": "",
335
+ "type": "address"
336
+ }
337
+ ],
338
+ "stateMutability": "view",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "address",
345
+ "name": "toCheck_",
346
+ "type": "address"
347
+ }
348
+ ],
349
+ "name": "isSLCCore",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bool",
353
+ "name": "",
354
+ "type": "bool"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "address",
364
+ "name": "owner_",
365
+ "type": "address"
366
+ }
367
+ ],
368
+ "name": "nonces",
369
+ "outputs": [
370
+ {
371
+ "internalType": "uint256",
372
+ "name": "",
373
+ "type": "uint256"
374
+ }
375
+ ],
376
+ "stateMutability": "view",
377
+ "type": "function"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "owner",
382
+ "outputs": [
383
+ {
384
+ "internalType": "address",
385
+ "name": "",
386
+ "type": "address"
387
+ }
388
+ ],
389
+ "stateMutability": "view",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "address",
396
+ "name": "slcDeployer_",
397
+ "type": "address"
398
+ },
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "nonce_",
402
+ "type": "uint256"
403
+ }
404
+ ],
405
+ "name": "predictSLCAddress",
406
+ "outputs": [
407
+ {
408
+ "internalType": "address",
409
+ "name": "",
410
+ "type": "address"
411
+ }
412
+ ],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [],
418
+ "name": "proxiableUUID",
419
+ "outputs": [
420
+ {
421
+ "internalType": "bytes32",
422
+ "name": "",
423
+ "type": "bytes32"
424
+ }
425
+ ],
426
+ "stateMutability": "view",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "renounceOwnership",
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "address",
440
+ "name": "newImplementation_",
441
+ "type": "address"
442
+ }
443
+ ],
444
+ "name": "setSLCCoreImplementation",
445
+ "outputs": [],
446
+ "stateMutability": "nonpayable",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "bytes4",
453
+ "name": "interfaceId_",
454
+ "type": "bytes4"
455
+ }
456
+ ],
457
+ "name": "supportsInterface",
458
+ "outputs": [
459
+ {
460
+ "internalType": "bool",
461
+ "name": "",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "newOwner",
473
+ "type": "address"
474
+ }
475
+ ],
476
+ "name": "transferOwnership",
477
+ "outputs": [],
478
+ "stateMutability": "nonpayable",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "address",
485
+ "name": "newImplementation",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "bytes",
490
+ "name": "data",
491
+ "type": "bytes"
492
+ }
493
+ ],
494
+ "name": "upgradeToAndCall",
495
+ "outputs": [],
496
+ "stateMutability": "payable",
497
+ "type": "function"
498
+ }
499
+ ]
@@ -51,7 +51,7 @@ export declare namespace AValueDistributor {
51
51
  }
52
52
  export interface ExecutorsRegistryInterface extends Interface {
53
53
  getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "__ExecutorsRegistry_init" | "announceWithdrawal" | "approveExecutor" | "boundActiveExecutors" | "cancelWithdrawal" | "claimRewards" | "completeWithdrawal" | "cumulativeSum" | "disapproveExecutor" | "distributeRewards" | "getActiveExecutors" | "getExecutorInfo" | "getExecutorsCount" | "getOwedValue" | "getStandbyExecutors" | "getWithdrawalAnnouncement" | "hasShares" | "implementation" | "isExecutor" | "isWithdrawalReady" | "proxiableUUID" | "slashExecutor" | "stake" | "supportsInterface" | "totalShares" | "tryBecomeActive" | "updateWithdrawalAnnouncement" | "updatedAt" | "upgradeToAndCall" | "userDistribution"): FunctionFragment;
54
- getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorPaused" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnpaused" | "ExecutorUnstaked" | "Initialized" | "RewardsClaimed" | "RewardsDistributed" | "SharesAdded" | "SharesRemoved" | "Upgraded" | "ValueDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
54
+ getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnstaked" | "Initialized" | "RewardsClaimed" | "RewardsDistributed" | "SharesAdded" | "SharesRemoved" | "Upgraded" | "ValueDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
55
55
  encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
56
56
  encodeFunctionData(functionFragment: "__ExecutorsRegistry_init", values: [AddressLike, AddressLike[]]): string;
57
57
  encodeFunctionData(functionFragment: "announceWithdrawal", values: [BigNumberish]): string;
@@ -160,17 +160,6 @@ export declare namespace ExecutorMovedToStandbyEvent {
160
160
  type Log = TypedEventLog<Event>;
161
161
  type LogDescription = TypedLogDescription<Event>;
162
162
  }
163
- export declare namespace ExecutorPausedEvent {
164
- type InputTuple = [executor: AddressLike];
165
- type OutputTuple = [executor: string];
166
- interface OutputObject {
167
- executor: string;
168
- }
169
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
170
- type Filter = TypedDeferredTopicFilter<Event>;
171
- type Log = TypedEventLog<Event>;
172
- type LogDescription = TypedLogDescription<Event>;
173
- }
174
163
  export declare namespace ExecutorSlashedEvent {
175
164
  type InputTuple = [
176
165
  executor: AddressLike,
@@ -213,17 +202,6 @@ export declare namespace ExecutorStakedEvent {
213
202
  type Log = TypedEventLog<Event>;
214
203
  type LogDescription = TypedLogDescription<Event>;
215
204
  }
216
- export declare namespace ExecutorUnpausedEvent {
217
- type InputTuple = [executor: AddressLike];
218
- type OutputTuple = [executor: string];
219
- interface OutputObject {
220
- executor: string;
221
- }
222
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
223
- type Filter = TypedDeferredTopicFilter<Event>;
224
- type Log = TypedEventLog<Event>;
225
- type LogDescription = TypedLogDescription<Event>;
226
- }
227
205
  export declare namespace ExecutorUnstakedEvent {
228
206
  type InputTuple = [
229
207
  executor: AddressLike,
@@ -542,10 +520,8 @@ export interface ExecutorsRegistry extends BaseContract {
542
520
  getEvent(key: "ExecutorApproved"): TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
543
521
  getEvent(key: "ExecutorDisapproved"): TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
544
522
  getEvent(key: "ExecutorMovedToStandby"): TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
545
- getEvent(key: "ExecutorPaused"): TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
546
523
  getEvent(key: "ExecutorSlashed"): TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
547
524
  getEvent(key: "ExecutorStaked"): TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
548
- getEvent(key: "ExecutorUnpaused"): TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
549
525
  getEvent(key: "ExecutorUnstaked"): TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
550
526
  getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
551
527
  getEvent(key: "RewardsClaimed"): TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
@@ -565,14 +541,10 @@ export interface ExecutorsRegistry extends BaseContract {
565
541
  ExecutorDisapproved: TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
566
542
  "ExecutorMovedToStandby(address)": TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
567
543
  ExecutorMovedToStandby: TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
568
- "ExecutorPaused(address)": TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
569
- ExecutorPaused: TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
570
544
  "ExecutorSlashed(address,uint256,address)": TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
571
545
  ExecutorSlashed: TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
572
546
  "ExecutorStaked(address,uint256,uint256)": TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
573
547
  ExecutorStaked: TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
574
- "ExecutorUnpaused(address)": TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
575
- ExecutorUnpaused: TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
576
548
  "ExecutorUnstaked(address,uint256,uint256)": TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
577
549
  ExecutorUnstaked: TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
578
550
  "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
@@ -116,7 +116,7 @@ export declare namespace GovernorUpgradeable {
116
116
  };
117
117
  }
118
118
  export interface GovernanceInterface extends Interface {
119
- getFunction(nameOrSignature: "BALLOT_TYPEHASH" | "CLOCK_MODE" | "COUNTING_MODE" | "EXTENDED_BALLOT_TYPEHASH" | "UPGRADE_INTERFACE_VERSION" | "__Governance_init" | "cancel" | "castVote" | "castVoteBySig" | "castVoteWithReason" | "castVoteWithReasonAndParams" | "castVoteWithReasonAndParamsBySig" | "clock" | "eip712Domain" | "execute" | "getExecutorsThreshold" | "getExecutorsVotingPeriod" | "getNeutralsThreshold" | "getNeutralsVotingPeriod" | "getParametersRegistry" | "getProposalData" | "getProposalId" | "getProposalsByServiceRequest" | "getServiceRequestById" | "getServiceRequestsBySLCCore" | "getSystemToken" | "getVotes" | "getVotesWithParams" | "hasVoted" | "hashOperation" | "hashProposal" | "implementation" | "name" | "nonces" | "onERC1155BatchReceived" | "onERC1155Received" | "onERC721Received" | "processServiceRequest" | "proposalDeadline" | "proposalEta" | "proposalNeedsQueuing" | "proposalProposer" | "proposalSnapshot" | "proposalThreshold" | "propose" | "proposeOperations" | "proxiableUUID" | "queue" | "quorum" | "relay" | "state" | "supportsInterface" | "upgradeToAndCall" | "version" | "votingDelay" | "votingPeriod"): FunctionFragment;
119
+ getFunction(nameOrSignature: "BALLOT_TYPEHASH" | "CLOCK_MODE" | "COUNTING_MODE" | "EXTENDED_BALLOT_TYPEHASH" | "UPGRADE_INTERFACE_VERSION" | "__Governance_init" | "cancel" | "castVote" | "castVoteBySig" | "castVoteWithReason" | "castVoteWithReasonAndParams" | "castVoteWithReasonAndParamsBySig" | "clock" | "eip712Domain" | "execute" | "getExecutorsThreshold" | "getExecutorsVotingPeriod" | "getNeutralToOperation" | "getNeutralsThreshold" | "getNeutralsVotingPeriod" | "getParametersRegistry" | "getProposalData" | "getProposalId" | "getProposalsByServiceRequest" | "getServiceRequestById" | "getServiceRequestsBySLCCore" | "getSystemToken" | "getVotes" | "getVotesWithParams" | "hasVoted" | "hashOperation" | "hashProposal" | "implementation" | "name" | "nonces" | "onERC1155BatchReceived" | "onERC1155Received" | "onERC721Received" | "processServiceRequest" | "proposalDeadline" | "proposalEta" | "proposalNeedsQueuing" | "proposalProposer" | "proposalSnapshot" | "proposalThreshold" | "propose" | "proposeOperations" | "proxiableUUID" | "queue" | "quorum" | "relay" | "state" | "supportsInterface" | "upgradeToAndCall" | "version" | "votingDelay" | "votingPeriod"): FunctionFragment;
120
120
  getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged" | "Initialized" | "ProposalCanceled" | "ProposalCreated" | "ProposalExecuted" | "ProposalQueued" | "RejectedByExecutors" | "Upgraded" | "VoteCast" | "VoteCastWithParams"): EventFragment;
121
121
  encodeFunctionData(functionFragment: "BALLOT_TYPEHASH", values?: undefined): string;
122
122
  encodeFunctionData(functionFragment: "CLOCK_MODE", values?: undefined): string;
@@ -142,6 +142,7 @@ export interface GovernanceInterface extends Interface {
142
142
  encodeFunctionData(functionFragment: "execute", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
143
143
  encodeFunctionData(functionFragment: "getExecutorsThreshold", values?: undefined): string;
144
144
  encodeFunctionData(functionFragment: "getExecutorsVotingPeriod", values?: undefined): string;
145
+ encodeFunctionData(functionFragment: "getNeutralToOperation", values: [BigNumberish, AddressLike]): string;
145
146
  encodeFunctionData(functionFragment: "getNeutralsThreshold", values?: undefined): string;
146
147
  encodeFunctionData(functionFragment: "getNeutralsVotingPeriod", values?: undefined): string;
147
148
  encodeFunctionData(functionFragment: "getParametersRegistry", values?: undefined): string;
@@ -204,6 +205,7 @@ export interface GovernanceInterface extends Interface {
204
205
  decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
205
206
  decodeFunctionResult(functionFragment: "getExecutorsThreshold", data: BytesLike): Result;
206
207
  decodeFunctionResult(functionFragment: "getExecutorsVotingPeriod", data: BytesLike): Result;
208
+ decodeFunctionResult(functionFragment: "getNeutralToOperation", data: BytesLike): Result;
207
209
  decodeFunctionResult(functionFragment: "getNeutralsThreshold", data: BytesLike): Result;
208
210
  decodeFunctionResult(functionFragment: "getNeutralsVotingPeriod", data: BytesLike): Result;
209
211
  decodeFunctionResult(functionFragment: "getParametersRegistry", data: BytesLike): Result;
@@ -526,6 +528,12 @@ export interface Governance extends BaseContract {
526
528
  ], "payable">;
527
529
  getExecutorsThreshold: TypedContractMethod<[], [bigint], "view">;
528
530
  getExecutorsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
531
+ getNeutralToOperation: TypedContractMethod<[
532
+ proposalId: BigNumberish,
533
+ neutral_: AddressLike
534
+ ], [
535
+ string
536
+ ], "view">;
529
537
  getNeutralsThreshold: TypedContractMethod<[], [bigint], "view">;
530
538
  getNeutralsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
531
539
  getParametersRegistry: TypedContractMethod<[], [string], "view">;
@@ -804,6 +812,12 @@ export interface Governance extends BaseContract {
804
812
  ], "payable">;
805
813
  getFunction(nameOrSignature: "getExecutorsThreshold"): TypedContractMethod<[], [bigint], "view">;
806
814
  getFunction(nameOrSignature: "getExecutorsVotingPeriod"): TypedContractMethod<[], [bigint], "view">;
815
+ getFunction(nameOrSignature: "getNeutralToOperation"): TypedContractMethod<[
816
+ proposalId: BigNumberish,
817
+ neutral_: AddressLike
818
+ ], [
819
+ string
820
+ ], "view">;
807
821
  getFunction(nameOrSignature: "getNeutralsThreshold"): TypedContractMethod<[], [bigint], "view">;
808
822
  getFunction(nameOrSignature: "getNeutralsVotingPeriod"): TypedContractMethod<[], [bigint], "view">;
809
823
  getFunction(nameOrSignature: "getParametersRegistry"): TypedContractMethod<[], [string], "view">;