@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,307 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "inputs": [
9
+ {
10
+ "internalType": "enum IGovernance.OperationType",
11
+ "name": "operation",
12
+ "type": "uint8"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "to",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "bytes",
21
+ "name": "data",
22
+ "type": "bytes"
23
+ },
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "value",
27
+ "type": "uint256"
28
+ }
29
+ ],
30
+ "name": "FailedToExecuteArbitraryCall",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "InvalidInitialization",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "sender",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "NotGovernance",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "NotInitializing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "anonymous": false,
56
+ "inputs": [
57
+ {
58
+ "indexed": false,
59
+ "internalType": "enum IGovernance.OperationType",
60
+ "name": "operation",
61
+ "type": "uint8"
62
+ },
63
+ {
64
+ "indexed": false,
65
+ "internalType": "address",
66
+ "name": "to",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "bytes",
72
+ "name": "data",
73
+ "type": "bytes"
74
+ },
75
+ {
76
+ "indexed": false,
77
+ "internalType": "uint256",
78
+ "name": "value",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "ArbitraryExecute",
83
+ "type": "event"
84
+ },
85
+ {
86
+ "anonymous": false,
87
+ "inputs": [
88
+ {
89
+ "indexed": false,
90
+ "internalType": "uint64",
91
+ "name": "version",
92
+ "type": "uint64"
93
+ }
94
+ ],
95
+ "name": "Initialized",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "creator",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "string",
110
+ "name": "legalDocumentLink",
111
+ "type": "string"
112
+ }
113
+ ],
114
+ "name": "SLCInitialized",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": true,
122
+ "internalType": "address",
123
+ "name": "requester",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "indexed": true,
128
+ "internalType": "uint256",
129
+ "name": "serviceFee",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "indexed": true,
134
+ "internalType": "uint256",
135
+ "name": "neutralsNumber",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "string",
141
+ "name": "additionalLink",
142
+ "type": "string"
143
+ }
144
+ ],
145
+ "name": "ServiceRequested",
146
+ "type": "event"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "creator_",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "internalType": "address",
157
+ "name": "governance_",
158
+ "type": "address"
159
+ },
160
+ {
161
+ "internalType": "string",
162
+ "name": "legalDocumentLink_",
163
+ "type": "string"
164
+ },
165
+ {
166
+ "internalType": "bytes",
167
+ "name": "data_",
168
+ "type": "bytes"
169
+ }
170
+ ],
171
+ "name": "__SLCCore_init",
172
+ "outputs": [],
173
+ "stateMutability": "nonpayable",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "enum IGovernance.OperationType",
180
+ "name": "operation_",
181
+ "type": "uint8"
182
+ },
183
+ {
184
+ "internalType": "address",
185
+ "name": "to_",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "internalType": "bytes",
190
+ "name": "data_",
191
+ "type": "bytes"
192
+ },
193
+ {
194
+ "internalType": "uint256",
195
+ "name": "value_",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "arbitraryExecute",
200
+ "outputs": [
201
+ {
202
+ "internalType": "bool",
203
+ "name": "success",
204
+ "type": "bool"
205
+ }
206
+ ],
207
+ "stateMutability": "nonpayable",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "getSLCCoreStorage",
213
+ "outputs": [
214
+ {
215
+ "components": [
216
+ {
217
+ "internalType": "contract IGovernance",
218
+ "name": "governance",
219
+ "type": "address"
220
+ },
221
+ {
222
+ "internalType": "address",
223
+ "name": "slcCreator",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "slcCreationTimestamp",
229
+ "type": "uint256"
230
+ },
231
+ {
232
+ "internalType": "string",
233
+ "name": "legalDocumentLink",
234
+ "type": "string"
235
+ },
236
+ {
237
+ "internalType": "bytes",
238
+ "name": "data",
239
+ "type": "bytes"
240
+ }
241
+ ],
242
+ "internalType": "struct SLCCore.SLCCoreStorage",
243
+ "name": "",
244
+ "type": "tuple"
245
+ }
246
+ ],
247
+ "stateMutability": "pure",
248
+ "type": "function"
249
+ },
250
+ {
251
+ "inputs": [
252
+ {
253
+ "internalType": "uint256",
254
+ "name": "serviceFee_",
255
+ "type": "uint256"
256
+ },
257
+ {
258
+ "internalType": "uint256",
259
+ "name": "neutralsNumber_",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "internalType": "string",
264
+ "name": "additionalLink_",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "internalType": "bytes",
269
+ "name": "data_",
270
+ "type": "bytes"
271
+ }
272
+ ],
273
+ "name": "requestService",
274
+ "outputs": [
275
+ {
276
+ "internalType": "bool",
277
+ "name": "",
278
+ "type": "bool"
279
+ }
280
+ ],
281
+ "stateMutability": "payable",
282
+ "type": "function"
283
+ },
284
+ {
285
+ "inputs": [
286
+ {
287
+ "internalType": "bytes4",
288
+ "name": "interfaceId",
289
+ "type": "bytes4"
290
+ }
291
+ ],
292
+ "name": "supportsInterface",
293
+ "outputs": [
294
+ {
295
+ "internalType": "bool",
296
+ "name": "",
297
+ "type": "bool"
298
+ }
299
+ ],
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "stateMutability": "payable",
305
+ "type": "receive"
306
+ }
307
+ ]