@enclave-e3/contracts 0.1.6 → 0.1.7
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 +1 -1
- package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/artifacts.d.ts +1 -1
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.json +1 -1
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1 -1
- package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/artifacts.d.ts +2 -2
- package/artifacts/build-info/{solc-0_8_28-5150b9e6b6cf4df4986fccba97bea37a16fdfebc.json → solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84.json} +2 -2
- package/artifacts/build-info/{solc-0_8_28-5150b9e6b6cf4df4986fccba97bea37a16fdfebc.output.json → solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84.output.json} +1 -1
- package/artifacts/contracts/Enclave.sol/Enclave.json +1 -1
- package/artifacts/contracts/Enclave.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/IBondingRegistry.json +1 -1
- package/artifacts/contracts/interfaces/IBondingRegistry.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/ICiphernodeRegistry.json +1 -1
- package/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/artifacts.d.ts +1 -1
- 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 +1 -1
- package/artifacts/contracts/interfaces/IE3Program.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json +14 -1
- 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 +1 -1
- package/artifacts/contracts/registry/BondingRegistry.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json +1 -1
- package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/slashing/SlashingManager.sol/SlashingManager.json +1 -1
- package/artifacts/contracts/slashing/SlashingManager.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistry.json +1 -1
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json +1 -1
- package/artifacts/contracts/test/MockCiphernodeRegistry.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/test/MockComputeProvider.sol/MockComputeProvider.json +1 -1
- package/artifacts/contracts/test/MockComputeProvider.sol/artifacts.d.ts +1 -1
- 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 +1 -1
- package/artifacts/contracts/test/MockE3Program.sol/artifacts.d.ts +1 -1
- 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 +1 -1
- package/artifacts/contracts/test/MockStableToken.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/token/EnclaveTicketToken.sol/EnclaveTicketToken.json +1 -1
- package/artifacts/contracts/token/EnclaveTicketToken.sol/artifacts.d.ts +1 -1
- package/artifacts/contracts/token/EnclaveToken.sol/EnclaveToken.json +1 -1
- package/artifacts/contracts/token/EnclaveToken.sol/artifacts.d.ts +1 -1
- package/artifacts/poseidon-solidity/PoseidonT3.sol/PoseidonT3.json +1 -1
- package/artifacts/poseidon-solidity/PoseidonT3.sol/artifacts.d.ts +1 -1
- package/contracts/interfaces/IEnclave.sol +3 -0
- package/dist/types/contracts/interfaces/IEnclave.d.ts +11 -1
- package/dist/types/contracts/interfaces/IEnclave.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts +10 -0
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IEnclave__factory.js +13 -0
- package/package.json +2 -2
|
@@ -1534,5 +1534,5 @@
|
|
|
1534
1534
|
"deployedLinkReferences": {},
|
|
1535
1535
|
"immutableReferences": {},
|
|
1536
1536
|
"inputSourceName": "project/contracts/Enclave.sol",
|
|
1537
|
-
"buildInfoId": "solc-0_8_28-
|
|
1537
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
1538
1538
|
}
|
|
@@ -15,7 +15,7 @@ export interface Enclave$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/Enclave.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -877,5 +877,5 @@
|
|
|
877
877
|
"deployedLinkReferences": {},
|
|
878
878
|
"immutableReferences": {},
|
|
879
879
|
"inputSourceName": "project/contracts/interfaces/IBondingRegistry.sol",
|
|
880
|
-
"buildInfoId": "solc-0_8_28-
|
|
880
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
881
881
|
}
|
|
@@ -15,7 +15,7 @@ export interface IBondingRegistry$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/IBondingRegistry.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -535,5 +535,5 @@
|
|
|
535
535
|
"deployedLinkReferences": {},
|
|
536
536
|
"immutableReferences": {},
|
|
537
537
|
"inputSourceName": "project/contracts/interfaces/ICiphernodeRegistry.sol",
|
|
538
|
-
"buildInfoId": "solc-0_8_28-
|
|
538
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
539
539
|
}
|
|
@@ -15,7 +15,7 @@ export interface ICiphernodeRegistry$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/ICiphernodeRegistry.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"deployedLinkReferences": {},
|
|
40
40
|
"immutableReferences": {},
|
|
41
41
|
"inputSourceName": "project/contracts/interfaces/IComputeProvider.sol",
|
|
42
|
-
"buildInfoId": "solc-0_8_28-
|
|
42
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
43
43
|
}
|
|
@@ -15,7 +15,7 @@ export interface IComputeProvider$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/IComputeProvider.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"deployedLinkReferences": {},
|
|
40
40
|
"immutableReferences": {},
|
|
41
41
|
"inputSourceName": "project/contracts/interfaces/IDecryptionVerifier.sol",
|
|
42
|
-
"buildInfoId": "solc-0_8_28-
|
|
42
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
43
43
|
}
|
|
@@ -15,7 +15,7 @@ export interface IDecryptionVerifier$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/IDecryptionVerifier.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"deployedLinkReferences": {},
|
|
97
97
|
"immutableReferences": {},
|
|
98
98
|
"inputSourceName": "project/contracts/interfaces/IE3Program.sol",
|
|
99
|
-
"buildInfoId": "solc-0_8_28-
|
|
99
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
100
100
|
}
|
|
@@ -15,7 +15,7 @@ export interface IE3Program$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/IE3Program.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -417,6 +417,19 @@
|
|
|
417
417
|
"stateMutability": "nonpayable",
|
|
418
418
|
"type": "function"
|
|
419
419
|
},
|
|
420
|
+
{
|
|
421
|
+
"inputs": [],
|
|
422
|
+
"name": "feeToken",
|
|
423
|
+
"outputs": [
|
|
424
|
+
{
|
|
425
|
+
"internalType": "contract IERC20",
|
|
426
|
+
"name": "",
|
|
427
|
+
"type": "address"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"stateMutability": "view",
|
|
431
|
+
"type": "function"
|
|
432
|
+
},
|
|
420
433
|
{
|
|
421
434
|
"inputs": [
|
|
422
435
|
{
|
|
@@ -924,5 +937,5 @@
|
|
|
924
937
|
"deployedLinkReferences": {},
|
|
925
938
|
"immutableReferences": {},
|
|
926
939
|
"inputSourceName": "project/contracts/interfaces/IEnclave.sol",
|
|
927
|
-
"buildInfoId": "solc-0_8_28-
|
|
940
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
928
941
|
}
|
|
@@ -8,14 +8,14 @@ export interface IEnclave$Type {
|
|
|
8
8
|
readonly _format: "hh3-artifact-1";
|
|
9
9
|
readonly contractName: "IEnclave";
|
|
10
10
|
readonly sourceName: "contracts/interfaces/IEnclave.sol";
|
|
11
|
-
readonly abi: [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes[]","name":"e3ProgramParams","type":"bytes[]"}],"name":"AllowedE3ProgramsParamsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"bondingRegistry","type":"address"}],"name":"BondingRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"ciphernodeRegistry","type":"address"}],"name":"CiphernodeRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"ciphertextOutput","type":"bytes"}],"name":"CiphertextOutputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expiration","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"committeePublicKey","type":"bytes"}],"name":"E3Activated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3ProgramDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3ProgramEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"e3Id","type":"uint256"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"indexed":false,"internalType":"struct E3","name":"e3","type":"tuple"},{"indexed":true,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3Requested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"EncryptionSchemeDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"EncryptionSchemeEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"feeToken","type":"address"}],"name":"FeeTokenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"inputHash","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"InputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxDuration","type":"uint256"}],"name":"MaxDurationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"name":"PlaintextOutputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"nodes","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"RewardsDistributed","type":"event"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"publicKey","type":"bytes"}],"name":"activate","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"disableE3Program","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"disableEncryptionScheme","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"enableE3Program","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"getDecryptionVerifier","outputs":[{"internalType":"contract IDecryptionVerifier","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"}],"name":"getE3","outputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"internalType":"struct E3","name":"e3","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct IEnclave.E3RequestParams","name":"e3Params","type":"tuple"}],"name":"getE3Quote","outputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"ciphertextOutput","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"publishCiphertextOutput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"publishInput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"publishPlaintextOutput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct IEnclave.E3RequestParams","name":"requestParams","type":"tuple"}],"name":"request","outputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"internalType":"struct E3","name":"e3","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBondingRegistry","name":"_bondingRegistry","type":"address"}],"name":"setBondingRegistry","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ICiphernodeRegistry","name":"_ciphernodeRegistry","type":"address"}],"name":"setCiphernodeRegistry","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"}],"name":"setDecryptionVerifier","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"_e3ProgramsParams","type":"bytes[]"}],"name":"setE3ProgramsParams","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_feeToken","type":"address"}],"name":"setFeeToken","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDuration","type":"uint256"}],"name":"setMaxDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}];
|
|
11
|
+
readonly abi: [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes[]","name":"e3ProgramParams","type":"bytes[]"}],"name":"AllowedE3ProgramsParamsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"bondingRegistry","type":"address"}],"name":"BondingRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"ciphernodeRegistry","type":"address"}],"name":"CiphernodeRegistrySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"ciphertextOutput","type":"bytes"}],"name":"CiphertextOutputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expiration","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"committeePublicKey","type":"bytes"}],"name":"E3Activated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3ProgramDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3ProgramEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"e3Id","type":"uint256"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"indexed":false,"internalType":"struct E3","name":"e3","type":"tuple"},{"indexed":true,"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"E3Requested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"EncryptionSchemeDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"EncryptionSchemeEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"feeToken","type":"address"}],"name":"FeeTokenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"inputHash","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"InputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxDuration","type":"uint256"}],"name":"MaxDurationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"name":"PlaintextOutputPublished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"e3Id","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"nodes","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"RewardsDistributed","type":"event"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"publicKey","type":"bytes"}],"name":"activate","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"disableE3Program","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"disableEncryptionScheme","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IE3Program","name":"e3Program","type":"address"}],"name":"enableE3Program","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"name":"getDecryptionVerifier","outputs":[{"internalType":"contract IDecryptionVerifier","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"}],"name":"getE3","outputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"internalType":"struct E3","name":"e3","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct IEnclave.E3RequestParams","name":"e3Params","type":"tuple"}],"name":"getE3Quote","outputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"ciphertextOutput","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"publishCiphertextOutput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"publishInput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"publishPlaintextOutput","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"internalType":"struct IEnclave.E3RequestParams","name":"requestParams","type":"tuple"}],"name":"request","outputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint32[2]","name":"threshold","type":"uint32[2]"},{"internalType":"uint256","name":"requestBlock","type":"uint256"},{"internalType":"uint256[2]","name":"startWindow","type":"uint256[2]"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IE3Program","name":"e3Program","type":"address"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"},{"internalType":"bytes32","name":"committeePublicKey","type":"bytes32"},{"internalType":"bytes32","name":"ciphertextOutput","type":"bytes32"},{"internalType":"bytes","name":"plaintextOutput","type":"bytes"}],"internalType":"struct E3","name":"e3","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBondingRegistry","name":"_bondingRegistry","type":"address"}],"name":"setBondingRegistry","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ICiphernodeRegistry","name":"_ciphernodeRegistry","type":"address"}],"name":"setCiphernodeRegistry","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"},{"internalType":"contract IDecryptionVerifier","name":"decryptionVerifier","type":"address"}],"name":"setDecryptionVerifier","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"_e3ProgramsParams","type":"bytes[]"}],"name":"setE3ProgramsParams","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_feeToken","type":"address"}],"name":"setFeeToken","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDuration","type":"uint256"}],"name":"setMaxDuration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}];
|
|
12
12
|
readonly bytecode: "0x";
|
|
13
13
|
readonly deployedBytecode: "0x";
|
|
14
14
|
readonly linkReferences: {};
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/IEnclave.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"deployedLinkReferences": {},
|
|
35
35
|
"immutableReferences": {},
|
|
36
36
|
"inputSourceName": "project/contracts/interfaces/ISlashVerifier.sol",
|
|
37
|
-
"buildInfoId": "solc-0_8_28-
|
|
37
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
38
38
|
}
|
|
@@ -15,7 +15,7 @@ export interface ISlashVerifier$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/ISlashVerifier.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -755,5 +755,5 @@
|
|
|
755
755
|
"deployedLinkReferences": {},
|
|
756
756
|
"immutableReferences": {},
|
|
757
757
|
"inputSourceName": "project/contracts/interfaces/ISlashingManager.sol",
|
|
758
|
-
"buildInfoId": "solc-0_8_28-
|
|
758
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
759
759
|
}
|
|
@@ -15,7 +15,7 @@ export interface ISlashingManager$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/interfaces/ISlashingManager.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"deployedLinkReferences": {},
|
|
113
113
|
"immutableReferences": {},
|
|
114
114
|
"inputSourceName": "project/contracts/lib/ExitQueueLib.sol",
|
|
115
|
-
"buildInfoId": "solc-0_8_28-
|
|
115
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
116
116
|
}
|
|
@@ -15,7 +15,7 @@ export interface ExitQueueLib$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/lib/ExitQueueLib.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -1213,5 +1213,5 @@
|
|
|
1213
1213
|
"deployedLinkReferences": {},
|
|
1214
1214
|
"immutableReferences": {},
|
|
1215
1215
|
"inputSourceName": "project/contracts/registry/BondingRegistry.sol",
|
|
1216
|
-
"buildInfoId": "solc-0_8_28-
|
|
1216
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
1217
1217
|
}
|
|
@@ -15,7 +15,7 @@ export interface BondingRegistry$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/registry/BondingRegistry.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json
CHANGED
|
@@ -983,5 +983,5 @@
|
|
|
983
983
|
},
|
|
984
984
|
"immutableReferences": {},
|
|
985
985
|
"inputSourceName": "project/contracts/registry/CiphernodeRegistryOwnable.sol",
|
|
986
|
-
"buildInfoId": "solc-0_8_28-
|
|
986
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
987
987
|
}
|
|
@@ -15,7 +15,7 @@ export interface CiphernodeRegistryOwnable$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {"npm/poseidon-solidity@0.0.5/PoseidonT3.sol":{"PoseidonT3":[{"length":20,"start":4776},{"length":20,"start":6317},{"length":20,"start":6481},{"length":20,"start":6797},{"length":20,"start":6961}]}};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/registry/CiphernodeRegistryOwnable.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -1103,5 +1103,5 @@
|
|
|
1103
1103
|
"deployedLinkReferences": {},
|
|
1104
1104
|
"immutableReferences": {},
|
|
1105
1105
|
"inputSourceName": "project/contracts/slashing/SlashingManager.sol",
|
|
1106
|
-
"buildInfoId": "solc-0_8_28-
|
|
1106
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
1107
1107
|
}
|
|
@@ -15,7 +15,7 @@ export interface SlashingManager$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/slashing/SlashingManager.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -535,5 +535,5 @@
|
|
|
535
535
|
"deployedLinkReferences": {},
|
|
536
536
|
"immutableReferences": {},
|
|
537
537
|
"inputSourceName": "project/contracts/test/MockCiphernodeRegistry.sol",
|
|
538
|
-
"buildInfoId": "solc-0_8_28-
|
|
538
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
539
539
|
}
|
package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json
CHANGED
|
@@ -535,5 +535,5 @@
|
|
|
535
535
|
"deployedLinkReferences": {},
|
|
536
536
|
"immutableReferences": {},
|
|
537
537
|
"inputSourceName": "project/contracts/test/MockCiphernodeRegistry.sol",
|
|
538
|
-
"buildInfoId": "solc-0_8_28-
|
|
538
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
539
539
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockCiphernodeRegistry$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockCiphernodeRegistry.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export interface MockCiphernodeRegistryEmptyKey$Type {
|
|
@@ -29,7 +29,7 @@ export interface MockCiphernodeRegistryEmptyKey$Type {
|
|
|
29
29
|
readonly deployedLinkReferences: {};
|
|
30
30
|
readonly immutableReferences: {};
|
|
31
31
|
readonly inputSourceName: "project/contracts/test/MockCiphernodeRegistry.sol";
|
|
32
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
32
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
import "hardhat/types/artifacts";
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"deployedLinkReferences": {},
|
|
45
45
|
"immutableReferences": {},
|
|
46
46
|
"inputSourceName": "project/contracts/test/MockComputeProvider.sol",
|
|
47
|
-
"buildInfoId": "solc-0_8_28-
|
|
47
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
48
48
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockComputeProvider$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockComputeProvider.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"deployedLinkReferences": {},
|
|
40
40
|
"immutableReferences": {},
|
|
41
41
|
"inputSourceName": "project/contracts/test/MockDecryptionVerifier.sol",
|
|
42
|
-
"buildInfoId": "solc-0_8_28-
|
|
42
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
43
43
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockDecryptionVerifier$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockDecryptionVerifier.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -154,5 +154,5 @@
|
|
|
154
154
|
"deployedLinkReferences": {},
|
|
155
155
|
"immutableReferences": {},
|
|
156
156
|
"inputSourceName": "project/contracts/test/MockE3Program.sol",
|
|
157
|
-
"buildInfoId": "solc-0_8_28-
|
|
157
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
158
158
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockE3Program$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockE3Program.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"deployedLinkReferences": {},
|
|
35
35
|
"immutableReferences": {},
|
|
36
36
|
"inputSourceName": "project/contracts/test/MockSlashingVerifier.sol",
|
|
37
|
-
"buildInfoId": "solc-0_8_28-
|
|
37
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
38
38
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockSlashingVerifier$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockSlashingVerifier.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -421,5 +421,5 @@
|
|
|
421
421
|
"deployedLinkReferences": {},
|
|
422
422
|
"immutableReferences": {},
|
|
423
423
|
"inputSourceName": "project/contracts/test/MockStableToken.sol",
|
|
424
|
-
"buildInfoId": "solc-0_8_28-
|
|
424
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
425
425
|
}
|
|
@@ -15,7 +15,7 @@ export interface MockUSDC$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "project/contracts/test/MockStableToken.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -15,7 +15,7 @@ export interface EnclaveTicketToken$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {"3415":[{"length":32,"start":872},{"length":32,"start":1600},{"length":32,"start":2113},{"length":32,"start":3176},{"length":32,"start":3533},{"length":32,"start":3711}],"6684":[{"length":32,"start":3942}],"6686":[{"length":32,"start":3900}],"6688":[{"length":32,"start":3858}],"6690":[{"length":32,"start":4023}],"6692":[{"length":32,"start":4063}],"6695":[{"length":32,"start":4727}],"6698":[{"length":32,"start":4772}]};
|
|
17
17
|
readonly inputSourceName: "project/contracts/token/EnclaveTicketToken.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -15,7 +15,7 @@ export interface EnclaveToken$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {"6684":[{"length":32,"start":4826}],"6686":[{"length":32,"start":4784}],"6688":[{"length":32,"start":4742}],"6690":[{"length":32,"start":4907}],"6692":[{"length":32,"start":4947}],"6695":[{"length":32,"start":5768}],"6698":[{"length":32,"start":5813}]};
|
|
17
17
|
readonly inputSourceName: "project/contracts/token/EnclaveToken.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"deployedLinkReferences": {},
|
|
30
30
|
"immutableReferences": {},
|
|
31
31
|
"inputSourceName": "npm/poseidon-solidity@0.0.5/PoseidonT3.sol",
|
|
32
|
-
"buildInfoId": "solc-0_8_28-
|
|
32
|
+
"buildInfoId": "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84"
|
|
33
33
|
}
|
|
@@ -15,7 +15,7 @@ export interface PoseidonT3$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {};
|
|
16
16
|
readonly immutableReferences: {};
|
|
17
17
|
readonly inputSourceName: "npm/poseidon-solidity@0.0.5/PoseidonT3.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-4bcd87d14b711a4c77809b8506304ad531199f84";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -294,4 +294,7 @@ interface IEnclave {
|
|
|
294
294
|
function getDecryptionVerifier(
|
|
295
295
|
bytes32 encryptionSchemeId
|
|
296
296
|
) external view returns (IDecryptionVerifier);
|
|
297
|
+
|
|
298
|
+
/// @notice Returns the ERC20 token used to pay for E3 fees.
|
|
299
|
+
function feeToken() external view returns (IERC20);
|
|
297
300
|
}
|
|
@@ -53,12 +53,13 @@ export declare namespace IEnclave {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
export interface IEnclaveInterface extends Interface {
|
|
56
|
-
getFunction(nameOrSignature: "activate" | "disableE3Program" | "disableEncryptionScheme" | "enableE3Program" | "getDecryptionVerifier" | "getE3" | "getE3Quote" | "publishCiphertextOutput" | "publishInput" | "publishPlaintextOutput" | "request" | "setBondingRegistry" | "setCiphernodeRegistry" | "setDecryptionVerifier" | "setE3ProgramsParams" | "setFeeToken" | "setMaxDuration"): FunctionFragment;
|
|
56
|
+
getFunction(nameOrSignature: "activate" | "disableE3Program" | "disableEncryptionScheme" | "enableE3Program" | "feeToken" | "getDecryptionVerifier" | "getE3" | "getE3Quote" | "publishCiphertextOutput" | "publishInput" | "publishPlaintextOutput" | "request" | "setBondingRegistry" | "setCiphernodeRegistry" | "setDecryptionVerifier" | "setE3ProgramsParams" | "setFeeToken" | "setMaxDuration"): FunctionFragment;
|
|
57
57
|
getEvent(nameOrSignatureOrTopic: "AllowedE3ProgramsParamsSet" | "BondingRegistrySet" | "CiphernodeRegistrySet" | "CiphertextOutputPublished" | "E3Activated" | "E3ProgramDisabled" | "E3ProgramEnabled" | "E3Requested" | "EncryptionSchemeDisabled" | "EncryptionSchemeEnabled" | "FeeTokenSet" | "InputPublished" | "MaxDurationSet" | "PlaintextOutputPublished" | "RewardsDistributed"): EventFragment;
|
|
58
58
|
encodeFunctionData(functionFragment: 'activate', values: [BigNumberish, BytesLike]): string;
|
|
59
59
|
encodeFunctionData(functionFragment: 'disableE3Program', values: [AddressLike]): string;
|
|
60
60
|
encodeFunctionData(functionFragment: 'disableEncryptionScheme', values: [BytesLike]): string;
|
|
61
61
|
encodeFunctionData(functionFragment: 'enableE3Program', values: [AddressLike]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: 'feeToken', values?: undefined): string;
|
|
62
63
|
encodeFunctionData(functionFragment: 'getDecryptionVerifier', values: [BytesLike]): string;
|
|
63
64
|
encodeFunctionData(functionFragment: 'getE3', values: [BigNumberish]): string;
|
|
64
65
|
encodeFunctionData(functionFragment: 'getE3Quote', values: [IEnclave.E3RequestParamsStruct]): string;
|
|
@@ -76,6 +77,7 @@ export interface IEnclaveInterface extends Interface {
|
|
|
76
77
|
decodeFunctionResult(functionFragment: 'disableE3Program', data: BytesLike): Result;
|
|
77
78
|
decodeFunctionResult(functionFragment: 'disableEncryptionScheme', data: BytesLike): Result;
|
|
78
79
|
decodeFunctionResult(functionFragment: 'enableE3Program', data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: 'feeToken', data: BytesLike): Result;
|
|
79
81
|
decodeFunctionResult(functionFragment: 'getDecryptionVerifier', data: BytesLike): Result;
|
|
80
82
|
decodeFunctionResult(functionFragment: 'getE3', data: BytesLike): Result;
|
|
81
83
|
decodeFunctionResult(functionFragment: 'getE3Quote', data: BytesLike): Result;
|
|
@@ -300,6 +302,10 @@ export interface IEnclave extends BaseContract {
|
|
|
300
302
|
], [
|
|
301
303
|
boolean
|
|
302
304
|
], 'nonpayable'>;
|
|
305
|
+
feeToken: TypedContractMethod<[
|
|
306
|
+
], [
|
|
307
|
+
string
|
|
308
|
+
], 'view'>;
|
|
303
309
|
getDecryptionVerifier: TypedContractMethod<[
|
|
304
310
|
encryptionSchemeId: BytesLike
|
|
305
311
|
], [
|
|
@@ -396,6 +402,10 @@ export interface IEnclave extends BaseContract {
|
|
|
396
402
|
], [
|
|
397
403
|
boolean
|
|
398
404
|
], 'nonpayable'>;
|
|
405
|
+
getFunction(nameOrSignature: 'feeToken'): TypedContractMethod<[
|
|
406
|
+
], [
|
|
407
|
+
string
|
|
408
|
+
], 'view'>;
|
|
399
409
|
getFunction(nameOrSignature: 'getDecryptionVerifier'): TypedContractMethod<[
|
|
400
410
|
encryptionSchemeId: BytesLike
|
|
401
411
|
], [
|