@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,241 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { MockGovernance, MockGovernanceInterface } from "../../../contracts/mocks/MockGovernance";
|
|
5
|
+
type MockGovernanceConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockGovernance__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockGovernanceConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockGovernance & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockGovernance__factory;
|
|
17
|
+
static readonly contractName: "MockGovernance";
|
|
18
|
+
readonly contractName: "MockGovernance";
|
|
19
|
+
static readonly bytecode = "0x60808060405234601557610a74908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c908162c12699146107c257816301ffc9a71461076f575080630645e39d146106f45780631065baee146106cb57806315d24904146103eb5780632db8b607146106cb5780637e555c80146106a85780638955e33114610677578063adf499f51461050d578063c729505e14610414578063dae83c43146103eb578063e312d7f2146100e95763eb284bbf146100ad57600080fd5b346100e45760203660031901126100e4576001600160a01b036100ce6107f9565b1660018060a01b03196006541617600655600080f35b600080fd5b60a03660031901126100e4576100fd6107f9565b602435906044356064356001600160401b0381116100e457366023820112156100e4576101349036906024816004013591016109ec565b926084356001600160401b0381116100e457610154903690600401610a32565b926080604051916101648361096f565b6001600160a01b03168083526020830184905260408301859052606083018790529101938452600180546001600160a01b031916909117905560025560035581516001600160401b038111610316576101be60045461080f565b601f811161039c575b50602092601f8211600114610337576101fa9293829160009261032c575b50508160011b916000199060031b1c19161790565b6004555b5180516001600160401b0381116103165761021a60055461080f565b601f81116102d8575b50602091601f82116001146102745761025392600091836102695750508160011b916000199060031b1c19161790565b6005555b602060ff600054166040519015158152f35b0151905083806101e5565b601f198216926005600052806000209160005b8581106102c0575083600195106102a7575b505050811b01600555610257565b015160001960f88460031b161c19169055828080610299565b91926020600181928685015181550194019201610287565b6103069060056000526020600020601f840160051c8101916020851061030c575b601f0160051c0190610a50565b82610223565b90915081906102f9565b634e487b7160e01b600052604160045260246000fd5b0151905084806101e5565b601f198216936004600052806000209160005b868110610384575083600195961061036b575b505050811b016004556101fe565b015160001960f88460031b161c1916905583808061035d565b9192602060018192868501518155019401920161034a565b60046000526103e5907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101916020851061030c57601f0160051c0190610a50565b836101c7565b346100e45760003660031901126100e4576007546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e457606060806040516104358161096f565b6000815260006020820152600060408201528280820152015260405161045a8161096f565b60018060a01b036001541681526002549060208101918252610509600354604083019081526104f66040516104998161049281610849565b038261098a565b60608501908152604051926104b8846104b1816108ea565b038561098a565b608086019384526040519687966020885260018060a01b0390511660208801525160408701525160608601525160a0608086015260c08501906109ab565b9051838203601f190160a08501526109ab565b0390f35b346100e45760403660031901126100e4576024356001600160401b0381116100e457602060031982360301126100e45760405190602082018281106001600160401b03821117610316576040528060040135906001600160401b0382116100e4570190366023830112156100e4576004820135916001600160401b038311610316578260051b90604051936105a5602084018661098a565b845260208401918101602401903682116100e45760248101925b8284106105cb57858552005b83356001600160401b0381116100e4576004908301016080601f1982360301126100e45760405191608083018381106001600160401b0382111761031657604052602082013560028110156100e457835260408201356001600160a01b03811681036100e45760208401526060820135926001600160401b0384116100e4576080602094936106608695863691840101610a32565b6040840152013560608201528152019301926105bf565b346100e45760203660031901126100e4576004358015158091036100e45760ff801960005416911617600055600080f35b346100e45760003660031901126100e457602060ff600054166040519015158152f35b346100e45760003660031901126100e4576006546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e45760018060a01b03600154166002549061050960035461076160405161072d8161049281610849565b6040519261073e846104b1816108ea565b60405196879687526020870152604086015260a0606086015260a08501906109ab565b9083820360808501526109ab565b346100e45760203660031901126100e4576004359063ffffffff60e01b82168092036100e457602091631da32c4160e21b81149081156107b1575b5015158152f35b6301ffc9a760e01b149050836107aa565b346100e45760203660031901126100e4576001600160a01b036107e36107f9565b1660018060a01b03196007541617600755600080f35b600435906001600160a01b03821682036100e457565b90600182811c9216801561083f575b602083101461082957565b634e487b7160e01b600052602260045260246000fd5b91607f169161081e565b600454600092916108598261080f565b80825291600181169081156108ce5750600114610874575050565b600460009081529293509091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8383106108b4575060209250010190565b6001816020929493945483858701015201910191906108a3565b9050602093945060ff929192191683830152151560051b010190565b600554600092916108fa8261080f565b80825291600181169081156108ce5750600114610915575050565b600560009081529293509091907f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b838310610955575060209250010190565b600181602092949394548385870101520191019190610944565b60a081019081106001600160401b0382111761031657604052565b90601f801991011681019081106001600160401b0382111761031657604052565b919082519283825260005b8481106109d7575050826000602080949584010152601f8019910116010190565b806020809284010151828286010152016109b6565b9291926001600160401b0382116103165760405191610a15601f8201601f19166020018461098a565b8294818452818301116100e4578281602093846000960137010152565b9080601f830112156100e457816020610a4d933591016109ec565b90565b818110610a5b575050565b60008155600101610a5056fea164736f6c634300081e000a";
|
|
20
|
+
static readonly abi: readonly [{
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "_lastCall";
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly internalType: "address";
|
|
25
|
+
readonly name: "requester";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly internalType: "uint256";
|
|
29
|
+
readonly name: "serviceFee";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
readonly name: "neutralsNumber";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}, {
|
|
36
|
+
readonly internalType: "string";
|
|
37
|
+
readonly name: "additionalLink";
|
|
38
|
+
readonly type: "string";
|
|
39
|
+
}, {
|
|
40
|
+
readonly internalType: "bytes";
|
|
41
|
+
readonly name: "data";
|
|
42
|
+
readonly type: "bytes";
|
|
43
|
+
}];
|
|
44
|
+
readonly stateMutability: "view";
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
readonly name: "_parametersRegistry";
|
|
49
|
+
readonly outputs: readonly [{
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}];
|
|
54
|
+
readonly stateMutability: "view";
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "_processServiceRequestResult";
|
|
59
|
+
readonly outputs: readonly [{
|
|
60
|
+
readonly internalType: "bool";
|
|
61
|
+
readonly name: "";
|
|
62
|
+
readonly type: "bool";
|
|
63
|
+
}];
|
|
64
|
+
readonly stateMutability: "view";
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [];
|
|
68
|
+
readonly name: "_systemToken";
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly stateMutability: "view";
|
|
75
|
+
readonly type: "function";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "getLastProcessServiceRequestCall";
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly components: readonly [{
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "requester";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}, {
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
readonly name: "serviceFee";
|
|
87
|
+
readonly type: "uint256";
|
|
88
|
+
}, {
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
readonly name: "neutralsNumber";
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
}, {
|
|
93
|
+
readonly internalType: "string";
|
|
94
|
+
readonly name: "additionalLink";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
}, {
|
|
97
|
+
readonly internalType: "bytes";
|
|
98
|
+
readonly name: "data";
|
|
99
|
+
readonly type: "bytes";
|
|
100
|
+
}];
|
|
101
|
+
readonly internalType: "struct MockGovernance.ServiceRequestCall";
|
|
102
|
+
readonly name: "";
|
|
103
|
+
readonly type: "tuple";
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
readonly type: "function";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "getParametersRegistry";
|
|
110
|
+
readonly outputs: readonly [{
|
|
111
|
+
readonly internalType: "address";
|
|
112
|
+
readonly name: "";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}];
|
|
115
|
+
readonly stateMutability: "view";
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly name: "getSystemToken";
|
|
120
|
+
readonly outputs: readonly [{
|
|
121
|
+
readonly internalType: "address";
|
|
122
|
+
readonly name: "";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
}];
|
|
125
|
+
readonly stateMutability: "view";
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [{
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
readonly name: "requester_";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
}, {
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "serviceFee_";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}, {
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "neutralsNumber_";
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
}, {
|
|
141
|
+
readonly internalType: "string";
|
|
142
|
+
readonly name: "additionalLink_";
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
}, {
|
|
145
|
+
readonly internalType: "bytes";
|
|
146
|
+
readonly name: "data_";
|
|
147
|
+
readonly type: "bytes";
|
|
148
|
+
}];
|
|
149
|
+
readonly name: "processServiceRequest";
|
|
150
|
+
readonly outputs: readonly [{
|
|
151
|
+
readonly internalType: "bool";
|
|
152
|
+
readonly name: "";
|
|
153
|
+
readonly type: "bool";
|
|
154
|
+
}];
|
|
155
|
+
readonly stateMutability: "payable";
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
}, {
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly internalType: "uint256";
|
|
160
|
+
readonly name: "proposalId_";
|
|
161
|
+
readonly type: "uint256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly components: readonly [{
|
|
164
|
+
readonly components: readonly [{
|
|
165
|
+
readonly internalType: "enum IGovernance.OperationType";
|
|
166
|
+
readonly name: "operation_";
|
|
167
|
+
readonly type: "uint8";
|
|
168
|
+
}, {
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
readonly name: "to_";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly internalType: "bytes";
|
|
174
|
+
readonly name: "data_";
|
|
175
|
+
readonly type: "bytes";
|
|
176
|
+
}, {
|
|
177
|
+
readonly internalType: "uint256";
|
|
178
|
+
readonly name: "value_";
|
|
179
|
+
readonly type: "uint256";
|
|
180
|
+
}];
|
|
181
|
+
readonly internalType: "struct IGovernance.OperationData[]";
|
|
182
|
+
readonly name: "operations";
|
|
183
|
+
readonly type: "tuple[]";
|
|
184
|
+
}];
|
|
185
|
+
readonly internalType: "struct IGovernance.OperationBundle";
|
|
186
|
+
readonly name: "operationBundle_";
|
|
187
|
+
readonly type: "tuple";
|
|
188
|
+
}];
|
|
189
|
+
readonly name: "proposeOperations";
|
|
190
|
+
readonly outputs: readonly [];
|
|
191
|
+
readonly stateMutability: "nonpayable";
|
|
192
|
+
readonly type: "function";
|
|
193
|
+
}, {
|
|
194
|
+
readonly inputs: readonly [{
|
|
195
|
+
readonly internalType: "address";
|
|
196
|
+
readonly name: "registry_";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "setParametersRegistry";
|
|
200
|
+
readonly outputs: readonly [];
|
|
201
|
+
readonly stateMutability: "nonpayable";
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly internalType: "bool";
|
|
206
|
+
readonly name: "result_";
|
|
207
|
+
readonly type: "bool";
|
|
208
|
+
}];
|
|
209
|
+
readonly name: "setProcessServiceRequestResult";
|
|
210
|
+
readonly outputs: readonly [];
|
|
211
|
+
readonly stateMutability: "nonpayable";
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
}, {
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
readonly name: "token_";
|
|
217
|
+
readonly type: "address";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "setSystemToken";
|
|
220
|
+
readonly outputs: readonly [];
|
|
221
|
+
readonly stateMutability: "nonpayable";
|
|
222
|
+
readonly type: "function";
|
|
223
|
+
}, {
|
|
224
|
+
readonly inputs: readonly [{
|
|
225
|
+
readonly internalType: "bytes4";
|
|
226
|
+
readonly name: "interfaceId";
|
|
227
|
+
readonly type: "bytes4";
|
|
228
|
+
}];
|
|
229
|
+
readonly name: "supportsInterface";
|
|
230
|
+
readonly outputs: readonly [{
|
|
231
|
+
readonly internalType: "bool";
|
|
232
|
+
readonly name: "";
|
|
233
|
+
readonly type: "bool";
|
|
234
|
+
}];
|
|
235
|
+
readonly stateMutability: "view";
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
}];
|
|
238
|
+
static createInterface(): MockGovernanceInterface;
|
|
239
|
+
static connect(address: string, runner?: ContractRunner | null): MockGovernance;
|
|
240
|
+
}
|
|
241
|
+
export {};
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MockGovernance__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
|
+
name: "_lastCall",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "requester",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
internalType: "uint256",
|
|
20
|
+
name: "serviceFee",
|
|
21
|
+
type: "uint256",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: "uint256",
|
|
25
|
+
name: "neutralsNumber",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: "string",
|
|
30
|
+
name: "additionalLink",
|
|
31
|
+
type: "string",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
internalType: "bytes",
|
|
35
|
+
name: "data",
|
|
36
|
+
type: "bytes",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
stateMutability: "view",
|
|
40
|
+
type: "function",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: "_parametersRegistry",
|
|
45
|
+
outputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "view",
|
|
53
|
+
type: "function",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "_processServiceRequestResult",
|
|
58
|
+
outputs: [
|
|
59
|
+
{
|
|
60
|
+
internalType: "bool",
|
|
61
|
+
name: "",
|
|
62
|
+
type: "bool",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
stateMutability: "view",
|
|
66
|
+
type: "function",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [],
|
|
70
|
+
name: "_systemToken",
|
|
71
|
+
outputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
stateMutability: "view",
|
|
79
|
+
type: "function",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [],
|
|
83
|
+
name: "getLastProcessServiceRequestCall",
|
|
84
|
+
outputs: [
|
|
85
|
+
{
|
|
86
|
+
components: [
|
|
87
|
+
{
|
|
88
|
+
internalType: "address",
|
|
89
|
+
name: "requester",
|
|
90
|
+
type: "address",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "uint256",
|
|
94
|
+
name: "serviceFee",
|
|
95
|
+
type: "uint256",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint256",
|
|
99
|
+
name: "neutralsNumber",
|
|
100
|
+
type: "uint256",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "string",
|
|
104
|
+
name: "additionalLink",
|
|
105
|
+
type: "string",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "bytes",
|
|
109
|
+
name: "data",
|
|
110
|
+
type: "bytes",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
internalType: "struct MockGovernance.ServiceRequestCall",
|
|
114
|
+
name: "",
|
|
115
|
+
type: "tuple",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "view",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "getParametersRegistry",
|
|
124
|
+
outputs: [
|
|
125
|
+
{
|
|
126
|
+
internalType: "address",
|
|
127
|
+
name: "",
|
|
128
|
+
type: "address",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
stateMutability: "view",
|
|
132
|
+
type: "function",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
inputs: [],
|
|
136
|
+
name: "getSystemToken",
|
|
137
|
+
outputs: [
|
|
138
|
+
{
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "",
|
|
141
|
+
type: "address",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
stateMutability: "view",
|
|
145
|
+
type: "function",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [
|
|
149
|
+
{
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "requester_",
|
|
152
|
+
type: "address",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
internalType: "uint256",
|
|
156
|
+
name: "serviceFee_",
|
|
157
|
+
type: "uint256",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "uint256",
|
|
161
|
+
name: "neutralsNumber_",
|
|
162
|
+
type: "uint256",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: "string",
|
|
166
|
+
name: "additionalLink_",
|
|
167
|
+
type: "string",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
internalType: "bytes",
|
|
171
|
+
name: "data_",
|
|
172
|
+
type: "bytes",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
name: "processServiceRequest",
|
|
176
|
+
outputs: [
|
|
177
|
+
{
|
|
178
|
+
internalType: "bool",
|
|
179
|
+
name: "",
|
|
180
|
+
type: "bool",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
stateMutability: "payable",
|
|
184
|
+
type: "function",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
inputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "proposalId_",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
components: [
|
|
195
|
+
{
|
|
196
|
+
components: [
|
|
197
|
+
{
|
|
198
|
+
internalType: "enum IGovernance.OperationType",
|
|
199
|
+
name: "operation_",
|
|
200
|
+
type: "uint8",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
internalType: "address",
|
|
204
|
+
name: "to_",
|
|
205
|
+
type: "address",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
internalType: "bytes",
|
|
209
|
+
name: "data_",
|
|
210
|
+
type: "bytes",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
internalType: "uint256",
|
|
214
|
+
name: "value_",
|
|
215
|
+
type: "uint256",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
internalType: "struct IGovernance.OperationData[]",
|
|
219
|
+
name: "operations",
|
|
220
|
+
type: "tuple[]",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
internalType: "struct IGovernance.OperationBundle",
|
|
224
|
+
name: "operationBundle_",
|
|
225
|
+
type: "tuple",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
name: "proposeOperations",
|
|
229
|
+
outputs: [],
|
|
230
|
+
stateMutability: "nonpayable",
|
|
231
|
+
type: "function",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
inputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "registry_",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
name: "setParametersRegistry",
|
|
242
|
+
outputs: [],
|
|
243
|
+
stateMutability: "nonpayable",
|
|
244
|
+
type: "function",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
inputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "bool",
|
|
250
|
+
name: "result_",
|
|
251
|
+
type: "bool",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
name: "setProcessServiceRequestResult",
|
|
255
|
+
outputs: [],
|
|
256
|
+
stateMutability: "nonpayable",
|
|
257
|
+
type: "function",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "token_",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "setSystemToken",
|
|
268
|
+
outputs: [],
|
|
269
|
+
stateMutability: "nonpayable",
|
|
270
|
+
type: "function",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
inputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: "bytes4",
|
|
276
|
+
name: "interfaceId",
|
|
277
|
+
type: "bytes4",
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
name: "supportsInterface",
|
|
281
|
+
outputs: [
|
|
282
|
+
{
|
|
283
|
+
internalType: "bool",
|
|
284
|
+
name: "",
|
|
285
|
+
type: "bool",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
stateMutability: "view",
|
|
289
|
+
type: "function",
|
|
290
|
+
},
|
|
291
|
+
];
|
|
292
|
+
const _bytecode = "0x60808060405234601557610a74908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c908162c12699146107c257816301ffc9a71461076f575080630645e39d146106f45780631065baee146106cb57806315d24904146103eb5780632db8b607146106cb5780637e555c80146106a85780638955e33114610677578063adf499f51461050d578063c729505e14610414578063dae83c43146103eb578063e312d7f2146100e95763eb284bbf146100ad57600080fd5b346100e45760203660031901126100e4576001600160a01b036100ce6107f9565b1660018060a01b03196006541617600655600080f35b600080fd5b60a03660031901126100e4576100fd6107f9565b602435906044356064356001600160401b0381116100e457366023820112156100e4576101349036906024816004013591016109ec565b926084356001600160401b0381116100e457610154903690600401610a32565b926080604051916101648361096f565b6001600160a01b03168083526020830184905260408301859052606083018790529101938452600180546001600160a01b031916909117905560025560035581516001600160401b038111610316576101be60045461080f565b601f811161039c575b50602092601f8211600114610337576101fa9293829160009261032c575b50508160011b916000199060031b1c19161790565b6004555b5180516001600160401b0381116103165761021a60055461080f565b601f81116102d8575b50602091601f82116001146102745761025392600091836102695750508160011b916000199060031b1c19161790565b6005555b602060ff600054166040519015158152f35b0151905083806101e5565b601f198216926005600052806000209160005b8581106102c0575083600195106102a7575b505050811b01600555610257565b015160001960f88460031b161c19169055828080610299565b91926020600181928685015181550194019201610287565b6103069060056000526020600020601f840160051c8101916020851061030c575b601f0160051c0190610a50565b82610223565b90915081906102f9565b634e487b7160e01b600052604160045260246000fd5b0151905084806101e5565b601f198216936004600052806000209160005b868110610384575083600195961061036b575b505050811b016004556101fe565b015160001960f88460031b161c1916905583808061035d565b9192602060018192868501518155019401920161034a565b60046000526103e5907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101916020851061030c57601f0160051c0190610a50565b836101c7565b346100e45760003660031901126100e4576007546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e457606060806040516104358161096f565b6000815260006020820152600060408201528280820152015260405161045a8161096f565b60018060a01b036001541681526002549060208101918252610509600354604083019081526104f66040516104998161049281610849565b038261098a565b60608501908152604051926104b8846104b1816108ea565b038561098a565b608086019384526040519687966020885260018060a01b0390511660208801525160408701525160608601525160a0608086015260c08501906109ab565b9051838203601f190160a08501526109ab565b0390f35b346100e45760403660031901126100e4576024356001600160401b0381116100e457602060031982360301126100e45760405190602082018281106001600160401b03821117610316576040528060040135906001600160401b0382116100e4570190366023830112156100e4576004820135916001600160401b038311610316578260051b90604051936105a5602084018661098a565b845260208401918101602401903682116100e45760248101925b8284106105cb57858552005b83356001600160401b0381116100e4576004908301016080601f1982360301126100e45760405191608083018381106001600160401b0382111761031657604052602082013560028110156100e457835260408201356001600160a01b03811681036100e45760208401526060820135926001600160401b0384116100e4576080602094936106608695863691840101610a32565b6040840152013560608201528152019301926105bf565b346100e45760203660031901126100e4576004358015158091036100e45760ff801960005416911617600055600080f35b346100e45760003660031901126100e457602060ff600054166040519015158152f35b346100e45760003660031901126100e4576006546040516001600160a01b039091168152602090f35b346100e45760003660031901126100e45760018060a01b03600154166002549061050960035461076160405161072d8161049281610849565b6040519261073e846104b1816108ea565b60405196879687526020870152604086015260a0606086015260a08501906109ab565b9083820360808501526109ab565b346100e45760203660031901126100e4576004359063ffffffff60e01b82168092036100e457602091631da32c4160e21b81149081156107b1575b5015158152f35b6301ffc9a760e01b149050836107aa565b346100e45760203660031901126100e4576001600160a01b036107e36107f9565b1660018060a01b03196007541617600755600080f35b600435906001600160a01b03821682036100e457565b90600182811c9216801561083f575b602083101461082957565b634e487b7160e01b600052602260045260246000fd5b91607f169161081e565b600454600092916108598261080f565b80825291600181169081156108ce5750600114610874575050565b600460009081529293509091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8383106108b4575060209250010190565b6001816020929493945483858701015201910191906108a3565b9050602093945060ff929192191683830152151560051b010190565b600554600092916108fa8261080f565b80825291600181169081156108ce5750600114610915575050565b600560009081529293509091907f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b838310610955575060209250010190565b600181602092949394548385870101520191019190610944565b60a081019081106001600160401b0382111761031657604052565b90601f801991011681019081106001600160401b0382111761031657604052565b919082519283825260005b8481106109d7575050826000602080949584010152601f8019910116010190565b806020809284010151828286010152016109b6565b9291926001600160401b0382116103165760405191610a15601f8201601f19166020018461098a565b8294818452818301116100e4578281602093846000960137010152565b9080601f830112156100e457816020610a4d933591016109ec565b90565b818110610a5b575050565b60008155600101610a5056fea164736f6c634300081e000a";
|
|
293
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
294
|
+
class MockGovernance__factory extends ethers_1.ContractFactory {
|
|
295
|
+
constructor(...args) {
|
|
296
|
+
if (isSuperArgs(args)) {
|
|
297
|
+
super(...args);
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
super(_abi, _bytecode, args[0]);
|
|
301
|
+
}
|
|
302
|
+
this.contractName = "MockGovernance";
|
|
303
|
+
}
|
|
304
|
+
getDeployTransaction(overrides) {
|
|
305
|
+
return super.getDeployTransaction(overrides || {});
|
|
306
|
+
}
|
|
307
|
+
deploy(overrides) {
|
|
308
|
+
return super.deploy(overrides || {});
|
|
309
|
+
}
|
|
310
|
+
connect(runner) {
|
|
311
|
+
return super.connect(runner);
|
|
312
|
+
}
|
|
313
|
+
static contractName;
|
|
314
|
+
contractName;
|
|
315
|
+
static bytecode = _bytecode;
|
|
316
|
+
static abi = _abi;
|
|
317
|
+
static createInterface() {
|
|
318
|
+
return new ethers_1.Interface(_abi);
|
|
319
|
+
}
|
|
320
|
+
static connect(address, runner) {
|
|
321
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
exports.MockGovernance__factory = MockGovernance__factory;
|