@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,207 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "enum IGovernance.OperationType",
6
+ "name": "operation",
7
+ "type": "uint8"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "to",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "bytes",
16
+ "name": "data",
17
+ "type": "bytes"
18
+ },
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "value",
22
+ "type": "uint256"
23
+ }
24
+ ],
25
+ "name": "FailedToExecuteArbitraryCall",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "sender",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "name": "NotGovernance",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "anonymous": false,
41
+ "inputs": [
42
+ {
43
+ "indexed": false,
44
+ "internalType": "enum IGovernance.OperationType",
45
+ "name": "operation",
46
+ "type": "uint8"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "address",
51
+ "name": "to",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "bytes",
57
+ "name": "data",
58
+ "type": "bytes"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint256",
63
+ "name": "value",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "ArbitraryExecute",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "creator",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "string",
82
+ "name": "legalDocumentLink",
83
+ "type": "string"
84
+ }
85
+ ],
86
+ "name": "SLCInitialized",
87
+ "type": "event"
88
+ },
89
+ {
90
+ "anonymous": false,
91
+ "inputs": [
92
+ {
93
+ "indexed": true,
94
+ "internalType": "address",
95
+ "name": "requester",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "indexed": true,
100
+ "internalType": "uint256",
101
+ "name": "serviceFee",
102
+ "type": "uint256"
103
+ },
104
+ {
105
+ "indexed": true,
106
+ "internalType": "uint256",
107
+ "name": "neutralsNumber",
108
+ "type": "uint256"
109
+ },
110
+ {
111
+ "indexed": false,
112
+ "internalType": "string",
113
+ "name": "additionalLink",
114
+ "type": "string"
115
+ }
116
+ ],
117
+ "name": "ServiceRequested",
118
+ "type": "event"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "enum IGovernance.OperationType",
124
+ "name": "operation_",
125
+ "type": "uint8"
126
+ },
127
+ {
128
+ "internalType": "address",
129
+ "name": "to_",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "bytes",
134
+ "name": "data_",
135
+ "type": "bytes"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "value_",
140
+ "type": "uint256"
141
+ }
142
+ ],
143
+ "name": "arbitraryExecute",
144
+ "outputs": [
145
+ {
146
+ "internalType": "bool",
147
+ "name": "",
148
+ "type": "bool"
149
+ }
150
+ ],
151
+ "stateMutability": "nonpayable",
152
+ "type": "function"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "uint256",
158
+ "name": "serviceFee_",
159
+ "type": "uint256"
160
+ },
161
+ {
162
+ "internalType": "uint256",
163
+ "name": "neutralsNumber_",
164
+ "type": "uint256"
165
+ },
166
+ {
167
+ "internalType": "string",
168
+ "name": "additionalLink_",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "internalType": "bytes",
173
+ "name": "data_",
174
+ "type": "bytes"
175
+ }
176
+ ],
177
+ "name": "requestService",
178
+ "outputs": [
179
+ {
180
+ "internalType": "bool",
181
+ "name": "",
182
+ "type": "bool"
183
+ }
184
+ ],
185
+ "stateMutability": "payable",
186
+ "type": "function"
187
+ },
188
+ {
189
+ "inputs": [
190
+ {
191
+ "internalType": "bytes4",
192
+ "name": "interfaceId",
193
+ "type": "bytes4"
194
+ }
195
+ ],
196
+ "name": "supportsInterface",
197
+ "outputs": [
198
+ {
199
+ "internalType": "bool",
200
+ "name": "",
201
+ "type": "bool"
202
+ }
203
+ ],
204
+ "stateMutability": "view",
205
+ "type": "function"
206
+ }
207
+ ]
@@ -0,0 +1,174 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "legalDocumentLink_",
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "name": "deploySLC",
11
+ "outputs": [
12
+ {
13
+ "internalType": "address",
14
+ "name": "",
15
+ "type": "address"
16
+ }
17
+ ],
18
+ "stateMutability": "nonpayable",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "address",
25
+ "name": "governance_",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "string",
30
+ "name": "legalDocumentLink_",
31
+ "type": "string"
32
+ }
33
+ ],
34
+ "name": "deploySLCWithGovernance",
35
+ "outputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "",
39
+ "type": "address"
40
+ }
41
+ ],
42
+ "stateMutability": "nonpayable",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "offset_",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "limit_",
55
+ "type": "uint256"
56
+ }
57
+ ],
58
+ "name": "getDeployedSLCs",
59
+ "outputs": [
60
+ {
61
+ "internalType": "address[]",
62
+ "name": "",
63
+ "type": "address[]"
64
+ }
65
+ ],
66
+ "stateMutability": "view",
67
+ "type": "function"
68
+ },
69
+ {
70
+ "inputs": [
71
+ {
72
+ "internalType": "address",
73
+ "name": "slcDeployer_",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "nonce_",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "getSalt",
83
+ "outputs": [
84
+ {
85
+ "internalType": "bytes32",
86
+ "name": "",
87
+ "type": "bytes32"
88
+ }
89
+ ],
90
+ "stateMutability": "pure",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "toCheck_",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "isSLCCore",
102
+ "outputs": [
103
+ {
104
+ "internalType": "bool",
105
+ "name": "",
106
+ "type": "bool"
107
+ }
108
+ ],
109
+ "stateMutability": "view",
110
+ "type": "function"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "owner_",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "nonces",
121
+ "outputs": [
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "address",
135
+ "name": "slcDeployer_",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "nonce_",
141
+ "type": "uint256"
142
+ }
143
+ ],
144
+ "name": "predictSLCAddress",
145
+ "outputs": [
146
+ {
147
+ "internalType": "address",
148
+ "name": "",
149
+ "type": "address"
150
+ }
151
+ ],
152
+ "stateMutability": "view",
153
+ "type": "function"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "bytes4",
159
+ "name": "interfaceId",
160
+ "type": "bytes4"
161
+ }
162
+ ],
163
+ "name": "supportsInterface",
164
+ "outputs": [
165
+ {
166
+ "internalType": "bool",
167
+ "name": "",
168
+ "type": "bool"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ }
174
+ ]
@@ -0,0 +1,198 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "address",
8
+ "name": "owner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "spender",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "uint256",
20
+ "name": "value",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "Approval",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "from",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "to",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "value",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "name": "Transfer",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "owner",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "internalType": "address",
61
+ "name": "spender",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "allowance",
66
+ "outputs": [
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "stateMutability": "view",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "spender",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "value",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "approve",
90
+ "outputs": [
91
+ {
92
+ "internalType": "bool",
93
+ "name": "",
94
+ "type": "bool"
95
+ }
96
+ ],
97
+ "stateMutability": "nonpayable",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "account",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "name": "balanceOf",
109
+ "outputs": [
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "stateMutability": "view",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "deposit",
122
+ "outputs": [
123
+ {
124
+ "internalType": "bool",
125
+ "name": "",
126
+ "type": "bool"
127
+ }
128
+ ],
129
+ "stateMutability": "payable",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "totalSupply",
135
+ "outputs": [
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "to",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "value",
155
+ "type": "uint256"
156
+ }
157
+ ],
158
+ "name": "transfer",
159
+ "outputs": [
160
+ {
161
+ "internalType": "bool",
162
+ "name": "",
163
+ "type": "bool"
164
+ }
165
+ ],
166
+ "stateMutability": "nonpayable",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [
171
+ {
172
+ "internalType": "address",
173
+ "name": "from",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "internalType": "address",
178
+ "name": "to",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "value",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "name": "transferFrom",
188
+ "outputs": [
189
+ {
190
+ "internalType": "bool",
191
+ "name": "",
192
+ "type": "bool"
193
+ }
194
+ ],
195
+ "stateMutability": "nonpayable",
196
+ "type": "function"
197
+ }
198
+ ]