@web3dotorg/evm-slc-core-sdk 0.3.6 → 0.3.9
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/lib.commonjs/common.d.ts +50 -0
- package/lib.commonjs/common.js +2 -0
- package/lib.commonjs/constants.d.ts +23 -0
- package/lib.commonjs/constants.js +32 -0
- package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +597 -0
- package/lib.commonjs/contracts/governance/ExecutorsRegistry.js +2 -0
- package/lib.commonjs/contracts/governance/Governance.d.ts +984 -0
- package/lib.commonjs/contracts/governance/Governance.js +2 -0
- package/lib.commonjs/contracts/governance/NeutralsRegistry.d.ts +718 -0
- package/lib.commonjs/contracts/governance/NeutralsRegistry.js +2 -0
- package/lib.commonjs/contracts/governance/ParameterRegistry.d.ts +427 -0
- package/lib.commonjs/contracts/governance/ParameterRegistry.js +2 -0
- package/{contracts/governance/index.ts → lib.commonjs/contracts/governance/index.d.ts} +0 -3
- package/lib.commonjs/contracts/governance/index.js +2 -0
- package/{contracts/index.ts → lib.commonjs/contracts/index.d.ts} +0 -3
- package/lib.commonjs/contracts/index.js +2 -0
- package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +277 -0
- package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.js +2 -0
- package/lib.commonjs/contracts/interfaces/IGovernance.d.ts +99 -0
- package/lib.commonjs/contracts/interfaces/IGovernance.js +2 -0
- package/lib.commonjs/contracts/interfaces/INeutralsRegistry.d.ts +301 -0
- package/lib.commonjs/contracts/interfaces/INeutralsRegistry.js +2 -0
- package/lib.commonjs/contracts/interfaces/IQParameters.d.ts +38 -0
- package/lib.commonjs/contracts/interfaces/IQParameters.js +2 -0
- package/lib.commonjs/contracts/interfaces/ISLCCore.d.ts +137 -0
- package/lib.commonjs/contracts/interfaces/ISLCCore.js +2 -0
- package/lib.commonjs/contracts/interfaces/ISLCCoreFactory.d.ts +102 -0
- package/lib.commonjs/contracts/interfaces/ISLCCoreFactory.js +2 -0
- package/lib.commonjs/contracts/interfaces/IWrappedToken.d.ts +134 -0
- package/lib.commonjs/contracts/interfaces/IWrappedToken.js +2 -0
- package/{contracts/interfaces/index.ts → lib.commonjs/contracts/interfaces/index.d.ts} +0 -3
- package/lib.commonjs/contracts/interfaces/index.js +2 -0
- package/lib.commonjs/contracts/libs/Errors.d.ts +21 -0
- package/lib.commonjs/contracts/libs/Errors.js +2 -0
- package/lib.commonjs/contracts/libs/NeutralsSelection.d.ts +21 -0
- package/lib.commonjs/contracts/libs/NeutralsSelection.js +2 -0
- package/{contracts/libs/index.ts → lib.commonjs/contracts/libs/index.d.ts} +0 -3
- package/lib.commonjs/contracts/libs/index.js +2 -0
- package/lib.commonjs/contracts/mocks/MockGovernance.d.ts +201 -0
- package/lib.commonjs/contracts/mocks/MockGovernance.js +2 -0
- package/lib.commonjs/contracts/mocks/MockNeutralsRegistry.d.ts +394 -0
- package/lib.commonjs/contracts/mocks/MockNeutralsRegistry.js +2 -0
- package/lib.commonjs/contracts/mocks/SimpleContract.d.ts +38 -0
- package/lib.commonjs/contracts/mocks/SimpleContract.js +2 -0
- package/lib.commonjs/contracts/mocks/WrappedToken.d.ts +174 -0
- package/lib.commonjs/contracts/mocks/WrappedToken.js +2 -0
- package/{contracts/mocks/index.ts → lib.commonjs/contracts/mocks/index.d.ts} +0 -3
- package/lib.commonjs/contracts/mocks/index.js +2 -0
- package/lib.commonjs/contracts/slc-core/SLCCore.d.ts +198 -0
- package/lib.commonjs/contracts/slc-core/SLCCore.js +2 -0
- package/lib.commonjs/contracts/slc-core/SLCCoreFactory.d.ts +264 -0
- package/lib.commonjs/contracts/slc-core/SLCCoreFactory.js +2 -0
- package/{contracts/slc-core/index.ts → lib.commonjs/contracts/slc-core/index.d.ts} +0 -3
- package/lib.commonjs/contracts/slc-core/index.js +2 -0
- package/lib.commonjs/contracts/token/Token.d.ts +201 -0
- package/lib.commonjs/contracts/token/Token.js +2 -0
- package/lib.commonjs/contracts/token/index.d.ts +1 -0
- package/lib.commonjs/contracts/token/index.js +2 -0
- package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +919 -0
- package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +1211 -0
- package/lib.commonjs/factories/contracts/governance/Governance__factory.d.ts +1736 -0
- package/lib.commonjs/factories/contracts/governance/Governance__factory.js +2281 -0
- package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1128 -0
- package/lib.commonjs/factories/contracts/governance/NeutralsRegistry__factory.js +1486 -0
- package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.d.ts +606 -0
- package/lib.commonjs/factories/contracts/governance/ParameterRegistry__factory.js +805 -0
- package/lib.commonjs/factories/contracts/governance/index.d.ts +4 -0
- package/lib.commonjs/factories/contracts/governance/index.js +14 -0
- package/lib.commonjs/factories/contracts/index.d.ts +6 -0
- package/lib.commonjs/factories/contracts/index.js +35 -0
- package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +316 -0
- package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +422 -0
- package/lib.commonjs/factories/contracts/interfaces/IGovernance__factory.d.ts +107 -0
- package/lib.commonjs/factories/contracts/interfaces/IGovernance__factory.js +150 -0
- package/lib.commonjs/factories/contracts/interfaces/INeutralsRegistry__factory.d.ts +393 -0
- package/lib.commonjs/factories/contracts/interfaces/INeutralsRegistry__factory.js +521 -0
- package/lib.commonjs/factories/contracts/interfaces/IQParameters__factory.d.ts +63 -0
- package/lib.commonjs/factories/contracts/interfaces/IQParameters__factory.js +95 -0
- package/lib.commonjs/factories/contracts/interfaces/ISLCCoreFactory__factory.d.ts +135 -0
- package/lib.commonjs/factories/contracts/interfaces/ISLCCoreFactory__factory.js +191 -0
- package/lib.commonjs/factories/contracts/interfaces/ISLCCore__factory.d.ts +166 -0
- package/lib.commonjs/factories/contracts/interfaces/ISLCCore__factory.js +224 -0
- package/lib.commonjs/factories/contracts/interfaces/IWrappedToken__factory.d.ts +157 -0
- package/lib.commonjs/factories/contracts/interfaces/IWrappedToken__factory.js +215 -0
- package/lib.commonjs/factories/contracts/interfaces/index.d.ts +7 -0
- package/lib.commonjs/factories/contracts/interfaces/index.js +20 -0
- package/lib.commonjs/factories/contracts/libs/Errors__factory.d.ts +128 -0
- package/lib.commonjs/factories/contracts/libs/Errors__factory.js +182 -0
- package/lib.commonjs/factories/contracts/libs/NeutralsSelection__factory.d.ts +48 -0
- package/lib.commonjs/factories/contracts/libs/NeutralsSelection__factory.js +74 -0
- package/lib.commonjs/factories/contracts/libs/index.d.ts +2 -0
- package/lib.commonjs/factories/contracts/libs/index.js +10 -0
- package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.d.ts +241 -0
- package/lib.commonjs/factories/contracts/mocks/MockGovernance__factory.js +324 -0
- package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +527 -0
- package/lib.commonjs/factories/contracts/mocks/MockNeutralsRegistry__factory.js +695 -0
- package/lib.commonjs/factories/contracts/mocks/SimpleContract__factory.d.ts +54 -0
- package/lib.commonjs/factories/contracts/mocks/SimpleContract__factory.js +81 -0
- package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.d.ts +300 -0
- package/lib.commonjs/factories/contracts/mocks/WrappedToken__factory.js +404 -0
- package/lib.commonjs/factories/contracts/mocks/index.d.ts +4 -0
- package/lib.commonjs/factories/contracts/mocks/index.js +14 -0
- package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +402 -0
- package/lib.commonjs/factories/contracts/slc-core/SLCCoreFactory__factory.js +539 -0
- package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.d.ts +261 -0
- package/lib.commonjs/factories/contracts/slc-core/SLCCore__factory.js +347 -0
- package/lib.commonjs/factories/contracts/slc-core/index.d.ts +2 -0
- package/lib.commonjs/factories/contracts/slc-core/index.js +10 -0
- package/lib.commonjs/factories/contracts/token/Token__factory.d.ts +355 -0
- package/lib.commonjs/factories/contracts/token/Token__factory.js +476 -0
- package/lib.commonjs/factories/contracts/token/index.d.ts +1 -0
- package/lib.commonjs/factories/contracts/token/index.js +8 -0
- package/lib.commonjs/index.d.ts +5 -0
- package/lib.commonjs/index.js +23 -0
- package/lib.esm/common.d.ts +50 -0
- package/lib.esm/common.js +1 -0
- package/lib.esm/constants.d.ts +23 -0
- package/lib.esm/constants.js +29 -0
- package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +597 -0
- package/lib.esm/contracts/governance/ExecutorsRegistry.js +1 -0
- package/lib.esm/contracts/governance/Governance.d.ts +984 -0
- package/lib.esm/contracts/governance/Governance.js +1 -0
- package/lib.esm/contracts/governance/NeutralsRegistry.d.ts +718 -0
- package/lib.esm/contracts/governance/NeutralsRegistry.js +1 -0
- package/lib.esm/contracts/governance/ParameterRegistry.d.ts +427 -0
- package/lib.esm/contracts/governance/ParameterRegistry.js +1 -0
- package/lib.esm/contracts/governance/index.d.ts +4 -0
- package/lib.esm/contracts/governance/index.js +1 -0
- package/lib.esm/contracts/index.d.ts +12 -0
- package/lib.esm/contracts/index.js +1 -0
- package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +277 -0
- package/lib.esm/contracts/interfaces/IExecutorsRegistry.js +1 -0
- package/lib.esm/contracts/interfaces/IGovernance.d.ts +99 -0
- package/lib.esm/contracts/interfaces/IGovernance.js +1 -0
- package/lib.esm/contracts/interfaces/INeutralsRegistry.d.ts +301 -0
- package/lib.esm/contracts/interfaces/INeutralsRegistry.js +1 -0
- package/lib.esm/contracts/interfaces/IQParameters.d.ts +38 -0
- package/lib.esm/contracts/interfaces/IQParameters.js +1 -0
- package/lib.esm/contracts/interfaces/ISLCCore.d.ts +137 -0
- package/lib.esm/contracts/interfaces/ISLCCore.js +1 -0
- package/lib.esm/contracts/interfaces/ISLCCoreFactory.d.ts +102 -0
- package/lib.esm/contracts/interfaces/ISLCCoreFactory.js +1 -0
- package/lib.esm/contracts/interfaces/IWrappedToken.d.ts +134 -0
- package/lib.esm/contracts/interfaces/IWrappedToken.js +1 -0
- package/lib.esm/contracts/interfaces/index.d.ts +7 -0
- package/lib.esm/contracts/interfaces/index.js +1 -0
- package/lib.esm/contracts/libs/Errors.d.ts +21 -0
- package/lib.esm/contracts/libs/Errors.js +1 -0
- package/lib.esm/contracts/libs/NeutralsSelection.d.ts +21 -0
- package/lib.esm/contracts/libs/NeutralsSelection.js +1 -0
- package/lib.esm/contracts/libs/index.d.ts +2 -0
- package/lib.esm/contracts/libs/index.js +1 -0
- package/lib.esm/contracts/mocks/MockGovernance.d.ts +201 -0
- package/lib.esm/contracts/mocks/MockGovernance.js +1 -0
- package/lib.esm/contracts/mocks/MockNeutralsRegistry.d.ts +394 -0
- package/lib.esm/contracts/mocks/MockNeutralsRegistry.js +1 -0
- package/lib.esm/contracts/mocks/SimpleContract.d.ts +38 -0
- package/lib.esm/contracts/mocks/SimpleContract.js +1 -0
- package/lib.esm/contracts/mocks/WrappedToken.d.ts +174 -0
- package/lib.esm/contracts/mocks/WrappedToken.js +1 -0
- package/lib.esm/contracts/mocks/index.d.ts +4 -0
- package/lib.esm/contracts/mocks/index.js +1 -0
- package/lib.esm/contracts/slc-core/SLCCore.d.ts +198 -0
- package/lib.esm/contracts/slc-core/SLCCore.js +1 -0
- package/lib.esm/contracts/slc-core/SLCCoreFactory.d.ts +264 -0
- package/lib.esm/contracts/slc-core/SLCCoreFactory.js +1 -0
- package/lib.esm/contracts/slc-core/index.d.ts +2 -0
- package/lib.esm/contracts/slc-core/index.js +1 -0
- package/lib.esm/contracts/token/Token.d.ts +201 -0
- package/lib.esm/contracts/token/Token.js +1 -0
- package/lib.esm/contracts/token/index.d.ts +1 -0
- package/lib.esm/contracts/token/index.js +1 -0
- package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +919 -0
- package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +1207 -0
- package/lib.esm/factories/contracts/governance/Governance__factory.d.ts +1736 -0
- package/lib.esm/factories/contracts/governance/Governance__factory.js +2277 -0
- package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.d.ts +1128 -0
- package/lib.esm/factories/contracts/governance/NeutralsRegistry__factory.js +1482 -0
- package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.d.ts +606 -0
- package/lib.esm/factories/contracts/governance/ParameterRegistry__factory.js +801 -0
- package/lib.esm/factories/contracts/governance/index.d.ts +4 -0
- package/lib.esm/factories/contracts/index.d.ts +6 -0
- package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +316 -0
- package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +418 -0
- package/lib.esm/factories/contracts/interfaces/IGovernance__factory.d.ts +107 -0
- package/lib.esm/factories/contracts/interfaces/IGovernance__factory.js +146 -0
- package/lib.esm/factories/contracts/interfaces/INeutralsRegistry__factory.d.ts +393 -0
- package/lib.esm/factories/contracts/interfaces/INeutralsRegistry__factory.js +517 -0
- package/lib.esm/factories/contracts/interfaces/IQParameters__factory.d.ts +63 -0
- package/lib.esm/factories/contracts/interfaces/IQParameters__factory.js +91 -0
- package/lib.esm/factories/contracts/interfaces/ISLCCoreFactory__factory.d.ts +135 -0
- package/lib.esm/factories/contracts/interfaces/ISLCCoreFactory__factory.js +187 -0
- package/lib.esm/factories/contracts/interfaces/ISLCCore__factory.d.ts +166 -0
- package/lib.esm/factories/contracts/interfaces/ISLCCore__factory.js +220 -0
- package/lib.esm/factories/contracts/interfaces/IWrappedToken__factory.d.ts +157 -0
- package/lib.esm/factories/contracts/interfaces/IWrappedToken__factory.js +211 -0
- package/lib.esm/factories/contracts/interfaces/index.d.ts +7 -0
- package/lib.esm/factories/contracts/libs/Errors__factory.d.ts +128 -0
- package/lib.esm/factories/contracts/libs/Errors__factory.js +178 -0
- package/lib.esm/factories/contracts/libs/NeutralsSelection__factory.d.ts +48 -0
- package/lib.esm/factories/contracts/libs/NeutralsSelection__factory.js +70 -0
- package/lib.esm/factories/contracts/libs/index.d.ts +2 -0
- package/lib.esm/factories/contracts/mocks/MockGovernance__factory.d.ts +241 -0
- package/lib.esm/factories/contracts/mocks/MockGovernance__factory.js +320 -0
- package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.d.ts +527 -0
- package/lib.esm/factories/contracts/mocks/MockNeutralsRegistry__factory.js +691 -0
- package/lib.esm/factories/contracts/mocks/SimpleContract__factory.d.ts +54 -0
- package/lib.esm/factories/contracts/mocks/SimpleContract__factory.js +77 -0
- package/lib.esm/factories/contracts/mocks/WrappedToken__factory.d.ts +300 -0
- package/lib.esm/factories/contracts/mocks/WrappedToken__factory.js +400 -0
- package/lib.esm/factories/contracts/mocks/index.d.ts +4 -0
- package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.d.ts +402 -0
- package/lib.esm/factories/contracts/slc-core/SLCCoreFactory__factory.js +535 -0
- package/lib.esm/factories/contracts/slc-core/SLCCore__factory.d.ts +261 -0
- package/lib.esm/factories/contracts/slc-core/SLCCore__factory.js +343 -0
- package/lib.esm/factories/contracts/slc-core/index.d.ts +2 -0
- package/lib.esm/factories/contracts/token/Token__factory.d.ts +355 -0
- package/lib.esm/factories/contracts/token/Token__factory.js +472 -0
- package/lib.esm/factories/contracts/token/index.d.ts +1 -0
- package/lib.esm/index.d.ts +5 -0
- package/lib.esm/index.js +7 -0
- package/package.json +10 -3
- package/common.ts +0 -131
- package/constants.ts +0 -34
- package/contracts/governance/ExecutorsRegistry.ts +0 -1249
- package/contracts/governance/Governance.ts +0 -1740
- package/contracts/governance/NeutralsRegistry.ts +0 -1415
- package/contracts/governance/ParameterRegistry.ts +0 -832
- package/contracts/interfaces/IExecutorsRegistry.ts +0 -601
- package/contracts/interfaces/IGovernance.ts +0 -215
- package/contracts/interfaces/INeutralsRegistry.ts +0 -624
- package/contracts/interfaces/IQParameters.ts +0 -109
- package/contracts/interfaces/ISLCCore.ts +0 -289
- package/contracts/interfaces/ISLCCoreFactory.ts +0 -217
- package/contracts/interfaces/IWrappedToken.ts +0 -272
- package/contracts/libs/Errors.ts +0 -71
- package/contracts/libs/NeutralsSelection.ts +0 -71
- package/contracts/mocks/MockGovernance.ts +0 -389
- package/contracts/mocks/MockNeutralsRegistry.ts +0 -791
- package/contracts/mocks/SimpleContract.ts +0 -110
- package/contracts/mocks/WrappedToken.ts +0 -334
- package/contracts/slc-core/SLCCore.ts +0 -397
- package/contracts/slc-core/SLCCoreFactory.ts +0 -559
- package/contracts/token/Token.ts +0 -399
- package/contracts/token/index.ts +0 -4
- package/factories/contracts/governance/ExecutorsRegistry__factory.ts +0 -1240
- package/factories/contracts/governance/Governance__factory.ts +0 -2328
- package/factories/contracts/governance/NeutralsRegistry__factory.ts +0 -1515
- package/factories/contracts/governance/ParameterRegistry__factory.ts +0 -834
- package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +0 -428
- package/factories/contracts/interfaces/IGovernance__factory.ts +0 -153
- package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +0 -527
- package/factories/contracts/interfaces/IQParameters__factory.ts +0 -101
- package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +0 -197
- package/factories/contracts/interfaces/ISLCCore__factory.ts +0 -227
- package/factories/contracts/interfaces/IWrappedToken__factory.ts +0 -221
- package/factories/contracts/libs/Errors__factory.ts +0 -205
- package/factories/contracts/libs/NeutralsSelection__factory.ts +0 -103
- package/factories/contracts/mocks/MockGovernance__factory.ts +0 -353
- package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +0 -730
- package/factories/contracts/mocks/SimpleContract__factory.ts +0 -110
- package/factories/contracts/mocks/WrappedToken__factory.ts +0 -433
- package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +0 -568
- package/factories/contracts/slc-core/SLCCore__factory.ts +0 -373
- package/factories/contracts/token/Token__factory.ts +0 -505
- package/index.ts +0 -44
- /package/{factories/contracts/governance/index.ts → lib.esm/factories/contracts/governance/index.js} +0 -0
- /package/{factories/contracts/index.ts → lib.esm/factories/contracts/index.js} +0 -0
- /package/{factories/contracts/interfaces/index.ts → lib.esm/factories/contracts/interfaces/index.js} +0 -0
- /package/{factories/contracts/libs/index.ts → lib.esm/factories/contracts/libs/index.js} +0 -0
- /package/{factories/contracts/mocks/index.ts → lib.esm/factories/contracts/mocks/index.js} +0 -0
- /package/{factories/contracts/slc-core/index.ts → lib.esm/factories/contracts/slc-core/index.js} +0 -0
- /package/{factories/contracts/token/index.ts → lib.esm/factories/contracts/token/index.js} +0 -0
|
@@ -1,110 +0,0 @@
|
|
|
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
|
-
ContractRunner,
|
|
12
|
-
ContractMethod,
|
|
13
|
-
Listener,
|
|
14
|
-
} from "ethers";
|
|
15
|
-
import type {
|
|
16
|
-
TypedContractEvent,
|
|
17
|
-
TypedDeferredTopicFilter,
|
|
18
|
-
TypedEventLog,
|
|
19
|
-
TypedListener,
|
|
20
|
-
TypedContractMethod,
|
|
21
|
-
} from "../../common";
|
|
22
|
-
|
|
23
|
-
export interface SimpleContractInterface extends Interface {
|
|
24
|
-
getFunction(
|
|
25
|
-
nameOrSignature: "getValue" | "setValue" | "value"
|
|
26
|
-
): FunctionFragment;
|
|
27
|
-
|
|
28
|
-
encodeFunctionData(functionFragment: "getValue", values?: undefined): string;
|
|
29
|
-
encodeFunctionData(
|
|
30
|
-
functionFragment: "setValue",
|
|
31
|
-
values: [BigNumberish]
|
|
32
|
-
): string;
|
|
33
|
-
encodeFunctionData(functionFragment: "value", values?: undefined): string;
|
|
34
|
-
|
|
35
|
-
decodeFunctionResult(functionFragment: "getValue", data: BytesLike): Result;
|
|
36
|
-
decodeFunctionResult(functionFragment: "setValue", data: BytesLike): Result;
|
|
37
|
-
decodeFunctionResult(functionFragment: "value", data: BytesLike): Result;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface SimpleContract extends BaseContract {
|
|
41
|
-
contractName: "SimpleContract";
|
|
42
|
-
|
|
43
|
-
connect(runner?: ContractRunner | null): SimpleContract;
|
|
44
|
-
waitForDeployment(): Promise<this>;
|
|
45
|
-
|
|
46
|
-
interface: SimpleContractInterface;
|
|
47
|
-
|
|
48
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
49
|
-
event: TCEvent,
|
|
50
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
51
|
-
toBlock?: string | number | undefined
|
|
52
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
53
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
54
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
55
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
56
|
-
toBlock?: string | number | undefined
|
|
57
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
58
|
-
|
|
59
|
-
on<TCEvent extends TypedContractEvent>(
|
|
60
|
-
event: TCEvent,
|
|
61
|
-
listener: TypedListener<TCEvent>
|
|
62
|
-
): Promise<this>;
|
|
63
|
-
on<TCEvent extends TypedContractEvent>(
|
|
64
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
65
|
-
listener: TypedListener<TCEvent>
|
|
66
|
-
): Promise<this>;
|
|
67
|
-
|
|
68
|
-
once<TCEvent extends TypedContractEvent>(
|
|
69
|
-
event: TCEvent,
|
|
70
|
-
listener: TypedListener<TCEvent>
|
|
71
|
-
): Promise<this>;
|
|
72
|
-
once<TCEvent extends TypedContractEvent>(
|
|
73
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
74
|
-
listener: TypedListener<TCEvent>
|
|
75
|
-
): Promise<this>;
|
|
76
|
-
|
|
77
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
78
|
-
event: TCEvent
|
|
79
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
80
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
81
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
82
|
-
event?: TCEvent
|
|
83
|
-
): Promise<this>;
|
|
84
|
-
|
|
85
|
-
getValue: TypedContractMethod<[], [bigint], "view">;
|
|
86
|
-
|
|
87
|
-
setValue: TypedContractMethod<
|
|
88
|
-
[newValue_: BigNumberish],
|
|
89
|
-
[void],
|
|
90
|
-
"nonpayable"
|
|
91
|
-
>;
|
|
92
|
-
|
|
93
|
-
value: TypedContractMethod<[], [bigint], "view">;
|
|
94
|
-
|
|
95
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
96
|
-
key: string | FunctionFragment
|
|
97
|
-
): T;
|
|
98
|
-
|
|
99
|
-
getFunction(
|
|
100
|
-
nameOrSignature: "getValue"
|
|
101
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
102
|
-
getFunction(
|
|
103
|
-
nameOrSignature: "setValue"
|
|
104
|
-
): TypedContractMethod<[newValue_: BigNumberish], [void], "nonpayable">;
|
|
105
|
-
getFunction(
|
|
106
|
-
nameOrSignature: "value"
|
|
107
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
108
|
-
|
|
109
|
-
filters: {};
|
|
110
|
-
}
|
|
@@ -1,334 +0,0 @@
|
|
|
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 interface WrappedTokenInterface extends Interface {
|
|
27
|
-
getFunction(
|
|
28
|
-
nameOrSignature:
|
|
29
|
-
| "allowance"
|
|
30
|
-
| "approve"
|
|
31
|
-
| "balanceOf"
|
|
32
|
-
| "burn"
|
|
33
|
-
| "decimals"
|
|
34
|
-
| "deposit"
|
|
35
|
-
| "mint"
|
|
36
|
-
| "name"
|
|
37
|
-
| "symbol"
|
|
38
|
-
| "totalSupply"
|
|
39
|
-
| "transfer"
|
|
40
|
-
| "transferFrom"
|
|
41
|
-
): FunctionFragment;
|
|
42
|
-
|
|
43
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
44
|
-
|
|
45
|
-
encodeFunctionData(
|
|
46
|
-
functionFragment: "allowance",
|
|
47
|
-
values: [AddressLike, AddressLike]
|
|
48
|
-
): string;
|
|
49
|
-
encodeFunctionData(
|
|
50
|
-
functionFragment: "approve",
|
|
51
|
-
values: [AddressLike, BigNumberish]
|
|
52
|
-
): string;
|
|
53
|
-
encodeFunctionData(
|
|
54
|
-
functionFragment: "balanceOf",
|
|
55
|
-
values: [AddressLike]
|
|
56
|
-
): string;
|
|
57
|
-
encodeFunctionData(
|
|
58
|
-
functionFragment: "burn",
|
|
59
|
-
values: [AddressLike, BigNumberish]
|
|
60
|
-
): string;
|
|
61
|
-
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
62
|
-
encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
|
|
63
|
-
encodeFunctionData(
|
|
64
|
-
functionFragment: "mint",
|
|
65
|
-
values: [AddressLike, BigNumberish]
|
|
66
|
-
): string;
|
|
67
|
-
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
69
|
-
encodeFunctionData(
|
|
70
|
-
functionFragment: "totalSupply",
|
|
71
|
-
values?: undefined
|
|
72
|
-
): string;
|
|
73
|
-
encodeFunctionData(
|
|
74
|
-
functionFragment: "transfer",
|
|
75
|
-
values: [AddressLike, BigNumberish]
|
|
76
|
-
): string;
|
|
77
|
-
encodeFunctionData(
|
|
78
|
-
functionFragment: "transferFrom",
|
|
79
|
-
values: [AddressLike, AddressLike, BigNumberish]
|
|
80
|
-
): string;
|
|
81
|
-
|
|
82
|
-
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
83
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
84
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
85
|
-
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
86
|
-
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
87
|
-
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
88
|
-
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
89
|
-
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
90
|
-
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
91
|
-
decodeFunctionResult(
|
|
92
|
-
functionFragment: "totalSupply",
|
|
93
|
-
data: BytesLike
|
|
94
|
-
): Result;
|
|
95
|
-
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(
|
|
97
|
-
functionFragment: "transferFrom",
|
|
98
|
-
data: BytesLike
|
|
99
|
-
): Result;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export namespace ApprovalEvent {
|
|
103
|
-
export type InputTuple = [
|
|
104
|
-
owner: AddressLike,
|
|
105
|
-
spender: AddressLike,
|
|
106
|
-
value: BigNumberish
|
|
107
|
-
];
|
|
108
|
-
export type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
109
|
-
export interface OutputObject {
|
|
110
|
-
owner: string;
|
|
111
|
-
spender: string;
|
|
112
|
-
value: bigint;
|
|
113
|
-
}
|
|
114
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
115
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
116
|
-
export type Log = TypedEventLog<Event>;
|
|
117
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export namespace TransferEvent {
|
|
121
|
-
export type InputTuple = [
|
|
122
|
-
from: AddressLike,
|
|
123
|
-
to: AddressLike,
|
|
124
|
-
value: BigNumberish
|
|
125
|
-
];
|
|
126
|
-
export type OutputTuple = [from: string, to: string, value: bigint];
|
|
127
|
-
export interface OutputObject {
|
|
128
|
-
from: string;
|
|
129
|
-
to: string;
|
|
130
|
-
value: bigint;
|
|
131
|
-
}
|
|
132
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
133
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
134
|
-
export type Log = TypedEventLog<Event>;
|
|
135
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface WrappedToken extends BaseContract {
|
|
139
|
-
contractName: "WrappedToken";
|
|
140
|
-
|
|
141
|
-
connect(runner?: ContractRunner | null): WrappedToken;
|
|
142
|
-
waitForDeployment(): Promise<this>;
|
|
143
|
-
|
|
144
|
-
interface: WrappedTokenInterface;
|
|
145
|
-
|
|
146
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
147
|
-
event: TCEvent,
|
|
148
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
149
|
-
toBlock?: string | number | undefined
|
|
150
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
151
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
152
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
153
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
154
|
-
toBlock?: string | number | undefined
|
|
155
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
156
|
-
|
|
157
|
-
on<TCEvent extends TypedContractEvent>(
|
|
158
|
-
event: TCEvent,
|
|
159
|
-
listener: TypedListener<TCEvent>
|
|
160
|
-
): Promise<this>;
|
|
161
|
-
on<TCEvent extends TypedContractEvent>(
|
|
162
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
163
|
-
listener: TypedListener<TCEvent>
|
|
164
|
-
): Promise<this>;
|
|
165
|
-
|
|
166
|
-
once<TCEvent extends TypedContractEvent>(
|
|
167
|
-
event: TCEvent,
|
|
168
|
-
listener: TypedListener<TCEvent>
|
|
169
|
-
): Promise<this>;
|
|
170
|
-
once<TCEvent extends TypedContractEvent>(
|
|
171
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
172
|
-
listener: TypedListener<TCEvent>
|
|
173
|
-
): Promise<this>;
|
|
174
|
-
|
|
175
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
176
|
-
event: TCEvent
|
|
177
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
178
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
179
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
180
|
-
event?: TCEvent
|
|
181
|
-
): Promise<this>;
|
|
182
|
-
|
|
183
|
-
allowance: TypedContractMethod<
|
|
184
|
-
[owner: AddressLike, spender: AddressLike],
|
|
185
|
-
[bigint],
|
|
186
|
-
"view"
|
|
187
|
-
>;
|
|
188
|
-
|
|
189
|
-
approve: TypedContractMethod<
|
|
190
|
-
[spender: AddressLike, value: BigNumberish],
|
|
191
|
-
[boolean],
|
|
192
|
-
"nonpayable"
|
|
193
|
-
>;
|
|
194
|
-
|
|
195
|
-
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
196
|
-
|
|
197
|
-
burn: TypedContractMethod<
|
|
198
|
-
[to_: AddressLike, amount_: BigNumberish],
|
|
199
|
-
[void],
|
|
200
|
-
"nonpayable"
|
|
201
|
-
>;
|
|
202
|
-
|
|
203
|
-
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
204
|
-
|
|
205
|
-
deposit: TypedContractMethod<[], [boolean], "payable">;
|
|
206
|
-
|
|
207
|
-
mint: TypedContractMethod<
|
|
208
|
-
[to_: AddressLike, amount_: BigNumberish],
|
|
209
|
-
[void],
|
|
210
|
-
"nonpayable"
|
|
211
|
-
>;
|
|
212
|
-
|
|
213
|
-
name: TypedContractMethod<[], [string], "view">;
|
|
214
|
-
|
|
215
|
-
symbol: TypedContractMethod<[], [string], "view">;
|
|
216
|
-
|
|
217
|
-
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
218
|
-
|
|
219
|
-
transfer: TypedContractMethod<
|
|
220
|
-
[to: AddressLike, value: BigNumberish],
|
|
221
|
-
[boolean],
|
|
222
|
-
"nonpayable"
|
|
223
|
-
>;
|
|
224
|
-
|
|
225
|
-
transferFrom: TypedContractMethod<
|
|
226
|
-
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
227
|
-
[boolean],
|
|
228
|
-
"nonpayable"
|
|
229
|
-
>;
|
|
230
|
-
|
|
231
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
232
|
-
key: string | FunctionFragment
|
|
233
|
-
): T;
|
|
234
|
-
|
|
235
|
-
getFunction(
|
|
236
|
-
nameOrSignature: "allowance"
|
|
237
|
-
): TypedContractMethod<
|
|
238
|
-
[owner: AddressLike, spender: AddressLike],
|
|
239
|
-
[bigint],
|
|
240
|
-
"view"
|
|
241
|
-
>;
|
|
242
|
-
getFunction(
|
|
243
|
-
nameOrSignature: "approve"
|
|
244
|
-
): TypedContractMethod<
|
|
245
|
-
[spender: AddressLike, value: BigNumberish],
|
|
246
|
-
[boolean],
|
|
247
|
-
"nonpayable"
|
|
248
|
-
>;
|
|
249
|
-
getFunction(
|
|
250
|
-
nameOrSignature: "balanceOf"
|
|
251
|
-
): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
252
|
-
getFunction(
|
|
253
|
-
nameOrSignature: "burn"
|
|
254
|
-
): TypedContractMethod<
|
|
255
|
-
[to_: AddressLike, amount_: BigNumberish],
|
|
256
|
-
[void],
|
|
257
|
-
"nonpayable"
|
|
258
|
-
>;
|
|
259
|
-
getFunction(
|
|
260
|
-
nameOrSignature: "decimals"
|
|
261
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
262
|
-
getFunction(
|
|
263
|
-
nameOrSignature: "deposit"
|
|
264
|
-
): TypedContractMethod<[], [boolean], "payable">;
|
|
265
|
-
getFunction(
|
|
266
|
-
nameOrSignature: "mint"
|
|
267
|
-
): TypedContractMethod<
|
|
268
|
-
[to_: AddressLike, amount_: BigNumberish],
|
|
269
|
-
[void],
|
|
270
|
-
"nonpayable"
|
|
271
|
-
>;
|
|
272
|
-
getFunction(
|
|
273
|
-
nameOrSignature: "name"
|
|
274
|
-
): TypedContractMethod<[], [string], "view">;
|
|
275
|
-
getFunction(
|
|
276
|
-
nameOrSignature: "symbol"
|
|
277
|
-
): TypedContractMethod<[], [string], "view">;
|
|
278
|
-
getFunction(
|
|
279
|
-
nameOrSignature: "totalSupply"
|
|
280
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
281
|
-
getFunction(
|
|
282
|
-
nameOrSignature: "transfer"
|
|
283
|
-
): TypedContractMethod<
|
|
284
|
-
[to: AddressLike, value: BigNumberish],
|
|
285
|
-
[boolean],
|
|
286
|
-
"nonpayable"
|
|
287
|
-
>;
|
|
288
|
-
getFunction(
|
|
289
|
-
nameOrSignature: "transferFrom"
|
|
290
|
-
): TypedContractMethod<
|
|
291
|
-
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
292
|
-
[boolean],
|
|
293
|
-
"nonpayable"
|
|
294
|
-
>;
|
|
295
|
-
|
|
296
|
-
getEvent(
|
|
297
|
-
key: "Approval"
|
|
298
|
-
): TypedContractEvent<
|
|
299
|
-
ApprovalEvent.InputTuple,
|
|
300
|
-
ApprovalEvent.OutputTuple,
|
|
301
|
-
ApprovalEvent.OutputObject
|
|
302
|
-
>;
|
|
303
|
-
getEvent(
|
|
304
|
-
key: "Transfer"
|
|
305
|
-
): TypedContractEvent<
|
|
306
|
-
TransferEvent.InputTuple,
|
|
307
|
-
TransferEvent.OutputTuple,
|
|
308
|
-
TransferEvent.OutputObject
|
|
309
|
-
>;
|
|
310
|
-
|
|
311
|
-
filters: {
|
|
312
|
-
"Approval(address,address,uint256)": TypedContractEvent<
|
|
313
|
-
ApprovalEvent.InputTuple,
|
|
314
|
-
ApprovalEvent.OutputTuple,
|
|
315
|
-
ApprovalEvent.OutputObject
|
|
316
|
-
>;
|
|
317
|
-
Approval: TypedContractEvent<
|
|
318
|
-
ApprovalEvent.InputTuple,
|
|
319
|
-
ApprovalEvent.OutputTuple,
|
|
320
|
-
ApprovalEvent.OutputObject
|
|
321
|
-
>;
|
|
322
|
-
|
|
323
|
-
"Transfer(address,address,uint256)": TypedContractEvent<
|
|
324
|
-
TransferEvent.InputTuple,
|
|
325
|
-
TransferEvent.OutputTuple,
|
|
326
|
-
TransferEvent.OutputObject
|
|
327
|
-
>;
|
|
328
|
-
Transfer: TypedContractEvent<
|
|
329
|
-
TransferEvent.InputTuple,
|
|
330
|
-
TransferEvent.OutputTuple,
|
|
331
|
-
TransferEvent.OutputObject
|
|
332
|
-
>;
|
|
333
|
-
};
|
|
334
|
-
}
|