@web3dotorg/evm-slc-core-sdk 0.3.8 → 0.3.10
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 +987 -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 +1740 -0
- package/lib.commonjs/factories/contracts/governance/Governance__factory.js +2286 -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 +987 -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 +1740 -0
- package/lib.esm/factories/contracts/governance/Governance__factory.js +2282 -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,597 @@
|
|
|
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 ExecutorsRegistry {
|
|
4
|
+
type ExecutorInfoStruct = {
|
|
5
|
+
stake: BigNumberish;
|
|
6
|
+
isApproved: boolean;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
isStandby: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ExecutorInfoStructOutput = [
|
|
11
|
+
stake: bigint,
|
|
12
|
+
isApproved: boolean,
|
|
13
|
+
isActive: boolean,
|
|
14
|
+
isStandby: boolean
|
|
15
|
+
] & {
|
|
16
|
+
stake: bigint;
|
|
17
|
+
isApproved: boolean;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
isStandby: boolean;
|
|
20
|
+
};
|
|
21
|
+
type WithdrawalAnnouncementStruct = {
|
|
22
|
+
amount: BigNumberish;
|
|
23
|
+
announcedAt: BigNumberish;
|
|
24
|
+
availableAt: BigNumberish;
|
|
25
|
+
};
|
|
26
|
+
type WithdrawalAnnouncementStructOutput = [
|
|
27
|
+
amount: bigint,
|
|
28
|
+
announcedAt: bigint,
|
|
29
|
+
availableAt: bigint
|
|
30
|
+
] & {
|
|
31
|
+
amount: bigint;
|
|
32
|
+
announcedAt: bigint;
|
|
33
|
+
availableAt: bigint;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export declare namespace AValueDistributor {
|
|
37
|
+
type UserDistributionStruct = {
|
|
38
|
+
shares: BigNumberish;
|
|
39
|
+
cumulativeSum: BigNumberish;
|
|
40
|
+
owedValue: BigNumberish;
|
|
41
|
+
};
|
|
42
|
+
type UserDistributionStructOutput = [
|
|
43
|
+
shares: bigint,
|
|
44
|
+
cumulativeSum: bigint,
|
|
45
|
+
owedValue: bigint
|
|
46
|
+
] & {
|
|
47
|
+
shares: bigint;
|
|
48
|
+
cumulativeSum: bigint;
|
|
49
|
+
owedValue: bigint;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface ExecutorsRegistryInterface extends Interface {
|
|
53
|
+
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "__ExecutorsRegistry_init" | "announceWithdrawal" | "approveExecutor" | "boundActiveExecutors" | "cancelWithdrawal" | "claimRewards" | "completeWithdrawal" | "cumulativeSum" | "disapproveExecutor" | "distributeRewards" | "getActiveExecutors" | "getExecutorInfo" | "getExecutorsCount" | "getOwedValue" | "getStandbyExecutors" | "getWithdrawalAnnouncement" | "hasShares" | "implementation" | "isExecutor" | "isWithdrawalReady" | "proxiableUUID" | "slashExecutor" | "stake" | "supportsInterface" | "totalShares" | "tryBecomeActive" | "updateWithdrawalAnnouncement" | "updatedAt" | "upgradeToAndCall" | "userDistribution"): FunctionFragment;
|
|
54
|
+
getEvent(nameOrSignatureOrTopic: "ExecutorActivated" | "ExecutorApproved" | "ExecutorDisapproved" | "ExecutorMovedToStandby" | "ExecutorPaused" | "ExecutorSlashed" | "ExecutorStaked" | "ExecutorUnpaused" | "ExecutorUnstaked" | "Initialized" | "RewardsClaimed" | "RewardsDistributed" | "SharesAdded" | "SharesRemoved" | "Upgraded" | "ValueDistributed" | "WithdrawalAnnounced" | "WithdrawalCancelled"): EventFragment;
|
|
55
|
+
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "__ExecutorsRegistry_init", values: [AddressLike, AddressLike[]]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "announceWithdrawal", values: [BigNumberish]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "approveExecutor", values: [AddressLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "boundActiveExecutors", values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "cancelWithdrawal", values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "claimRewards", values?: undefined): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "completeWithdrawal", values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "cumulativeSum", values?: undefined): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "disapproveExecutor", values: [AddressLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "distributeRewards", values: [BigNumberish]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "getActiveExecutors", values: [BigNumberish, BigNumberish]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "getExecutorInfo", values: [AddressLike]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "getExecutorsCount", values?: undefined): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "getOwedValue", values: [AddressLike]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "getStandbyExecutors", values: [BigNumberish, BigNumberish]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "getWithdrawalAnnouncement", values: [AddressLike]): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "hasShares", values: [AddressLike]): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "isExecutor", values: [AddressLike]): string;
|
|
75
|
+
encodeFunctionData(functionFragment: "isWithdrawalReady", values: [AddressLike]): string;
|
|
76
|
+
encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "slashExecutor", values: [AddressLike, BigNumberish]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
79
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "tryBecomeActive", values?: undefined): string;
|
|
82
|
+
encodeFunctionData(functionFragment: "updateWithdrawalAnnouncement", values: [BigNumberish]): string;
|
|
83
|
+
encodeFunctionData(functionFragment: "updatedAt", values?: undefined): string;
|
|
84
|
+
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "userDistribution", values: [AddressLike]): string;
|
|
86
|
+
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "__ExecutorsRegistry_init", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "announceWithdrawal", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "approveExecutor", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "boundActiveExecutors", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "cancelWithdrawal", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "claimRewards", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "completeWithdrawal", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "cumulativeSum", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "disapproveExecutor", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "distributeRewards", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "getActiveExecutors", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "getExecutorInfo", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "getExecutorsCount", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "getOwedValue", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: "getStandbyExecutors", data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: "getWithdrawalAnnouncement", data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: "hasShares", data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "isExecutor", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "isWithdrawalReady", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "slashExecutor", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: "tryBecomeActive", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "updateWithdrawalAnnouncement", data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: "updatedAt", data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: "userDistribution", data: BytesLike): Result;
|
|
117
|
+
}
|
|
118
|
+
export declare namespace ExecutorActivatedEvent {
|
|
119
|
+
type InputTuple = [executor: AddressLike, stake: BigNumberish];
|
|
120
|
+
type OutputTuple = [executor: string, stake: bigint];
|
|
121
|
+
interface OutputObject {
|
|
122
|
+
executor: string;
|
|
123
|
+
stake: bigint;
|
|
124
|
+
}
|
|
125
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
126
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
127
|
+
type Log = TypedEventLog<Event>;
|
|
128
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace ExecutorApprovedEvent {
|
|
131
|
+
type InputTuple = [executor: AddressLike];
|
|
132
|
+
type OutputTuple = [executor: string];
|
|
133
|
+
interface OutputObject {
|
|
134
|
+
executor: string;
|
|
135
|
+
}
|
|
136
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
137
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
138
|
+
type Log = TypedEventLog<Event>;
|
|
139
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
140
|
+
}
|
|
141
|
+
export declare namespace ExecutorDisapprovedEvent {
|
|
142
|
+
type InputTuple = [executor: AddressLike];
|
|
143
|
+
type OutputTuple = [executor: string];
|
|
144
|
+
interface OutputObject {
|
|
145
|
+
executor: string;
|
|
146
|
+
}
|
|
147
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
148
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
149
|
+
type Log = TypedEventLog<Event>;
|
|
150
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
151
|
+
}
|
|
152
|
+
export declare namespace ExecutorMovedToStandbyEvent {
|
|
153
|
+
type InputTuple = [executor: AddressLike];
|
|
154
|
+
type OutputTuple = [executor: string];
|
|
155
|
+
interface OutputObject {
|
|
156
|
+
executor: string;
|
|
157
|
+
}
|
|
158
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
159
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
160
|
+
type Log = TypedEventLog<Event>;
|
|
161
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace ExecutorPausedEvent {
|
|
164
|
+
type InputTuple = [executor: AddressLike];
|
|
165
|
+
type OutputTuple = [executor: string];
|
|
166
|
+
interface OutputObject {
|
|
167
|
+
executor: string;
|
|
168
|
+
}
|
|
169
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
170
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
171
|
+
type Log = TypedEventLog<Event>;
|
|
172
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
173
|
+
}
|
|
174
|
+
export declare namespace ExecutorSlashedEvent {
|
|
175
|
+
type InputTuple = [
|
|
176
|
+
executor: AddressLike,
|
|
177
|
+
amount: BigNumberish,
|
|
178
|
+
recipient: AddressLike
|
|
179
|
+
];
|
|
180
|
+
type OutputTuple = [
|
|
181
|
+
executor: string,
|
|
182
|
+
amount: bigint,
|
|
183
|
+
recipient: string
|
|
184
|
+
];
|
|
185
|
+
interface OutputObject {
|
|
186
|
+
executor: string;
|
|
187
|
+
amount: bigint;
|
|
188
|
+
recipient: string;
|
|
189
|
+
}
|
|
190
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
191
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
192
|
+
type Log = TypedEventLog<Event>;
|
|
193
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
194
|
+
}
|
|
195
|
+
export declare namespace ExecutorStakedEvent {
|
|
196
|
+
type InputTuple = [
|
|
197
|
+
executor: AddressLike,
|
|
198
|
+
amount: BigNumberish,
|
|
199
|
+
totalStake: BigNumberish
|
|
200
|
+
];
|
|
201
|
+
type OutputTuple = [
|
|
202
|
+
executor: string,
|
|
203
|
+
amount: bigint,
|
|
204
|
+
totalStake: bigint
|
|
205
|
+
];
|
|
206
|
+
interface OutputObject {
|
|
207
|
+
executor: string;
|
|
208
|
+
amount: bigint;
|
|
209
|
+
totalStake: bigint;
|
|
210
|
+
}
|
|
211
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
212
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
213
|
+
type Log = TypedEventLog<Event>;
|
|
214
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
215
|
+
}
|
|
216
|
+
export declare namespace ExecutorUnpausedEvent {
|
|
217
|
+
type InputTuple = [executor: AddressLike];
|
|
218
|
+
type OutputTuple = [executor: string];
|
|
219
|
+
interface OutputObject {
|
|
220
|
+
executor: string;
|
|
221
|
+
}
|
|
222
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
223
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
224
|
+
type Log = TypedEventLog<Event>;
|
|
225
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
226
|
+
}
|
|
227
|
+
export declare namespace ExecutorUnstakedEvent {
|
|
228
|
+
type InputTuple = [
|
|
229
|
+
executor: AddressLike,
|
|
230
|
+
amount: BigNumberish,
|
|
231
|
+
remainingStake: BigNumberish
|
|
232
|
+
];
|
|
233
|
+
type OutputTuple = [
|
|
234
|
+
executor: string,
|
|
235
|
+
amount: bigint,
|
|
236
|
+
remainingStake: bigint
|
|
237
|
+
];
|
|
238
|
+
interface OutputObject {
|
|
239
|
+
executor: string;
|
|
240
|
+
amount: bigint;
|
|
241
|
+
remainingStake: bigint;
|
|
242
|
+
}
|
|
243
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
244
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
245
|
+
type Log = TypedEventLog<Event>;
|
|
246
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
247
|
+
}
|
|
248
|
+
export declare namespace InitializedEvent {
|
|
249
|
+
type InputTuple = [version: BigNumberish];
|
|
250
|
+
type OutputTuple = [version: bigint];
|
|
251
|
+
interface OutputObject {
|
|
252
|
+
version: bigint;
|
|
253
|
+
}
|
|
254
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
255
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
256
|
+
type Log = TypedEventLog<Event>;
|
|
257
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
258
|
+
}
|
|
259
|
+
export declare namespace RewardsClaimedEvent {
|
|
260
|
+
type InputTuple = [executor: AddressLike, amount: BigNumberish];
|
|
261
|
+
type OutputTuple = [executor: string, amount: bigint];
|
|
262
|
+
interface OutputObject {
|
|
263
|
+
executor: string;
|
|
264
|
+
amount: bigint;
|
|
265
|
+
}
|
|
266
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
267
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
268
|
+
type Log = TypedEventLog<Event>;
|
|
269
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
270
|
+
}
|
|
271
|
+
export declare namespace RewardsDistributedEvent {
|
|
272
|
+
type InputTuple = [totalAmount: BigNumberish];
|
|
273
|
+
type OutputTuple = [totalAmount: bigint];
|
|
274
|
+
interface OutputObject {
|
|
275
|
+
totalAmount: bigint;
|
|
276
|
+
}
|
|
277
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
278
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
279
|
+
type Log = TypedEventLog<Event>;
|
|
280
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
281
|
+
}
|
|
282
|
+
export declare namespace SharesAddedEvent {
|
|
283
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
284
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
285
|
+
interface OutputObject {
|
|
286
|
+
user: string;
|
|
287
|
+
amount: bigint;
|
|
288
|
+
}
|
|
289
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
290
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
291
|
+
type Log = TypedEventLog<Event>;
|
|
292
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
293
|
+
}
|
|
294
|
+
export declare namespace SharesRemovedEvent {
|
|
295
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
296
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
297
|
+
interface OutputObject {
|
|
298
|
+
user: string;
|
|
299
|
+
amount: bigint;
|
|
300
|
+
}
|
|
301
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
302
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
303
|
+
type Log = TypedEventLog<Event>;
|
|
304
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
305
|
+
}
|
|
306
|
+
export declare namespace UpgradedEvent {
|
|
307
|
+
type InputTuple = [implementation: AddressLike];
|
|
308
|
+
type OutputTuple = [implementation: string];
|
|
309
|
+
interface OutputObject {
|
|
310
|
+
implementation: string;
|
|
311
|
+
}
|
|
312
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
313
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
314
|
+
type Log = TypedEventLog<Event>;
|
|
315
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
316
|
+
}
|
|
317
|
+
export declare namespace ValueDistributedEvent {
|
|
318
|
+
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
319
|
+
type OutputTuple = [user: string, amount: bigint];
|
|
320
|
+
interface OutputObject {
|
|
321
|
+
user: string;
|
|
322
|
+
amount: bigint;
|
|
323
|
+
}
|
|
324
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
325
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
326
|
+
type Log = TypedEventLog<Event>;
|
|
327
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
328
|
+
}
|
|
329
|
+
export declare namespace WithdrawalAnnouncedEvent {
|
|
330
|
+
type InputTuple = [
|
|
331
|
+
executor: AddressLike,
|
|
332
|
+
amount: BigNumberish,
|
|
333
|
+
availableAt: BigNumberish
|
|
334
|
+
];
|
|
335
|
+
type OutputTuple = [
|
|
336
|
+
executor: string,
|
|
337
|
+
amount: bigint,
|
|
338
|
+
availableAt: bigint
|
|
339
|
+
];
|
|
340
|
+
interface OutputObject {
|
|
341
|
+
executor: string;
|
|
342
|
+
amount: bigint;
|
|
343
|
+
availableAt: bigint;
|
|
344
|
+
}
|
|
345
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
346
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
347
|
+
type Log = TypedEventLog<Event>;
|
|
348
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
349
|
+
}
|
|
350
|
+
export declare namespace WithdrawalCancelledEvent {
|
|
351
|
+
type InputTuple = [executor: AddressLike, amount: BigNumberish];
|
|
352
|
+
type OutputTuple = [executor: string, amount: bigint];
|
|
353
|
+
interface OutputObject {
|
|
354
|
+
executor: string;
|
|
355
|
+
amount: bigint;
|
|
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 interface ExecutorsRegistry extends BaseContract {
|
|
363
|
+
contractName: "ExecutorsRegistry";
|
|
364
|
+
connect(runner?: ContractRunner | null): ExecutorsRegistry;
|
|
365
|
+
waitForDeployment(): Promise<this>;
|
|
366
|
+
interface: ExecutorsRegistryInterface;
|
|
367
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
368
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
369
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
370
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
371
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
372
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
373
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
374
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
375
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
376
|
+
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
377
|
+
__ExecutorsRegistry_init: TypedContractMethod<[
|
|
378
|
+
governance_: AddressLike,
|
|
379
|
+
initialExecutors_: AddressLike[]
|
|
380
|
+
], [
|
|
381
|
+
void
|
|
382
|
+
], "nonpayable">;
|
|
383
|
+
announceWithdrawal: TypedContractMethod<[
|
|
384
|
+
amount_: BigNumberish
|
|
385
|
+
], [
|
|
386
|
+
void
|
|
387
|
+
], "nonpayable">;
|
|
388
|
+
approveExecutor: TypedContractMethod<[
|
|
389
|
+
executor_: AddressLike
|
|
390
|
+
], [
|
|
391
|
+
void
|
|
392
|
+
], "nonpayable">;
|
|
393
|
+
boundActiveExecutors: TypedContractMethod<[], [void], "nonpayable">;
|
|
394
|
+
cancelWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
|
|
395
|
+
claimRewards: TypedContractMethod<[], [void], "nonpayable">;
|
|
396
|
+
completeWithdrawal: TypedContractMethod<[], [void], "nonpayable">;
|
|
397
|
+
cumulativeSum: TypedContractMethod<[], [bigint], "view">;
|
|
398
|
+
disapproveExecutor: TypedContractMethod<[
|
|
399
|
+
executor_: AddressLike
|
|
400
|
+
], [
|
|
401
|
+
void
|
|
402
|
+
], "nonpayable">;
|
|
403
|
+
distributeRewards: TypedContractMethod<[
|
|
404
|
+
amount_: BigNumberish
|
|
405
|
+
], [
|
|
406
|
+
void
|
|
407
|
+
], "nonpayable">;
|
|
408
|
+
getActiveExecutors: TypedContractMethod<[
|
|
409
|
+
offset_: BigNumberish,
|
|
410
|
+
limit_: BigNumberish
|
|
411
|
+
], [
|
|
412
|
+
string[]
|
|
413
|
+
], "view">;
|
|
414
|
+
getExecutorInfo: TypedContractMethod<[
|
|
415
|
+
executor_: AddressLike
|
|
416
|
+
], [
|
|
417
|
+
ExecutorsRegistry.ExecutorInfoStructOutput
|
|
418
|
+
], "view">;
|
|
419
|
+
getExecutorsCount: TypedContractMethod<[], [bigint], "view">;
|
|
420
|
+
getOwedValue: TypedContractMethod<[user_: AddressLike], [bigint], "view">;
|
|
421
|
+
getStandbyExecutors: TypedContractMethod<[
|
|
422
|
+
offset_: BigNumberish,
|
|
423
|
+
limit_: BigNumberish
|
|
424
|
+
], [
|
|
425
|
+
string[]
|
|
426
|
+
], "view">;
|
|
427
|
+
getWithdrawalAnnouncement: TypedContractMethod<[
|
|
428
|
+
executor_: AddressLike
|
|
429
|
+
], [
|
|
430
|
+
ExecutorsRegistry.WithdrawalAnnouncementStructOutput
|
|
431
|
+
], "view">;
|
|
432
|
+
hasShares: TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
|
|
433
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
|
434
|
+
isExecutor: TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
|
|
435
|
+
isWithdrawalReady: TypedContractMethod<[
|
|
436
|
+
executor_: AddressLike
|
|
437
|
+
], [
|
|
438
|
+
boolean
|
|
439
|
+
], "view">;
|
|
440
|
+
proxiableUUID: TypedContractMethod<[], [string], "view">;
|
|
441
|
+
slashExecutor: TypedContractMethod<[
|
|
442
|
+
executor_: AddressLike,
|
|
443
|
+
amount_: BigNumberish
|
|
444
|
+
], [
|
|
445
|
+
void
|
|
446
|
+
], "nonpayable">;
|
|
447
|
+
stake: TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
|
|
448
|
+
supportsInterface: TypedContractMethod<[
|
|
449
|
+
interfaceId_: BytesLike
|
|
450
|
+
], [
|
|
451
|
+
boolean
|
|
452
|
+
], "view">;
|
|
453
|
+
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
454
|
+
tryBecomeActive: TypedContractMethod<[], [void], "nonpayable">;
|
|
455
|
+
updateWithdrawalAnnouncement: TypedContractMethod<[
|
|
456
|
+
newAmount_: BigNumberish
|
|
457
|
+
], [
|
|
458
|
+
void
|
|
459
|
+
], "nonpayable">;
|
|
460
|
+
updatedAt: TypedContractMethod<[], [bigint], "view">;
|
|
461
|
+
upgradeToAndCall: TypedContractMethod<[
|
|
462
|
+
newImplementation: AddressLike,
|
|
463
|
+
data: BytesLike
|
|
464
|
+
], [
|
|
465
|
+
void
|
|
466
|
+
], "payable">;
|
|
467
|
+
userDistribution: TypedContractMethod<[
|
|
468
|
+
user_: AddressLike
|
|
469
|
+
], [
|
|
470
|
+
AValueDistributor.UserDistributionStructOutput
|
|
471
|
+
], "view">;
|
|
472
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
473
|
+
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
474
|
+
getFunction(nameOrSignature: "__ExecutorsRegistry_init"): TypedContractMethod<[
|
|
475
|
+
governance_: AddressLike,
|
|
476
|
+
initialExecutors_: AddressLike[]
|
|
477
|
+
], [
|
|
478
|
+
void
|
|
479
|
+
], "nonpayable">;
|
|
480
|
+
getFunction(nameOrSignature: "announceWithdrawal"): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
|
|
481
|
+
getFunction(nameOrSignature: "approveExecutor"): TypedContractMethod<[executor_: AddressLike], [void], "nonpayable">;
|
|
482
|
+
getFunction(nameOrSignature: "boundActiveExecutors"): TypedContractMethod<[], [void], "nonpayable">;
|
|
483
|
+
getFunction(nameOrSignature: "cancelWithdrawal"): TypedContractMethod<[], [void], "nonpayable">;
|
|
484
|
+
getFunction(nameOrSignature: "claimRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
485
|
+
getFunction(nameOrSignature: "completeWithdrawal"): TypedContractMethod<[], [void], "nonpayable">;
|
|
486
|
+
getFunction(nameOrSignature: "cumulativeSum"): TypedContractMethod<[], [bigint], "view">;
|
|
487
|
+
getFunction(nameOrSignature: "disapproveExecutor"): TypedContractMethod<[executor_: AddressLike], [void], "nonpayable">;
|
|
488
|
+
getFunction(nameOrSignature: "distributeRewards"): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
|
|
489
|
+
getFunction(nameOrSignature: "getActiveExecutors"): TypedContractMethod<[
|
|
490
|
+
offset_: BigNumberish,
|
|
491
|
+
limit_: BigNumberish
|
|
492
|
+
], [
|
|
493
|
+
string[]
|
|
494
|
+
], "view">;
|
|
495
|
+
getFunction(nameOrSignature: "getExecutorInfo"): TypedContractMethod<[
|
|
496
|
+
executor_: AddressLike
|
|
497
|
+
], [
|
|
498
|
+
ExecutorsRegistry.ExecutorInfoStructOutput
|
|
499
|
+
], "view">;
|
|
500
|
+
getFunction(nameOrSignature: "getExecutorsCount"): TypedContractMethod<[], [bigint], "view">;
|
|
501
|
+
getFunction(nameOrSignature: "getOwedValue"): TypedContractMethod<[user_: AddressLike], [bigint], "view">;
|
|
502
|
+
getFunction(nameOrSignature: "getStandbyExecutors"): TypedContractMethod<[
|
|
503
|
+
offset_: BigNumberish,
|
|
504
|
+
limit_: BigNumberish
|
|
505
|
+
], [
|
|
506
|
+
string[]
|
|
507
|
+
], "view">;
|
|
508
|
+
getFunction(nameOrSignature: "getWithdrawalAnnouncement"): TypedContractMethod<[
|
|
509
|
+
executor_: AddressLike
|
|
510
|
+
], [
|
|
511
|
+
ExecutorsRegistry.WithdrawalAnnouncementStructOutput
|
|
512
|
+
], "view">;
|
|
513
|
+
getFunction(nameOrSignature: "hasShares"): TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
|
|
514
|
+
getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
|
|
515
|
+
getFunction(nameOrSignature: "isExecutor"): TypedContractMethod<[candidate_: AddressLike], [boolean], "view">;
|
|
516
|
+
getFunction(nameOrSignature: "isWithdrawalReady"): TypedContractMethod<[executor_: AddressLike], [boolean], "view">;
|
|
517
|
+
getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
|
|
518
|
+
getFunction(nameOrSignature: "slashExecutor"): TypedContractMethod<[
|
|
519
|
+
executor_: AddressLike,
|
|
520
|
+
amount_: BigNumberish
|
|
521
|
+
], [
|
|
522
|
+
void
|
|
523
|
+
], "nonpayable">;
|
|
524
|
+
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount_: BigNumberish], [void], "nonpayable">;
|
|
525
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
|
|
526
|
+
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
527
|
+
getFunction(nameOrSignature: "tryBecomeActive"): TypedContractMethod<[], [void], "nonpayable">;
|
|
528
|
+
getFunction(nameOrSignature: "updateWithdrawalAnnouncement"): TypedContractMethod<[newAmount_: BigNumberish], [void], "nonpayable">;
|
|
529
|
+
getFunction(nameOrSignature: "updatedAt"): TypedContractMethod<[], [bigint], "view">;
|
|
530
|
+
getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
|
|
531
|
+
newImplementation: AddressLike,
|
|
532
|
+
data: BytesLike
|
|
533
|
+
], [
|
|
534
|
+
void
|
|
535
|
+
], "payable">;
|
|
536
|
+
getFunction(nameOrSignature: "userDistribution"): TypedContractMethod<[
|
|
537
|
+
user_: AddressLike
|
|
538
|
+
], [
|
|
539
|
+
AValueDistributor.UserDistributionStructOutput
|
|
540
|
+
], "view">;
|
|
541
|
+
getEvent(key: "ExecutorActivated"): TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
542
|
+
getEvent(key: "ExecutorApproved"): TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
543
|
+
getEvent(key: "ExecutorDisapproved"): TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
544
|
+
getEvent(key: "ExecutorMovedToStandby"): TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
545
|
+
getEvent(key: "ExecutorPaused"): TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
546
|
+
getEvent(key: "ExecutorSlashed"): TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
547
|
+
getEvent(key: "ExecutorStaked"): TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
548
|
+
getEvent(key: "ExecutorUnpaused"): TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
549
|
+
getEvent(key: "ExecutorUnstaked"): TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
550
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
551
|
+
getEvent(key: "RewardsClaimed"): TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
552
|
+
getEvent(key: "RewardsDistributed"): TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
553
|
+
getEvent(key: "SharesAdded"): TypedContractEvent<SharesAddedEvent.InputTuple, SharesAddedEvent.OutputTuple, SharesAddedEvent.OutputObject>;
|
|
554
|
+
getEvent(key: "SharesRemoved"): TypedContractEvent<SharesRemovedEvent.InputTuple, SharesRemovedEvent.OutputTuple, SharesRemovedEvent.OutputObject>;
|
|
555
|
+
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
556
|
+
getEvent(key: "ValueDistributed"): TypedContractEvent<ValueDistributedEvent.InputTuple, ValueDistributedEvent.OutputTuple, ValueDistributedEvent.OutputObject>;
|
|
557
|
+
getEvent(key: "WithdrawalAnnounced"): TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
558
|
+
getEvent(key: "WithdrawalCancelled"): TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
559
|
+
filters: {
|
|
560
|
+
"ExecutorActivated(address,uint256)": TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
561
|
+
ExecutorActivated: TypedContractEvent<ExecutorActivatedEvent.InputTuple, ExecutorActivatedEvent.OutputTuple, ExecutorActivatedEvent.OutputObject>;
|
|
562
|
+
"ExecutorApproved(address)": TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
563
|
+
ExecutorApproved: TypedContractEvent<ExecutorApprovedEvent.InputTuple, ExecutorApprovedEvent.OutputTuple, ExecutorApprovedEvent.OutputObject>;
|
|
564
|
+
"ExecutorDisapproved(address)": TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
565
|
+
ExecutorDisapproved: TypedContractEvent<ExecutorDisapprovedEvent.InputTuple, ExecutorDisapprovedEvent.OutputTuple, ExecutorDisapprovedEvent.OutputObject>;
|
|
566
|
+
"ExecutorMovedToStandby(address)": TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
567
|
+
ExecutorMovedToStandby: TypedContractEvent<ExecutorMovedToStandbyEvent.InputTuple, ExecutorMovedToStandbyEvent.OutputTuple, ExecutorMovedToStandbyEvent.OutputObject>;
|
|
568
|
+
"ExecutorPaused(address)": TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
569
|
+
ExecutorPaused: TypedContractEvent<ExecutorPausedEvent.InputTuple, ExecutorPausedEvent.OutputTuple, ExecutorPausedEvent.OutputObject>;
|
|
570
|
+
"ExecutorSlashed(address,uint256,address)": TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
571
|
+
ExecutorSlashed: TypedContractEvent<ExecutorSlashedEvent.InputTuple, ExecutorSlashedEvent.OutputTuple, ExecutorSlashedEvent.OutputObject>;
|
|
572
|
+
"ExecutorStaked(address,uint256,uint256)": TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
573
|
+
ExecutorStaked: TypedContractEvent<ExecutorStakedEvent.InputTuple, ExecutorStakedEvent.OutputTuple, ExecutorStakedEvent.OutputObject>;
|
|
574
|
+
"ExecutorUnpaused(address)": TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
575
|
+
ExecutorUnpaused: TypedContractEvent<ExecutorUnpausedEvent.InputTuple, ExecutorUnpausedEvent.OutputTuple, ExecutorUnpausedEvent.OutputObject>;
|
|
576
|
+
"ExecutorUnstaked(address,uint256,uint256)": TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
577
|
+
ExecutorUnstaked: TypedContractEvent<ExecutorUnstakedEvent.InputTuple, ExecutorUnstakedEvent.OutputTuple, ExecutorUnstakedEvent.OutputObject>;
|
|
578
|
+
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
579
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
580
|
+
"RewardsClaimed(address,uint256)": TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
581
|
+
RewardsClaimed: TypedContractEvent<RewardsClaimedEvent.InputTuple, RewardsClaimedEvent.OutputTuple, RewardsClaimedEvent.OutputObject>;
|
|
582
|
+
"RewardsDistributed(uint256)": TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
583
|
+
RewardsDistributed: TypedContractEvent<RewardsDistributedEvent.InputTuple, RewardsDistributedEvent.OutputTuple, RewardsDistributedEvent.OutputObject>;
|
|
584
|
+
"SharesAdded(address,uint256)": TypedContractEvent<SharesAddedEvent.InputTuple, SharesAddedEvent.OutputTuple, SharesAddedEvent.OutputObject>;
|
|
585
|
+
SharesAdded: TypedContractEvent<SharesAddedEvent.InputTuple, SharesAddedEvent.OutputTuple, SharesAddedEvent.OutputObject>;
|
|
586
|
+
"SharesRemoved(address,uint256)": TypedContractEvent<SharesRemovedEvent.InputTuple, SharesRemovedEvent.OutputTuple, SharesRemovedEvent.OutputObject>;
|
|
587
|
+
SharesRemoved: TypedContractEvent<SharesRemovedEvent.InputTuple, SharesRemovedEvent.OutputTuple, SharesRemovedEvent.OutputObject>;
|
|
588
|
+
"Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
589
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
590
|
+
"ValueDistributed(address,uint256)": TypedContractEvent<ValueDistributedEvent.InputTuple, ValueDistributedEvent.OutputTuple, ValueDistributedEvent.OutputObject>;
|
|
591
|
+
ValueDistributed: TypedContractEvent<ValueDistributedEvent.InputTuple, ValueDistributedEvent.OutputTuple, ValueDistributedEvent.OutputObject>;
|
|
592
|
+
"WithdrawalAnnounced(address,uint256,uint256)": TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
593
|
+
WithdrawalAnnounced: TypedContractEvent<WithdrawalAnnouncedEvent.InputTuple, WithdrawalAnnouncedEvent.OutputTuple, WithdrawalAnnouncedEvent.OutputObject>;
|
|
594
|
+
"WithdrawalCancelled(address,uint256)": TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
595
|
+
WithdrawalCancelled: TypedContractEvent<WithdrawalCancelledEvent.InputTuple, WithdrawalCancelledEvent.OutputTuple, WithdrawalCancelledEvent.OutputObject>;
|
|
596
|
+
};
|
|
597
|
+
}
|