@web3dotorg/evm-slc-core-sdk 0.3.8 → 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 -2307
- 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,277 @@
|
|
|
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 interface IExecutorsRegistryInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "distributeRewards" | "getExecutorsCount" | "isExecutor" | "supportsInterface"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorPaused" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnpaused" | "ExecutorUnstaked" | "RewardsClaimed" | "RewardsDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "distributeRewards", values: [BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "getExecutorsCount", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "isExecutor", values: [AddressLike]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
10
|
+
decodeFunctionResult(functionFragment: "distributeRewards", data: BytesLike): Result;
|
|
11
|
+
decodeFunctionResult(functionFragment: "getExecutorsCount", data: BytesLike): Result;
|
|
12
|
+
decodeFunctionResult(functionFragment: "isExecutor", data: BytesLike): Result;
|
|
13
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace ExecutorActivatedEvent {
|
|
16
|
+
type InputTuple = [executor: AddressLike, stake: BigNumberish];
|
|
17
|
+
type OutputTuple = [executor: string, stake: bigint];
|
|
18
|
+
interface OutputObject {
|
|
19
|
+
executor: string;
|
|
20
|
+
stake: bigint;
|
|
21
|
+
}
|
|
22
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
23
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
24
|
+
type Log = TypedEventLog<Event>;
|
|
25
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace ExecutorApprovedEvent {
|
|
28
|
+
type InputTuple = [executor: AddressLike];
|
|
29
|
+
type OutputTuple = [executor: string];
|
|
30
|
+
interface OutputObject {
|
|
31
|
+
executor: string;
|
|
32
|
+
}
|
|
33
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
34
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
35
|
+
type Log = TypedEventLog<Event>;
|
|
36
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace ExecutorDisapprovedEvent {
|
|
39
|
+
type InputTuple = [executor: AddressLike];
|
|
40
|
+
type OutputTuple = [executor: string];
|
|
41
|
+
interface OutputObject {
|
|
42
|
+
executor: string;
|
|
43
|
+
}
|
|
44
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
45
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
46
|
+
type Log = TypedEventLog<Event>;
|
|
47
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace ExecutorMovedToStandbyEvent {
|
|
50
|
+
type InputTuple = [executor: AddressLike];
|
|
51
|
+
type OutputTuple = [executor: string];
|
|
52
|
+
interface OutputObject {
|
|
53
|
+
executor: string;
|
|
54
|
+
}
|
|
55
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
56
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
57
|
+
type Log = TypedEventLog<Event>;
|
|
58
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace ExecutorPausedEvent {
|
|
61
|
+
type InputTuple = [executor: AddressLike];
|
|
62
|
+
type OutputTuple = [executor: string];
|
|
63
|
+
interface OutputObject {
|
|
64
|
+
executor: string;
|
|
65
|
+
}
|
|
66
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
67
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
68
|
+
type Log = TypedEventLog<Event>;
|
|
69
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace ExecutorSlashedEvent {
|
|
72
|
+
type InputTuple = [
|
|
73
|
+
executor: AddressLike,
|
|
74
|
+
amount: BigNumberish,
|
|
75
|
+
recipient: AddressLike
|
|
76
|
+
];
|
|
77
|
+
type OutputTuple = [
|
|
78
|
+
executor: string,
|
|
79
|
+
amount: bigint,
|
|
80
|
+
recipient: string
|
|
81
|
+
];
|
|
82
|
+
interface OutputObject {
|
|
83
|
+
executor: string;
|
|
84
|
+
amount: bigint;
|
|
85
|
+
recipient: string;
|
|
86
|
+
}
|
|
87
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
88
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
89
|
+
type Log = TypedEventLog<Event>;
|
|
90
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace ExecutorStakedEvent {
|
|
93
|
+
type InputTuple = [
|
|
94
|
+
executor: AddressLike,
|
|
95
|
+
amount: BigNumberish,
|
|
96
|
+
totalStake: BigNumberish
|
|
97
|
+
];
|
|
98
|
+
type OutputTuple = [
|
|
99
|
+
executor: string,
|
|
100
|
+
amount: bigint,
|
|
101
|
+
totalStake: bigint
|
|
102
|
+
];
|
|
103
|
+
interface OutputObject {
|
|
104
|
+
executor: string;
|
|
105
|
+
amount: bigint;
|
|
106
|
+
totalStake: bigint;
|
|
107
|
+
}
|
|
108
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
109
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
110
|
+
type Log = TypedEventLog<Event>;
|
|
111
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
112
|
+
}
|
|
113
|
+
export declare namespace ExecutorUnpausedEvent {
|
|
114
|
+
type InputTuple = [executor: AddressLike];
|
|
115
|
+
type OutputTuple = [executor: string];
|
|
116
|
+
interface OutputObject {
|
|
117
|
+
executor: string;
|
|
118
|
+
}
|
|
119
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
120
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
121
|
+
type Log = TypedEventLog<Event>;
|
|
122
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
123
|
+
}
|
|
124
|
+
export declare namespace ExecutorUnstakedEvent {
|
|
125
|
+
type InputTuple = [
|
|
126
|
+
executor: AddressLike,
|
|
127
|
+
amount: BigNumberish,
|
|
128
|
+
remainingStake: BigNumberish
|
|
129
|
+
];
|
|
130
|
+
type OutputTuple = [
|
|
131
|
+
executor: string,
|
|
132
|
+
amount: bigint,
|
|
133
|
+
remainingStake: bigint
|
|
134
|
+
];
|
|
135
|
+
interface OutputObject {
|
|
136
|
+
executor: string;
|
|
137
|
+
amount: bigint;
|
|
138
|
+
remainingStake: bigint;
|
|
139
|
+
}
|
|
140
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
141
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
142
|
+
type Log = TypedEventLog<Event>;
|
|
143
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace RewardsClaimedEvent {
|
|
146
|
+
type InputTuple = [executor: AddressLike, amount: BigNumberish];
|
|
147
|
+
type OutputTuple = [executor: string, amount: bigint];
|
|
148
|
+
interface OutputObject {
|
|
149
|
+
executor: string;
|
|
150
|
+
amount: bigint;
|
|
151
|
+
}
|
|
152
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
153
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
154
|
+
type Log = TypedEventLog<Event>;
|
|
155
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace RewardsDistributedEvent {
|
|
158
|
+
type InputTuple = [totalAmount: BigNumberish];
|
|
159
|
+
type OutputTuple = [totalAmount: bigint];
|
|
160
|
+
interface OutputObject {
|
|
161
|
+
totalAmount: bigint;
|
|
162
|
+
}
|
|
163
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
164
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
165
|
+
type Log = TypedEventLog<Event>;
|
|
166
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
167
|
+
}
|
|
168
|
+
export declare namespace WithdrawalAnnouncedEvent {
|
|
169
|
+
type InputTuple = [
|
|
170
|
+
executor: AddressLike,
|
|
171
|
+
amount: BigNumberish,
|
|
172
|
+
availableAt: BigNumberish
|
|
173
|
+
];
|
|
174
|
+
type OutputTuple = [
|
|
175
|
+
executor: string,
|
|
176
|
+
amount: bigint,
|
|
177
|
+
availableAt: bigint
|
|
178
|
+
];
|
|
179
|
+
interface OutputObject {
|
|
180
|
+
executor: string;
|
|
181
|
+
amount: bigint;
|
|
182
|
+
availableAt: bigint;
|
|
183
|
+
}
|
|
184
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
185
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
186
|
+
type Log = TypedEventLog<Event>;
|
|
187
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace WithdrawalCancelledEvent {
|
|
190
|
+
type InputTuple = [executor: AddressLike, amount: BigNumberish];
|
|
191
|
+
type OutputTuple = [executor: string, amount: bigint];
|
|
192
|
+
interface OutputObject {
|
|
193
|
+
executor: string;
|
|
194
|
+
amount: bigint;
|
|
195
|
+
}
|
|
196
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
197
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
198
|
+
type Log = TypedEventLog<Event>;
|
|
199
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
200
|
+
}
|
|
201
|
+
export interface IExecutorsRegistry extends BaseContract {
|
|
202
|
+
contractName: "IExecutorsRegistry";
|
|
203
|
+
connect(runner?: ContractRunner | null): IExecutorsRegistry;
|
|
204
|
+
waitForDeployment(): Promise<this>;
|
|
205
|
+
interface: IExecutorsRegistryInterface;
|
|
206
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
207
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
208
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
209
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
210
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
211
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
212
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
213
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
214
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
215
|
+
distributeRewards: TypedContractMethod<[
|
|
216
|
+
amount_: BigNumberish
|
|
217
|
+
], [
|
|
218
|
+
void
|
|
219
|
+
], "nonpayable">;
|
|
220
|
+
getExecutorsCount: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
221
|
+
isExecutor: TypedContractMethod<[
|
|
222
|
+
candidate_: AddressLike
|
|
223
|
+
], [
|
|
224
|
+
boolean
|
|
225
|
+
], "nonpayable">;
|
|
226
|
+
supportsInterface: TypedContractMethod<[
|
|
227
|
+
interfaceId: BytesLike
|
|
228
|
+
], [
|
|
229
|
+
boolean
|
|
230
|
+
], "view">;
|
|
231
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
232
|
+
getFunction(nameOrSignature: "distributeRewards"): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
|
|
233
|
+
getFunction(nameOrSignature: "getExecutorsCount"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
234
|
+
getFunction(nameOrSignature: "isExecutor"): TypedContractMethod<[candidate_: AddressLike], [boolean], "nonpayable">;
|
|
235
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
236
|
+
getEvent(key: "ExecutorActivated"): TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
237
|
+
getEvent(key: "ExecutorApproved"): TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
238
|
+
getEvent(key: "ExecutorDisapproved"): TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
239
|
+
getEvent(key: "ExecutorMovedToStandby"): TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
240
|
+
getEvent(key: "ExecutorPaused"): TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
241
|
+
getEvent(key: "ExecutorSlashed"): TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
242
|
+
getEvent(key: "ExecutorStaked"): TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
243
|
+
getEvent(key: "ExecutorUnpaused"): TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
244
|
+
getEvent(key: "ExecutorUnstaked"): TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
245
|
+
getEvent(key: "RewardsClaimed"): TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
246
|
+
getEvent(key: "RewardsDistributed"): TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
247
|
+
getEvent(key: "WithdrawalAnnounced"): TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
248
|
+
getEvent(key: "WithdrawalCancelled"): TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
249
|
+
filters: {
|
|
250
|
+
"ExecutorActivated(address,uint256)": TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
251
|
+
ExecutorActivated: TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
252
|
+
"ExecutorApproved(address)": TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
253
|
+
ExecutorApproved: TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
254
|
+
"ExecutorDisapproved(address)": TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
255
|
+
ExecutorDisapproved: TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
256
|
+
"ExecutorMovedToStandby(address)": TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
257
|
+
ExecutorMovedToStandby: TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
258
|
+
"ExecutorPaused(address)": TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
259
|
+
ExecutorPaused: TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
260
|
+
"ExecutorSlashed(address,uint256,address)": TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
261
|
+
ExecutorSlashed: TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
262
|
+
"ExecutorStaked(address,uint256,uint256)": TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
263
|
+
ExecutorStaked: TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
264
|
+
"ExecutorUnpaused(address)": TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
265
|
+
ExecutorUnpaused: TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
266
|
+
"ExecutorUnstaked(address,uint256,uint256)": TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
267
|
+
ExecutorUnstaked: TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
268
|
+
"RewardsClaimed(address,uint256)": TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
269
|
+
RewardsClaimed: TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
270
|
+
"RewardsDistributed(uint256)": TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
271
|
+
RewardsDistributed: TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
272
|
+
"WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
273
|
+
WithdrawalAnnounced: TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
274
|
+
"WithdrawalCancelled(address,uint256)": TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
275
|
+
WithdrawalCancelled: TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
276
|
+
};
|
|
277
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, 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 interface IGovernanceInterface extends Interface {
|
|
31
|
+
getFunction(nameOrSignature: "getParametersRegistry" | "getSystemToken" | "processServiceRequest" | "proposeOperations" | "supportsInterface"): FunctionFragment;
|
|
32
|
+
encodeFunctionData(functionFragment: "getParametersRegistry", values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "getSystemToken", values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "processServiceRequest", values: [AddressLike, BigNumberish, BigNumberish, string, BytesLike]): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "proposeOperations", values: [BigNumberish, IGovernance.OperationBundleStruct]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
37
|
+
decodeFunctionResult(functionFragment: "getParametersRegistry", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "getSystemToken", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "processServiceRequest", data: BytesLike): Result;
|
|
40
|
+
decodeFunctionResult(functionFragment: "proposeOperations", data: BytesLike): Result;
|
|
41
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
42
|
+
}
|
|
43
|
+
export interface IGovernance extends BaseContract {
|
|
44
|
+
contractName: "IGovernance";
|
|
45
|
+
connect(runner?: ContractRunner | null): IGovernance;
|
|
46
|
+
waitForDeployment(): Promise<this>;
|
|
47
|
+
interface: IGovernanceInterface;
|
|
48
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
49
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
50
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
51
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
52
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
53
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
54
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
55
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
56
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
57
|
+
getParametersRegistry: TypedContractMethod<[], [string], "view">;
|
|
58
|
+
getSystemToken: TypedContractMethod<[], [string], "view">;
|
|
59
|
+
processServiceRequest: TypedContractMethod<[
|
|
60
|
+
requester_: AddressLike,
|
|
61
|
+
serviceFee_: BigNumberish,
|
|
62
|
+
neutralsNumber_: BigNumberish,
|
|
63
|
+
additionalLink_: string,
|
|
64
|
+
data_: BytesLike
|
|
65
|
+
], [
|
|
66
|
+
boolean
|
|
67
|
+
], "payable">;
|
|
68
|
+
proposeOperations: TypedContractMethod<[
|
|
69
|
+
proposalId_: BigNumberish,
|
|
70
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
|
71
|
+
], [
|
|
72
|
+
void
|
|
73
|
+
], "nonpayable">;
|
|
74
|
+
supportsInterface: TypedContractMethod<[
|
|
75
|
+
interfaceId: BytesLike
|
|
76
|
+
], [
|
|
77
|
+
boolean
|
|
78
|
+
], "view">;
|
|
79
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
80
|
+
getFunction(nameOrSignature: "getParametersRegistry"): TypedContractMethod<[], [string], "view">;
|
|
81
|
+
getFunction(nameOrSignature: "getSystemToken"): TypedContractMethod<[], [string], "view">;
|
|
82
|
+
getFunction(nameOrSignature: "processServiceRequest"): TypedContractMethod<[
|
|
83
|
+
requester_: AddressLike,
|
|
84
|
+
serviceFee_: BigNumberish,
|
|
85
|
+
neutralsNumber_: BigNumberish,
|
|
86
|
+
additionalLink_: string,
|
|
87
|
+
data_: BytesLike
|
|
88
|
+
], [
|
|
89
|
+
boolean
|
|
90
|
+
], "payable">;
|
|
91
|
+
getFunction(nameOrSignature: "proposeOperations"): TypedContractMethod<[
|
|
92
|
+
proposalId_: BigNumberish,
|
|
93
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
|
94
|
+
], [
|
|
95
|
+
void
|
|
96
|
+
], "nonpayable">;
|
|
97
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
98
|
+
filters: {};
|
|
99
|
+
}
|