@web3dotorg/evm-slc-core-sdk 0.3.12 → 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 (30) 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/interfaces/IExecutorsRegistry.d.ts +1 -29
  16. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  17. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  18. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  19. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  20. package/lib.commonjs/index.d.ts +1 -1
  21. package/lib.commonjs/index.js +31 -2
  22. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  23. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  24. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  25. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  26. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  27. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  28. package/lib.esm/index.d.ts +1 -1
  29. package/lib.esm/index.js +12 -2
  30. 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>;
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface IExecutorsRegistryInterface extends Interface {
4
4
  getFunction(nameOrSignature: "distributeRewards" | "getExecutorsCount" | "isExecutor" | "supportsInterface"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorPaused" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnpaused" | "ExecutorUnstaked" | "RewardsClaimed" | "RewardsDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
5
+ getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnstaked" | "RewardsClaimed" | "RewardsDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "distributeRewards", values: [BigNumberish]): string;
7
7
  encodeFunctionData(functionFragment: "getExecutorsCount", values?: undefined): string;
8
8
  encodeFunctionData(functionFragment: "isExecutor", values: [AddressLike]): string;
@@ -57,17 +57,6 @@ export declare namespace ExecutorMovedToStandbyEvent {
57
57
  type Log = TypedEventLog<Event>;
58
58
  type LogDescription = TypedLogDescription<Event>;
59
59
  }
60
- export declare namespace ExecutorPausedEvent {
61
- type InputTuple = [executor: AddressLike];
62
- type OutputTuple = [executor: string];
63
- interface OutputObject {
64
- executor: string;
65
- }
66
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
67
- type Filter = TypedDeferredTopicFilter<Event>;
68
- type Log = TypedEventLog<Event>;
69
- type LogDescription = TypedLogDescription<Event>;
70
- }
71
60
  export declare namespace ExecutorSlashedEvent {
72
61
  type InputTuple = [
73
62
  executor: AddressLike,
@@ -110,17 +99,6 @@ export declare namespace ExecutorStakedEvent {
110
99
  type Log = TypedEventLog<Event>;
111
100
  type LogDescription = TypedLogDescription<Event>;
112
101
  }
113
- export declare namespace ExecutorUnpausedEvent {
114
- type InputTuple = [executor: AddressLike];
115
- type OutputTuple = [executor: string];
116
- interface OutputObject {
117
- executor: string;
118
- }
119
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
120
- type Filter = TypedDeferredTopicFilter<Event>;
121
- type Log = TypedEventLog<Event>;
122
- type LogDescription = TypedLogDescription<Event>;
123
- }
124
102
  export declare namespace ExecutorUnstakedEvent {
125
103
  type InputTuple = [
126
104
  executor: AddressLike,
@@ -237,10 +215,8 @@ export interface IExecutorsRegistry extends BaseContract {
237
215
  getEvent(key: "ExecutorApproved"): TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
238
216
  getEvent(key: "ExecutorDisapproved"): TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
239
217
  getEvent(key: "ExecutorMovedToStandby"): TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
240
- getEvent(key: "ExecutorPaused"): TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
241
218
  getEvent(key: "ExecutorSlashed"): TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
242
219
  getEvent(key: "ExecutorStaked"): TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
243
- getEvent(key: "ExecutorUnpaused"): TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
244
220
  getEvent(key: "ExecutorUnstaked"): TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
245
221
  getEvent(key: "RewardsClaimed"): TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
246
222
  getEvent(key: "RewardsDistributed"): TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
@@ -255,14 +231,10 @@ export interface IExecutorsRegistry extends BaseContract {
255
231
  ExecutorDisapproved: TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
256
232
  "ExecutorMovedToStandby(address)": TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
257
233
  ExecutorMovedToStandby: TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
258
- "ExecutorPaused(address)": TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
259
- ExecutorPaused: TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
260
234
  "ExecutorSlashed(address,uint256,address)": TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
261
235
  ExecutorSlashed: TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
262
236
  "ExecutorStaked(address,uint256,uint256)": TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
263
237
  ExecutorStaked: TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
264
- "ExecutorUnpaused(address)": TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
265
- ExecutorUnpaused: TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
266
238
  "ExecutorUnstaked(address,uint256,uint256)": TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
267
239
  ExecutorUnstaked: TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
268
240
  "RewardsClaimed(address,uint256)": TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;