@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,389 +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
|
-
AddressLike,
|
|
12
|
-
ContractRunner,
|
|
13
|
-
ContractMethod,
|
|
14
|
-
Listener,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import type {
|
|
17
|
-
TypedContractEvent,
|
|
18
|
-
TypedDeferredTopicFilter,
|
|
19
|
-
TypedEventLog,
|
|
20
|
-
TypedListener,
|
|
21
|
-
TypedContractMethod,
|
|
22
|
-
} from "../../common";
|
|
23
|
-
|
|
24
|
-
export declare namespace MockGovernance {
|
|
25
|
-
export type ServiceRequestCallStruct = {
|
|
26
|
-
requester: AddressLike;
|
|
27
|
-
serviceFee: BigNumberish;
|
|
28
|
-
neutralsNumber: BigNumberish;
|
|
29
|
-
additionalLink: string;
|
|
30
|
-
data: BytesLike;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export type ServiceRequestCallStructOutput = [
|
|
34
|
-
requester: string,
|
|
35
|
-
serviceFee: bigint,
|
|
36
|
-
neutralsNumber: bigint,
|
|
37
|
-
additionalLink: string,
|
|
38
|
-
data: string
|
|
39
|
-
] & {
|
|
40
|
-
requester: string;
|
|
41
|
-
serviceFee: bigint;
|
|
42
|
-
neutralsNumber: bigint;
|
|
43
|
-
additionalLink: string;
|
|
44
|
-
data: string;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export declare namespace IGovernance {
|
|
49
|
-
export type OperationDataStruct = {
|
|
50
|
-
operation_: BigNumberish;
|
|
51
|
-
to_: AddressLike;
|
|
52
|
-
data_: BytesLike;
|
|
53
|
-
value_: BigNumberish;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export type OperationDataStructOutput = [
|
|
57
|
-
operation_: bigint,
|
|
58
|
-
to_: string,
|
|
59
|
-
data_: string,
|
|
60
|
-
value_: bigint
|
|
61
|
-
] & { operation_: bigint; to_: string; data_: string; value_: bigint };
|
|
62
|
-
|
|
63
|
-
export type OperationBundleStruct = {
|
|
64
|
-
operations: IGovernance.OperationDataStruct[];
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export type OperationBundleStructOutput = [
|
|
68
|
-
operations: IGovernance.OperationDataStructOutput[]
|
|
69
|
-
] & { operations: IGovernance.OperationDataStructOutput[] };
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface MockGovernanceInterface extends Interface {
|
|
73
|
-
getFunction(
|
|
74
|
-
nameOrSignature:
|
|
75
|
-
| "_lastCall"
|
|
76
|
-
| "_parametersRegistry"
|
|
77
|
-
| "_processServiceRequestResult"
|
|
78
|
-
| "_systemToken"
|
|
79
|
-
| "getLastProcessServiceRequestCall"
|
|
80
|
-
| "getParametersRegistry"
|
|
81
|
-
| "getSystemToken"
|
|
82
|
-
| "processServiceRequest"
|
|
83
|
-
| "proposeOperations"
|
|
84
|
-
| "setParametersRegistry"
|
|
85
|
-
| "setProcessServiceRequestResult"
|
|
86
|
-
| "setSystemToken"
|
|
87
|
-
| "supportsInterface"
|
|
88
|
-
): FunctionFragment;
|
|
89
|
-
|
|
90
|
-
encodeFunctionData(functionFragment: "_lastCall", values?: undefined): string;
|
|
91
|
-
encodeFunctionData(
|
|
92
|
-
functionFragment: "_parametersRegistry",
|
|
93
|
-
values?: undefined
|
|
94
|
-
): string;
|
|
95
|
-
encodeFunctionData(
|
|
96
|
-
functionFragment: "_processServiceRequestResult",
|
|
97
|
-
values?: undefined
|
|
98
|
-
): string;
|
|
99
|
-
encodeFunctionData(
|
|
100
|
-
functionFragment: "_systemToken",
|
|
101
|
-
values?: undefined
|
|
102
|
-
): string;
|
|
103
|
-
encodeFunctionData(
|
|
104
|
-
functionFragment: "getLastProcessServiceRequestCall",
|
|
105
|
-
values?: undefined
|
|
106
|
-
): string;
|
|
107
|
-
encodeFunctionData(
|
|
108
|
-
functionFragment: "getParametersRegistry",
|
|
109
|
-
values?: undefined
|
|
110
|
-
): string;
|
|
111
|
-
encodeFunctionData(
|
|
112
|
-
functionFragment: "getSystemToken",
|
|
113
|
-
values?: undefined
|
|
114
|
-
): string;
|
|
115
|
-
encodeFunctionData(
|
|
116
|
-
functionFragment: "processServiceRequest",
|
|
117
|
-
values: [AddressLike, BigNumberish, BigNumberish, string, BytesLike]
|
|
118
|
-
): string;
|
|
119
|
-
encodeFunctionData(
|
|
120
|
-
functionFragment: "proposeOperations",
|
|
121
|
-
values: [BigNumberish, IGovernance.OperationBundleStruct]
|
|
122
|
-
): string;
|
|
123
|
-
encodeFunctionData(
|
|
124
|
-
functionFragment: "setParametersRegistry",
|
|
125
|
-
values: [AddressLike]
|
|
126
|
-
): string;
|
|
127
|
-
encodeFunctionData(
|
|
128
|
-
functionFragment: "setProcessServiceRequestResult",
|
|
129
|
-
values: [boolean]
|
|
130
|
-
): string;
|
|
131
|
-
encodeFunctionData(
|
|
132
|
-
functionFragment: "setSystemToken",
|
|
133
|
-
values: [AddressLike]
|
|
134
|
-
): string;
|
|
135
|
-
encodeFunctionData(
|
|
136
|
-
functionFragment: "supportsInterface",
|
|
137
|
-
values: [BytesLike]
|
|
138
|
-
): string;
|
|
139
|
-
|
|
140
|
-
decodeFunctionResult(functionFragment: "_lastCall", data: BytesLike): Result;
|
|
141
|
-
decodeFunctionResult(
|
|
142
|
-
functionFragment: "_parametersRegistry",
|
|
143
|
-
data: BytesLike
|
|
144
|
-
): Result;
|
|
145
|
-
decodeFunctionResult(
|
|
146
|
-
functionFragment: "_processServiceRequestResult",
|
|
147
|
-
data: BytesLike
|
|
148
|
-
): Result;
|
|
149
|
-
decodeFunctionResult(
|
|
150
|
-
functionFragment: "_systemToken",
|
|
151
|
-
data: BytesLike
|
|
152
|
-
): Result;
|
|
153
|
-
decodeFunctionResult(
|
|
154
|
-
functionFragment: "getLastProcessServiceRequestCall",
|
|
155
|
-
data: BytesLike
|
|
156
|
-
): Result;
|
|
157
|
-
decodeFunctionResult(
|
|
158
|
-
functionFragment: "getParametersRegistry",
|
|
159
|
-
data: BytesLike
|
|
160
|
-
): Result;
|
|
161
|
-
decodeFunctionResult(
|
|
162
|
-
functionFragment: "getSystemToken",
|
|
163
|
-
data: BytesLike
|
|
164
|
-
): Result;
|
|
165
|
-
decodeFunctionResult(
|
|
166
|
-
functionFragment: "processServiceRequest",
|
|
167
|
-
data: BytesLike
|
|
168
|
-
): Result;
|
|
169
|
-
decodeFunctionResult(
|
|
170
|
-
functionFragment: "proposeOperations",
|
|
171
|
-
data: BytesLike
|
|
172
|
-
): Result;
|
|
173
|
-
decodeFunctionResult(
|
|
174
|
-
functionFragment: "setParametersRegistry",
|
|
175
|
-
data: BytesLike
|
|
176
|
-
): Result;
|
|
177
|
-
decodeFunctionResult(
|
|
178
|
-
functionFragment: "setProcessServiceRequestResult",
|
|
179
|
-
data: BytesLike
|
|
180
|
-
): Result;
|
|
181
|
-
decodeFunctionResult(
|
|
182
|
-
functionFragment: "setSystemToken",
|
|
183
|
-
data: BytesLike
|
|
184
|
-
): Result;
|
|
185
|
-
decodeFunctionResult(
|
|
186
|
-
functionFragment: "supportsInterface",
|
|
187
|
-
data: BytesLike
|
|
188
|
-
): Result;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export interface MockGovernance extends BaseContract {
|
|
192
|
-
contractName: "MockGovernance";
|
|
193
|
-
|
|
194
|
-
connect(runner?: ContractRunner | null): MockGovernance;
|
|
195
|
-
waitForDeployment(): Promise<this>;
|
|
196
|
-
|
|
197
|
-
interface: MockGovernanceInterface;
|
|
198
|
-
|
|
199
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
200
|
-
event: TCEvent,
|
|
201
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
202
|
-
toBlock?: string | number | undefined
|
|
203
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
204
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
205
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
206
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
207
|
-
toBlock?: string | number | undefined
|
|
208
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
209
|
-
|
|
210
|
-
on<TCEvent extends TypedContractEvent>(
|
|
211
|
-
event: TCEvent,
|
|
212
|
-
listener: TypedListener<TCEvent>
|
|
213
|
-
): Promise<this>;
|
|
214
|
-
on<TCEvent extends TypedContractEvent>(
|
|
215
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
216
|
-
listener: TypedListener<TCEvent>
|
|
217
|
-
): Promise<this>;
|
|
218
|
-
|
|
219
|
-
once<TCEvent extends TypedContractEvent>(
|
|
220
|
-
event: TCEvent,
|
|
221
|
-
listener: TypedListener<TCEvent>
|
|
222
|
-
): Promise<this>;
|
|
223
|
-
once<TCEvent extends TypedContractEvent>(
|
|
224
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
225
|
-
listener: TypedListener<TCEvent>
|
|
226
|
-
): Promise<this>;
|
|
227
|
-
|
|
228
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
229
|
-
event: TCEvent
|
|
230
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
231
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
232
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
233
|
-
event?: TCEvent
|
|
234
|
-
): Promise<this>;
|
|
235
|
-
|
|
236
|
-
_lastCall: TypedContractMethod<
|
|
237
|
-
[],
|
|
238
|
-
[
|
|
239
|
-
[string, bigint, bigint, string, string] & {
|
|
240
|
-
requester: string;
|
|
241
|
-
serviceFee: bigint;
|
|
242
|
-
neutralsNumber: bigint;
|
|
243
|
-
additionalLink: string;
|
|
244
|
-
data: string;
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"view"
|
|
248
|
-
>;
|
|
249
|
-
|
|
250
|
-
_parametersRegistry: TypedContractMethod<[], [string], "view">;
|
|
251
|
-
|
|
252
|
-
_processServiceRequestResult: TypedContractMethod<[], [boolean], "view">;
|
|
253
|
-
|
|
254
|
-
_systemToken: TypedContractMethod<[], [string], "view">;
|
|
255
|
-
|
|
256
|
-
getLastProcessServiceRequestCall: TypedContractMethod<
|
|
257
|
-
[],
|
|
258
|
-
[MockGovernance.ServiceRequestCallStructOutput],
|
|
259
|
-
"view"
|
|
260
|
-
>;
|
|
261
|
-
|
|
262
|
-
getParametersRegistry: TypedContractMethod<[], [string], "view">;
|
|
263
|
-
|
|
264
|
-
getSystemToken: TypedContractMethod<[], [string], "view">;
|
|
265
|
-
|
|
266
|
-
processServiceRequest: TypedContractMethod<
|
|
267
|
-
[
|
|
268
|
-
requester_: AddressLike,
|
|
269
|
-
serviceFee_: BigNumberish,
|
|
270
|
-
neutralsNumber_: BigNumberish,
|
|
271
|
-
additionalLink_: string,
|
|
272
|
-
data_: BytesLike
|
|
273
|
-
],
|
|
274
|
-
[boolean],
|
|
275
|
-
"payable"
|
|
276
|
-
>;
|
|
277
|
-
|
|
278
|
-
proposeOperations: TypedContractMethod<
|
|
279
|
-
[
|
|
280
|
-
proposalId_: BigNumberish,
|
|
281
|
-
operationBundle_: IGovernance.OperationBundleStruct
|
|
282
|
-
],
|
|
283
|
-
[void],
|
|
284
|
-
"nonpayable"
|
|
285
|
-
>;
|
|
286
|
-
|
|
287
|
-
setParametersRegistry: TypedContractMethod<
|
|
288
|
-
[registry_: AddressLike],
|
|
289
|
-
[void],
|
|
290
|
-
"nonpayable"
|
|
291
|
-
>;
|
|
292
|
-
|
|
293
|
-
setProcessServiceRequestResult: TypedContractMethod<
|
|
294
|
-
[result_: boolean],
|
|
295
|
-
[void],
|
|
296
|
-
"nonpayable"
|
|
297
|
-
>;
|
|
298
|
-
|
|
299
|
-
setSystemToken: TypedContractMethod<
|
|
300
|
-
[token_: AddressLike],
|
|
301
|
-
[void],
|
|
302
|
-
"nonpayable"
|
|
303
|
-
>;
|
|
304
|
-
|
|
305
|
-
supportsInterface: TypedContractMethod<
|
|
306
|
-
[interfaceId: BytesLike],
|
|
307
|
-
[boolean],
|
|
308
|
-
"view"
|
|
309
|
-
>;
|
|
310
|
-
|
|
311
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
312
|
-
key: string | FunctionFragment
|
|
313
|
-
): T;
|
|
314
|
-
|
|
315
|
-
getFunction(
|
|
316
|
-
nameOrSignature: "_lastCall"
|
|
317
|
-
): TypedContractMethod<
|
|
318
|
-
[],
|
|
319
|
-
[
|
|
320
|
-
[string, bigint, bigint, string, string] & {
|
|
321
|
-
requester: string;
|
|
322
|
-
serviceFee: bigint;
|
|
323
|
-
neutralsNumber: bigint;
|
|
324
|
-
additionalLink: string;
|
|
325
|
-
data: string;
|
|
326
|
-
}
|
|
327
|
-
],
|
|
328
|
-
"view"
|
|
329
|
-
>;
|
|
330
|
-
getFunction(
|
|
331
|
-
nameOrSignature: "_parametersRegistry"
|
|
332
|
-
): TypedContractMethod<[], [string], "view">;
|
|
333
|
-
getFunction(
|
|
334
|
-
nameOrSignature: "_processServiceRequestResult"
|
|
335
|
-
): TypedContractMethod<[], [boolean], "view">;
|
|
336
|
-
getFunction(
|
|
337
|
-
nameOrSignature: "_systemToken"
|
|
338
|
-
): TypedContractMethod<[], [string], "view">;
|
|
339
|
-
getFunction(
|
|
340
|
-
nameOrSignature: "getLastProcessServiceRequestCall"
|
|
341
|
-
): TypedContractMethod<
|
|
342
|
-
[],
|
|
343
|
-
[MockGovernance.ServiceRequestCallStructOutput],
|
|
344
|
-
"view"
|
|
345
|
-
>;
|
|
346
|
-
getFunction(
|
|
347
|
-
nameOrSignature: "getParametersRegistry"
|
|
348
|
-
): TypedContractMethod<[], [string], "view">;
|
|
349
|
-
getFunction(
|
|
350
|
-
nameOrSignature: "getSystemToken"
|
|
351
|
-
): TypedContractMethod<[], [string], "view">;
|
|
352
|
-
getFunction(
|
|
353
|
-
nameOrSignature: "processServiceRequest"
|
|
354
|
-
): TypedContractMethod<
|
|
355
|
-
[
|
|
356
|
-
requester_: AddressLike,
|
|
357
|
-
serviceFee_: BigNumberish,
|
|
358
|
-
neutralsNumber_: BigNumberish,
|
|
359
|
-
additionalLink_: string,
|
|
360
|
-
data_: BytesLike
|
|
361
|
-
],
|
|
362
|
-
[boolean],
|
|
363
|
-
"payable"
|
|
364
|
-
>;
|
|
365
|
-
getFunction(
|
|
366
|
-
nameOrSignature: "proposeOperations"
|
|
367
|
-
): TypedContractMethod<
|
|
368
|
-
[
|
|
369
|
-
proposalId_: BigNumberish,
|
|
370
|
-
operationBundle_: IGovernance.OperationBundleStruct
|
|
371
|
-
],
|
|
372
|
-
[void],
|
|
373
|
-
"nonpayable"
|
|
374
|
-
>;
|
|
375
|
-
getFunction(
|
|
376
|
-
nameOrSignature: "setParametersRegistry"
|
|
377
|
-
): TypedContractMethod<[registry_: AddressLike], [void], "nonpayable">;
|
|
378
|
-
getFunction(
|
|
379
|
-
nameOrSignature: "setProcessServiceRequestResult"
|
|
380
|
-
): TypedContractMethod<[result_: boolean], [void], "nonpayable">;
|
|
381
|
-
getFunction(
|
|
382
|
-
nameOrSignature: "setSystemToken"
|
|
383
|
-
): TypedContractMethod<[token_: AddressLike], [void], "nonpayable">;
|
|
384
|
-
getFunction(
|
|
385
|
-
nameOrSignature: "supportsInterface"
|
|
386
|
-
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
387
|
-
|
|
388
|
-
filters: {};
|
|
389
|
-
}
|