@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
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
-
import type {
|
|
7
|
-
IExecutorsRegistry,
|
|
8
|
-
IExecutorsRegistryInterface,
|
|
9
|
-
} from "../../../contracts/interfaces/IExecutorsRegistry";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "executor",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
name: "ExecutorAlreadyApproved",
|
|
21
|
-
type: "error",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "executor",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "ExecutorAlreadyPaused",
|
|
32
|
-
type: "error",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
inputs: [
|
|
36
|
-
{
|
|
37
|
-
internalType: "address",
|
|
38
|
-
name: "executor",
|
|
39
|
-
type: "address",
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
name: "ExecutorHasNoStake",
|
|
43
|
-
type: "error",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
inputs: [
|
|
47
|
-
{
|
|
48
|
-
internalType: "address",
|
|
49
|
-
name: "executor",
|
|
50
|
-
type: "address",
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
name: "ExecutorNotApproved",
|
|
54
|
-
type: "error",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
inputs: [
|
|
58
|
-
{
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "executor",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
name: "ExecutorNotPaused",
|
|
65
|
-
type: "error",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
inputs: [
|
|
69
|
-
{
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "executor",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
name: "InvalidInitialExecutor",
|
|
76
|
-
type: "error",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
inputs: [
|
|
80
|
-
{
|
|
81
|
-
internalType: "address",
|
|
82
|
-
name: "executor",
|
|
83
|
-
type: "address",
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
name: "NoWithdrawalAnnouncement",
|
|
87
|
-
type: "error",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
inputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "address",
|
|
93
|
-
name: "executor",
|
|
94
|
-
type: "address",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
name: "WithdrawalAlreadyAnnounced",
|
|
98
|
-
type: "error",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
inputs: [
|
|
102
|
-
{
|
|
103
|
-
internalType: "address",
|
|
104
|
-
name: "executor",
|
|
105
|
-
type: "address",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
internalType: "uint256",
|
|
109
|
-
name: "availableAt",
|
|
110
|
-
type: "uint256",
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
name: "WithdrawalNotReady",
|
|
114
|
-
type: "error",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
anonymous: false,
|
|
118
|
-
inputs: [
|
|
119
|
-
{
|
|
120
|
-
indexed: true,
|
|
121
|
-
internalType: "address",
|
|
122
|
-
name: "executor",
|
|
123
|
-
type: "address",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
indexed: false,
|
|
127
|
-
internalType: "uint256",
|
|
128
|
-
name: "stake",
|
|
129
|
-
type: "uint256",
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
name: "ExecutorActivated",
|
|
133
|
-
type: "event",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
anonymous: false,
|
|
137
|
-
inputs: [
|
|
138
|
-
{
|
|
139
|
-
indexed: true,
|
|
140
|
-
internalType: "address",
|
|
141
|
-
name: "executor",
|
|
142
|
-
type: "address",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
name: "ExecutorApproved",
|
|
146
|
-
type: "event",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
anonymous: false,
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
indexed: true,
|
|
153
|
-
internalType: "address",
|
|
154
|
-
name: "executor",
|
|
155
|
-
type: "address",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
name: "ExecutorDisapproved",
|
|
159
|
-
type: "event",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
anonymous: false,
|
|
163
|
-
inputs: [
|
|
164
|
-
{
|
|
165
|
-
indexed: true,
|
|
166
|
-
internalType: "address",
|
|
167
|
-
name: "executor",
|
|
168
|
-
type: "address",
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
name: "ExecutorMovedToStandby",
|
|
172
|
-
type: "event",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
anonymous: false,
|
|
176
|
-
inputs: [
|
|
177
|
-
{
|
|
178
|
-
indexed: true,
|
|
179
|
-
internalType: "address",
|
|
180
|
-
name: "executor",
|
|
181
|
-
type: "address",
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
name: "ExecutorPaused",
|
|
185
|
-
type: "event",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
anonymous: false,
|
|
189
|
-
inputs: [
|
|
190
|
-
{
|
|
191
|
-
indexed: true,
|
|
192
|
-
internalType: "address",
|
|
193
|
-
name: "executor",
|
|
194
|
-
type: "address",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
indexed: false,
|
|
198
|
-
internalType: "uint256",
|
|
199
|
-
name: "amount",
|
|
200
|
-
type: "uint256",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
indexed: false,
|
|
204
|
-
internalType: "address",
|
|
205
|
-
name: "recipient",
|
|
206
|
-
type: "address",
|
|
207
|
-
},
|
|
208
|
-
],
|
|
209
|
-
name: "ExecutorSlashed",
|
|
210
|
-
type: "event",
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
anonymous: false,
|
|
214
|
-
inputs: [
|
|
215
|
-
{
|
|
216
|
-
indexed: true,
|
|
217
|
-
internalType: "address",
|
|
218
|
-
name: "executor",
|
|
219
|
-
type: "address",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "amount",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
indexed: false,
|
|
229
|
-
internalType: "uint256",
|
|
230
|
-
name: "totalStake",
|
|
231
|
-
type: "uint256",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
name: "ExecutorStaked",
|
|
235
|
-
type: "event",
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
anonymous: false,
|
|
239
|
-
inputs: [
|
|
240
|
-
{
|
|
241
|
-
indexed: true,
|
|
242
|
-
internalType: "address",
|
|
243
|
-
name: "executor",
|
|
244
|
-
type: "address",
|
|
245
|
-
},
|
|
246
|
-
],
|
|
247
|
-
name: "ExecutorUnpaused",
|
|
248
|
-
type: "event",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
anonymous: false,
|
|
252
|
-
inputs: [
|
|
253
|
-
{
|
|
254
|
-
indexed: true,
|
|
255
|
-
internalType: "address",
|
|
256
|
-
name: "executor",
|
|
257
|
-
type: "address",
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
indexed: false,
|
|
261
|
-
internalType: "uint256",
|
|
262
|
-
name: "amount",
|
|
263
|
-
type: "uint256",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
indexed: false,
|
|
267
|
-
internalType: "uint256",
|
|
268
|
-
name: "remainingStake",
|
|
269
|
-
type: "uint256",
|
|
270
|
-
},
|
|
271
|
-
],
|
|
272
|
-
name: "ExecutorUnstaked",
|
|
273
|
-
type: "event",
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
anonymous: false,
|
|
277
|
-
inputs: [
|
|
278
|
-
{
|
|
279
|
-
indexed: true,
|
|
280
|
-
internalType: "address",
|
|
281
|
-
name: "executor",
|
|
282
|
-
type: "address",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
indexed: false,
|
|
286
|
-
internalType: "uint256",
|
|
287
|
-
name: "amount",
|
|
288
|
-
type: "uint256",
|
|
289
|
-
},
|
|
290
|
-
],
|
|
291
|
-
name: "RewardsClaimed",
|
|
292
|
-
type: "event",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
anonymous: false,
|
|
296
|
-
inputs: [
|
|
297
|
-
{
|
|
298
|
-
indexed: false,
|
|
299
|
-
internalType: "uint256",
|
|
300
|
-
name: "totalAmount",
|
|
301
|
-
type: "uint256",
|
|
302
|
-
},
|
|
303
|
-
],
|
|
304
|
-
name: "RewardsDistributed",
|
|
305
|
-
type: "event",
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
anonymous: false,
|
|
309
|
-
inputs: [
|
|
310
|
-
{
|
|
311
|
-
indexed: true,
|
|
312
|
-
internalType: "address",
|
|
313
|
-
name: "executor",
|
|
314
|
-
type: "address",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
indexed: false,
|
|
318
|
-
internalType: "uint256",
|
|
319
|
-
name: "amount",
|
|
320
|
-
type: "uint256",
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
indexed: false,
|
|
324
|
-
internalType: "uint256",
|
|
325
|
-
name: "availableAt",
|
|
326
|
-
type: "uint256",
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
name: "WithdrawalAnnounced",
|
|
330
|
-
type: "event",
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
anonymous: false,
|
|
334
|
-
inputs: [
|
|
335
|
-
{
|
|
336
|
-
indexed: true,
|
|
337
|
-
internalType: "address",
|
|
338
|
-
name: "executor",
|
|
339
|
-
type: "address",
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
indexed: false,
|
|
343
|
-
internalType: "uint256",
|
|
344
|
-
name: "amount",
|
|
345
|
-
type: "uint256",
|
|
346
|
-
},
|
|
347
|
-
],
|
|
348
|
-
name: "WithdrawalCancelled",
|
|
349
|
-
type: "event",
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
inputs: [
|
|
353
|
-
{
|
|
354
|
-
internalType: "uint256",
|
|
355
|
-
name: "amount_",
|
|
356
|
-
type: "uint256",
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
name: "distributeRewards",
|
|
360
|
-
outputs: [],
|
|
361
|
-
stateMutability: "nonpayable",
|
|
362
|
-
type: "function",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
inputs: [],
|
|
366
|
-
name: "getExecutorsCount",
|
|
367
|
-
outputs: [
|
|
368
|
-
{
|
|
369
|
-
internalType: "uint256",
|
|
370
|
-
name: "",
|
|
371
|
-
type: "uint256",
|
|
372
|
-
},
|
|
373
|
-
],
|
|
374
|
-
stateMutability: "nonpayable",
|
|
375
|
-
type: "function",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
inputs: [
|
|
379
|
-
{
|
|
380
|
-
internalType: "address",
|
|
381
|
-
name: "candidate_",
|
|
382
|
-
type: "address",
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
name: "isExecutor",
|
|
386
|
-
outputs: [
|
|
387
|
-
{
|
|
388
|
-
internalType: "bool",
|
|
389
|
-
name: "",
|
|
390
|
-
type: "bool",
|
|
391
|
-
},
|
|
392
|
-
],
|
|
393
|
-
stateMutability: "nonpayable",
|
|
394
|
-
type: "function",
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
inputs: [
|
|
398
|
-
{
|
|
399
|
-
internalType: "bytes4",
|
|
400
|
-
name: "interfaceId",
|
|
401
|
-
type: "bytes4",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
name: "supportsInterface",
|
|
405
|
-
outputs: [
|
|
406
|
-
{
|
|
407
|
-
internalType: "bool",
|
|
408
|
-
name: "",
|
|
409
|
-
type: "bool",
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
stateMutability: "view",
|
|
413
|
-
type: "function",
|
|
414
|
-
},
|
|
415
|
-
] as const;
|
|
416
|
-
|
|
417
|
-
export class IExecutorsRegistry__factory {
|
|
418
|
-
static readonly abi = _abi;
|
|
419
|
-
static createInterface(): IExecutorsRegistryInterface {
|
|
420
|
-
return new Interface(_abi) as IExecutorsRegistryInterface;
|
|
421
|
-
}
|
|
422
|
-
static connect(
|
|
423
|
-
address: string,
|
|
424
|
-
runner?: ContractRunner | null
|
|
425
|
-
): IExecutorsRegistry {
|
|
426
|
-
return new Contract(address, _abi, runner) as unknown as IExecutorsRegistry;
|
|
427
|
-
}
|
|
428
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
-
import type {
|
|
7
|
-
IGovernance,
|
|
8
|
-
IGovernanceInterface,
|
|
9
|
-
} from "../../../contracts/interfaces/IGovernance";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "getParametersRegistry",
|
|
15
|
-
outputs: [
|
|
16
|
-
{
|
|
17
|
-
internalType: "address",
|
|
18
|
-
name: "",
|
|
19
|
-
type: "address",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
stateMutability: "view",
|
|
23
|
-
type: "function",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
inputs: [],
|
|
27
|
-
name: "getSystemToken",
|
|
28
|
-
outputs: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "address",
|
|
31
|
-
name: "",
|
|
32
|
-
type: "address",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "view",
|
|
36
|
-
type: "function",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [
|
|
40
|
-
{
|
|
41
|
-
internalType: "address",
|
|
42
|
-
name: "requester_",
|
|
43
|
-
type: "address",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "serviceFee_",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "neutralsNumber_",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
internalType: "string",
|
|
57
|
-
name: "additionalLink_",
|
|
58
|
-
type: "string",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
internalType: "bytes",
|
|
62
|
-
name: "data_",
|
|
63
|
-
type: "bytes",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
name: "processServiceRequest",
|
|
67
|
-
outputs: [
|
|
68
|
-
{
|
|
69
|
-
internalType: "bool",
|
|
70
|
-
name: "",
|
|
71
|
-
type: "bool",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
stateMutability: "payable",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [
|
|
79
|
-
{
|
|
80
|
-
internalType: "uint256",
|
|
81
|
-
name: "proposalId_",
|
|
82
|
-
type: "uint256",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
components: [
|
|
86
|
-
{
|
|
87
|
-
components: [
|
|
88
|
-
{
|
|
89
|
-
internalType: "enum IGovernance.OperationType",
|
|
90
|
-
name: "operation_",
|
|
91
|
-
type: "uint8",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
internalType: "address",
|
|
95
|
-
name: "to_",
|
|
96
|
-
type: "address",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
internalType: "bytes",
|
|
100
|
-
name: "data_",
|
|
101
|
-
type: "bytes",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
internalType: "uint256",
|
|
105
|
-
name: "value_",
|
|
106
|
-
type: "uint256",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
internalType: "struct IGovernance.OperationData[]",
|
|
110
|
-
name: "operations",
|
|
111
|
-
type: "tuple[]",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
internalType: "struct IGovernance.OperationBundle",
|
|
115
|
-
name: "operationBundle_",
|
|
116
|
-
type: "tuple",
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
name: "proposeOperations",
|
|
120
|
-
outputs: [],
|
|
121
|
-
stateMutability: "nonpayable",
|
|
122
|
-
type: "function",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
inputs: [
|
|
126
|
-
{
|
|
127
|
-
internalType: "bytes4",
|
|
128
|
-
name: "interfaceId",
|
|
129
|
-
type: "bytes4",
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
name: "supportsInterface",
|
|
133
|
-
outputs: [
|
|
134
|
-
{
|
|
135
|
-
internalType: "bool",
|
|
136
|
-
name: "",
|
|
137
|
-
type: "bool",
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
stateMutability: "view",
|
|
141
|
-
type: "function",
|
|
142
|
-
},
|
|
143
|
-
] as const;
|
|
144
|
-
|
|
145
|
-
export class IGovernance__factory {
|
|
146
|
-
static readonly abi = _abi;
|
|
147
|
-
static createInterface(): IGovernanceInterface {
|
|
148
|
-
return new Interface(_abi) as IGovernanceInterface;
|
|
149
|
-
}
|
|
150
|
-
static connect(address: string, runner?: ContractRunner | null): IGovernance {
|
|
151
|
-
return new Contract(address, _abi, runner) as unknown as IGovernance;
|
|
152
|
-
}
|
|
153
|
-
}
|