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

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.
@@ -1,357 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "executor",
7
- "type": "address"
8
- }
9
- ],
10
- "name": "ExecutorAlreadyApproved",
11
- "type": "error"
12
- },
13
- {
14
- "inputs": [
15
- {
16
- "internalType": "address",
17
- "name": "executor",
18
- "type": "address"
19
- }
20
- ],
21
- "name": "ExecutorHasNoStake",
22
- "type": "error"
23
- },
24
- {
25
- "inputs": [
26
- {
27
- "internalType": "address",
28
- "name": "executor",
29
- "type": "address"
30
- }
31
- ],
32
- "name": "ExecutorNotApproved",
33
- "type": "error"
34
- },
35
- {
36
- "inputs": [
37
- {
38
- "internalType": "address",
39
- "name": "executor",
40
- "type": "address"
41
- }
42
- ],
43
- "name": "InvalidInitialExecutor",
44
- "type": "error"
45
- },
46
- {
47
- "inputs": [
48
- {
49
- "internalType": "address",
50
- "name": "executor",
51
- "type": "address"
52
- }
53
- ],
54
- "name": "NoWithdrawalAnnouncement",
55
- "type": "error"
56
- },
57
- {
58
- "inputs": [
59
- {
60
- "internalType": "address",
61
- "name": "executor",
62
- "type": "address"
63
- }
64
- ],
65
- "name": "WithdrawalAlreadyAnnounced",
66
- "type": "error"
67
- },
68
- {
69
- "inputs": [
70
- {
71
- "internalType": "address",
72
- "name": "executor",
73
- "type": "address"
74
- },
75
- {
76
- "internalType": "uint256",
77
- "name": "availableAt",
78
- "type": "uint256"
79
- }
80
- ],
81
- "name": "WithdrawalNotReady",
82
- "type": "error"
83
- },
84
- {
85
- "anonymous": false,
86
- "inputs": [
87
- {
88
- "indexed": true,
89
- "internalType": "address",
90
- "name": "executor",
91
- "type": "address"
92
- },
93
- {
94
- "indexed": false,
95
- "internalType": "uint256",
96
- "name": "stake",
97
- "type": "uint256"
98
- }
99
- ],
100
- "name": "ExecutorActivated",
101
- "type": "event"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [
106
- {
107
- "indexed": true,
108
- "internalType": "address",
109
- "name": "executor",
110
- "type": "address"
111
- }
112
- ],
113
- "name": "ExecutorApproved",
114
- "type": "event"
115
- },
116
- {
117
- "anonymous": false,
118
- "inputs": [
119
- {
120
- "indexed": true,
121
- "internalType": "address",
122
- "name": "executor",
123
- "type": "address"
124
- }
125
- ],
126
- "name": "ExecutorDisapproved",
127
- "type": "event"
128
- },
129
- {
130
- "anonymous": false,
131
- "inputs": [
132
- {
133
- "indexed": true,
134
- "internalType": "address",
135
- "name": "executor",
136
- "type": "address"
137
- }
138
- ],
139
- "name": "ExecutorMovedToStandby",
140
- "type": "event"
141
- },
142
- {
143
- "anonymous": false,
144
- "inputs": [
145
- {
146
- "indexed": true,
147
- "internalType": "address",
148
- "name": "executor",
149
- "type": "address"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "uint256",
154
- "name": "amount",
155
- "type": "uint256"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "address",
160
- "name": "recipient",
161
- "type": "address"
162
- }
163
- ],
164
- "name": "ExecutorSlashed",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": true,
172
- "internalType": "address",
173
- "name": "executor",
174
- "type": "address"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "uint256",
179
- "name": "amount",
180
- "type": "uint256"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "uint256",
185
- "name": "totalStake",
186
- "type": "uint256"
187
- }
188
- ],
189
- "name": "ExecutorStaked",
190
- "type": "event"
191
- },
192
- {
193
- "anonymous": false,
194
- "inputs": [
195
- {
196
- "indexed": true,
197
- "internalType": "address",
198
- "name": "executor",
199
- "type": "address"
200
- },
201
- {
202
- "indexed": false,
203
- "internalType": "uint256",
204
- "name": "amount",
205
- "type": "uint256"
206
- },
207
- {
208
- "indexed": false,
209
- "internalType": "uint256",
210
- "name": "remainingStake",
211
- "type": "uint256"
212
- }
213
- ],
214
- "name": "ExecutorUnstaked",
215
- "type": "event"
216
- },
217
- {
218
- "anonymous": false,
219
- "inputs": [
220
- {
221
- "indexed": true,
222
- "internalType": "address",
223
- "name": "executor",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": false,
228
- "internalType": "uint256",
229
- "name": "amount",
230
- "type": "uint256"
231
- }
232
- ],
233
- "name": "RewardsClaimed",
234
- "type": "event"
235
- },
236
- {
237
- "anonymous": false,
238
- "inputs": [
239
- {
240
- "indexed": false,
241
- "internalType": "uint256",
242
- "name": "totalAmount",
243
- "type": "uint256"
244
- }
245
- ],
246
- "name": "RewardsDistributed",
247
- "type": "event"
248
- },
249
- {
250
- "anonymous": false,
251
- "inputs": [
252
- {
253
- "indexed": true,
254
- "internalType": "address",
255
- "name": "executor",
256
- "type": "address"
257
- },
258
- {
259
- "indexed": false,
260
- "internalType": "uint256",
261
- "name": "amount",
262
- "type": "uint256"
263
- },
264
- {
265
- "indexed": false,
266
- "internalType": "uint256",
267
- "name": "availableAt",
268
- "type": "uint256"
269
- }
270
- ],
271
- "name": "WithdrawalAnnounced",
272
- "type": "event"
273
- },
274
- {
275
- "anonymous": false,
276
- "inputs": [
277
- {
278
- "indexed": true,
279
- "internalType": "address",
280
- "name": "executor",
281
- "type": "address"
282
- },
283
- {
284
- "indexed": false,
285
- "internalType": "uint256",
286
- "name": "amount",
287
- "type": "uint256"
288
- }
289
- ],
290
- "name": "WithdrawalCancelled",
291
- "type": "event"
292
- },
293
- {
294
- "inputs": [
295
- {
296
- "internalType": "uint256",
297
- "name": "amount_",
298
- "type": "uint256"
299
- }
300
- ],
301
- "name": "distributeRewards",
302
- "outputs": [],
303
- "stateMutability": "nonpayable",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getExecutorsCount",
309
- "outputs": [
310
- {
311
- "internalType": "uint256",
312
- "name": "",
313
- "type": "uint256"
314
- }
315
- ],
316
- "stateMutability": "nonpayable",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [
321
- {
322
- "internalType": "address",
323
- "name": "candidate_",
324
- "type": "address"
325
- }
326
- ],
327
- "name": "isExecutor",
328
- "outputs": [
329
- {
330
- "internalType": "bool",
331
- "name": "",
332
- "type": "bool"
333
- }
334
- ],
335
- "stateMutability": "nonpayable",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [
340
- {
341
- "internalType": "bytes4",
342
- "name": "interfaceId",
343
- "type": "bytes4"
344
- }
345
- ],
346
- "name": "supportsInterface",
347
- "outputs": [
348
- {
349
- "internalType": "bool",
350
- "name": "",
351
- "type": "bool"
352
- }
353
- ],
354
- "stateMutability": "view",
355
- "type": "function"
356
- }
357
- ]
@@ -1,133 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "getParametersRegistry",
5
- "outputs": [
6
- {
7
- "internalType": "address",
8
- "name": "",
9
- "type": "address"
10
- }
11
- ],
12
- "stateMutability": "view",
13
- "type": "function"
14
- },
15
- {
16
- "inputs": [],
17
- "name": "getSystemToken",
18
- "outputs": [
19
- {
20
- "internalType": "address",
21
- "name": "",
22
- "type": "address"
23
- }
24
- ],
25
- "stateMutability": "view",
26
- "type": "function"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "address",
32
- "name": "requester_",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "serviceFee_",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "neutralsNumber_",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "string",
47
- "name": "additionalLink_",
48
- "type": "string"
49
- },
50
- {
51
- "internalType": "bytes",
52
- "name": "data_",
53
- "type": "bytes"
54
- }
55
- ],
56
- "name": "processServiceRequest",
57
- "outputs": [
58
- {
59
- "internalType": "bool",
60
- "name": "",
61
- "type": "bool"
62
- }
63
- ],
64
- "stateMutability": "payable",
65
- "type": "function"
66
- },
67
- {
68
- "inputs": [
69
- {
70
- "internalType": "uint256",
71
- "name": "proposalId_",
72
- "type": "uint256"
73
- },
74
- {
75
- "components": [
76
- {
77
- "components": [
78
- {
79
- "internalType": "enum IGovernance.OperationType",
80
- "name": "operation_",
81
- "type": "uint8"
82
- },
83
- {
84
- "internalType": "address",
85
- "name": "to_",
86
- "type": "address"
87
- },
88
- {
89
- "internalType": "bytes",
90
- "name": "data_",
91
- "type": "bytes"
92
- },
93
- {
94
- "internalType": "uint256",
95
- "name": "value_",
96
- "type": "uint256"
97
- }
98
- ],
99
- "internalType": "struct IGovernance.OperationData[]",
100
- "name": "operations",
101
- "type": "tuple[]"
102
- }
103
- ],
104
- "internalType": "struct IGovernance.OperationBundle",
105
- "name": "operationBundle_",
106
- "type": "tuple"
107
- }
108
- ],
109
- "name": "proposeOperations",
110
- "outputs": [],
111
- "stateMutability": "nonpayable",
112
- "type": "function"
113
- },
114
- {
115
- "inputs": [
116
- {
117
- "internalType": "bytes4",
118
- "name": "interfaceId",
119
- "type": "bytes4"
120
- }
121
- ],
122
- "name": "supportsInterface",
123
- "outputs": [
124
- {
125
- "internalType": "bool",
126
- "name": "",
127
- "type": "bool"
128
- }
129
- ],
130
- "stateMutability": "view",
131
- "type": "function"
132
- }
133
- ]