@enclave-e3/contracts 0.1.11 → 0.1.13
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/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +3 -3
- package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/artifacts.d.ts +3 -3
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json +1 -1
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +3 -3
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/artifacts.d.ts +4 -4
- package/artifacts/build-info/{solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.json → solc-0_8_28-e60a5d7c133605edcf61acdd5ba43ab44ee0928e.json} +27 -12
- package/artifacts/build-info/solc-0_8_28-e60a5d7c133605edcf61acdd5ba43ab44ee0928e.output.json +1 -0
- package/artifacts/contracts/E3RefundManager.sol/E3RefundManager.json +684 -0
- package/artifacts/contracts/E3RefundManager.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/Enclave.sol/Enclave.json +530 -182
- package/artifacts/contracts/Enclave.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/IBondingRegistry.json +14 -1
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/ICiphernodeRegistry.json +55 -5
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/IComputeProvider.sol/IComputeProvider.json +1 -1
- package/artifacts/contracts/interfaces/IComputeProvider.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/IDecryptionVerifier.json +1 -1
- package/artifacts/contracts/interfaces/IDecryptionVerifier.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IE3Program.sol/IE3Program.json +19 -24
- package/artifacts/contracts/interfaces/IE3Program.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/IE3RefundManager.sol/IE3RefundManager.json +470 -0
- package/artifacts/contracts/interfaces/IE3RefundManager.sol/artifacts.d.ts +27 -0
- package/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json +383 -128
- package/artifacts/contracts/interfaces/IEnclave.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/ISlashVerifier.sol/ISlashVerifier.json +1 -1
- package/artifacts/contracts/interfaces/ISlashVerifier.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/ISlashingManager.sol/ISlashingManager.json +1 -1
- package/artifacts/contracts/interfaces/ISlashingManager.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/lib/ExitQueueLib.sol/ExitQueueLib.json +1 -1
- package/artifacts/contracts/lib/ExitQueueLib.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/registry/BondingRegistry.sol/BondingRegistry.json +16 -3
- package/artifacts/contracts/registry/BondingRegistry.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json +91 -25
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/artifacts.d.ts +6 -6
- package/artifacts/contracts/slashing/SlashingManager.sol/SlashingManager.json +3 -3
- package/artifacts/contracts/slashing/SlashingManager.sol/artifacts.d.ts +3 -3
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.json +57 -7
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json +57 -7
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/artifacts.d.ts +8 -8
- package/artifacts/contracts/test/MockComputeProvider.sol/MockComputeProvider.json +3 -3
- package/artifacts/contracts/test/MockComputeProvider.sol/artifacts.d.ts +3 -3
- package/artifacts/contracts/test/MockDecryptionVerifier.sol/MockDecryptionVerifier.json +1 -1
- package/artifacts/contracts/test/MockDecryptionVerifier.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/test/MockE3Program.sol/MockE3Program.json +21 -26
- package/artifacts/contracts/test/MockE3Program.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/test/MockSlashingVerifier.sol/MockSlashingVerifier.json +1 -1
- package/artifacts/contracts/test/MockSlashingVerifier.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/test/MockStableToken.sol/MockUSDC.json +3 -3
- package/artifacts/contracts/test/MockStableToken.sol/artifacts.d.ts +3 -3
- package/artifacts/contracts/token/EnclaveTicketToken.sol/EnclaveTicketToken.json +14 -22
- package/artifacts/contracts/token/EnclaveTicketToken.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/token/EnclaveToken.sol/EnclaveToken.json +10 -10
- package/artifacts/contracts/token/EnclaveToken.sol/artifacts.d.ts +4 -4
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.json +89 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/CommitmentSchemeLib.json +13 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.json +186 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/FrLib.json +13 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/Honk.json +13 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/HonkVerificationKey.json +13 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/IVerifier.json +38 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/RelationsLib.json +13 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.json +400 -0
- package/artifacts/contracts/verifier/DkgPkVerifier.sol/artifacts.d.ts +155 -0
- package/artifacts/poseidon-solidity/PoseidonT3.sol/PoseidonT3.json +1 -1
- package/artifacts/poseidon-solidity/PoseidonT3.sol/artifacts.d.ts +1 -1
- package/contracts/E3RefundManager.sol +365 -0
- package/contracts/Enclave.sol +426 -119
- package/contracts/interfaces/IBondingRegistry.sol +6 -0
- package/contracts/interfaces/ICiphernodeRegistry.sol +29 -7
- package/contracts/interfaces/IE3.sol +2 -6
- package/contracts/interfaces/IE3Program.sol +3 -7
- package/contracts/interfaces/IE3RefundManager.sol +150 -0
- package/contracts/interfaces/IEnclave.sol +186 -64
- package/contracts/registry/BondingRegistry.sol +9 -0
- package/contracts/registry/CiphernodeRegistryOwnable.sol +89 -42
- package/contracts/test/MockCiphernodeRegistry.sol +20 -6
- package/contracts/test/MockE3Program.sol +3 -8
- package/contracts/verifier/DkgPkVerifier.sol +3140 -0
- package/dist/hardhat.config.d.ts.map +1 -1
- package/dist/hardhat.config.js +4 -4
- package/dist/ignition/modules/dkgPkVerifier.d.ts +3 -0
- package/dist/ignition/modules/dkgPkVerifier.d.ts.map +1 -0
- package/dist/ignition/modules/dkgPkVerifier.js +10 -0
- package/dist/ignition/modules/e3RefundManager.d.ts +3 -0
- package/dist/ignition/modules/e3RefundManager.d.ts.map +1 -0
- package/dist/ignition/modules/e3RefundManager.js +23 -0
- package/dist/ignition/modules/enclave.d.ts.map +1 -1
- package/dist/ignition/modules/enclave.js +10 -0
- package/dist/scripts/deployAndSave/e3RefundManager.d.ts +20 -0
- package/dist/scripts/deployAndSave/e3RefundManager.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/e3RefundManager.js +55 -0
- package/dist/scripts/deployAndSave/enclave.d.ts +13 -1
- package/dist/scripts/deployAndSave/enclave.d.ts.map +1 -1
- package/dist/scripts/deployAndSave/enclave.js +8 -1
- package/dist/scripts/deployAndSave/verifiers.d.ts +29 -0
- package/dist/scripts/deployAndSave/verifiers.d.ts.map +1 -0
- package/dist/scripts/deployAndSave/verifiers.js +109 -0
- package/dist/scripts/deployEnclave.d.ts.map +1 -1
- package/dist/scripts/deployEnclave.js +36 -0
- package/dist/scripts/deployVerifiers.d.ts +2 -0
- package/dist/scripts/deployVerifiers.d.ts.map +1 -0
- package/dist/scripts/deployVerifiers.js +33 -0
- package/dist/scripts/index.d.ts +1 -0
- package/dist/scripts/index.d.ts.map +1 -1
- package/dist/scripts/index.js +1 -0
- package/dist/tasks/enclave.d.ts +0 -2
- package/dist/tasks/enclave.d.ts.map +1 -1
- package/dist/tasks/enclave.js +8 -72
- package/dist/tasks/program.d.ts +2 -0
- package/dist/tasks/program.d.ts.map +1 -0
- package/dist/tasks/program.js +55 -0
- package/dist/test/E3Lifecycle/E3Integration.spec.d.ts +2 -0
- package/dist/test/E3Lifecycle/E3Integration.spec.d.ts.map +1 -0
- package/dist/test/E3Lifecycle/E3Integration.spec.js +757 -0
- package/dist/test/Enclave.spec.js +83 -406
- package/dist/test/Registry/CiphernodeRegistryOwnable.spec.js +133 -59
- package/dist/types/contracts/E3RefundManager.d.ts +379 -0
- package/dist/types/contracts/E3RefundManager.d.ts.map +1 -0
- package/dist/types/contracts/E3RefundManager.js +24 -0
- package/dist/types/contracts/Enclave.d.ts +325 -73
- package/dist/types/contracts/Enclave.d.ts.map +1 -1
- package/dist/types/contracts/Enclave.js +27 -3
- package/dist/types/contracts/index.d.ts +3 -0
- package/dist/types/contracts/index.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IBondingRegistry.d.ts +11 -1
- package/dist/types/contracts/interfaces/IBondingRegistry.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts +35 -7
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/ICiphernodeRegistry.js +4 -0
- package/dist/types/contracts/interfaces/IE3Program.d.ts +16 -18
- package/dist/types/contracts/interfaces/IE3Program.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IE3RefundManager.d.ts +238 -0
- package/dist/types/contracts/interfaces/IE3RefundManager.d.ts.map +1 -0
- package/dist/types/contracts/interfaces/IE3RefundManager.js +16 -0
- package/dist/types/contracts/interfaces/IEnclave.d.ts +290 -62
- package/dist/types/contracts/interfaces/IEnclave.d.ts.map +1 -1
- package/dist/types/contracts/interfaces/IEnclave.js +27 -3
- package/dist/types/contracts/interfaces/index.d.ts +1 -0
- package/dist/types/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/types/contracts/registry/BondingRegistry.d.ts +11 -1
- package/dist/types/contracts/registry/BondingRegistry.d.ts.map +1 -1
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts +35 -7
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.d.ts.map +1 -1
- package/dist/types/contracts/registry/CiphernodeRegistryOwnable.js +4 -0
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts +35 -7
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.d.ts.map +1 -1
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.js +4 -0
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts +35 -7
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.d.ts.map +1 -1
- package/dist/types/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.js +4 -0
- package/dist/types/contracts/test/MockE3Program.d.ts +16 -18
- package/dist/types/contracts/test/MockE3Program.d.ts.map +1 -1
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.d.ts +36 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.d.ts.map +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier.js +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.d.ts +36 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.d.ts.map +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier.js +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.d.ts +36 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.d.ts.map +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/IVerifier.js +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.d.ts +138 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.d.ts.map +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib.js +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.d.ts +5 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.d.ts.map +1 -0
- package/dist/types/contracts/verifier/DkgPkVerifier.sol/index.js +1 -0
- package/dist/types/contracts/verifier/index.d.ts +3 -0
- package/dist/types/contracts/verifier/index.d.ts.map +1 -0
- package/dist/types/contracts/verifier/index.js +1 -0
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts.map +1 -1
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +1 -1
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts.map +1 -1
- package/dist/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +1 -1
- package/dist/types/factories/contracts/E3RefundManager__factory.d.ts +540 -0
- package/dist/types/factories/contracts/E3RefundManager__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/E3RefundManager__factory.js +706 -0
- package/dist/types/factories/contracts/Enclave__factory.d.ts +412 -143
- package/dist/types/factories/contracts/Enclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/Enclave__factory.js +528 -180
- package/dist/types/factories/contracts/index.d.ts +2 -0
- package/dist/types/factories/contracts/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/index.js +2 -0
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts +10 -0
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IBondingRegistry__factory.js +13 -0
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts +42 -4
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/ICiphernodeRegistry__factory.js +54 -4
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts +14 -18
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.js +18 -23
- package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.d.ts +358 -0
- package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/interfaces/IE3RefundManager__factory.js +471 -0
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts +303 -103
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.js +382 -127
- package/dist/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/dist/types/factories/contracts/interfaces/index.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/index.js +1 -0
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts +11 -1
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/registry/BondingRegistry__factory.js +14 -1
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts +62 -12
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/registry/CiphernodeRegistryOwnable__factory.js +79 -13
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts +1 -1
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/slashing/SlashingManager__factory.js +1 -1
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts +43 -5
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey__factory.js +55 -5
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts +43 -5
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry__factory.js +55 -5
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts +1 -1
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockComputeProvider__factory.js +1 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts +15 -19
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.js +19 -24
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts +1 -1
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockStableToken.sol/MockUSDC__factory.js +1 -1
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts +1 -1
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/token/EnclaveTicketToken__factory.js +1 -1
- package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts +1 -1
- package/dist/types/factories/contracts/token/EnclaveToken__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/token/EnclaveToken__factory.js +1 -1
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.d.ts +66 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/BaseZKHonkVerifier__factory.js +90 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.d.ts +87 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/DkgPkVerifier__factory.js +122 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.d.ts +26 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/IVerifier__factory.js +39 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.d.ts +323 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/ZKTranscriptLib__factory.js +422 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.d.ts +5 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/DkgPkVerifier.sol/index.js +7 -0
- package/dist/types/factories/contracts/verifier/index.d.ts +2 -0
- package/dist/types/factories/contracts/verifier/index.d.ts.map +1 -0
- package/dist/types/factories/contracts/verifier/index.js +4 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +6 -0
- package/package.json +17 -3
- package/artifacts/build-info/solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.output.json +0 -1
|
@@ -49,22 +49,62 @@ export declare class IEnclave__factory {
|
|
|
49
49
|
}, {
|
|
50
50
|
readonly anonymous: false;
|
|
51
51
|
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "uint256";
|
|
54
|
+
readonly name: "e3Id";
|
|
55
|
+
readonly type: "uint256";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "CommitteeFinalized";
|
|
58
|
+
readonly type: "event";
|
|
59
|
+
}, {
|
|
60
|
+
readonly anonymous: false;
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly indexed: true;
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
readonly name: "e3Id";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "CommitteeFormed";
|
|
68
|
+
readonly type: "event";
|
|
69
|
+
}, {
|
|
70
|
+
readonly anonymous: false;
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "uint256";
|
|
74
|
+
readonly name: "e3Id";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
}, {
|
|
52
77
|
readonly indexed: false;
|
|
78
|
+
readonly internalType: "enum IEnclave.E3Stage";
|
|
79
|
+
readonly name: "failedAtStage";
|
|
80
|
+
readonly type: "uint8";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: false;
|
|
83
|
+
readonly internalType: "enum IEnclave.FailureReason";
|
|
84
|
+
readonly name: "reason";
|
|
85
|
+
readonly type: "uint8";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "E3Failed";
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly anonymous: false;
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly indexed: true;
|
|
53
93
|
readonly internalType: "uint256";
|
|
54
94
|
readonly name: "e3Id";
|
|
55
95
|
readonly type: "uint256";
|
|
56
96
|
}, {
|
|
57
97
|
readonly indexed: false;
|
|
58
98
|
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "
|
|
99
|
+
readonly name: "paymentAmount";
|
|
60
100
|
readonly type: "uint256";
|
|
61
101
|
}, {
|
|
62
102
|
readonly indexed: false;
|
|
63
|
-
readonly internalType: "
|
|
64
|
-
readonly name: "
|
|
65
|
-
readonly type: "
|
|
103
|
+
readonly internalType: "uint256";
|
|
104
|
+
readonly name: "honestNodeCount";
|
|
105
|
+
readonly type: "uint256";
|
|
66
106
|
}];
|
|
67
|
-
readonly name: "
|
|
107
|
+
readonly name: "E3FailureProcessed";
|
|
68
108
|
readonly type: "event";
|
|
69
109
|
}, {
|
|
70
110
|
readonly anonymous: false;
|
|
@@ -86,6 +126,16 @@ export declare class IEnclave__factory {
|
|
|
86
126
|
}];
|
|
87
127
|
readonly name: "E3ProgramEnabled";
|
|
88
128
|
readonly type: "event";
|
|
129
|
+
}, {
|
|
130
|
+
readonly anonymous: false;
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly indexed: true;
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
readonly name: "e3RefundManager";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "E3RefundManagerSet";
|
|
138
|
+
readonly type: "event";
|
|
89
139
|
}, {
|
|
90
140
|
readonly anonymous: false;
|
|
91
141
|
readonly inputs: readonly [{
|
|
@@ -108,16 +158,8 @@ export declare class IEnclave__factory {
|
|
|
108
158
|
readonly type: "uint256";
|
|
109
159
|
}, {
|
|
110
160
|
readonly internalType: "uint256[2]";
|
|
111
|
-
readonly name: "
|
|
161
|
+
readonly name: "inputWindow";
|
|
112
162
|
readonly type: "uint256[2]";
|
|
113
|
-
}, {
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
readonly name: "duration";
|
|
116
|
-
readonly type: "uint256";
|
|
117
|
-
}, {
|
|
118
|
-
readonly internalType: "uint256";
|
|
119
|
-
readonly name: "expiration";
|
|
120
|
-
readonly type: "uint256";
|
|
121
163
|
}, {
|
|
122
164
|
readonly internalType: "bytes32";
|
|
123
165
|
readonly name: "encryptionSchemeId";
|
|
@@ -167,6 +209,26 @@ export declare class IEnclave__factory {
|
|
|
167
209
|
}];
|
|
168
210
|
readonly name: "E3Requested";
|
|
169
211
|
readonly type: "event";
|
|
212
|
+
}, {
|
|
213
|
+
readonly anonymous: false;
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly indexed: true;
|
|
216
|
+
readonly internalType: "uint256";
|
|
217
|
+
readonly name: "e3Id";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
}, {
|
|
220
|
+
readonly indexed: false;
|
|
221
|
+
readonly internalType: "enum IEnclave.E3Stage";
|
|
222
|
+
readonly name: "previousStage";
|
|
223
|
+
readonly type: "uint8";
|
|
224
|
+
}, {
|
|
225
|
+
readonly indexed: false;
|
|
226
|
+
readonly internalType: "enum IEnclave.E3Stage";
|
|
227
|
+
readonly name: "newStage";
|
|
228
|
+
readonly type: "uint8";
|
|
229
|
+
}];
|
|
230
|
+
readonly name: "E3StageChanged";
|
|
231
|
+
readonly type: "event";
|
|
170
232
|
}, {
|
|
171
233
|
readonly anonymous: false;
|
|
172
234
|
readonly inputs: readonly [{
|
|
@@ -267,19 +329,60 @@ export declare class IEnclave__factory {
|
|
|
267
329
|
}];
|
|
268
330
|
readonly name: "RewardsDistributed";
|
|
269
331
|
readonly type: "event";
|
|
332
|
+
}, {
|
|
333
|
+
readonly anonymous: false;
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly components: readonly [{
|
|
336
|
+
readonly internalType: "uint256";
|
|
337
|
+
readonly name: "dkgWindow";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
}, {
|
|
340
|
+
readonly internalType: "uint256";
|
|
341
|
+
readonly name: "computeWindow";
|
|
342
|
+
readonly type: "uint256";
|
|
343
|
+
}, {
|
|
344
|
+
readonly internalType: "uint256";
|
|
345
|
+
readonly name: "decryptionWindow";
|
|
346
|
+
readonly type: "uint256";
|
|
347
|
+
}, {
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
readonly name: "gracePeriod";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
}];
|
|
352
|
+
readonly indexed: false;
|
|
353
|
+
readonly internalType: "struct IEnclave.E3TimeoutConfig";
|
|
354
|
+
readonly name: "config";
|
|
355
|
+
readonly type: "tuple";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "TimeoutConfigUpdated";
|
|
358
|
+
readonly type: "event";
|
|
359
|
+
}, {
|
|
360
|
+
readonly inputs: readonly [];
|
|
361
|
+
readonly name: "bondingRegistry";
|
|
362
|
+
readonly outputs: readonly [{
|
|
363
|
+
readonly internalType: "contract IBondingRegistry";
|
|
364
|
+
readonly name: "";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
}];
|
|
367
|
+
readonly stateMutability: "view";
|
|
368
|
+
readonly type: "function";
|
|
270
369
|
}, {
|
|
271
370
|
readonly inputs: readonly [{
|
|
272
371
|
readonly internalType: "uint256";
|
|
273
372
|
readonly name: "e3Id";
|
|
274
373
|
readonly type: "uint256";
|
|
275
374
|
}];
|
|
276
|
-
readonly name: "
|
|
375
|
+
readonly name: "checkFailureCondition";
|
|
277
376
|
readonly outputs: readonly [{
|
|
278
377
|
readonly internalType: "bool";
|
|
279
|
-
readonly name: "
|
|
378
|
+
readonly name: "canFail";
|
|
280
379
|
readonly type: "bool";
|
|
380
|
+
}, {
|
|
381
|
+
readonly internalType: "enum IEnclave.FailureReason";
|
|
382
|
+
readonly name: "reason";
|
|
383
|
+
readonly type: "uint8";
|
|
281
384
|
}];
|
|
282
|
-
readonly stateMutability: "
|
|
385
|
+
readonly stateMutability: "view";
|
|
283
386
|
readonly type: "function";
|
|
284
387
|
}, {
|
|
285
388
|
readonly inputs: readonly [{
|
|
@@ -288,11 +391,7 @@ export declare class IEnclave__factory {
|
|
|
288
391
|
readonly type: "address";
|
|
289
392
|
}];
|
|
290
393
|
readonly name: "disableE3Program";
|
|
291
|
-
readonly outputs: readonly [
|
|
292
|
-
readonly internalType: "bool";
|
|
293
|
-
readonly name: "success";
|
|
294
|
-
readonly type: "bool";
|
|
295
|
-
}];
|
|
394
|
+
readonly outputs: readonly [];
|
|
296
395
|
readonly stateMutability: "nonpayable";
|
|
297
396
|
readonly type: "function";
|
|
298
397
|
}, {
|
|
@@ -302,11 +401,7 @@ export declare class IEnclave__factory {
|
|
|
302
401
|
readonly type: "bytes32";
|
|
303
402
|
}];
|
|
304
403
|
readonly name: "disableEncryptionScheme";
|
|
305
|
-
readonly outputs: readonly [
|
|
306
|
-
readonly internalType: "bool";
|
|
307
|
-
readonly name: "success";
|
|
308
|
-
readonly type: "bool";
|
|
309
|
-
}];
|
|
404
|
+
readonly outputs: readonly [];
|
|
310
405
|
readonly stateMutability: "nonpayable";
|
|
311
406
|
readonly type: "function";
|
|
312
407
|
}, {
|
|
@@ -316,11 +411,7 @@ export declare class IEnclave__factory {
|
|
|
316
411
|
readonly type: "address";
|
|
317
412
|
}];
|
|
318
413
|
readonly name: "enableE3Program";
|
|
319
|
-
readonly outputs: readonly [
|
|
320
|
-
readonly internalType: "bool";
|
|
321
|
-
readonly name: "success";
|
|
322
|
-
readonly type: "bool";
|
|
323
|
-
}];
|
|
414
|
+
readonly outputs: readonly [];
|
|
324
415
|
readonly stateMutability: "nonpayable";
|
|
325
416
|
readonly type: "function";
|
|
326
417
|
}, {
|
|
@@ -333,6 +424,33 @@ export declare class IEnclave__factory {
|
|
|
333
424
|
}];
|
|
334
425
|
readonly stateMutability: "view";
|
|
335
426
|
readonly type: "function";
|
|
427
|
+
}, {
|
|
428
|
+
readonly inputs: readonly [{
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
readonly name: "e3Id";
|
|
431
|
+
readonly type: "uint256";
|
|
432
|
+
}];
|
|
433
|
+
readonly name: "getDeadlines";
|
|
434
|
+
readonly outputs: readonly [{
|
|
435
|
+
readonly components: readonly [{
|
|
436
|
+
readonly internalType: "uint256";
|
|
437
|
+
readonly name: "dkgDeadline";
|
|
438
|
+
readonly type: "uint256";
|
|
439
|
+
}, {
|
|
440
|
+
readonly internalType: "uint256";
|
|
441
|
+
readonly name: "computeDeadline";
|
|
442
|
+
readonly type: "uint256";
|
|
443
|
+
}, {
|
|
444
|
+
readonly internalType: "uint256";
|
|
445
|
+
readonly name: "decryptionDeadline";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
}];
|
|
448
|
+
readonly internalType: "struct IEnclave.E3Deadlines";
|
|
449
|
+
readonly name: "deadlines";
|
|
450
|
+
readonly type: "tuple";
|
|
451
|
+
}];
|
|
452
|
+
readonly stateMutability: "view";
|
|
453
|
+
readonly type: "function";
|
|
336
454
|
}, {
|
|
337
455
|
readonly inputs: readonly [{
|
|
338
456
|
readonly internalType: "bytes32";
|
|
@@ -369,16 +487,8 @@ export declare class IEnclave__factory {
|
|
|
369
487
|
readonly type: "uint256";
|
|
370
488
|
}, {
|
|
371
489
|
readonly internalType: "uint256[2]";
|
|
372
|
-
readonly name: "
|
|
490
|
+
readonly name: "inputWindow";
|
|
373
491
|
readonly type: "uint256[2]";
|
|
374
|
-
}, {
|
|
375
|
-
readonly internalType: "uint256";
|
|
376
|
-
readonly name: "duration";
|
|
377
|
-
readonly type: "uint256";
|
|
378
|
-
}, {
|
|
379
|
-
readonly internalType: "uint256";
|
|
380
|
-
readonly name: "expiration";
|
|
381
|
-
readonly type: "uint256";
|
|
382
492
|
}, {
|
|
383
493
|
readonly internalType: "bytes32";
|
|
384
494
|
readonly name: "encryptionSchemeId";
|
|
@@ -430,12 +540,8 @@ export declare class IEnclave__factory {
|
|
|
430
540
|
readonly type: "uint32[2]";
|
|
431
541
|
}, {
|
|
432
542
|
readonly internalType: "uint256[2]";
|
|
433
|
-
readonly name: "
|
|
543
|
+
readonly name: "inputWindow";
|
|
434
544
|
readonly type: "uint256[2]";
|
|
435
|
-
}, {
|
|
436
|
-
readonly internalType: "uint256";
|
|
437
|
-
readonly name: "duration";
|
|
438
|
-
readonly type: "uint256";
|
|
439
545
|
}, {
|
|
440
546
|
readonly internalType: "contract IE3Program";
|
|
441
547
|
readonly name: "e3Program";
|
|
@@ -470,23 +576,122 @@ export declare class IEnclave__factory {
|
|
|
470
576
|
readonly internalType: "uint256";
|
|
471
577
|
readonly name: "e3Id";
|
|
472
578
|
readonly type: "uint256";
|
|
473
|
-
}, {
|
|
474
|
-
readonly internalType: "bytes";
|
|
475
|
-
readonly name: "ciphertextOutput";
|
|
476
|
-
readonly type: "bytes";
|
|
477
|
-
}, {
|
|
478
|
-
readonly internalType: "bytes";
|
|
479
|
-
readonly name: "proof";
|
|
480
|
-
readonly type: "bytes";
|
|
481
579
|
}];
|
|
482
|
-
readonly name: "
|
|
580
|
+
readonly name: "getE3Stage";
|
|
483
581
|
readonly outputs: readonly [{
|
|
484
|
-
readonly internalType: "
|
|
485
|
-
readonly name: "
|
|
486
|
-
readonly type: "
|
|
582
|
+
readonly internalType: "enum IEnclave.E3Stage";
|
|
583
|
+
readonly name: "stage";
|
|
584
|
+
readonly type: "uint8";
|
|
585
|
+
}];
|
|
586
|
+
readonly stateMutability: "view";
|
|
587
|
+
readonly type: "function";
|
|
588
|
+
}, {
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly internalType: "uint256";
|
|
591
|
+
readonly name: "e3Id";
|
|
592
|
+
readonly type: "uint256";
|
|
593
|
+
}];
|
|
594
|
+
readonly name: "getFailureReason";
|
|
595
|
+
readonly outputs: readonly [{
|
|
596
|
+
readonly internalType: "enum IEnclave.FailureReason";
|
|
597
|
+
readonly name: "reason";
|
|
598
|
+
readonly type: "uint8";
|
|
599
|
+
}];
|
|
600
|
+
readonly stateMutability: "view";
|
|
601
|
+
readonly type: "function";
|
|
602
|
+
}, {
|
|
603
|
+
readonly inputs: readonly [{
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "e3Id";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "getRequester";
|
|
609
|
+
readonly outputs: readonly [{
|
|
610
|
+
readonly internalType: "address";
|
|
611
|
+
readonly name: "requester";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}];
|
|
614
|
+
readonly stateMutability: "view";
|
|
615
|
+
readonly type: "function";
|
|
616
|
+
}, {
|
|
617
|
+
readonly inputs: readonly [];
|
|
618
|
+
readonly name: "getTimeoutConfig";
|
|
619
|
+
readonly outputs: readonly [{
|
|
620
|
+
readonly components: readonly [{
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly name: "dkgWindow";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}, {
|
|
625
|
+
readonly internalType: "uint256";
|
|
626
|
+
readonly name: "computeWindow";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
}, {
|
|
629
|
+
readonly internalType: "uint256";
|
|
630
|
+
readonly name: "decryptionWindow";
|
|
631
|
+
readonly type: "uint256";
|
|
632
|
+
}, {
|
|
633
|
+
readonly internalType: "uint256";
|
|
634
|
+
readonly name: "gracePeriod";
|
|
635
|
+
readonly type: "uint256";
|
|
636
|
+
}];
|
|
637
|
+
readonly internalType: "struct IEnclave.E3TimeoutConfig";
|
|
638
|
+
readonly name: "config";
|
|
639
|
+
readonly type: "tuple";
|
|
640
|
+
}];
|
|
641
|
+
readonly stateMutability: "view";
|
|
642
|
+
readonly type: "function";
|
|
643
|
+
}, {
|
|
644
|
+
readonly inputs: readonly [{
|
|
645
|
+
readonly internalType: "uint256";
|
|
646
|
+
readonly name: "e3Id";
|
|
647
|
+
readonly type: "uint256";
|
|
648
|
+
}];
|
|
649
|
+
readonly name: "markE3Failed";
|
|
650
|
+
readonly outputs: readonly [{
|
|
651
|
+
readonly internalType: "enum IEnclave.FailureReason";
|
|
652
|
+
readonly name: "reason";
|
|
653
|
+
readonly type: "uint8";
|
|
487
654
|
}];
|
|
488
655
|
readonly stateMutability: "nonpayable";
|
|
489
656
|
readonly type: "function";
|
|
657
|
+
}, {
|
|
658
|
+
readonly inputs: readonly [{
|
|
659
|
+
readonly internalType: "uint256";
|
|
660
|
+
readonly name: "e3Id";
|
|
661
|
+
readonly type: "uint256";
|
|
662
|
+
}];
|
|
663
|
+
readonly name: "onCommitteeFinalized";
|
|
664
|
+
readonly outputs: readonly [];
|
|
665
|
+
readonly stateMutability: "nonpayable";
|
|
666
|
+
readonly type: "function";
|
|
667
|
+
}, {
|
|
668
|
+
readonly inputs: readonly [{
|
|
669
|
+
readonly internalType: "uint256";
|
|
670
|
+
readonly name: "e3Id";
|
|
671
|
+
readonly type: "uint256";
|
|
672
|
+
}, {
|
|
673
|
+
readonly internalType: "bytes32";
|
|
674
|
+
readonly name: "committeePublicKeyHash";
|
|
675
|
+
readonly type: "bytes32";
|
|
676
|
+
}];
|
|
677
|
+
readonly name: "onCommitteePublished";
|
|
678
|
+
readonly outputs: readonly [];
|
|
679
|
+
readonly stateMutability: "nonpayable";
|
|
680
|
+
readonly type: "function";
|
|
681
|
+
}, {
|
|
682
|
+
readonly inputs: readonly [{
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
readonly name: "e3Id";
|
|
685
|
+
readonly type: "uint256";
|
|
686
|
+
}, {
|
|
687
|
+
readonly internalType: "uint8";
|
|
688
|
+
readonly name: "reason";
|
|
689
|
+
readonly type: "uint8";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "onE3Failed";
|
|
692
|
+
readonly outputs: readonly [];
|
|
693
|
+
readonly stateMutability: "nonpayable";
|
|
694
|
+
readonly type: "function";
|
|
490
695
|
}, {
|
|
491
696
|
readonly inputs: readonly [{
|
|
492
697
|
readonly internalType: "uint256";
|
|
@@ -494,10 +699,14 @@ export declare class IEnclave__factory {
|
|
|
494
699
|
readonly type: "uint256";
|
|
495
700
|
}, {
|
|
496
701
|
readonly internalType: "bytes";
|
|
497
|
-
readonly name: "
|
|
702
|
+
readonly name: "ciphertextOutput";
|
|
703
|
+
readonly type: "bytes";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "bytes";
|
|
706
|
+
readonly name: "proof";
|
|
498
707
|
readonly type: "bytes";
|
|
499
708
|
}];
|
|
500
|
-
readonly name: "
|
|
709
|
+
readonly name: "publishCiphertextOutput";
|
|
501
710
|
readonly outputs: readonly [{
|
|
502
711
|
readonly internalType: "bool";
|
|
503
712
|
readonly name: "success";
|
|
@@ -535,12 +744,8 @@ export declare class IEnclave__factory {
|
|
|
535
744
|
readonly type: "uint32[2]";
|
|
536
745
|
}, {
|
|
537
746
|
readonly internalType: "uint256[2]";
|
|
538
|
-
readonly name: "
|
|
747
|
+
readonly name: "inputWindow";
|
|
539
748
|
readonly type: "uint256[2]";
|
|
540
|
-
}, {
|
|
541
|
-
readonly internalType: "uint256";
|
|
542
|
-
readonly name: "duration";
|
|
543
|
-
readonly type: "uint256";
|
|
544
749
|
}, {
|
|
545
750
|
readonly internalType: "contract IE3Program";
|
|
546
751
|
readonly name: "e3Program";
|
|
@@ -582,16 +787,8 @@ export declare class IEnclave__factory {
|
|
|
582
787
|
readonly type: "uint256";
|
|
583
788
|
}, {
|
|
584
789
|
readonly internalType: "uint256[2]";
|
|
585
|
-
readonly name: "
|
|
790
|
+
readonly name: "inputWindow";
|
|
586
791
|
readonly type: "uint256[2]";
|
|
587
|
-
}, {
|
|
588
|
-
readonly internalType: "uint256";
|
|
589
|
-
readonly name: "duration";
|
|
590
|
-
readonly type: "uint256";
|
|
591
|
-
}, {
|
|
592
|
-
readonly internalType: "uint256";
|
|
593
|
-
readonly name: "expiration";
|
|
594
|
-
readonly type: "uint256";
|
|
595
792
|
}, {
|
|
596
793
|
readonly internalType: "bytes32";
|
|
597
794
|
readonly name: "encryptionSchemeId";
|
|
@@ -642,11 +839,7 @@ export declare class IEnclave__factory {
|
|
|
642
839
|
readonly type: "address";
|
|
643
840
|
}];
|
|
644
841
|
readonly name: "setBondingRegistry";
|
|
645
|
-
readonly outputs: readonly [
|
|
646
|
-
readonly internalType: "bool";
|
|
647
|
-
readonly name: "success";
|
|
648
|
-
readonly type: "bool";
|
|
649
|
-
}];
|
|
842
|
+
readonly outputs: readonly [];
|
|
650
843
|
readonly stateMutability: "nonpayable";
|
|
651
844
|
readonly type: "function";
|
|
652
845
|
}, {
|
|
@@ -656,11 +849,7 @@ export declare class IEnclave__factory {
|
|
|
656
849
|
readonly type: "address";
|
|
657
850
|
}];
|
|
658
851
|
readonly name: "setCiphernodeRegistry";
|
|
659
|
-
readonly outputs: readonly [
|
|
660
|
-
readonly internalType: "bool";
|
|
661
|
-
readonly name: "success";
|
|
662
|
-
readonly type: "bool";
|
|
663
|
-
}];
|
|
852
|
+
readonly outputs: readonly [];
|
|
664
853
|
readonly stateMutability: "nonpayable";
|
|
665
854
|
readonly type: "function";
|
|
666
855
|
}, {
|
|
@@ -674,11 +863,7 @@ export declare class IEnclave__factory {
|
|
|
674
863
|
readonly type: "address";
|
|
675
864
|
}];
|
|
676
865
|
readonly name: "setDecryptionVerifier";
|
|
677
|
-
readonly outputs: readonly [
|
|
678
|
-
readonly internalType: "bool";
|
|
679
|
-
readonly name: "success";
|
|
680
|
-
readonly type: "bool";
|
|
681
|
-
}];
|
|
866
|
+
readonly outputs: readonly [];
|
|
682
867
|
readonly stateMutability: "nonpayable";
|
|
683
868
|
readonly type: "function";
|
|
684
869
|
}, {
|
|
@@ -688,11 +873,7 @@ export declare class IEnclave__factory {
|
|
|
688
873
|
readonly type: "bytes[]";
|
|
689
874
|
}];
|
|
690
875
|
readonly name: "setE3ProgramsParams";
|
|
691
|
-
readonly outputs: readonly [
|
|
692
|
-
readonly internalType: "bool";
|
|
693
|
-
readonly name: "success";
|
|
694
|
-
readonly type: "bool";
|
|
695
|
-
}];
|
|
876
|
+
readonly outputs: readonly [];
|
|
696
877
|
readonly stateMutability: "nonpayable";
|
|
697
878
|
readonly type: "function";
|
|
698
879
|
}, {
|
|
@@ -702,11 +883,7 @@ export declare class IEnclave__factory {
|
|
|
702
883
|
readonly type: "address";
|
|
703
884
|
}];
|
|
704
885
|
readonly name: "setFeeToken";
|
|
705
|
-
readonly outputs: readonly [
|
|
706
|
-
readonly internalType: "bool";
|
|
707
|
-
readonly name: "success";
|
|
708
|
-
readonly type: "bool";
|
|
709
|
-
}];
|
|
886
|
+
readonly outputs: readonly [];
|
|
710
887
|
readonly stateMutability: "nonpayable";
|
|
711
888
|
readonly type: "function";
|
|
712
889
|
}, {
|
|
@@ -716,11 +893,34 @@ export declare class IEnclave__factory {
|
|
|
716
893
|
readonly type: "uint256";
|
|
717
894
|
}];
|
|
718
895
|
readonly name: "setMaxDuration";
|
|
719
|
-
readonly outputs: readonly [
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
896
|
+
readonly outputs: readonly [];
|
|
897
|
+
readonly stateMutability: "nonpayable";
|
|
898
|
+
readonly type: "function";
|
|
899
|
+
}, {
|
|
900
|
+
readonly inputs: readonly [{
|
|
901
|
+
readonly components: readonly [{
|
|
902
|
+
readonly internalType: "uint256";
|
|
903
|
+
readonly name: "dkgWindow";
|
|
904
|
+
readonly type: "uint256";
|
|
905
|
+
}, {
|
|
906
|
+
readonly internalType: "uint256";
|
|
907
|
+
readonly name: "computeWindow";
|
|
908
|
+
readonly type: "uint256";
|
|
909
|
+
}, {
|
|
910
|
+
readonly internalType: "uint256";
|
|
911
|
+
readonly name: "decryptionWindow";
|
|
912
|
+
readonly type: "uint256";
|
|
913
|
+
}, {
|
|
914
|
+
readonly internalType: "uint256";
|
|
915
|
+
readonly name: "gracePeriod";
|
|
916
|
+
readonly type: "uint256";
|
|
917
|
+
}];
|
|
918
|
+
readonly internalType: "struct IEnclave.E3TimeoutConfig";
|
|
919
|
+
readonly name: "config";
|
|
920
|
+
readonly type: "tuple";
|
|
723
921
|
}];
|
|
922
|
+
readonly name: "setTimeoutConfig";
|
|
923
|
+
readonly outputs: readonly [];
|
|
724
924
|
readonly stateMutability: "nonpayable";
|
|
725
925
|
readonly type: "function";
|
|
726
926
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEnclave__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/IEnclave__factory.ts"],"names":[],"mappings":"AAIE,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"IEnclave__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/IEnclave__factory.ts"],"names":[],"mappings":"AAIE,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AA6qC7F,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,iBAAiB;IAG3C,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,QAAQ;CAG1E"}
|