@web3dotorg/evm-slc-core-sdk 0.3.2
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.
- package/common.ts +131 -0
- package/constants.ts +34 -0
- package/contracts/governance/ExecutorsRegistry.ts +1249 -0
- package/contracts/governance/Governance.ts +1740 -0
- package/contracts/governance/NeutralsRegistry.ts +1393 -0
- package/contracts/governance/ParameterRegistry.ts +832 -0
- package/contracts/governance/index.ts +7 -0
- package/contracts/index.ts +15 -0
- package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
- package/contracts/interfaces/IGovernance.ts +215 -0
- package/contracts/interfaces/INeutralsRegistry.ts +624 -0
- package/contracts/interfaces/IQParameters.ts +109 -0
- package/contracts/interfaces/ISLCCore.ts +289 -0
- package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
- package/contracts/interfaces/IWrappedToken.ts +272 -0
- package/contracts/interfaces/index.ts +10 -0
- package/contracts/libs/Errors.ts +71 -0
- package/contracts/libs/NeutralsSelection.ts +71 -0
- package/contracts/libs/index.ts +5 -0
- package/contracts/mocks/MockGovernance.ts +389 -0
- package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
- package/contracts/mocks/SimpleContract.ts +110 -0
- package/contracts/mocks/WrappedToken.ts +334 -0
- package/contracts/mocks/index.ts +7 -0
- package/contracts/slc-core/SLCCore.ts +397 -0
- package/contracts/slc-core/SLCCoreFactory.ts +559 -0
- package/contracts/slc-core/index.ts +5 -0
- package/contracts/token/Token.ts +399 -0
- package/contracts/token/index.ts +4 -0
- package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
- package/factories/contracts/governance/Governance__factory.ts +2328 -0
- package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
- package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
- package/factories/contracts/governance/index.ts +7 -0
- package/factories/contracts/index.ts +9 -0
- package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
- package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
- package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
- package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
- package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
- package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
- package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
- package/factories/contracts/interfaces/index.ts +10 -0
- package/factories/contracts/libs/Errors__factory.ts +205 -0
- package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
- package/factories/contracts/libs/index.ts +5 -0
- package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
- package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
- package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
- package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
- package/factories/contracts/mocks/index.ts +7 -0
- package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
- package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
- package/factories/contracts/slc-core/index.ts +5 -0
- package/factories/contracts/token/Token__factory.ts +505 -0
- package/factories/contracts/token/index.ts +4 -0
- package/index.ts +38 -0
- package/package.json +25 -0
@@ -0,0 +1,373 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import {
|
5
|
+
Contract,
|
6
|
+
ContractFactory,
|
7
|
+
ContractTransactionResponse,
|
8
|
+
Interface,
|
9
|
+
} from "ethers";
|
10
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
11
|
+
import type { NonPayableOverrides } from "../../../common";
|
12
|
+
import type {
|
13
|
+
SLCCore,
|
14
|
+
SLCCoreInterface,
|
15
|
+
} from "../../../contracts/slc-core/SLCCore";
|
16
|
+
|
17
|
+
const _abi = [
|
18
|
+
{
|
19
|
+
inputs: [],
|
20
|
+
stateMutability: "nonpayable",
|
21
|
+
type: "constructor",
|
22
|
+
},
|
23
|
+
{
|
24
|
+
inputs: [
|
25
|
+
{
|
26
|
+
internalType: "enum IGovernance.OperationType",
|
27
|
+
name: "operation",
|
28
|
+
type: "uint8",
|
29
|
+
},
|
30
|
+
{
|
31
|
+
internalType: "address",
|
32
|
+
name: "to",
|
33
|
+
type: "address",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
internalType: "bytes",
|
37
|
+
name: "data",
|
38
|
+
type: "bytes",
|
39
|
+
},
|
40
|
+
{
|
41
|
+
internalType: "uint256",
|
42
|
+
name: "value",
|
43
|
+
type: "uint256",
|
44
|
+
},
|
45
|
+
],
|
46
|
+
name: "FailedToExecuteArbitraryCall",
|
47
|
+
type: "error",
|
48
|
+
},
|
49
|
+
{
|
50
|
+
inputs: [],
|
51
|
+
name: "InvalidInitialization",
|
52
|
+
type: "error",
|
53
|
+
},
|
54
|
+
{
|
55
|
+
inputs: [
|
56
|
+
{
|
57
|
+
internalType: "address",
|
58
|
+
name: "sender",
|
59
|
+
type: "address",
|
60
|
+
},
|
61
|
+
],
|
62
|
+
name: "NotGovernance",
|
63
|
+
type: "error",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
inputs: [],
|
67
|
+
name: "NotInitializing",
|
68
|
+
type: "error",
|
69
|
+
},
|
70
|
+
{
|
71
|
+
anonymous: false,
|
72
|
+
inputs: [
|
73
|
+
{
|
74
|
+
indexed: false,
|
75
|
+
internalType: "enum IGovernance.OperationType",
|
76
|
+
name: "operation",
|
77
|
+
type: "uint8",
|
78
|
+
},
|
79
|
+
{
|
80
|
+
indexed: false,
|
81
|
+
internalType: "address",
|
82
|
+
name: "to",
|
83
|
+
type: "address",
|
84
|
+
},
|
85
|
+
{
|
86
|
+
indexed: false,
|
87
|
+
internalType: "bytes",
|
88
|
+
name: "data",
|
89
|
+
type: "bytes",
|
90
|
+
},
|
91
|
+
{
|
92
|
+
indexed: false,
|
93
|
+
internalType: "uint256",
|
94
|
+
name: "value",
|
95
|
+
type: "uint256",
|
96
|
+
},
|
97
|
+
],
|
98
|
+
name: "ArbitraryExecute",
|
99
|
+
type: "event",
|
100
|
+
},
|
101
|
+
{
|
102
|
+
anonymous: false,
|
103
|
+
inputs: [
|
104
|
+
{
|
105
|
+
indexed: false,
|
106
|
+
internalType: "uint64",
|
107
|
+
name: "version",
|
108
|
+
type: "uint64",
|
109
|
+
},
|
110
|
+
],
|
111
|
+
name: "Initialized",
|
112
|
+
type: "event",
|
113
|
+
},
|
114
|
+
{
|
115
|
+
anonymous: false,
|
116
|
+
inputs: [
|
117
|
+
{
|
118
|
+
indexed: true,
|
119
|
+
internalType: "address",
|
120
|
+
name: "creator",
|
121
|
+
type: "address",
|
122
|
+
},
|
123
|
+
{
|
124
|
+
indexed: false,
|
125
|
+
internalType: "string",
|
126
|
+
name: "legalDocumentLink",
|
127
|
+
type: "string",
|
128
|
+
},
|
129
|
+
],
|
130
|
+
name: "SLCInitialized",
|
131
|
+
type: "event",
|
132
|
+
},
|
133
|
+
{
|
134
|
+
anonymous: false,
|
135
|
+
inputs: [
|
136
|
+
{
|
137
|
+
indexed: true,
|
138
|
+
internalType: "address",
|
139
|
+
name: "requester",
|
140
|
+
type: "address",
|
141
|
+
},
|
142
|
+
{
|
143
|
+
indexed: true,
|
144
|
+
internalType: "uint256",
|
145
|
+
name: "serviceFee",
|
146
|
+
type: "uint256",
|
147
|
+
},
|
148
|
+
{
|
149
|
+
indexed: true,
|
150
|
+
internalType: "uint256",
|
151
|
+
name: "neutralsNumber",
|
152
|
+
type: "uint256",
|
153
|
+
},
|
154
|
+
{
|
155
|
+
indexed: false,
|
156
|
+
internalType: "string",
|
157
|
+
name: "additionalLink",
|
158
|
+
type: "string",
|
159
|
+
},
|
160
|
+
],
|
161
|
+
name: "ServiceRequested",
|
162
|
+
type: "event",
|
163
|
+
},
|
164
|
+
{
|
165
|
+
inputs: [
|
166
|
+
{
|
167
|
+
internalType: "address",
|
168
|
+
name: "creator_",
|
169
|
+
type: "address",
|
170
|
+
},
|
171
|
+
{
|
172
|
+
internalType: "address",
|
173
|
+
name: "governance_",
|
174
|
+
type: "address",
|
175
|
+
},
|
176
|
+
{
|
177
|
+
internalType: "string",
|
178
|
+
name: "legalDocumentLink_",
|
179
|
+
type: "string",
|
180
|
+
},
|
181
|
+
{
|
182
|
+
internalType: "bytes",
|
183
|
+
name: "data_",
|
184
|
+
type: "bytes",
|
185
|
+
},
|
186
|
+
],
|
187
|
+
name: "__SLCCore_init",
|
188
|
+
outputs: [],
|
189
|
+
stateMutability: "nonpayable",
|
190
|
+
type: "function",
|
191
|
+
},
|
192
|
+
{
|
193
|
+
inputs: [
|
194
|
+
{
|
195
|
+
internalType: "enum IGovernance.OperationType",
|
196
|
+
name: "operation_",
|
197
|
+
type: "uint8",
|
198
|
+
},
|
199
|
+
{
|
200
|
+
internalType: "address",
|
201
|
+
name: "to_",
|
202
|
+
type: "address",
|
203
|
+
},
|
204
|
+
{
|
205
|
+
internalType: "bytes",
|
206
|
+
name: "data_",
|
207
|
+
type: "bytes",
|
208
|
+
},
|
209
|
+
{
|
210
|
+
internalType: "uint256",
|
211
|
+
name: "value_",
|
212
|
+
type: "uint256",
|
213
|
+
},
|
214
|
+
],
|
215
|
+
name: "arbitraryExecute",
|
216
|
+
outputs: [
|
217
|
+
{
|
218
|
+
internalType: "bool",
|
219
|
+
name: "success",
|
220
|
+
type: "bool",
|
221
|
+
},
|
222
|
+
],
|
223
|
+
stateMutability: "nonpayable",
|
224
|
+
type: "function",
|
225
|
+
},
|
226
|
+
{
|
227
|
+
inputs: [],
|
228
|
+
name: "getSLCCoreStorage",
|
229
|
+
outputs: [
|
230
|
+
{
|
231
|
+
components: [
|
232
|
+
{
|
233
|
+
internalType: "contract IGovernance",
|
234
|
+
name: "governance",
|
235
|
+
type: "address",
|
236
|
+
},
|
237
|
+
{
|
238
|
+
internalType: "address",
|
239
|
+
name: "slcCreator",
|
240
|
+
type: "address",
|
241
|
+
},
|
242
|
+
{
|
243
|
+
internalType: "uint256",
|
244
|
+
name: "slcCreationTimestamp",
|
245
|
+
type: "uint256",
|
246
|
+
},
|
247
|
+
{
|
248
|
+
internalType: "string",
|
249
|
+
name: "legalDocumentLink",
|
250
|
+
type: "string",
|
251
|
+
},
|
252
|
+
{
|
253
|
+
internalType: "bytes",
|
254
|
+
name: "data",
|
255
|
+
type: "bytes",
|
256
|
+
},
|
257
|
+
],
|
258
|
+
internalType: "struct SLCCore.SLCCoreStorage",
|
259
|
+
name: "",
|
260
|
+
type: "tuple",
|
261
|
+
},
|
262
|
+
],
|
263
|
+
stateMutability: "pure",
|
264
|
+
type: "function",
|
265
|
+
},
|
266
|
+
{
|
267
|
+
inputs: [
|
268
|
+
{
|
269
|
+
internalType: "uint256",
|
270
|
+
name: "serviceFee_",
|
271
|
+
type: "uint256",
|
272
|
+
},
|
273
|
+
{
|
274
|
+
internalType: "uint256",
|
275
|
+
name: "neutralsNumber_",
|
276
|
+
type: "uint256",
|
277
|
+
},
|
278
|
+
{
|
279
|
+
internalType: "string",
|
280
|
+
name: "additionalLink_",
|
281
|
+
type: "string",
|
282
|
+
},
|
283
|
+
{
|
284
|
+
internalType: "bytes",
|
285
|
+
name: "data_",
|
286
|
+
type: "bytes",
|
287
|
+
},
|
288
|
+
],
|
289
|
+
name: "requestService",
|
290
|
+
outputs: [
|
291
|
+
{
|
292
|
+
internalType: "bool",
|
293
|
+
name: "",
|
294
|
+
type: "bool",
|
295
|
+
},
|
296
|
+
],
|
297
|
+
stateMutability: "payable",
|
298
|
+
type: "function",
|
299
|
+
},
|
300
|
+
{
|
301
|
+
inputs: [
|
302
|
+
{
|
303
|
+
internalType: "bytes4",
|
304
|
+
name: "interfaceId",
|
305
|
+
type: "bytes4",
|
306
|
+
},
|
307
|
+
],
|
308
|
+
name: "supportsInterface",
|
309
|
+
outputs: [
|
310
|
+
{
|
311
|
+
internalType: "bool",
|
312
|
+
name: "",
|
313
|
+
type: "bool",
|
314
|
+
},
|
315
|
+
],
|
316
|
+
stateMutability: "view",
|
317
|
+
type: "function",
|
318
|
+
},
|
319
|
+
{
|
320
|
+
stateMutability: "payable",
|
321
|
+
type: "receive",
|
322
|
+
},
|
323
|
+
] as const;
|
324
|
+
|
325
|
+
const _bytecode =
|
326
|
+
"0x6080806040523460d2577ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c1660c1576002600160401b03196001600160401b03821601605c575b604051610dcc90816100d88239f35b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a13880604d565b63f92ee8a960e01b60005260046000fd5b600080fdfe608080604052600436101561001d575b50361561001b57600080fd5b005b60003560e01c90816301ffc9a714610a77575080636df82bf4146107d6578063ddd1c18e1461066d578063e355396d146105915763fe1d464714610061573861000f565b3461058c57608036600319011261058c576004356001600160a01b0381169081900361058c5761008f610b38565b6044356001600160401b03811161058c576100ae903690600401610b0b565b92906064356001600160401b03811161058c576100cf903690600401610b0b565b949093600080516020610da0833981519152549460ff8660401c1615956001600160401b03811680159081610584575b600114908161057a575b159081610571575b506105605767ffffffffffffffff198116600117600080516020610da08339815191525586610533575b506001600160401b03831161043e57610162600080516020610d8083398151915254610b8a565b601f81116104e9575b50600083601f811160011461045f578061019b92600091610454575b508160011b916000199060031b1c19161790565b600080516020610d80833981519152555b6001600160401b03871161043e576101d2600080516020610d0083398151915254610b8a565b601f81116103e9575b50600090601f881160011461033b579680610231927f96649fbb2866456643455ff884bff57e7db72d6ee11afbb622e9a8eff9e6f21a979899600092610330575b50508160011b916000199060031b1c19161790565b600080516020610d00833981519152555b600080516020610d6083398151915280546001600160a01b03929092166001600160a01b03199283161790557ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708901805490911685179055427ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708902556040516020808252909283926102d392840191610bc4565b0390a26102dc57005b60ff60401b19600080516020610da08339815191525416600080516020610da0833981519152557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b01359050388061021c565b600080516020610d008339815191528252600080516020610d2083398151915291601f198916815b8181106103d1575091600193918a7f96649fbb2866456643455ff884bff57e7db72d6ee11afbb622e9a8eff9e6f21a999a9b94106103b7575b505050811b01600080516020610d0083398151915255610242565b0135600019600384901b60f8161c1916905538808061039c565b91936020600181928787013581550195019201610363565b600080516020610d0083398151915260005261042e90600080516020610d20833981519152601f8a0160051c81019160208b10610434575b601f0160051c0190610ce8565b386101db565b9091508190610421565b634e487b7160e01b600052604160045260246000fd5b905086013538610187565b50600080516020610d808339815191528152600080516020610d408339815191529084601f198116825b8181106104ce5750106104b4575b5050600183811b01600080516020610d80833981519152556101ac565b850135600019600386901b60f8161c191690553880610497565b88840135855560019094019360209384019388935001610489565b600080516020610d8083398151915260005261052d90600080516020610d40833981519152601f860160051c8101916020871061043457601f0160051c0190610ce8565b3861016b565b68ffffffffffffffffff19166801000000000000000117600080516020610da0833981519152553861013b565b63f92ee8a960e01b60005260046000fd5b90501538610111565b303b159150610109565b8891506100ff565b600080fd5b3461058c57608036600319011261058c57600435600281101561058c576105b6610b38565b604435916001600160401b03831161058c573660238401121561058c5782600401356001600160401b03811161043e57604051936105fe601f8301601f191660200186610b69565b818552366024838301011161058c57816000926024602093018388013785010152600080516020610d60833981519152546001600160a01b031633036106585760209261064e9260643592610c33565b6040519015158152f35b63988d1f0360e01b6000523360045260246000fd5b608036600319011261058c576024356004356044356001600160401b03811161058c5761069e903690600401610b0b565b9092606435906001600160401b03821161058c576020936106c6610768933690600401610b0b565b93908383897f85208b28331a2ddc87deba85d740779b245495ed55b9553c85a2297cb63d157c6040518b81528061070233948d8f840191610bc4565b0390a460018060a01b03600080516020610d60833981519152541694610756604051998a98899788976371896bf960e11b89523360048a01526024890152604488015260a0606488015260a4870191610bc4565b84810360031901608486015291610bc4565b039134905af19081156107ca5760009161078a575b6020826040519015158152f35b6020813d6020116107c2575b816107a360209383610b69565b810103126107be575180151581036107be579050602061077d565b5080fd5b3d9150610796565b6040513d6000823e3d90fd5b3461058c57600036600319011261058c57606060806040516107f781610b4e565b6000815260006020820152600060408201528280820152015260405161081c81610b4e565b600080516020610d60833981519152546001600160a01b0390811682527ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a7089015416602082019081527ff304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a70890254604080840191825251600080516020610d80833981519152549293928160006108ad83610b8a565b8083529260018116908115610a5857506001146109fd575b6108d192500382610b69565b60608301908152604051916000600080516020610d00833981519152546108f781610b8a565b80865290600181169081156109d95750600114610983575b509161096c916109258561097f96950385610b69565b608086019384526040519687966020885260018060a01b03905116602088015260018060a01b0390511660408701525160608601525160a0608086015260c0850190610aca565b9051838203601f190160a0850152610aca565b0390f35b600080516020610d0083398151915260009081529150600080516020610d208339815191525b8183106109bf575050830160200161096c61090f565b6001816020929493945483858a01015201910191906109a9565b60ff191660208088019190915291151560051b8601909101915061096c905061090f565b50600080516020610d8083398151915260009081529091600080516020610d408339815191525b818310610a3c5750509060206108d1928201016108c5565b6020919350806001915483858801015201910190918392610a24565b602092506108d194915060ff191682840152151560051b8201016108c5565b3461058c57602036600319011261058c576004359063ffffffff60e01b821680920361058c576020916301ffc9a760e01b8114908115610ab9575b5015158152f35b633e84f8e360e01b14905083610ab2565b919082519283825260005b848110610af6575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201610ad5565b9181601f8401121561058c578235916001600160401b03831161058c576020838186019501011161058c57565b602435906001600160a01b038216820361058c57565b60a081019081106001600160401b0382111761043e57604052565b90601f801991011681019081106001600160401b0382111761043e57604052565b90600182811c92168015610bba575b6020831014610ba457565b634e487b7160e01b600052602260045260246000fd5b91607f1691610b99565b908060209392818452848401376000828201840152601f01601f1916010190565b9493926002821015610c1d57606092610c1892875260018060a01b03166020870152608060408701526080860190610aca565b930152565b634e487b7160e01b600052602160045260246000fd5b9091939284511580610ce0575b610cd7576002821015610c1d5760018203610cc457600080865160208801865af4945b8515610ca2577f1c96d0d403ab5775272e1a820cb06f02ae5c0fc5fccb9d014c2bf9f045009172939291610c9d9160405194859485610be5565b0390a1565b90610cc091604051948594631cff564160e21b865260048601610be5565b0390fd5b60008086516020880184875af194610c63565b50600193505050565b508015610c40565b818110610cf3575050565b60008155600101610ce856fef304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708904593389ffcae5d5ac7abc8a7d0ded51b7fb0334335118eec3a8f8f41bf2879d65c394ce00b8f43a7a1e6b4be39eef6b85f5e64073751e9deb8caaec94b37d939ef304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708900f304ff929824090662a6977433af60f5d227e05590d7b320d3ccf44d6a708903f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a164736f6c634300081e000a";
|
327
|
+
|
328
|
+
type SLCCoreConstructorParams =
|
329
|
+
| [signer?: Signer]
|
330
|
+
| ConstructorParameters<typeof ContractFactory>;
|
331
|
+
|
332
|
+
const isSuperArgs = (
|
333
|
+
xs: SLCCoreConstructorParams
|
334
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
335
|
+
|
336
|
+
export class SLCCore__factory extends ContractFactory {
|
337
|
+
constructor(...args: SLCCoreConstructorParams) {
|
338
|
+
if (isSuperArgs(args)) {
|
339
|
+
super(...args);
|
340
|
+
} else {
|
341
|
+
super(_abi, _bytecode, args[0]);
|
342
|
+
}
|
343
|
+
this.contractName = "SLCCore";
|
344
|
+
}
|
345
|
+
|
346
|
+
override getDeployTransaction(
|
347
|
+
overrides?: NonPayableOverrides & { from?: string }
|
348
|
+
): Promise<ContractDeployTransaction> {
|
349
|
+
return super.getDeployTransaction(overrides || {});
|
350
|
+
}
|
351
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
352
|
+
return super.deploy(overrides || {}) as Promise<
|
353
|
+
SLCCore & {
|
354
|
+
deploymentTransaction(): ContractTransactionResponse;
|
355
|
+
}
|
356
|
+
>;
|
357
|
+
}
|
358
|
+
override connect(runner: ContractRunner | null): SLCCore__factory {
|
359
|
+
return super.connect(runner) as SLCCore__factory;
|
360
|
+
}
|
361
|
+
static readonly contractName: "SLCCore";
|
362
|
+
|
363
|
+
public readonly contractName: "SLCCore";
|
364
|
+
|
365
|
+
static readonly bytecode = _bytecode;
|
366
|
+
static readonly abi = _abi;
|
367
|
+
static createInterface(): SLCCoreInterface {
|
368
|
+
return new Interface(_abi) as SLCCoreInterface;
|
369
|
+
}
|
370
|
+
static connect(address: string, runner?: ContractRunner | null): SLCCore {
|
371
|
+
return new Contract(address, _abi, runner) as unknown as SLCCore;
|
372
|
+
}
|
373
|
+
}
|