@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,128 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { Errors, ErrorsInterface } from "../../../contracts/libs/Errors";
|
|
5
|
+
type ErrorsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class Errors__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: ErrorsConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<Errors & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): Errors__factory;
|
|
17
|
+
static readonly contractName: "Errors";
|
|
18
|
+
readonly contractName: "Errors";
|
|
19
|
+
static readonly bytecode = "0x6080806040523460175760119081601d823930815050f35b600080fdfe600080fdfea164736f6c634300081e000a";
|
|
20
|
+
static readonly abi: readonly [{
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "subject";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "requestedAmount";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}, {
|
|
30
|
+
readonly internalType: "uint256";
|
|
31
|
+
readonly name: "availibleAmount";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
}];
|
|
34
|
+
readonly name: "InsufficientStakeAmount";
|
|
35
|
+
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "InvalidERC20Token";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "InvalidGovernance";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "InvalidParametersRegistry";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [{
|
|
50
|
+
readonly internalType: "uint256";
|
|
51
|
+
readonly name: "amount_";
|
|
52
|
+
readonly type: "uint256";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "InvalidStakeAmount";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [{
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "subject";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}];
|
|
62
|
+
readonly name: "NoRewardsAvailible";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [{
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly name: "sender";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}];
|
|
70
|
+
readonly name: "NotDAOSLC";
|
|
71
|
+
readonly type: "error";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly internalType: "string";
|
|
75
|
+
readonly name: "parameterName";
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "ParameterIsAlreadySynced";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly internalType: "address";
|
|
83
|
+
readonly name: "parametersRegistry";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}, {
|
|
86
|
+
readonly internalType: "string";
|
|
87
|
+
readonly name: "parameterName";
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
}];
|
|
90
|
+
readonly name: "ParameterIsNotSet";
|
|
91
|
+
readonly type: "error";
|
|
92
|
+
}, {
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly internalType: "string";
|
|
95
|
+
readonly name: "parameterName";
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "ParameterIsNotSynced";
|
|
99
|
+
readonly type: "error";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [{
|
|
102
|
+
readonly internalType: "address";
|
|
103
|
+
readonly name: "sender";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
}];
|
|
106
|
+
readonly name: "SenderExpectedToBeDAOSLC";
|
|
107
|
+
readonly type: "error";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "sender";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "SenderExpectedToBeGovernance";
|
|
115
|
+
readonly type: "error";
|
|
116
|
+
}, {
|
|
117
|
+
readonly inputs: readonly [{
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
readonly name: "value";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "ValueShouldBeInBasisPoints";
|
|
123
|
+
readonly type: "error";
|
|
124
|
+
}];
|
|
125
|
+
static createInterface(): ErrorsInterface;
|
|
126
|
+
static connect(address: string, runner?: ContractRunner | null): Errors;
|
|
127
|
+
}
|
|
128
|
+
export {};
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Errors__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "subject",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint256",
|
|
18
|
+
name: "requestedAmount",
|
|
19
|
+
type: "uint256",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "availibleAmount",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
name: "InsufficientStakeAmount",
|
|
28
|
+
type: "error",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
inputs: [],
|
|
32
|
+
name: "InvalidERC20Token",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "InvalidGovernance",
|
|
38
|
+
type: "error",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
inputs: [],
|
|
42
|
+
name: "InvalidParametersRegistry",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "uint256",
|
|
49
|
+
name: "amount_",
|
|
50
|
+
type: "uint256",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "InvalidStakeAmount",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
inputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "address",
|
|
60
|
+
name: "subject",
|
|
61
|
+
type: "address",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
name: "NoRewardsAvailible",
|
|
65
|
+
type: "error",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "sender",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "NotDAOSLC",
|
|
76
|
+
type: "error",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "string",
|
|
82
|
+
name: "parameterName",
|
|
83
|
+
type: "string",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "ParameterIsAlreadySynced",
|
|
87
|
+
type: "error",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "address",
|
|
93
|
+
name: "parametersRegistry",
|
|
94
|
+
type: "address",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
internalType: "string",
|
|
98
|
+
name: "parameterName",
|
|
99
|
+
type: "string",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
name: "ParameterIsNotSet",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "string",
|
|
109
|
+
name: "parameterName",
|
|
110
|
+
type: "string",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "ParameterIsNotSynced",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "sender",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "SenderExpectedToBeDAOSLC",
|
|
125
|
+
type: "error",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "sender",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
name: "SenderExpectedToBeGovernance",
|
|
136
|
+
type: "error",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
name: "value",
|
|
143
|
+
type: "uint256",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
name: "ValueShouldBeInBasisPoints",
|
|
147
|
+
type: "error",
|
|
148
|
+
},
|
|
149
|
+
];
|
|
150
|
+
const _bytecode = "0x6080806040523460175760119081601d823930815050f35b600080fdfe600080fdfea164736f6c634300081e000a";
|
|
151
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
152
|
+
class Errors__factory extends ethers_1.ContractFactory {
|
|
153
|
+
constructor(...args) {
|
|
154
|
+
if (isSuperArgs(args)) {
|
|
155
|
+
super(...args);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
super(_abi, _bytecode, args[0]);
|
|
159
|
+
}
|
|
160
|
+
this.contractName = "Errors";
|
|
161
|
+
}
|
|
162
|
+
getDeployTransaction(overrides) {
|
|
163
|
+
return super.getDeployTransaction(overrides || {});
|
|
164
|
+
}
|
|
165
|
+
deploy(overrides) {
|
|
166
|
+
return super.deploy(overrides || {});
|
|
167
|
+
}
|
|
168
|
+
connect(runner) {
|
|
169
|
+
return super.connect(runner);
|
|
170
|
+
}
|
|
171
|
+
static contractName;
|
|
172
|
+
contractName;
|
|
173
|
+
static bytecode = _bytecode;
|
|
174
|
+
static abi = _abi;
|
|
175
|
+
static createInterface() {
|
|
176
|
+
return new ethers_1.Interface(_abi);
|
|
177
|
+
}
|
|
178
|
+
static connect(address, runner) {
|
|
179
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.Errors__factory = Errors__factory;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { NeutralsSelection, NeutralsSelectionInterface } from "../../../contracts/libs/NeutralsSelection";
|
|
5
|
+
type NeutralsSelectionConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class NeutralsSelection__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: NeutralsSelectionConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<NeutralsSelection & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): NeutralsSelection__factory;
|
|
17
|
+
static readonly contractName: "NeutralsSelection";
|
|
18
|
+
readonly contractName: "NeutralsSelection";
|
|
19
|
+
static readonly bytecode = "0x6080806040523460175760119081601d823930815050f35b600080fdfe600080fdfea164736f6c634300081e000a";
|
|
20
|
+
static readonly abi: readonly [{
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly internalType: "uint256";
|
|
23
|
+
readonly name: "addressesCount";
|
|
24
|
+
readonly type: "uint256";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "weightsCount";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "CountOfAddressesMustBeTheSameAsWeights";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
readonly name: "k";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
}, {
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "addressesLength";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "KmustBeInRangeOfAddresesLength";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}];
|
|
45
|
+
static createInterface(): NeutralsSelectionInterface;
|
|
46
|
+
static connect(address: string, runner?: ContractRunner | null): NeutralsSelection;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeutralsSelection__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "uint256",
|
|
13
|
+
name: "addressesCount",
|
|
14
|
+
type: "uint256",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint256",
|
|
18
|
+
name: "weightsCount",
|
|
19
|
+
type: "uint256",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
name: "CountOfAddressesMustBeTheSameAsWeights",
|
|
23
|
+
type: "error",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "k",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
internalType: "uint256",
|
|
34
|
+
name: "addressesLength",
|
|
35
|
+
type: "uint256",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
name: "KmustBeInRangeOfAddresesLength",
|
|
39
|
+
type: "error",
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
const _bytecode = "0x6080806040523460175760119081601d823930815050f35b600080fdfe600080fdfea164736f6c634300081e000a";
|
|
43
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
44
|
+
class NeutralsSelection__factory extends ethers_1.ContractFactory {
|
|
45
|
+
constructor(...args) {
|
|
46
|
+
if (isSuperArgs(args)) {
|
|
47
|
+
super(...args);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
super(_abi, _bytecode, args[0]);
|
|
51
|
+
}
|
|
52
|
+
this.contractName = "NeutralsSelection";
|
|
53
|
+
}
|
|
54
|
+
getDeployTransaction(overrides) {
|
|
55
|
+
return super.getDeployTransaction(overrides || {});
|
|
56
|
+
}
|
|
57
|
+
deploy(overrides) {
|
|
58
|
+
return super.deploy(overrides || {});
|
|
59
|
+
}
|
|
60
|
+
connect(runner) {
|
|
61
|
+
return super.connect(runner);
|
|
62
|
+
}
|
|
63
|
+
static contractName;
|
|
64
|
+
contractName;
|
|
65
|
+
static bytecode = _bytecode;
|
|
66
|
+
static abi = _abi;
|
|
67
|
+
static createInterface() {
|
|
68
|
+
return new ethers_1.Interface(_abi);
|
|
69
|
+
}
|
|
70
|
+
static connect(address, runner) {
|
|
71
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.NeutralsSelection__factory = NeutralsSelection__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NeutralsSelection__factory = exports.Errors__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var Errors__factory_1 = require("./Errors__factory");
|
|
8
|
+
Object.defineProperty(exports, "Errors__factory", { enumerable: true, get: function () { return Errors__factory_1.Errors__factory; } });
|
|
9
|
+
var NeutralsSelection__factory_1 = require("./NeutralsSelection__factory");
|
|
10
|
+
Object.defineProperty(exports, "NeutralsSelection__factory", { enumerable: true, get: function () { return NeutralsSelection__factory_1.NeutralsSelection__factory; } });
|