@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,559 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import type {
|
5
|
+
BaseContract,
|
6
|
+
BigNumberish,
|
7
|
+
BytesLike,
|
8
|
+
FunctionFragment,
|
9
|
+
Result,
|
10
|
+
Interface,
|
11
|
+
EventFragment,
|
12
|
+
AddressLike,
|
13
|
+
ContractRunner,
|
14
|
+
ContractMethod,
|
15
|
+
Listener,
|
16
|
+
} from "ethers";
|
17
|
+
import type {
|
18
|
+
TypedContractEvent,
|
19
|
+
TypedDeferredTopicFilter,
|
20
|
+
TypedEventLog,
|
21
|
+
TypedLogDescription,
|
22
|
+
TypedListener,
|
23
|
+
TypedContractMethod,
|
24
|
+
} from "../../common";
|
25
|
+
|
26
|
+
export declare namespace SLCCoreFactory {
|
27
|
+
export type SLCFactoryStorageDataStruct = {
|
28
|
+
parametersRegistry: AddressLike;
|
29
|
+
slcCoreImplementation: AddressLike;
|
30
|
+
};
|
31
|
+
|
32
|
+
export type SLCFactoryStorageDataStructOutput = [
|
33
|
+
parametersRegistry: string,
|
34
|
+
slcCoreImplementation: string
|
35
|
+
] & { parametersRegistry: string; slcCoreImplementation: string };
|
36
|
+
}
|
37
|
+
|
38
|
+
export interface SLCCoreFactoryInterface extends Interface {
|
39
|
+
getFunction(
|
40
|
+
nameOrSignature:
|
41
|
+
| "UPGRADE_INTERFACE_VERSION"
|
42
|
+
| "__SLCFactory_init"
|
43
|
+
| "deploySLC"
|
44
|
+
| "deploySLCWithGovernance"
|
45
|
+
| "getDeployedSLCs"
|
46
|
+
| "getSLCCoreImplementation"
|
47
|
+
| "getSLCFactoryStorage"
|
48
|
+
| "getSalt"
|
49
|
+
| "implementation"
|
50
|
+
| "isSLCCore"
|
51
|
+
| "nonces"
|
52
|
+
| "owner"
|
53
|
+
| "predictSLCAddress"
|
54
|
+
| "proxiableUUID"
|
55
|
+
| "renounceOwnership"
|
56
|
+
| "setSLCCoreImplementation"
|
57
|
+
| "supportsInterface"
|
58
|
+
| "transferOwnership"
|
59
|
+
| "upgradeToAndCall"
|
60
|
+
): FunctionFragment;
|
61
|
+
|
62
|
+
getEvent(
|
63
|
+
nameOrSignatureOrTopic:
|
64
|
+
| "Initialized"
|
65
|
+
| "OwnershipTransferred"
|
66
|
+
| "SLCDeployed"
|
67
|
+
| "Upgraded"
|
68
|
+
): EventFragment;
|
69
|
+
|
70
|
+
encodeFunctionData(
|
71
|
+
functionFragment: "UPGRADE_INTERFACE_VERSION",
|
72
|
+
values?: undefined
|
73
|
+
): string;
|
74
|
+
encodeFunctionData(
|
75
|
+
functionFragment: "__SLCFactory_init",
|
76
|
+
values: [AddressLike, AddressLike, AddressLike]
|
77
|
+
): string;
|
78
|
+
encodeFunctionData(functionFragment: "deploySLC", values: [string]): string;
|
79
|
+
encodeFunctionData(
|
80
|
+
functionFragment: "deploySLCWithGovernance",
|
81
|
+
values: [AddressLike, string]
|
82
|
+
): string;
|
83
|
+
encodeFunctionData(
|
84
|
+
functionFragment: "getDeployedSLCs",
|
85
|
+
values: [BigNumberish, BigNumberish]
|
86
|
+
): string;
|
87
|
+
encodeFunctionData(
|
88
|
+
functionFragment: "getSLCCoreImplementation",
|
89
|
+
values?: undefined
|
90
|
+
): string;
|
91
|
+
encodeFunctionData(
|
92
|
+
functionFragment: "getSLCFactoryStorage",
|
93
|
+
values?: undefined
|
94
|
+
): string;
|
95
|
+
encodeFunctionData(
|
96
|
+
functionFragment: "getSalt",
|
97
|
+
values: [AddressLike, BigNumberish]
|
98
|
+
): string;
|
99
|
+
encodeFunctionData(
|
100
|
+
functionFragment: "implementation",
|
101
|
+
values?: undefined
|
102
|
+
): string;
|
103
|
+
encodeFunctionData(
|
104
|
+
functionFragment: "isSLCCore",
|
105
|
+
values: [AddressLike]
|
106
|
+
): string;
|
107
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
108
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
109
|
+
encodeFunctionData(
|
110
|
+
functionFragment: "predictSLCAddress",
|
111
|
+
values: [AddressLike, BigNumberish]
|
112
|
+
): string;
|
113
|
+
encodeFunctionData(
|
114
|
+
functionFragment: "proxiableUUID",
|
115
|
+
values?: undefined
|
116
|
+
): string;
|
117
|
+
encodeFunctionData(
|
118
|
+
functionFragment: "renounceOwnership",
|
119
|
+
values?: undefined
|
120
|
+
): string;
|
121
|
+
encodeFunctionData(
|
122
|
+
functionFragment: "setSLCCoreImplementation",
|
123
|
+
values: [AddressLike]
|
124
|
+
): string;
|
125
|
+
encodeFunctionData(
|
126
|
+
functionFragment: "supportsInterface",
|
127
|
+
values: [BytesLike]
|
128
|
+
): string;
|
129
|
+
encodeFunctionData(
|
130
|
+
functionFragment: "transferOwnership",
|
131
|
+
values: [AddressLike]
|
132
|
+
): string;
|
133
|
+
encodeFunctionData(
|
134
|
+
functionFragment: "upgradeToAndCall",
|
135
|
+
values: [AddressLike, BytesLike]
|
136
|
+
): string;
|
137
|
+
|
138
|
+
decodeFunctionResult(
|
139
|
+
functionFragment: "UPGRADE_INTERFACE_VERSION",
|
140
|
+
data: BytesLike
|
141
|
+
): Result;
|
142
|
+
decodeFunctionResult(
|
143
|
+
functionFragment: "__SLCFactory_init",
|
144
|
+
data: BytesLike
|
145
|
+
): Result;
|
146
|
+
decodeFunctionResult(functionFragment: "deploySLC", data: BytesLike): Result;
|
147
|
+
decodeFunctionResult(
|
148
|
+
functionFragment: "deploySLCWithGovernance",
|
149
|
+
data: BytesLike
|
150
|
+
): Result;
|
151
|
+
decodeFunctionResult(
|
152
|
+
functionFragment: "getDeployedSLCs",
|
153
|
+
data: BytesLike
|
154
|
+
): Result;
|
155
|
+
decodeFunctionResult(
|
156
|
+
functionFragment: "getSLCCoreImplementation",
|
157
|
+
data: BytesLike
|
158
|
+
): Result;
|
159
|
+
decodeFunctionResult(
|
160
|
+
functionFragment: "getSLCFactoryStorage",
|
161
|
+
data: BytesLike
|
162
|
+
): Result;
|
163
|
+
decodeFunctionResult(functionFragment: "getSalt", data: BytesLike): Result;
|
164
|
+
decodeFunctionResult(
|
165
|
+
functionFragment: "implementation",
|
166
|
+
data: BytesLike
|
167
|
+
): Result;
|
168
|
+
decodeFunctionResult(functionFragment: "isSLCCore", data: BytesLike): Result;
|
169
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
170
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
171
|
+
decodeFunctionResult(
|
172
|
+
functionFragment: "predictSLCAddress",
|
173
|
+
data: BytesLike
|
174
|
+
): Result;
|
175
|
+
decodeFunctionResult(
|
176
|
+
functionFragment: "proxiableUUID",
|
177
|
+
data: BytesLike
|
178
|
+
): Result;
|
179
|
+
decodeFunctionResult(
|
180
|
+
functionFragment: "renounceOwnership",
|
181
|
+
data: BytesLike
|
182
|
+
): Result;
|
183
|
+
decodeFunctionResult(
|
184
|
+
functionFragment: "setSLCCoreImplementation",
|
185
|
+
data: BytesLike
|
186
|
+
): Result;
|
187
|
+
decodeFunctionResult(
|
188
|
+
functionFragment: "supportsInterface",
|
189
|
+
data: BytesLike
|
190
|
+
): Result;
|
191
|
+
decodeFunctionResult(
|
192
|
+
functionFragment: "transferOwnership",
|
193
|
+
data: BytesLike
|
194
|
+
): Result;
|
195
|
+
decodeFunctionResult(
|
196
|
+
functionFragment: "upgradeToAndCall",
|
197
|
+
data: BytesLike
|
198
|
+
): Result;
|
199
|
+
}
|
200
|
+
|
201
|
+
export namespace InitializedEvent {
|
202
|
+
export type InputTuple = [version: BigNumberish];
|
203
|
+
export type OutputTuple = [version: bigint];
|
204
|
+
export interface OutputObject {
|
205
|
+
version: bigint;
|
206
|
+
}
|
207
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
208
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
209
|
+
export type Log = TypedEventLog<Event>;
|
210
|
+
export type LogDescription = TypedLogDescription<Event>;
|
211
|
+
}
|
212
|
+
|
213
|
+
export namespace OwnershipTransferredEvent {
|
214
|
+
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
215
|
+
export type OutputTuple = [previousOwner: string, newOwner: string];
|
216
|
+
export interface OutputObject {
|
217
|
+
previousOwner: string;
|
218
|
+
newOwner: string;
|
219
|
+
}
|
220
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
221
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
222
|
+
export type Log = TypedEventLog<Event>;
|
223
|
+
export type LogDescription = TypedLogDescription<Event>;
|
224
|
+
}
|
225
|
+
|
226
|
+
export namespace SLCDeployedEvent {
|
227
|
+
export type InputTuple = [
|
228
|
+
slc: AddressLike,
|
229
|
+
governance: AddressLike,
|
230
|
+
deployer: AddressLike
|
231
|
+
];
|
232
|
+
export type OutputTuple = [slc: string, governance: string, deployer: string];
|
233
|
+
export interface OutputObject {
|
234
|
+
slc: string;
|
235
|
+
governance: string;
|
236
|
+
deployer: string;
|
237
|
+
}
|
238
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
239
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
240
|
+
export type Log = TypedEventLog<Event>;
|
241
|
+
export type LogDescription = TypedLogDescription<Event>;
|
242
|
+
}
|
243
|
+
|
244
|
+
export namespace UpgradedEvent {
|
245
|
+
export type InputTuple = [implementation: AddressLike];
|
246
|
+
export type OutputTuple = [implementation: string];
|
247
|
+
export interface OutputObject {
|
248
|
+
implementation: string;
|
249
|
+
}
|
250
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
251
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
252
|
+
export type Log = TypedEventLog<Event>;
|
253
|
+
export type LogDescription = TypedLogDescription<Event>;
|
254
|
+
}
|
255
|
+
|
256
|
+
export interface SLCCoreFactory extends BaseContract {
|
257
|
+
contractName: "SLCCoreFactory";
|
258
|
+
|
259
|
+
connect(runner?: ContractRunner | null): SLCCoreFactory;
|
260
|
+
waitForDeployment(): Promise<this>;
|
261
|
+
|
262
|
+
interface: SLCCoreFactoryInterface;
|
263
|
+
|
264
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
265
|
+
event: TCEvent,
|
266
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
267
|
+
toBlock?: string | number | undefined
|
268
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
269
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
270
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
271
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
272
|
+
toBlock?: string | number | undefined
|
273
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
274
|
+
|
275
|
+
on<TCEvent extends TypedContractEvent>(
|
276
|
+
event: TCEvent,
|
277
|
+
listener: TypedListener<TCEvent>
|
278
|
+
): Promise<this>;
|
279
|
+
on<TCEvent extends TypedContractEvent>(
|
280
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
281
|
+
listener: TypedListener<TCEvent>
|
282
|
+
): Promise<this>;
|
283
|
+
|
284
|
+
once<TCEvent extends TypedContractEvent>(
|
285
|
+
event: TCEvent,
|
286
|
+
listener: TypedListener<TCEvent>
|
287
|
+
): Promise<this>;
|
288
|
+
once<TCEvent extends TypedContractEvent>(
|
289
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
290
|
+
listener: TypedListener<TCEvent>
|
291
|
+
): Promise<this>;
|
292
|
+
|
293
|
+
listeners<TCEvent extends TypedContractEvent>(
|
294
|
+
event: TCEvent
|
295
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
296
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
297
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
298
|
+
event?: TCEvent
|
299
|
+
): Promise<this>;
|
300
|
+
|
301
|
+
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
302
|
+
|
303
|
+
__SLCFactory_init: TypedContractMethod<
|
304
|
+
[
|
305
|
+
initialOwner_: AddressLike,
|
306
|
+
parametersRegistry_: AddressLike,
|
307
|
+
slcImplementation_: AddressLike
|
308
|
+
],
|
309
|
+
[void],
|
310
|
+
"nonpayable"
|
311
|
+
>;
|
312
|
+
|
313
|
+
deploySLC: TypedContractMethod<
|
314
|
+
[legalDocumentLink_: string],
|
315
|
+
[string],
|
316
|
+
"nonpayable"
|
317
|
+
>;
|
318
|
+
|
319
|
+
deploySLCWithGovernance: TypedContractMethod<
|
320
|
+
[governance_: AddressLike, legalDocumentLink_: string],
|
321
|
+
[string],
|
322
|
+
"nonpayable"
|
323
|
+
>;
|
324
|
+
|
325
|
+
getDeployedSLCs: TypedContractMethod<
|
326
|
+
[offset_: BigNumberish, limit_: BigNumberish],
|
327
|
+
[string[]],
|
328
|
+
"view"
|
329
|
+
>;
|
330
|
+
|
331
|
+
getSLCCoreImplementation: TypedContractMethod<[], [string], "view">;
|
332
|
+
|
333
|
+
getSLCFactoryStorage: TypedContractMethod<
|
334
|
+
[],
|
335
|
+
[SLCCoreFactory.SLCFactoryStorageDataStructOutput],
|
336
|
+
"view"
|
337
|
+
>;
|
338
|
+
|
339
|
+
getSalt: TypedContractMethod<
|
340
|
+
[slcDeployer_: AddressLike, nonce_: BigNumberish],
|
341
|
+
[string],
|
342
|
+
"view"
|
343
|
+
>;
|
344
|
+
|
345
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
346
|
+
|
347
|
+
isSLCCore: TypedContractMethod<[toCheck_: AddressLike], [boolean], "view">;
|
348
|
+
|
349
|
+
nonces: TypedContractMethod<[owner_: AddressLike], [bigint], "view">;
|
350
|
+
|
351
|
+
owner: TypedContractMethod<[], [string], "view">;
|
352
|
+
|
353
|
+
predictSLCAddress: TypedContractMethod<
|
354
|
+
[slcDeployer_: AddressLike, nonce_: BigNumberish],
|
355
|
+
[string],
|
356
|
+
"view"
|
357
|
+
>;
|
358
|
+
|
359
|
+
proxiableUUID: TypedContractMethod<[], [string], "view">;
|
360
|
+
|
361
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
362
|
+
|
363
|
+
setSLCCoreImplementation: TypedContractMethod<
|
364
|
+
[newImplementation_: AddressLike],
|
365
|
+
[void],
|
366
|
+
"nonpayable"
|
367
|
+
>;
|
368
|
+
|
369
|
+
supportsInterface: TypedContractMethod<
|
370
|
+
[interfaceId_: BytesLike],
|
371
|
+
[boolean],
|
372
|
+
"view"
|
373
|
+
>;
|
374
|
+
|
375
|
+
transferOwnership: TypedContractMethod<
|
376
|
+
[newOwner: AddressLike],
|
377
|
+
[void],
|
378
|
+
"nonpayable"
|
379
|
+
>;
|
380
|
+
|
381
|
+
upgradeToAndCall: TypedContractMethod<
|
382
|
+
[newImplementation: AddressLike, data: BytesLike],
|
383
|
+
[void],
|
384
|
+
"payable"
|
385
|
+
>;
|
386
|
+
|
387
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
388
|
+
key: string | FunctionFragment
|
389
|
+
): T;
|
390
|
+
|
391
|
+
getFunction(
|
392
|
+
nameOrSignature: "UPGRADE_INTERFACE_VERSION"
|
393
|
+
): TypedContractMethod<[], [string], "view">;
|
394
|
+
getFunction(
|
395
|
+
nameOrSignature: "__SLCFactory_init"
|
396
|
+
): TypedContractMethod<
|
397
|
+
[
|
398
|
+
initialOwner_: AddressLike,
|
399
|
+
parametersRegistry_: AddressLike,
|
400
|
+
slcImplementation_: AddressLike
|
401
|
+
],
|
402
|
+
[void],
|
403
|
+
"nonpayable"
|
404
|
+
>;
|
405
|
+
getFunction(
|
406
|
+
nameOrSignature: "deploySLC"
|
407
|
+
): TypedContractMethod<[legalDocumentLink_: string], [string], "nonpayable">;
|
408
|
+
getFunction(
|
409
|
+
nameOrSignature: "deploySLCWithGovernance"
|
410
|
+
): TypedContractMethod<
|
411
|
+
[governance_: AddressLike, legalDocumentLink_: string],
|
412
|
+
[string],
|
413
|
+
"nonpayable"
|
414
|
+
>;
|
415
|
+
getFunction(
|
416
|
+
nameOrSignature: "getDeployedSLCs"
|
417
|
+
): TypedContractMethod<
|
418
|
+
[offset_: BigNumberish, limit_: BigNumberish],
|
419
|
+
[string[]],
|
420
|
+
"view"
|
421
|
+
>;
|
422
|
+
getFunction(
|
423
|
+
nameOrSignature: "getSLCCoreImplementation"
|
424
|
+
): TypedContractMethod<[], [string], "view">;
|
425
|
+
getFunction(
|
426
|
+
nameOrSignature: "getSLCFactoryStorage"
|
427
|
+
): TypedContractMethod<
|
428
|
+
[],
|
429
|
+
[SLCCoreFactory.SLCFactoryStorageDataStructOutput],
|
430
|
+
"view"
|
431
|
+
>;
|
432
|
+
getFunction(
|
433
|
+
nameOrSignature: "getSalt"
|
434
|
+
): TypedContractMethod<
|
435
|
+
[slcDeployer_: AddressLike, nonce_: BigNumberish],
|
436
|
+
[string],
|
437
|
+
"view"
|
438
|
+
>;
|
439
|
+
getFunction(
|
440
|
+
nameOrSignature: "implementation"
|
441
|
+
): TypedContractMethod<[], [string], "view">;
|
442
|
+
getFunction(
|
443
|
+
nameOrSignature: "isSLCCore"
|
444
|
+
): TypedContractMethod<[toCheck_: AddressLike], [boolean], "view">;
|
445
|
+
getFunction(
|
446
|
+
nameOrSignature: "nonces"
|
447
|
+
): TypedContractMethod<[owner_: AddressLike], [bigint], "view">;
|
448
|
+
getFunction(
|
449
|
+
nameOrSignature: "owner"
|
450
|
+
): TypedContractMethod<[], [string], "view">;
|
451
|
+
getFunction(
|
452
|
+
nameOrSignature: "predictSLCAddress"
|
453
|
+
): TypedContractMethod<
|
454
|
+
[slcDeployer_: AddressLike, nonce_: BigNumberish],
|
455
|
+
[string],
|
456
|
+
"view"
|
457
|
+
>;
|
458
|
+
getFunction(
|
459
|
+
nameOrSignature: "proxiableUUID"
|
460
|
+
): TypedContractMethod<[], [string], "view">;
|
461
|
+
getFunction(
|
462
|
+
nameOrSignature: "renounceOwnership"
|
463
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
464
|
+
getFunction(
|
465
|
+
nameOrSignature: "setSLCCoreImplementation"
|
466
|
+
): TypedContractMethod<
|
467
|
+
[newImplementation_: AddressLike],
|
468
|
+
[void],
|
469
|
+
"nonpayable"
|
470
|
+
>;
|
471
|
+
getFunction(
|
472
|
+
nameOrSignature: "supportsInterface"
|
473
|
+
): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
|
474
|
+
getFunction(
|
475
|
+
nameOrSignature: "transferOwnership"
|
476
|
+
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
477
|
+
getFunction(
|
478
|
+
nameOrSignature: "upgradeToAndCall"
|
479
|
+
): TypedContractMethod<
|
480
|
+
[newImplementation: AddressLike, data: BytesLike],
|
481
|
+
[void],
|
482
|
+
"payable"
|
483
|
+
>;
|
484
|
+
|
485
|
+
getEvent(
|
486
|
+
key: "Initialized"
|
487
|
+
): TypedContractEvent<
|
488
|
+
InitializedEvent.InputTuple,
|
489
|
+
InitializedEvent.OutputTuple,
|
490
|
+
InitializedEvent.OutputObject
|
491
|
+
>;
|
492
|
+
getEvent(
|
493
|
+
key: "OwnershipTransferred"
|
494
|
+
): TypedContractEvent<
|
495
|
+
OwnershipTransferredEvent.InputTuple,
|
496
|
+
OwnershipTransferredEvent.OutputTuple,
|
497
|
+
OwnershipTransferredEvent.OutputObject
|
498
|
+
>;
|
499
|
+
getEvent(
|
500
|
+
key: "SLCDeployed"
|
501
|
+
): TypedContractEvent<
|
502
|
+
SLCDeployedEvent.InputTuple,
|
503
|
+
SLCDeployedEvent.OutputTuple,
|
504
|
+
SLCDeployedEvent.OutputObject
|
505
|
+
>;
|
506
|
+
getEvent(
|
507
|
+
key: "Upgraded"
|
508
|
+
): TypedContractEvent<
|
509
|
+
UpgradedEvent.InputTuple,
|
510
|
+
UpgradedEvent.OutputTuple,
|
511
|
+
UpgradedEvent.OutputObject
|
512
|
+
>;
|
513
|
+
|
514
|
+
filters: {
|
515
|
+
"Initialized(uint64)": TypedContractEvent<
|
516
|
+
InitializedEvent.InputTuple,
|
517
|
+
InitializedEvent.OutputTuple,
|
518
|
+
InitializedEvent.OutputObject
|
519
|
+
>;
|
520
|
+
Initialized: TypedContractEvent<
|
521
|
+
InitializedEvent.InputTuple,
|
522
|
+
InitializedEvent.OutputTuple,
|
523
|
+
InitializedEvent.OutputObject
|
524
|
+
>;
|
525
|
+
|
526
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<
|
527
|
+
OwnershipTransferredEvent.InputTuple,
|
528
|
+
OwnershipTransferredEvent.OutputTuple,
|
529
|
+
OwnershipTransferredEvent.OutputObject
|
530
|
+
>;
|
531
|
+
OwnershipTransferred: TypedContractEvent<
|
532
|
+
OwnershipTransferredEvent.InputTuple,
|
533
|
+
OwnershipTransferredEvent.OutputTuple,
|
534
|
+
OwnershipTransferredEvent.OutputObject
|
535
|
+
>;
|
536
|
+
|
537
|
+
"SLCDeployed(address,address,address)": TypedContractEvent<
|
538
|
+
SLCDeployedEvent.InputTuple,
|
539
|
+
SLCDeployedEvent.OutputTuple,
|
540
|
+
SLCDeployedEvent.OutputObject
|
541
|
+
>;
|
542
|
+
SLCDeployed: TypedContractEvent<
|
543
|
+
SLCDeployedEvent.InputTuple,
|
544
|
+
SLCDeployedEvent.OutputTuple,
|
545
|
+
SLCDeployedEvent.OutputObject
|
546
|
+
>;
|
547
|
+
|
548
|
+
"Upgraded(address)": TypedContractEvent<
|
549
|
+
UpgradedEvent.InputTuple,
|
550
|
+
UpgradedEvent.OutputTuple,
|
551
|
+
UpgradedEvent.OutputObject
|
552
|
+
>;
|
553
|
+
Upgraded: TypedContractEvent<
|
554
|
+
UpgradedEvent.InputTuple,
|
555
|
+
UpgradedEvent.OutputTuple,
|
556
|
+
UpgradedEvent.OutputObject
|
557
|
+
>;
|
558
|
+
};
|
559
|
+
}
|