@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
|
@@ -0,0 +1,984 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export declare namespace IGovernance {
|
|
4
|
+
type OperationDataStruct = {
|
|
5
|
+
operation_: BigNumberish;
|
|
6
|
+
to_: AddressLike;
|
|
7
|
+
data_: BytesLike;
|
|
8
|
+
value_: BigNumberish;
|
|
9
|
+
};
|
|
10
|
+
type OperationDataStructOutput = [
|
|
11
|
+
operation_: bigint,
|
|
12
|
+
to_: string,
|
|
13
|
+
data_: string,
|
|
14
|
+
value_: bigint
|
|
15
|
+
] & {
|
|
16
|
+
operation_: bigint;
|
|
17
|
+
to_: string;
|
|
18
|
+
data_: string;
|
|
19
|
+
value_: bigint;
|
|
20
|
+
};
|
|
21
|
+
type OperationBundleStruct = {
|
|
22
|
+
operations: IGovernance.OperationDataStruct[];
|
|
23
|
+
};
|
|
24
|
+
type OperationBundleStructOutput = [
|
|
25
|
+
operations: IGovernance.OperationDataStructOutput[]
|
|
26
|
+
] & {
|
|
27
|
+
operations: IGovernance.OperationDataStructOutput[];
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export declare namespace Governance {
|
|
31
|
+
type SLCProposalStateViewStruct = {
|
|
32
|
+
neutralsThreshold: BigNumberish;
|
|
33
|
+
executorsThreshold: BigNumberish;
|
|
34
|
+
neutralToOperationHashes: BytesLike[];
|
|
35
|
+
operationBundles: IGovernance.OperationBundleStruct[];
|
|
36
|
+
positiveExecutorVotes: AddressLike[];
|
|
37
|
+
negativeExecutorVotes: AddressLike[];
|
|
38
|
+
};
|
|
39
|
+
type SLCProposalStateViewStructOutput = [
|
|
40
|
+
neutralsThreshold: bigint,
|
|
41
|
+
executorsThreshold: bigint,
|
|
42
|
+
neutralToOperationHashes: string[],
|
|
43
|
+
operationBundles: IGovernance.OperationBundleStructOutput[],
|
|
44
|
+
positiveExecutorVotes: string[],
|
|
45
|
+
negativeExecutorVotes: string[]
|
|
46
|
+
] & {
|
|
47
|
+
neutralsThreshold: bigint;
|
|
48
|
+
executorsThreshold: bigint;
|
|
49
|
+
neutralToOperationHashes: string[];
|
|
50
|
+
operationBundles: IGovernance.OperationBundleStructOutput[];
|
|
51
|
+
positiveExecutorVotes: string[];
|
|
52
|
+
negativeExecutorVotes: string[];
|
|
53
|
+
};
|
|
54
|
+
type ServiceRequestStateViewStruct = {
|
|
55
|
+
requester: AddressLike;
|
|
56
|
+
serviceFee: BigNumberish;
|
|
57
|
+
neutralsNumber: BigNumberish;
|
|
58
|
+
additionalLink: string;
|
|
59
|
+
selectedNeutrals: AddressLike[];
|
|
60
|
+
data: BytesLike;
|
|
61
|
+
votingPhase: BigNumberish;
|
|
62
|
+
leadingOperationHash: BytesLike;
|
|
63
|
+
requestNonce: BigNumberish;
|
|
64
|
+
proposalIds: BigNumberish[];
|
|
65
|
+
};
|
|
66
|
+
type ServiceRequestStateViewStructOutput = [
|
|
67
|
+
requester: string,
|
|
68
|
+
serviceFee: bigint,
|
|
69
|
+
neutralsNumber: bigint,
|
|
70
|
+
additionalLink: string,
|
|
71
|
+
selectedNeutrals: string[],
|
|
72
|
+
data: string,
|
|
73
|
+
votingPhase: bigint,
|
|
74
|
+
leadingOperationHash: string,
|
|
75
|
+
requestNonce: bigint,
|
|
76
|
+
proposalIds: bigint[]
|
|
77
|
+
] & {
|
|
78
|
+
requester: string;
|
|
79
|
+
serviceFee: bigint;
|
|
80
|
+
neutralsNumber: bigint;
|
|
81
|
+
additionalLink: string;
|
|
82
|
+
selectedNeutrals: string[];
|
|
83
|
+
data: string;
|
|
84
|
+
votingPhase: bigint;
|
|
85
|
+
leadingOperationHash: string;
|
|
86
|
+
requestNonce: bigint;
|
|
87
|
+
proposalIds: bigint[];
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export declare namespace GovernorUpgradeable {
|
|
91
|
+
type ProposalCoreStruct = {
|
|
92
|
+
proposer: AddressLike;
|
|
93
|
+
voteStart: BigNumberish;
|
|
94
|
+
voteDuration: BigNumberish;
|
|
95
|
+
executed: boolean;
|
|
96
|
+
canceled: boolean;
|
|
97
|
+
etaSeconds: BigNumberish;
|
|
98
|
+
};
|
|
99
|
+
type ProposalCoreStructOutput = [
|
|
100
|
+
proposer: string,
|
|
101
|
+
voteStart: bigint,
|
|
102
|
+
voteDuration: bigint,
|
|
103
|
+
executed: boolean,
|
|
104
|
+
canceled: boolean,
|
|
105
|
+
etaSeconds: bigint
|
|
106
|
+
] & {
|
|
107
|
+
proposer: string;
|
|
108
|
+
voteStart: bigint;
|
|
109
|
+
voteDuration: bigint;
|
|
110
|
+
executed: boolean;
|
|
111
|
+
canceled: boolean;
|
|
112
|
+
etaSeconds: bigint;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export interface GovernanceInterface extends Interface {
|
|
116
|
+
getFunction(nameOrSignature: "BALLOT_TYPEHASH" | "CLOCK_MODE" | "COUNTING_MODE" | "EXTENDED_BALLOT_TYPEHASH" | "UPGRADE_INTERFACE_VERSION" | "__Governance_init" | "cancel" | "castVote" | "castVoteBySig" | "castVoteWithReason" | "castVoteWithReasonAndParams" | "castVoteWithReasonAndParamsBySig" | "clock" | "eip712Domain" | "execute" | "getExecutorsThreshold" | "getExecutorsVotingPeriod" | "getNeutralsThreshold" | "getNeutralsVotingPeriod" | "getParametersRegistry" | "getProposalData" | "getProposalId" | "getProposalsByServiceRequest" | "getServiceRequestsBySLCCore" | "getSystemToken" | "getVotes" | "getVotesWithParams" | "hasVoted" | "hashOperation" | "hashProposal" | "implementation" | "name" | "nonces" | "onERC1155BatchReceived" | "onERC1155Received" | "onERC721Received" | "processServiceRequest" | "proposalDeadline" | "proposalEta" | "proposalNeedsQueuing" | "proposalProposer" | "proposalSnapshot" | "proposalThreshold" | "propose" | "proposeOperations" | "proxiableUUID" | "queue" | "quorum" | "relay" | "state" | "supportsInterface" | "upgradeToAndCall" | "version" | "votingDelay" | "votingPeriod"): FunctionFragment;
|
|
117
|
+
getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged" | "Initialized" | "ProposalCanceled" | "ProposalCreated" | "ProposalExecuted" | "ProposalQueued" | "RejectedByExecutors" | "Upgraded" | "VoteCast" | "VoteCastWithParams"): EventFragment;
|
|
118
|
+
encodeFunctionData(functionFragment: "BALLOT_TYPEHASH", values?: undefined): string;
|
|
119
|
+
encodeFunctionData(functionFragment: "CLOCK_MODE", values?: undefined): string;
|
|
120
|
+
encodeFunctionData(functionFragment: "COUNTING_MODE", values?: undefined): string;
|
|
121
|
+
encodeFunctionData(functionFragment: "EXTENDED_BALLOT_TYPEHASH", values?: undefined): string;
|
|
122
|
+
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
123
|
+
encodeFunctionData(functionFragment: "__Governance_init", values: [AddressLike, AddressLike, AddressLike, AddressLike]): string;
|
|
124
|
+
encodeFunctionData(functionFragment: "cancel", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
|
|
125
|
+
encodeFunctionData(functionFragment: "castVote", values: [BigNumberish, BigNumberish]): string;
|
|
126
|
+
encodeFunctionData(functionFragment: "castVoteBySig", values: [BigNumberish, BigNumberish, AddressLike, BytesLike]): string;
|
|
127
|
+
encodeFunctionData(functionFragment: "castVoteWithReason", values: [BigNumberish, BigNumberish, string]): string;
|
|
128
|
+
encodeFunctionData(functionFragment: "castVoteWithReasonAndParams", values: [BigNumberish, BigNumberish, string, BytesLike]): string;
|
|
129
|
+
encodeFunctionData(functionFragment: "castVoteWithReasonAndParamsBySig", values: [
|
|
130
|
+
BigNumberish,
|
|
131
|
+
BigNumberish,
|
|
132
|
+
AddressLike,
|
|
133
|
+
string,
|
|
134
|
+
BytesLike,
|
|
135
|
+
BytesLike
|
|
136
|
+
]): string;
|
|
137
|
+
encodeFunctionData(functionFragment: "clock", values?: undefined): string;
|
|
138
|
+
encodeFunctionData(functionFragment: "eip712Domain", values?: undefined): string;
|
|
139
|
+
encodeFunctionData(functionFragment: "execute", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
|
|
140
|
+
encodeFunctionData(functionFragment: "getExecutorsThreshold", values?: undefined): string;
|
|
141
|
+
encodeFunctionData(functionFragment: "getExecutorsVotingPeriod", values?: undefined): string;
|
|
142
|
+
encodeFunctionData(functionFragment: "getNeutralsThreshold", values?: undefined): string;
|
|
143
|
+
encodeFunctionData(functionFragment: "getNeutralsVotingPeriod", values?: undefined): string;
|
|
144
|
+
encodeFunctionData(functionFragment: "getParametersRegistry", values?: undefined): string;
|
|
145
|
+
encodeFunctionData(functionFragment: "getProposalData", values: [BigNumberish]): string;
|
|
146
|
+
encodeFunctionData(functionFragment: "getProposalId", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: "getProposalsByServiceRequest", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: "getServiceRequestsBySLCCore", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
149
|
+
encodeFunctionData(functionFragment: "getSystemToken", values?: undefined): string;
|
|
150
|
+
encodeFunctionData(functionFragment: "getVotes", values: [AddressLike, BigNumberish]): string;
|
|
151
|
+
encodeFunctionData(functionFragment: "getVotesWithParams", values: [AddressLike, BigNumberish, BytesLike]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: "hasVoted", values: [BigNumberish, AddressLike]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: "hashOperation", values: [IGovernance.OperationBundleStruct]): string;
|
|
154
|
+
encodeFunctionData(functionFragment: "hashProposal", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
|
|
155
|
+
encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
|
|
156
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
157
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
|
158
|
+
encodeFunctionData(functionFragment: "onERC1155BatchReceived", values: [
|
|
159
|
+
AddressLike,
|
|
160
|
+
AddressLike,
|
|
161
|
+
BigNumberish[],
|
|
162
|
+
BigNumberish[],
|
|
163
|
+
BytesLike
|
|
164
|
+
]): string;
|
|
165
|
+
encodeFunctionData(functionFragment: "onERC1155Received", values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]): string;
|
|
166
|
+
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
167
|
+
encodeFunctionData(functionFragment: "processServiceRequest", values: [AddressLike, BigNumberish, BigNumberish, string, BytesLike]): string;
|
|
168
|
+
encodeFunctionData(functionFragment: "proposalDeadline", values: [BigNumberish]): string;
|
|
169
|
+
encodeFunctionData(functionFragment: "proposalEta", values: [BigNumberish]): string;
|
|
170
|
+
encodeFunctionData(functionFragment: "proposalNeedsQueuing", values: [BigNumberish]): string;
|
|
171
|
+
encodeFunctionData(functionFragment: "proposalProposer", values: [BigNumberish]): string;
|
|
172
|
+
encodeFunctionData(functionFragment: "proposalSnapshot", values: [BigNumberish]): string;
|
|
173
|
+
encodeFunctionData(functionFragment: "proposalThreshold", values?: undefined): string;
|
|
174
|
+
encodeFunctionData(functionFragment: "propose", values: [AddressLike[], BigNumberish[], BytesLike[], string]): string;
|
|
175
|
+
encodeFunctionData(functionFragment: "proposeOperations", values: [BigNumberish, IGovernance.OperationBundleStruct]): string;
|
|
176
|
+
encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
|
|
177
|
+
encodeFunctionData(functionFragment: "queue", values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]): string;
|
|
178
|
+
encodeFunctionData(functionFragment: "quorum", values: [BigNumberish]): string;
|
|
179
|
+
encodeFunctionData(functionFragment: "relay", values: [AddressLike, BigNumberish, BytesLike]): string;
|
|
180
|
+
encodeFunctionData(functionFragment: "state", values: [BigNumberish]): string;
|
|
181
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
182
|
+
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
183
|
+
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
184
|
+
encodeFunctionData(functionFragment: "votingDelay", values?: undefined): string;
|
|
185
|
+
encodeFunctionData(functionFragment: "votingPeriod", values?: undefined): string;
|
|
186
|
+
decodeFunctionResult(functionFragment: "BALLOT_TYPEHASH", data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: "COUNTING_MODE", data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: "EXTENDED_BALLOT_TYPEHASH", data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: "__Governance_init", data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: "cancel", data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: "castVote", data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: "castVoteBySig", data: BytesLike): Result;
|
|
195
|
+
decodeFunctionResult(functionFragment: "castVoteWithReason", data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: "castVoteWithReasonAndParams", data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: "castVoteWithReasonAndParamsBySig", data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: "eip712Domain", data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: "getExecutorsThreshold", data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: "getExecutorsVotingPeriod", data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: "getNeutralsThreshold", data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: "getNeutralsVotingPeriod", data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: "getParametersRegistry", data: BytesLike): Result;
|
|
206
|
+
decodeFunctionResult(functionFragment: "getProposalData", data: BytesLike): Result;
|
|
207
|
+
decodeFunctionResult(functionFragment: "getProposalId", data: BytesLike): Result;
|
|
208
|
+
decodeFunctionResult(functionFragment: "getProposalsByServiceRequest", data: BytesLike): Result;
|
|
209
|
+
decodeFunctionResult(functionFragment: "getServiceRequestsBySLCCore", data: BytesLike): Result;
|
|
210
|
+
decodeFunctionResult(functionFragment: "getSystemToken", data: BytesLike): Result;
|
|
211
|
+
decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: "getVotesWithParams", data: BytesLike): Result;
|
|
213
|
+
decodeFunctionResult(functionFragment: "hasVoted", data: BytesLike): Result;
|
|
214
|
+
decodeFunctionResult(functionFragment: "hashOperation", data: BytesLike): Result;
|
|
215
|
+
decodeFunctionResult(functionFragment: "hashProposal", data: BytesLike): Result;
|
|
216
|
+
decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
|
|
217
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
218
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
219
|
+
decodeFunctionResult(functionFragment: "onERC1155BatchReceived", data: BytesLike): Result;
|
|
220
|
+
decodeFunctionResult(functionFragment: "onERC1155Received", data: BytesLike): Result;
|
|
221
|
+
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
222
|
+
decodeFunctionResult(functionFragment: "processServiceRequest", data: BytesLike): Result;
|
|
223
|
+
decodeFunctionResult(functionFragment: "proposalDeadline", data: BytesLike): Result;
|
|
224
|
+
decodeFunctionResult(functionFragment: "proposalEta", data: BytesLike): Result;
|
|
225
|
+
decodeFunctionResult(functionFragment: "proposalNeedsQueuing", data: BytesLike): Result;
|
|
226
|
+
decodeFunctionResult(functionFragment: "proposalProposer", data: BytesLike): Result;
|
|
227
|
+
decodeFunctionResult(functionFragment: "proposalSnapshot", data: BytesLike): Result;
|
|
228
|
+
decodeFunctionResult(functionFragment: "proposalThreshold", data: BytesLike): Result;
|
|
229
|
+
decodeFunctionResult(functionFragment: "propose", data: BytesLike): Result;
|
|
230
|
+
decodeFunctionResult(functionFragment: "proposeOperations", data: BytesLike): Result;
|
|
231
|
+
decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
|
|
232
|
+
decodeFunctionResult(functionFragment: "queue", data: BytesLike): Result;
|
|
233
|
+
decodeFunctionResult(functionFragment: "quorum", data: BytesLike): Result;
|
|
234
|
+
decodeFunctionResult(functionFragment: "relay", data: BytesLike): Result;
|
|
235
|
+
decodeFunctionResult(functionFragment: "state", data: BytesLike): Result;
|
|
236
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
237
|
+
decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
|
|
238
|
+
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
239
|
+
decodeFunctionResult(functionFragment: "votingDelay", data: BytesLike): Result;
|
|
240
|
+
decodeFunctionResult(functionFragment: "votingPeriod", data: BytesLike): Result;
|
|
241
|
+
}
|
|
242
|
+
export declare namespace EIP712DomainChangedEvent {
|
|
243
|
+
type InputTuple = [];
|
|
244
|
+
type OutputTuple = [];
|
|
245
|
+
interface OutputObject {
|
|
246
|
+
}
|
|
247
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
248
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
249
|
+
type Log = TypedEventLog<Event>;
|
|
250
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
251
|
+
}
|
|
252
|
+
export declare namespace InitializedEvent {
|
|
253
|
+
type InputTuple = [version: BigNumberish];
|
|
254
|
+
type OutputTuple = [version: bigint];
|
|
255
|
+
interface OutputObject {
|
|
256
|
+
version: bigint;
|
|
257
|
+
}
|
|
258
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
259
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
260
|
+
type Log = TypedEventLog<Event>;
|
|
261
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
262
|
+
}
|
|
263
|
+
export declare namespace ProposalCanceledEvent {
|
|
264
|
+
type InputTuple = [proposalId: BigNumberish];
|
|
265
|
+
type OutputTuple = [proposalId: bigint];
|
|
266
|
+
interface OutputObject {
|
|
267
|
+
proposalId: bigint;
|
|
268
|
+
}
|
|
269
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
270
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
271
|
+
type Log = TypedEventLog<Event>;
|
|
272
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
273
|
+
}
|
|
274
|
+
export declare namespace ProposalCreatedEvent {
|
|
275
|
+
type InputTuple = [
|
|
276
|
+
proposalId: BigNumberish,
|
|
277
|
+
proposer: AddressLike,
|
|
278
|
+
targets: AddressLike[],
|
|
279
|
+
values: BigNumberish[],
|
|
280
|
+
signatures: string[],
|
|
281
|
+
calldatas: BytesLike[],
|
|
282
|
+
voteStart: BigNumberish,
|
|
283
|
+
voteEnd: BigNumberish,
|
|
284
|
+
description: string
|
|
285
|
+
];
|
|
286
|
+
type OutputTuple = [
|
|
287
|
+
proposalId: bigint,
|
|
288
|
+
proposer: string,
|
|
289
|
+
targets: string[],
|
|
290
|
+
values: bigint[],
|
|
291
|
+
signatures: string[],
|
|
292
|
+
calldatas: string[],
|
|
293
|
+
voteStart: bigint,
|
|
294
|
+
voteEnd: bigint,
|
|
295
|
+
description: string
|
|
296
|
+
];
|
|
297
|
+
interface OutputObject {
|
|
298
|
+
proposalId: bigint;
|
|
299
|
+
proposer: string;
|
|
300
|
+
targets: string[];
|
|
301
|
+
values: bigint[];
|
|
302
|
+
signatures: string[];
|
|
303
|
+
calldatas: string[];
|
|
304
|
+
voteStart: bigint;
|
|
305
|
+
voteEnd: bigint;
|
|
306
|
+
description: string;
|
|
307
|
+
}
|
|
308
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
309
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
310
|
+
type Log = TypedEventLog<Event>;
|
|
311
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
312
|
+
}
|
|
313
|
+
export declare namespace ProposalExecutedEvent {
|
|
314
|
+
type InputTuple = [proposalId: BigNumberish];
|
|
315
|
+
type OutputTuple = [proposalId: bigint];
|
|
316
|
+
interface OutputObject {
|
|
317
|
+
proposalId: bigint;
|
|
318
|
+
}
|
|
319
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
320
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
321
|
+
type Log = TypedEventLog<Event>;
|
|
322
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
323
|
+
}
|
|
324
|
+
export declare namespace ProposalQueuedEvent {
|
|
325
|
+
type InputTuple = [proposalId: BigNumberish, etaSeconds: BigNumberish];
|
|
326
|
+
type OutputTuple = [proposalId: bigint, etaSeconds: bigint];
|
|
327
|
+
interface OutputObject {
|
|
328
|
+
proposalId: bigint;
|
|
329
|
+
etaSeconds: bigint;
|
|
330
|
+
}
|
|
331
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
332
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
333
|
+
type Log = TypedEventLog<Event>;
|
|
334
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
335
|
+
}
|
|
336
|
+
export declare namespace RejectedByExecutorsEvent {
|
|
337
|
+
type InputTuple = [
|
|
338
|
+
proposalId: BigNumberish,
|
|
339
|
+
newProposalId: BigNumberish
|
|
340
|
+
];
|
|
341
|
+
type OutputTuple = [proposalId: bigint, newProposalId: bigint];
|
|
342
|
+
interface OutputObject {
|
|
343
|
+
proposalId: bigint;
|
|
344
|
+
newProposalId: bigint;
|
|
345
|
+
}
|
|
346
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
347
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
348
|
+
type Log = TypedEventLog<Event>;
|
|
349
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
350
|
+
}
|
|
351
|
+
export declare namespace UpgradedEvent {
|
|
352
|
+
type InputTuple = [implementation: AddressLike];
|
|
353
|
+
type OutputTuple = [implementation: string];
|
|
354
|
+
interface OutputObject {
|
|
355
|
+
implementation: string;
|
|
356
|
+
}
|
|
357
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
358
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
359
|
+
type Log = TypedEventLog<Event>;
|
|
360
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
361
|
+
}
|
|
362
|
+
export declare namespace VoteCastEvent {
|
|
363
|
+
type InputTuple = [
|
|
364
|
+
voter: AddressLike,
|
|
365
|
+
proposalId: BigNumberish,
|
|
366
|
+
support: BigNumberish,
|
|
367
|
+
weight: BigNumberish,
|
|
368
|
+
reason: string
|
|
369
|
+
];
|
|
370
|
+
type OutputTuple = [
|
|
371
|
+
voter: string,
|
|
372
|
+
proposalId: bigint,
|
|
373
|
+
support: bigint,
|
|
374
|
+
weight: bigint,
|
|
375
|
+
reason: string
|
|
376
|
+
];
|
|
377
|
+
interface OutputObject {
|
|
378
|
+
voter: string;
|
|
379
|
+
proposalId: bigint;
|
|
380
|
+
support: bigint;
|
|
381
|
+
weight: bigint;
|
|
382
|
+
reason: string;
|
|
383
|
+
}
|
|
384
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
385
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
386
|
+
type Log = TypedEventLog<Event>;
|
|
387
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
388
|
+
}
|
|
389
|
+
export declare namespace VoteCastWithParamsEvent {
|
|
390
|
+
type InputTuple = [
|
|
391
|
+
voter: AddressLike,
|
|
392
|
+
proposalId: BigNumberish,
|
|
393
|
+
support: BigNumberish,
|
|
394
|
+
weight: BigNumberish,
|
|
395
|
+
reason: string,
|
|
396
|
+
params: BytesLike
|
|
397
|
+
];
|
|
398
|
+
type OutputTuple = [
|
|
399
|
+
voter: string,
|
|
400
|
+
proposalId: bigint,
|
|
401
|
+
support: bigint,
|
|
402
|
+
weight: bigint,
|
|
403
|
+
reason: string,
|
|
404
|
+
params: string
|
|
405
|
+
];
|
|
406
|
+
interface OutputObject {
|
|
407
|
+
voter: string;
|
|
408
|
+
proposalId: bigint;
|
|
409
|
+
support: bigint;
|
|
410
|
+
weight: bigint;
|
|
411
|
+
reason: string;
|
|
412
|
+
params: string;
|
|
413
|
+
}
|
|
414
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
415
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
416
|
+
type Log = TypedEventLog<Event>;
|
|
417
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
418
|
+
}
|
|
419
|
+
export interface Governance extends BaseContract {
|
|
420
|
+
contractName: "Governance";
|
|
421
|
+
connect(runner?: ContractRunner | null): Governance;
|
|
422
|
+
waitForDeployment(): Promise<this>;
|
|
423
|
+
interface: GovernanceInterface;
|
|
424
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
425
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
426
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
427
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
428
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
429
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
430
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
431
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
432
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
433
|
+
BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
434
|
+
CLOCK_MODE: TypedContractMethod<[], [string], "view">;
|
|
435
|
+
COUNTING_MODE: TypedContractMethod<[], [string], "view">;
|
|
436
|
+
EXTENDED_BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
|
437
|
+
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
438
|
+
__Governance_init: TypedContractMethod<[
|
|
439
|
+
token_: AddressLike,
|
|
440
|
+
executorsRegistry_: AddressLike,
|
|
441
|
+
neutralsRegistry_: AddressLike,
|
|
442
|
+
parametersRegistry_: AddressLike
|
|
443
|
+
], [
|
|
444
|
+
void
|
|
445
|
+
], "nonpayable">;
|
|
446
|
+
cancel: TypedContractMethod<[
|
|
447
|
+
targets: AddressLike[],
|
|
448
|
+
values: BigNumberish[],
|
|
449
|
+
calldatas: BytesLike[],
|
|
450
|
+
descriptionHash: BytesLike
|
|
451
|
+
], [
|
|
452
|
+
bigint
|
|
453
|
+
], "nonpayable">;
|
|
454
|
+
castVote: TypedContractMethod<[
|
|
455
|
+
proposalId: BigNumberish,
|
|
456
|
+
support: BigNumberish
|
|
457
|
+
], [
|
|
458
|
+
bigint
|
|
459
|
+
], "nonpayable">;
|
|
460
|
+
castVoteBySig: TypedContractMethod<[
|
|
461
|
+
proposalId: BigNumberish,
|
|
462
|
+
support: BigNumberish,
|
|
463
|
+
voter: AddressLike,
|
|
464
|
+
signature: BytesLike
|
|
465
|
+
], [
|
|
466
|
+
bigint
|
|
467
|
+
], "nonpayable">;
|
|
468
|
+
castVoteWithReason: TypedContractMethod<[
|
|
469
|
+
proposalId: BigNumberish,
|
|
470
|
+
support: BigNumberish,
|
|
471
|
+
reason: string
|
|
472
|
+
], [
|
|
473
|
+
bigint
|
|
474
|
+
], "nonpayable">;
|
|
475
|
+
castVoteWithReasonAndParams: TypedContractMethod<[
|
|
476
|
+
proposalId: BigNumberish,
|
|
477
|
+
support: BigNumberish,
|
|
478
|
+
reason: string,
|
|
479
|
+
params: BytesLike
|
|
480
|
+
], [
|
|
481
|
+
bigint
|
|
482
|
+
], "nonpayable">;
|
|
483
|
+
castVoteWithReasonAndParamsBySig: TypedContractMethod<[
|
|
484
|
+
proposalId: BigNumberish,
|
|
485
|
+
support: BigNumberish,
|
|
486
|
+
voter: AddressLike,
|
|
487
|
+
reason: string,
|
|
488
|
+
params: BytesLike,
|
|
489
|
+
signature: BytesLike
|
|
490
|
+
], [
|
|
491
|
+
bigint
|
|
492
|
+
], "nonpayable">;
|
|
493
|
+
clock: TypedContractMethod<[], [bigint], "view">;
|
|
494
|
+
eip712Domain: TypedContractMethod<[
|
|
495
|
+
], [
|
|
496
|
+
[
|
|
497
|
+
string,
|
|
498
|
+
string,
|
|
499
|
+
string,
|
|
500
|
+
bigint,
|
|
501
|
+
string,
|
|
502
|
+
string,
|
|
503
|
+
bigint[]
|
|
504
|
+
] & {
|
|
505
|
+
fields: string;
|
|
506
|
+
name: string;
|
|
507
|
+
version: string;
|
|
508
|
+
chainId: bigint;
|
|
509
|
+
verifyingContract: string;
|
|
510
|
+
salt: string;
|
|
511
|
+
extensions: bigint[];
|
|
512
|
+
}
|
|
513
|
+
], "view">;
|
|
514
|
+
execute: TypedContractMethod<[
|
|
515
|
+
targets: AddressLike[],
|
|
516
|
+
values: BigNumberish[],
|
|
517
|
+
calldatas: BytesLike[],
|
|
518
|
+
descriptionHash: BytesLike
|
|
519
|
+
], [
|
|
520
|
+
bigint
|
|
521
|
+
], "payable">;
|
|
522
|
+
getExecutorsThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
523
|
+
getExecutorsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
|
|
524
|
+
getNeutralsThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
525
|
+
getNeutralsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
|
|
526
|
+
getParametersRegistry: TypedContractMethod<[], [string], "view">;
|
|
527
|
+
getProposalData: TypedContractMethod<[
|
|
528
|
+
proposalId: BigNumberish
|
|
529
|
+
], [
|
|
530
|
+
[
|
|
531
|
+
Governance.SLCProposalStateViewStructOutput,
|
|
532
|
+
GovernorUpgradeable.ProposalCoreStructOutput
|
|
533
|
+
]
|
|
534
|
+
], "view">;
|
|
535
|
+
getProposalId: TypedContractMethod<[
|
|
536
|
+
targets: AddressLike[],
|
|
537
|
+
values: BigNumberish[],
|
|
538
|
+
calldatas: BytesLike[],
|
|
539
|
+
descriptionHash: BytesLike
|
|
540
|
+
], [
|
|
541
|
+
bigint
|
|
542
|
+
], "view">;
|
|
543
|
+
getProposalsByServiceRequest: TypedContractMethod<[
|
|
544
|
+
slcCore_: AddressLike,
|
|
545
|
+
requestNumber_: BigNumberish,
|
|
546
|
+
offset_: BigNumberish,
|
|
547
|
+
limit_: BigNumberish
|
|
548
|
+
], [
|
|
549
|
+
[
|
|
550
|
+
Governance.SLCProposalStateViewStructOutput[],
|
|
551
|
+
GovernorUpgradeable.ProposalCoreStructOutput[]
|
|
552
|
+
]
|
|
553
|
+
], "view">;
|
|
554
|
+
getServiceRequestsBySLCCore: TypedContractMethod<[
|
|
555
|
+
slcCore_: AddressLike,
|
|
556
|
+
offset_: BigNumberish,
|
|
557
|
+
limit_: BigNumberish
|
|
558
|
+
], [
|
|
559
|
+
Governance.ServiceRequestStateViewStructOutput[]
|
|
560
|
+
], "view">;
|
|
561
|
+
getSystemToken: TypedContractMethod<[], [string], "view">;
|
|
562
|
+
getVotes: TypedContractMethod<[
|
|
563
|
+
account: AddressLike,
|
|
564
|
+
timepoint: BigNumberish
|
|
565
|
+
], [
|
|
566
|
+
bigint
|
|
567
|
+
], "view">;
|
|
568
|
+
getVotesWithParams: TypedContractMethod<[
|
|
569
|
+
account: AddressLike,
|
|
570
|
+
timepoint: BigNumberish,
|
|
571
|
+
params: BytesLike
|
|
572
|
+
], [
|
|
573
|
+
bigint
|
|
574
|
+
], "view">;
|
|
575
|
+
hasVoted: TypedContractMethod<[
|
|
576
|
+
proposalId: BigNumberish,
|
|
577
|
+
account: AddressLike
|
|
578
|
+
], [
|
|
579
|
+
boolean
|
|
580
|
+
], "view">;
|
|
581
|
+
hashOperation: TypedContractMethod<[
|
|
582
|
+
operation_: IGovernance.OperationBundleStruct
|
|
583
|
+
], [
|
|
584
|
+
string
|
|
585
|
+
], "view">;
|
|
586
|
+
hashProposal: TypedContractMethod<[
|
|
587
|
+
targets: AddressLike[],
|
|
588
|
+
values: BigNumberish[],
|
|
589
|
+
calldatas: BytesLike[],
|
|
590
|
+
descriptionHash: BytesLike
|
|
591
|
+
], [
|
|
592
|
+
bigint
|
|
593
|
+
], "view">;
|
|
594
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
|
595
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
596
|
+
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
597
|
+
onERC1155BatchReceived: TypedContractMethod<[
|
|
598
|
+
arg0: AddressLike,
|
|
599
|
+
arg1: AddressLike,
|
|
600
|
+
arg2: BigNumberish[],
|
|
601
|
+
arg3: BigNumberish[],
|
|
602
|
+
arg4: BytesLike
|
|
603
|
+
], [
|
|
604
|
+
string
|
|
605
|
+
], "nonpayable">;
|
|
606
|
+
onERC1155Received: TypedContractMethod<[
|
|
607
|
+
arg0: AddressLike,
|
|
608
|
+
arg1: AddressLike,
|
|
609
|
+
arg2: BigNumberish,
|
|
610
|
+
arg3: BigNumberish,
|
|
611
|
+
arg4: BytesLike
|
|
612
|
+
], [
|
|
613
|
+
string
|
|
614
|
+
], "nonpayable">;
|
|
615
|
+
onERC721Received: TypedContractMethod<[
|
|
616
|
+
arg0: AddressLike,
|
|
617
|
+
arg1: AddressLike,
|
|
618
|
+
arg2: BigNumberish,
|
|
619
|
+
arg3: BytesLike
|
|
620
|
+
], [
|
|
621
|
+
string
|
|
622
|
+
], "nonpayable">;
|
|
623
|
+
processServiceRequest: TypedContractMethod<[
|
|
624
|
+
requester_: AddressLike,
|
|
625
|
+
serviceFee_: BigNumberish,
|
|
626
|
+
neutralsNumber_: BigNumberish,
|
|
627
|
+
additionalLink_: string,
|
|
628
|
+
data_: BytesLike
|
|
629
|
+
], [
|
|
630
|
+
boolean
|
|
631
|
+
], "payable">;
|
|
632
|
+
proposalDeadline: TypedContractMethod<[
|
|
633
|
+
proposalId: BigNumberish
|
|
634
|
+
], [
|
|
635
|
+
bigint
|
|
636
|
+
], "view">;
|
|
637
|
+
proposalEta: TypedContractMethod<[
|
|
638
|
+
proposalId: BigNumberish
|
|
639
|
+
], [
|
|
640
|
+
bigint
|
|
641
|
+
], "view">;
|
|
642
|
+
proposalNeedsQueuing: TypedContractMethod<[
|
|
643
|
+
arg0: BigNumberish
|
|
644
|
+
], [
|
|
645
|
+
boolean
|
|
646
|
+
], "view">;
|
|
647
|
+
proposalProposer: TypedContractMethod<[
|
|
648
|
+
proposalId: BigNumberish
|
|
649
|
+
], [
|
|
650
|
+
string
|
|
651
|
+
], "view">;
|
|
652
|
+
proposalSnapshot: TypedContractMethod<[
|
|
653
|
+
proposalId: BigNumberish
|
|
654
|
+
], [
|
|
655
|
+
bigint
|
|
656
|
+
], "view">;
|
|
657
|
+
proposalThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
658
|
+
propose: TypedContractMethod<[
|
|
659
|
+
targets: AddressLike[],
|
|
660
|
+
values: BigNumberish[],
|
|
661
|
+
calldatas: BytesLike[],
|
|
662
|
+
description: string
|
|
663
|
+
], [
|
|
664
|
+
bigint
|
|
665
|
+
], "nonpayable">;
|
|
666
|
+
proposeOperations: TypedContractMethod<[
|
|
667
|
+
proposalId_: BigNumberish,
|
|
668
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
|
669
|
+
], [
|
|
670
|
+
void
|
|
671
|
+
], "nonpayable">;
|
|
672
|
+
proxiableUUID: TypedContractMethod<[], [string], "view">;
|
|
673
|
+
queue: TypedContractMethod<[
|
|
674
|
+
targets: AddressLike[],
|
|
675
|
+
values: BigNumberish[],
|
|
676
|
+
calldatas: BytesLike[],
|
|
677
|
+
descriptionHash: BytesLike
|
|
678
|
+
], [
|
|
679
|
+
bigint
|
|
680
|
+
], "nonpayable">;
|
|
681
|
+
quorum: TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">;
|
|
682
|
+
relay: TypedContractMethod<[
|
|
683
|
+
target: AddressLike,
|
|
684
|
+
value: BigNumberish,
|
|
685
|
+
data: BytesLike
|
|
686
|
+
], [
|
|
687
|
+
void
|
|
688
|
+
], "payable">;
|
|
689
|
+
state: TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
690
|
+
supportsInterface: TypedContractMethod<[
|
|
691
|
+
interfaceId_: BytesLike
|
|
692
|
+
], [
|
|
693
|
+
boolean
|
|
694
|
+
], "view">;
|
|
695
|
+
upgradeToAndCall: TypedContractMethod<[
|
|
696
|
+
newImplementation: AddressLike,
|
|
697
|
+
data: BytesLike
|
|
698
|
+
], [
|
|
699
|
+
void
|
|
700
|
+
], "payable">;
|
|
701
|
+
version: TypedContractMethod<[], [string], "view">;
|
|
702
|
+
votingDelay: TypedContractMethod<[], [bigint], "view">;
|
|
703
|
+
votingPeriod: TypedContractMethod<[], [bigint], "view">;
|
|
704
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
705
|
+
getFunction(nameOrSignature: "BALLOT_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
706
|
+
getFunction(nameOrSignature: "CLOCK_MODE"): TypedContractMethod<[], [string], "view">;
|
|
707
|
+
getFunction(nameOrSignature: "COUNTING_MODE"): TypedContractMethod<[], [string], "view">;
|
|
708
|
+
getFunction(nameOrSignature: "EXTENDED_BALLOT_TYPEHASH"): TypedContractMethod<[], [string], "view">;
|
|
709
|
+
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
710
|
+
getFunction(nameOrSignature: "__Governance_init"): TypedContractMethod<[
|
|
711
|
+
token_: AddressLike,
|
|
712
|
+
executorsRegistry_: AddressLike,
|
|
713
|
+
neutralsRegistry_: AddressLike,
|
|
714
|
+
parametersRegistry_: AddressLike
|
|
715
|
+
], [
|
|
716
|
+
void
|
|
717
|
+
], "nonpayable">;
|
|
718
|
+
getFunction(nameOrSignature: "cancel"): TypedContractMethod<[
|
|
719
|
+
targets: AddressLike[],
|
|
720
|
+
values: BigNumberish[],
|
|
721
|
+
calldatas: BytesLike[],
|
|
722
|
+
descriptionHash: BytesLike
|
|
723
|
+
], [
|
|
724
|
+
bigint
|
|
725
|
+
], "nonpayable">;
|
|
726
|
+
getFunction(nameOrSignature: "castVote"): TypedContractMethod<[
|
|
727
|
+
proposalId: BigNumberish,
|
|
728
|
+
support: BigNumberish
|
|
729
|
+
], [
|
|
730
|
+
bigint
|
|
731
|
+
], "nonpayable">;
|
|
732
|
+
getFunction(nameOrSignature: "castVoteBySig"): TypedContractMethod<[
|
|
733
|
+
proposalId: BigNumberish,
|
|
734
|
+
support: BigNumberish,
|
|
735
|
+
voter: AddressLike,
|
|
736
|
+
signature: BytesLike
|
|
737
|
+
], [
|
|
738
|
+
bigint
|
|
739
|
+
], "nonpayable">;
|
|
740
|
+
getFunction(nameOrSignature: "castVoteWithReason"): TypedContractMethod<[
|
|
741
|
+
proposalId: BigNumberish,
|
|
742
|
+
support: BigNumberish,
|
|
743
|
+
reason: string
|
|
744
|
+
], [
|
|
745
|
+
bigint
|
|
746
|
+
], "nonpayable">;
|
|
747
|
+
getFunction(nameOrSignature: "castVoteWithReasonAndParams"): TypedContractMethod<[
|
|
748
|
+
proposalId: BigNumberish,
|
|
749
|
+
support: BigNumberish,
|
|
750
|
+
reason: string,
|
|
751
|
+
params: BytesLike
|
|
752
|
+
], [
|
|
753
|
+
bigint
|
|
754
|
+
], "nonpayable">;
|
|
755
|
+
getFunction(nameOrSignature: "castVoteWithReasonAndParamsBySig"): TypedContractMethod<[
|
|
756
|
+
proposalId: BigNumberish,
|
|
757
|
+
support: BigNumberish,
|
|
758
|
+
voter: AddressLike,
|
|
759
|
+
reason: string,
|
|
760
|
+
params: BytesLike,
|
|
761
|
+
signature: BytesLike
|
|
762
|
+
], [
|
|
763
|
+
bigint
|
|
764
|
+
], "nonpayable">;
|
|
765
|
+
getFunction(nameOrSignature: "clock"): TypedContractMethod<[], [bigint], "view">;
|
|
766
|
+
getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod<[
|
|
767
|
+
], [
|
|
768
|
+
[
|
|
769
|
+
string,
|
|
770
|
+
string,
|
|
771
|
+
string,
|
|
772
|
+
bigint,
|
|
773
|
+
string,
|
|
774
|
+
string,
|
|
775
|
+
bigint[]
|
|
776
|
+
] & {
|
|
777
|
+
fields: string;
|
|
778
|
+
name: string;
|
|
779
|
+
version: string;
|
|
780
|
+
chainId: bigint;
|
|
781
|
+
verifyingContract: string;
|
|
782
|
+
salt: string;
|
|
783
|
+
extensions: bigint[];
|
|
784
|
+
}
|
|
785
|
+
], "view">;
|
|
786
|
+
getFunction(nameOrSignature: "execute"): TypedContractMethod<[
|
|
787
|
+
targets: AddressLike[],
|
|
788
|
+
values: BigNumberish[],
|
|
789
|
+
calldatas: BytesLike[],
|
|
790
|
+
descriptionHash: BytesLike
|
|
791
|
+
], [
|
|
792
|
+
bigint
|
|
793
|
+
], "payable">;
|
|
794
|
+
getFunction(nameOrSignature: "getExecutorsThreshold"): TypedContractMethod<[], [bigint], "view">;
|
|
795
|
+
getFunction(nameOrSignature: "getExecutorsVotingPeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
796
|
+
getFunction(nameOrSignature: "getNeutralsThreshold"): TypedContractMethod<[], [bigint], "view">;
|
|
797
|
+
getFunction(nameOrSignature: "getNeutralsVotingPeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
798
|
+
getFunction(nameOrSignature: "getParametersRegistry"): TypedContractMethod<[], [string], "view">;
|
|
799
|
+
getFunction(nameOrSignature: "getProposalData"): TypedContractMethod<[
|
|
800
|
+
proposalId: BigNumberish
|
|
801
|
+
], [
|
|
802
|
+
[
|
|
803
|
+
Governance.SLCProposalStateViewStructOutput,
|
|
804
|
+
GovernorUpgradeable.ProposalCoreStructOutput
|
|
805
|
+
]
|
|
806
|
+
], "view">;
|
|
807
|
+
getFunction(nameOrSignature: "getProposalId"): TypedContractMethod<[
|
|
808
|
+
targets: AddressLike[],
|
|
809
|
+
values: BigNumberish[],
|
|
810
|
+
calldatas: BytesLike[],
|
|
811
|
+
descriptionHash: BytesLike
|
|
812
|
+
], [
|
|
813
|
+
bigint
|
|
814
|
+
], "view">;
|
|
815
|
+
getFunction(nameOrSignature: "getProposalsByServiceRequest"): TypedContractMethod<[
|
|
816
|
+
slcCore_: AddressLike,
|
|
817
|
+
requestNumber_: BigNumberish,
|
|
818
|
+
offset_: BigNumberish,
|
|
819
|
+
limit_: BigNumberish
|
|
820
|
+
], [
|
|
821
|
+
[
|
|
822
|
+
Governance.SLCProposalStateViewStructOutput[],
|
|
823
|
+
GovernorUpgradeable.ProposalCoreStructOutput[]
|
|
824
|
+
]
|
|
825
|
+
], "view">;
|
|
826
|
+
getFunction(nameOrSignature: "getServiceRequestsBySLCCore"): TypedContractMethod<[
|
|
827
|
+
slcCore_: AddressLike,
|
|
828
|
+
offset_: BigNumberish,
|
|
829
|
+
limit_: BigNumberish
|
|
830
|
+
], [
|
|
831
|
+
Governance.ServiceRequestStateViewStructOutput[]
|
|
832
|
+
], "view">;
|
|
833
|
+
getFunction(nameOrSignature: "getSystemToken"): TypedContractMethod<[], [string], "view">;
|
|
834
|
+
getFunction(nameOrSignature: "getVotes"): TypedContractMethod<[
|
|
835
|
+
account: AddressLike,
|
|
836
|
+
timepoint: BigNumberish
|
|
837
|
+
], [
|
|
838
|
+
bigint
|
|
839
|
+
], "view">;
|
|
840
|
+
getFunction(nameOrSignature: "getVotesWithParams"): TypedContractMethod<[
|
|
841
|
+
account: AddressLike,
|
|
842
|
+
timepoint: BigNumberish,
|
|
843
|
+
params: BytesLike
|
|
844
|
+
], [
|
|
845
|
+
bigint
|
|
846
|
+
], "view">;
|
|
847
|
+
getFunction(nameOrSignature: "hasVoted"): TypedContractMethod<[
|
|
848
|
+
proposalId: BigNumberish,
|
|
849
|
+
account: AddressLike
|
|
850
|
+
], [
|
|
851
|
+
boolean
|
|
852
|
+
], "view">;
|
|
853
|
+
getFunction(nameOrSignature: "hashOperation"): TypedContractMethod<[
|
|
854
|
+
operation_: IGovernance.OperationBundleStruct
|
|
855
|
+
], [
|
|
856
|
+
string
|
|
857
|
+
], "view">;
|
|
858
|
+
getFunction(nameOrSignature: "hashProposal"): TypedContractMethod<[
|
|
859
|
+
targets: AddressLike[],
|
|
860
|
+
values: BigNumberish[],
|
|
861
|
+
calldatas: BytesLike[],
|
|
862
|
+
descriptionHash: BytesLike
|
|
863
|
+
], [
|
|
864
|
+
bigint
|
|
865
|
+
], "view">;
|
|
866
|
+
getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
|
|
867
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
868
|
+
getFunction(nameOrSignature: "nonces"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
869
|
+
getFunction(nameOrSignature: "onERC1155BatchReceived"): TypedContractMethod<[
|
|
870
|
+
arg0: AddressLike,
|
|
871
|
+
arg1: AddressLike,
|
|
872
|
+
arg2: BigNumberish[],
|
|
873
|
+
arg3: BigNumberish[],
|
|
874
|
+
arg4: BytesLike
|
|
875
|
+
], [
|
|
876
|
+
string
|
|
877
|
+
], "nonpayable">;
|
|
878
|
+
getFunction(nameOrSignature: "onERC1155Received"): TypedContractMethod<[
|
|
879
|
+
arg0: AddressLike,
|
|
880
|
+
arg1: AddressLike,
|
|
881
|
+
arg2: BigNumberish,
|
|
882
|
+
arg3: BigNumberish,
|
|
883
|
+
arg4: BytesLike
|
|
884
|
+
], [
|
|
885
|
+
string
|
|
886
|
+
], "nonpayable">;
|
|
887
|
+
getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
|
|
888
|
+
arg0: AddressLike,
|
|
889
|
+
arg1: AddressLike,
|
|
890
|
+
arg2: BigNumberish,
|
|
891
|
+
arg3: BytesLike
|
|
892
|
+
], [
|
|
893
|
+
string
|
|
894
|
+
], "nonpayable">;
|
|
895
|
+
getFunction(nameOrSignature: "processServiceRequest"): TypedContractMethod<[
|
|
896
|
+
requester_: AddressLike,
|
|
897
|
+
serviceFee_: BigNumberish,
|
|
898
|
+
neutralsNumber_: BigNumberish,
|
|
899
|
+
additionalLink_: string,
|
|
900
|
+
data_: BytesLike
|
|
901
|
+
], [
|
|
902
|
+
boolean
|
|
903
|
+
], "payable">;
|
|
904
|
+
getFunction(nameOrSignature: "proposalDeadline"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
905
|
+
getFunction(nameOrSignature: "proposalEta"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
906
|
+
getFunction(nameOrSignature: "proposalNeedsQueuing"): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
907
|
+
getFunction(nameOrSignature: "proposalProposer"): TypedContractMethod<[proposalId: BigNumberish], [string], "view">;
|
|
908
|
+
getFunction(nameOrSignature: "proposalSnapshot"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
909
|
+
getFunction(nameOrSignature: "proposalThreshold"): TypedContractMethod<[], [bigint], "view">;
|
|
910
|
+
getFunction(nameOrSignature: "propose"): TypedContractMethod<[
|
|
911
|
+
targets: AddressLike[],
|
|
912
|
+
values: BigNumberish[],
|
|
913
|
+
calldatas: BytesLike[],
|
|
914
|
+
description: string
|
|
915
|
+
], [
|
|
916
|
+
bigint
|
|
917
|
+
], "nonpayable">;
|
|
918
|
+
getFunction(nameOrSignature: "proposeOperations"): TypedContractMethod<[
|
|
919
|
+
proposalId_: BigNumberish,
|
|
920
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
|
921
|
+
], [
|
|
922
|
+
void
|
|
923
|
+
], "nonpayable">;
|
|
924
|
+
getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
|
|
925
|
+
getFunction(nameOrSignature: "queue"): TypedContractMethod<[
|
|
926
|
+
targets: AddressLike[],
|
|
927
|
+
values: BigNumberish[],
|
|
928
|
+
calldatas: BytesLike[],
|
|
929
|
+
descriptionHash: BytesLike
|
|
930
|
+
], [
|
|
931
|
+
bigint
|
|
932
|
+
], "nonpayable">;
|
|
933
|
+
getFunction(nameOrSignature: "quorum"): TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">;
|
|
934
|
+
getFunction(nameOrSignature: "relay"): TypedContractMethod<[
|
|
935
|
+
target: AddressLike,
|
|
936
|
+
value: BigNumberish,
|
|
937
|
+
data: BytesLike
|
|
938
|
+
], [
|
|
939
|
+
void
|
|
940
|
+
], "payable">;
|
|
941
|
+
getFunction(nameOrSignature: "state"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
942
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
|
|
943
|
+
getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
|
|
944
|
+
newImplementation: AddressLike,
|
|
945
|
+
data: BytesLike
|
|
946
|
+
], [
|
|
947
|
+
void
|
|
948
|
+
], "payable">;
|
|
949
|
+
getFunction(nameOrSignature: "version"): TypedContractMethod<[], [string], "view">;
|
|
950
|
+
getFunction(nameOrSignature: "votingDelay"): TypedContractMethod<[], [bigint], "view">;
|
|
951
|
+
getFunction(nameOrSignature: "votingPeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
952
|
+
getEvent(key: "EIP712DomainChanged"): TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
953
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
954
|
+
getEvent(key: "ProposalCanceled"): TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
955
|
+
getEvent(key: "ProposalCreated"): TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
956
|
+
getEvent(key: "ProposalExecuted"): TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
957
|
+
getEvent(key: "ProposalQueued"): TypedContractEvent<ProposalQueuedEvent.InputTuple, ProposalQueuedEvent.OutputTuple, ProposalQueuedEvent.OutputObject>;
|
|
958
|
+
getEvent(key: "RejectedByExecutors"): TypedContractEvent<RejectedByExecutorsEvent.InputTuple, RejectedByExecutorsEvent.OutputTuple, RejectedByExecutorsEvent.OutputObject>;
|
|
959
|
+
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
960
|
+
getEvent(key: "VoteCast"): TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
961
|
+
getEvent(key: "VoteCastWithParams"): TypedContractEvent<VoteCastWithParamsEvent.InputTuple, VoteCastWithParamsEvent.OutputTuple, VoteCastWithParamsEvent.OutputObject>;
|
|
962
|
+
filters: {
|
|
963
|
+
"EIP712DomainChanged()": TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
964
|
+
EIP712DomainChanged: TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
965
|
+
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
966
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
967
|
+
"ProposalCanceled(uint256)": TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
968
|
+
ProposalCanceled: TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
969
|
+
"ProposalCreated(uint256,address,address[],uint256[],string[],bytes[],uint256,uint256,string)": TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
970
|
+
ProposalCreated: TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
971
|
+
"ProposalExecuted(uint256)": TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
972
|
+
ProposalExecuted: TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
973
|
+
"ProposalQueued(uint256,uint256)": TypedContractEvent<ProposalQueuedEvent.InputTuple, ProposalQueuedEvent.OutputTuple, ProposalQueuedEvent.OutputObject>;
|
|
974
|
+
ProposalQueued: TypedContractEvent<ProposalQueuedEvent.InputTuple, ProposalQueuedEvent.OutputTuple, ProposalQueuedEvent.OutputObject>;
|
|
975
|
+
"RejectedByExecutors(uint256,uint256)": TypedContractEvent<RejectedByExecutorsEvent.InputTuple, RejectedByExecutorsEvent.OutputTuple, RejectedByExecutorsEvent.OutputObject>;
|
|
976
|
+
RejectedByExecutors: TypedContractEvent<RejectedByExecutorsEvent.InputTuple, RejectedByExecutorsEvent.OutputTuple, RejectedByExecutorsEvent.OutputObject>;
|
|
977
|
+
"Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
978
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
979
|
+
"VoteCast(address,uint256,uint8,uint256,string)": TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
980
|
+
VoteCast: TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
981
|
+
"VoteCastWithParams(address,uint256,uint8,uint256,string,bytes)": TypedContractEvent<VoteCastWithParamsEvent.InputTuple, VoteCastWithParamsEvent.OutputTuple, VoteCastWithParamsEvent.OutputObject>;
|
|
982
|
+
VoteCastWithParams: TypedContractEvent<VoteCastWithParamsEvent.InputTuple, VoteCastWithParamsEvent.OutputTuple, VoteCastWithParamsEvent.OutputObject>;
|
|
983
|
+
};
|
|
984
|
+
}
|