@enclave-e3/contracts 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-bc4924096d79c352c47e61609b2798186ce67999.json → solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.json} +4 -4
- package/artifacts/build-info/{solc-0_8_28-bc4924096d79c352c47e61609b2798186ce67999.output.json → solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799.output.json} +1 -1
- package/artifacts/contracts/Enclave.sol/Enclave.json +3 -3
- package/artifacts/contracts/Enclave.sol/artifacts.d.ts +3 -3
- 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 +6 -1
- package/artifacts/contracts/interfaces/IE3Program.sol/artifacts.d.ts +2 -2
- package/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json +1 -1
- package/artifacts/contracts/interfaces/IEnclave.sol/artifacts.d.ts +1 -1
- 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 +8 -3
- 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 +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/Enclave.sol +2 -1
- package/contracts/interfaces/IE3Program.sol +3 -1
- package/contracts/test/MockE3Program.sol +2 -1
- package/dist/types/contracts/interfaces/IE3Program.d.ts +5 -3
- package/dist/types/contracts/interfaces/IE3Program.d.ts.map +1 -1
- package/dist/types/contracts/test/MockE3Program.d.ts +5 -3
- package/dist/types/contracts/test/MockE3Program.d.ts.map +1 -1
- package/dist/types/factories/contracts/Enclave__factory.d.ts +1 -1
- package/dist/types/factories/contracts/Enclave__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/Enclave__factory.js +1 -1
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts +4 -0
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/interfaces/IE3Program__factory.js +5 -0
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts +5 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.d.ts.map +1 -1
- package/dist/types/factories/contracts/test/MockE3Program__factory.js +6 -1
- package/package.json +2 -2
|
@@ -540,5 +540,5 @@
|
|
|
540
540
|
"deployedLinkReferences": {},
|
|
541
541
|
"immutableReferences": {},
|
|
542
542
|
"inputSourceName": "project/contracts/interfaces/ICiphernodeRegistry.sol",
|
|
543
|
-
"buildInfoId": "solc-0_8_28-
|
|
543
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
544
544
|
}
|
|
@@ -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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
"internalType": "bytes",
|
|
25
25
|
"name": "computeProviderParams",
|
|
26
26
|
"type": "bytes"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes",
|
|
30
|
+
"name": "customParams",
|
|
31
|
+
"type": "bytes"
|
|
27
32
|
}
|
|
28
33
|
],
|
|
29
34
|
"name": "validate",
|
|
@@ -96,5 +101,5 @@
|
|
|
96
101
|
"deployedLinkReferences": {},
|
|
97
102
|
"immutableReferences": {},
|
|
98
103
|
"inputSourceName": "project/contracts/interfaces/IE3Program.sol",
|
|
99
|
-
"buildInfoId": "solc-0_8_28-
|
|
104
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
100
105
|
}
|
|
@@ -8,14 +8,14 @@ export interface IE3Program$Type {
|
|
|
8
8
|
readonly _format: "hh3-artifact-1";
|
|
9
9
|
readonly contractName: "IE3Program";
|
|
10
10
|
readonly sourceName: "contracts/interfaces/IE3Program.sol";
|
|
11
|
-
readonly abi: [{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"}],"name":"validate","outputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"validateInput","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes32","name":"ciphertextOutputHash","type":"bytes32"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}];
|
|
11
|
+
readonly abi: [{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"customParams","type":"bytes"}],"name":"validate","outputs":[{"internalType":"bytes32","name":"encryptionSchemeId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"validateInput","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"bytes32","name":"ciphertextOutputHash","type":"bytes32"},{"internalType":"bytes","name":"proof","type":"bytes"}],"name":"verify","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/IE3Program.sol";
|
|
18
|
-
readonly buildInfoId: "solc-0_8_28-
|
|
18
|
+
readonly buildInfoId: "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -947,5 +947,5 @@
|
|
|
947
947
|
"deployedLinkReferences": {},
|
|
948
948
|
"immutableReferences": {},
|
|
949
949
|
"inputSourceName": "project/contracts/interfaces/IEnclave.sol",
|
|
950
|
-
"buildInfoId": "solc-0_8_28-
|
|
950
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
951
951
|
}
|
|
@@ -15,7 +15,7 @@ export interface IEnclave$Type {
|
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
package/artifacts/contracts/registry/CiphernodeRegistryOwnable.sol/CiphernodeRegistryOwnable.json
CHANGED
|
@@ -988,5 +988,5 @@
|
|
|
988
988
|
},
|
|
989
989
|
"immutableReferences": {},
|
|
990
990
|
"inputSourceName": "project/contracts/registry/CiphernodeRegistryOwnable.sol",
|
|
991
|
-
"buildInfoId": "solc-0_8_28-
|
|
991
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
992
992
|
}
|
|
@@ -15,7 +15,7 @@ export interface CiphernodeRegistryOwnable$Type {
|
|
|
15
15
|
readonly deployedLinkReferences: {"npm/poseidon-solidity@0.0.5/PoseidonT3.sol":{"PoseidonT3":[{"length":20,"start":4757},{"length":20,"start":6298},{"length":20,"start":6462},{"length":20,"start":6778},{"length":20,"start":6942}]}};
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -540,5 +540,5 @@
|
|
|
540
540
|
"deployedLinkReferences": {},
|
|
541
541
|
"immutableReferences": {},
|
|
542
542
|
"inputSourceName": "project/contracts/test/MockCiphernodeRegistry.sol",
|
|
543
|
-
"buildInfoId": "solc-0_8_28-
|
|
543
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
544
544
|
}
|
package/artifacts/contracts/test/MockCiphernodeRegistry.sol/MockCiphernodeRegistryEmptyKey.json
CHANGED
|
@@ -545,5 +545,5 @@
|
|
|
545
545
|
"deployedLinkReferences": {},
|
|
546
546
|
"immutableReferences": {},
|
|
547
547
|
"inputSourceName": "project/contracts/test/MockCiphernodeRegistry.sol",
|
|
548
|
-
"buildInfoId": "solc-0_8_28-
|
|
548
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
549
549
|
}
|
|
@@ -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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
|
@@ -82,6 +82,11 @@
|
|
|
82
82
|
"internalType": "bytes",
|
|
83
83
|
"name": "computeProviderParams",
|
|
84
84
|
"type": "bytes"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "bytes",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "bytes"
|
|
85
90
|
}
|
|
86
91
|
],
|
|
87
92
|
"name": "validate",
|
|
@@ -148,11 +153,11 @@
|
|
|
148
153
|
"type": "function"
|
|
149
154
|
}
|
|
150
155
|
],
|
|
151
|
-
"bytecode": "
|
|
152
|
-
"deployedBytecode": "
|
|
156
|
+
"bytecode": "0x6080604052348015600e575f5ffd5b506104e68061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806378d891871161004d57806378d89187146100bd578063d927910e146100e4578063fefd9a8b146100f9575f5ffd5b8063143c0836146100685780632f0e1bbf1461009a575b5f5ffd5b610087610076366004610222565b5f6020819052908152604090205481565b6040519081526020015b60405180910390f35b6100ad6100a83660046102d8565b61010c565b6040519015158152602001610091565b6100877f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c681565b6100f76100f2366004610324565b610120565b005b6100876101073660046103c0565b610167565b80515f9015610119575060015b9392505050565b805160031480610144575073ffffffffffffffffffffffffffffffffffffffff8216155b156101625760405163b4fa3fb360e01b815260040160405180910390fd5b505050565b5f868686866020811461019a57604051630c741eb360e11b81526004016101919493929190610499565b60405180910390fd5b5050505f8a8152602081905260409020541590506101cb576040516335751e3760e11b815260040160405180910390fd5b86866040516101db9291906104ca565b60408051918290039091205f8b815260208190529190912055507f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c698975050505050505050565b5f60208284031215610232575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261025c575f5ffd5b813567ffffffffffffffff81111561027657610276610239565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102a5576102a5610239565b6040528181528382016020018510156102bc575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156102ea575f5ffd5b8335925060208401359150604084013567ffffffffffffffff81111561030e575f5ffd5b61031a8682870161024d565b9150509250925092565b5f5f5f60608486031215610336575f5ffd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff81168114610360575f5ffd5b9150604084013567ffffffffffffffff81111561030e575f5ffd5b5f5f83601f84011261038b575f5ffd5b50813567ffffffffffffffff8111156103a2575f5ffd5b6020830191508360208285010111156103b9575f5ffd5b9250929050565b5f5f5f5f5f5f5f5f60a0898b0312156103d7575f5ffd5b8835975060208901359650604089013567ffffffffffffffff8111156103fb575f5ffd5b6104078b828c0161037b565b909750955050606089013567ffffffffffffffff811115610426575f5ffd5b6104328b828c0161037b565b909550935050608089013567ffffffffffffffff811115610451575f5ffd5b61045d8b828c0161037b565b999c989b5096995094979396929594505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b604081525f6104ac604083018688610471565b82810360208401526104bf818587610471565b979650505050505050565b818382375f910190815291905056fea164736f6c634300081c000a",
|
|
157
|
+
"deployedBytecode": "0x608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806378d891871161004d57806378d89187146100bd578063d927910e146100e4578063fefd9a8b146100f9575f5ffd5b8063143c0836146100685780632f0e1bbf1461009a575b5f5ffd5b610087610076366004610222565b5f6020819052908152604090205481565b6040519081526020015b60405180910390f35b6100ad6100a83660046102d8565b61010c565b6040519015158152602001610091565b6100877f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c681565b6100f76100f2366004610324565b610120565b005b6100876101073660046103c0565b610167565b80515f9015610119575060015b9392505050565b805160031480610144575073ffffffffffffffffffffffffffffffffffffffff8216155b156101625760405163b4fa3fb360e01b815260040160405180910390fd5b505050565b5f868686866020811461019a57604051630c741eb360e11b81526004016101919493929190610499565b60405180910390fd5b5050505f8a8152602081905260409020541590506101cb576040516335751e3760e11b815260040160405180910390fd5b86866040516101db9291906104ca565b60408051918290039091205f8b815260208190529190912055507f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c698975050505050505050565b5f60208284031215610232575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261025c575f5ffd5b813567ffffffffffffffff81111561027657610276610239565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102a5576102a5610239565b6040528181528382016020018510156102bc575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156102ea575f5ffd5b8335925060208401359150604084013567ffffffffffffffff81111561030e575f5ffd5b61031a8682870161024d565b9150509250925092565b5f5f5f60608486031215610336575f5ffd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff81168114610360575f5ffd5b9150604084013567ffffffffffffffff81111561030e575f5ffd5b5f5f83601f84011261038b575f5ffd5b50813567ffffffffffffffff8111156103a2575f5ffd5b6020830191508360208285010111156103b9575f5ffd5b9250929050565b5f5f5f5f5f5f5f5f60a0898b0312156103d7575f5ffd5b8835975060208901359650604089013567ffffffffffffffff8111156103fb575f5ffd5b6104078b828c0161037b565b909750955050606089013567ffffffffffffffff811115610426575f5ffd5b6104328b828c0161037b565b909550935050608089013567ffffffffffffffff811115610451575f5ffd5b61045d8b828c0161037b565b999c989b5096995094979396929594505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b604081525f6104ac604083018688610471565b82810360208401526104bf818587610471565b979650505050505050565b818382375f910190815291905056fea164736f6c634300081c000a",
|
|
153
158
|
"linkReferences": {},
|
|
154
159
|
"deployedLinkReferences": {},
|
|
155
160
|
"immutableReferences": {},
|
|
156
161
|
"inputSourceName": "project/contracts/test/MockE3Program.sol",
|
|
157
|
-
"buildInfoId": "solc-0_8_28-
|
|
162
|
+
"buildInfoId": "solc-0_8_28-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
158
163
|
}
|
|
@@ -8,14 +8,14 @@ export interface MockE3Program$Type {
|
|
|
8
8
|
readonly _format: "hh3-artifact-1";
|
|
9
9
|
readonly contractName: "MockE3Program";
|
|
10
10
|
readonly sourceName: "contracts/test/MockE3Program.sol";
|
|
11
|
-
readonly abi: [{"inputs":[],"name":"E3AlreadyInitialized","type":"error"},{"inputs":[],"name":"InvalidInput","type":"error"},{"inputs":[{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"}],"name":"InvalidParams","type":"error"},{"inputs":[],"name":"ENCRYPTION_SCHEME_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"}],"name":"paramsHashes","outputs":[{"internalType":"bytes32","name":"paramsHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"}],"name":"validate","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"validateInput","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"pure","type":"function"}];
|
|
12
|
-
readonly bytecode: "
|
|
13
|
-
readonly deployedBytecode: "
|
|
11
|
+
readonly abi: [{"inputs":[],"name":"E3AlreadyInitialized","type":"error"},{"inputs":[],"name":"InvalidInput","type":"error"},{"inputs":[{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"}],"name":"InvalidParams","type":"error"},{"inputs":[],"name":"ENCRYPTION_SCHEME_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"}],"name":"paramsHashes","outputs":[{"internalType":"bytes32","name":"paramsHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"e3Id","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"e3ProgramParams","type":"bytes"},{"internalType":"bytes","name":"computeProviderParams","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"validate","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"validateInput","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"pure","type":"function"}];
|
|
12
|
+
readonly bytecode: "0x6080604052348015600e575f5ffd5b506104e68061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806378d891871161004d57806378d89187146100bd578063d927910e146100e4578063fefd9a8b146100f9575f5ffd5b8063143c0836146100685780632f0e1bbf1461009a575b5f5ffd5b610087610076366004610222565b5f6020819052908152604090205481565b6040519081526020015b60405180910390f35b6100ad6100a83660046102d8565b61010c565b6040519015158152602001610091565b6100877f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c681565b6100f76100f2366004610324565b610120565b005b6100876101073660046103c0565b610167565b80515f9015610119575060015b9392505050565b805160031480610144575073ffffffffffffffffffffffffffffffffffffffff8216155b156101625760405163b4fa3fb360e01b815260040160405180910390fd5b505050565b5f868686866020811461019a57604051630c741eb360e11b81526004016101919493929190610499565b60405180910390fd5b5050505f8a8152602081905260409020541590506101cb576040516335751e3760e11b815260040160405180910390fd5b86866040516101db9291906104ca565b60408051918290039091205f8b815260208190529190912055507f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c698975050505050505050565b5f60208284031215610232575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261025c575f5ffd5b813567ffffffffffffffff81111561027657610276610239565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102a5576102a5610239565b6040528181528382016020018510156102bc575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156102ea575f5ffd5b8335925060208401359150604084013567ffffffffffffffff81111561030e575f5ffd5b61031a8682870161024d565b9150509250925092565b5f5f5f60608486031215610336575f5ffd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff81168114610360575f5ffd5b9150604084013567ffffffffffffffff81111561030e575f5ffd5b5f5f83601f84011261038b575f5ffd5b50813567ffffffffffffffff8111156103a2575f5ffd5b6020830191508360208285010111156103b9575f5ffd5b9250929050565b5f5f5f5f5f5f5f5f60a0898b0312156103d7575f5ffd5b8835975060208901359650604089013567ffffffffffffffff8111156103fb575f5ffd5b6104078b828c0161037b565b909750955050606089013567ffffffffffffffff811115610426575f5ffd5b6104328b828c0161037b565b909550935050608089013567ffffffffffffffff811115610451575f5ffd5b61045d8b828c0161037b565b999c989b5096995094979396929594505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b604081525f6104ac604083018688610471565b82810360208401526104bf818587610471565b979650505050505050565b818382375f910190815291905056fea164736f6c634300081c000a";
|
|
13
|
+
readonly deployedBytecode: "0x608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806378d891871161004d57806378d89187146100bd578063d927910e146100e4578063fefd9a8b146100f9575f5ffd5b8063143c0836146100685780632f0e1bbf1461009a575b5f5ffd5b610087610076366004610222565b5f6020819052908152604090205481565b6040519081526020015b60405180910390f35b6100ad6100a83660046102d8565b61010c565b6040519015158152602001610091565b6100877f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c681565b6100f76100f2366004610324565b610120565b005b6100876101073660046103c0565b610167565b80515f9015610119575060015b9392505050565b805160031480610144575073ffffffffffffffffffffffffffffffffffffffff8216155b156101625760405163b4fa3fb360e01b815260040160405180910390fd5b505050565b5f868686866020811461019a57604051630c741eb360e11b81526004016101919493929190610499565b60405180910390fd5b5050505f8a8152602081905260409020541590506101cb576040516335751e3760e11b815260040160405180910390fd5b86866040516101db9291906104ca565b60408051918290039091205f8b815260208190529190912055507f2c2a814a0495f913a3a312fc4771e37552bc14f8a2d4075a08122d356f0849c698975050505050505050565b5f60208284031215610232575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261025c575f5ffd5b813567ffffffffffffffff81111561027657610276610239565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156102a5576102a5610239565b6040528181528382016020018510156102bc575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156102ea575f5ffd5b8335925060208401359150604084013567ffffffffffffffff81111561030e575f5ffd5b61031a8682870161024d565b9150509250925092565b5f5f5f60608486031215610336575f5ffd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff81168114610360575f5ffd5b9150604084013567ffffffffffffffff81111561030e575f5ffd5b5f5f83601f84011261038b575f5ffd5b50813567ffffffffffffffff8111156103a2575f5ffd5b6020830191508360208285010111156103b9575f5ffd5b9250929050565b5f5f5f5f5f5f5f5f60a0898b0312156103d7575f5ffd5b8835975060208901359650604089013567ffffffffffffffff8111156103fb575f5ffd5b6104078b828c0161037b565b909750955050606089013567ffffffffffffffff811115610426575f5ffd5b6104328b828c0161037b565b909550935050608089013567ffffffffffffffff811115610451575f5ffd5b61045d8b828c0161037b565b999c989b5096995094979396929594505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b604081525f6104ac604083018688610471565b82810360208401526104bf818587610471565b979650505050505050565b818382375f910190815291905056fea164736f6c634300081c000a";
|
|
14
14
|
readonly linkReferences: {};
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799"
|
|
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-c77ac33099bb85c15f46d194dd2b735e036cb799";
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
import "hardhat/types/artifacts";
|
package/contracts/Enclave.sol
CHANGED
|
@@ -263,7 +263,8 @@ contract Enclave is IEnclave, OwnableUpgradeable {
|
|
|
263
263
|
e3Id,
|
|
264
264
|
seed,
|
|
265
265
|
requestParams.e3ProgramParams,
|
|
266
|
-
requestParams.computeProviderParams
|
|
266
|
+
requestParams.computeProviderParams,
|
|
267
|
+
requestParams.customParams
|
|
267
268
|
);
|
|
268
269
|
IDecryptionVerifier decryptionVerifier = decryptionVerifiers[
|
|
269
270
|
encryptionSchemeId
|
|
@@ -17,12 +17,14 @@ interface IE3Program {
|
|
|
17
17
|
/// @param seed Random seed for the computation
|
|
18
18
|
/// @param e3ProgramParams ABI encoded E3 program parameters
|
|
19
19
|
/// @param computeProviderParams ABI encoded compute provider parameters
|
|
20
|
+
/// @param customParams ABI encoded custom parameters for the E3 program
|
|
20
21
|
/// @return encryptionSchemeId ID of the encryption scheme to be used for the computation
|
|
21
22
|
function validate(
|
|
22
23
|
uint256 e3Id,
|
|
23
24
|
uint256 seed,
|
|
24
25
|
bytes calldata e3ProgramParams,
|
|
25
|
-
bytes calldata computeProviderParams
|
|
26
|
+
bytes calldata computeProviderParams,
|
|
27
|
+
bytes calldata customParams
|
|
26
28
|
) external returns (bytes32 encryptionSchemeId);
|
|
27
29
|
|
|
28
30
|
/// @notice Verify the ciphertext output of an E3 computation
|
|
@@ -21,7 +21,8 @@ contract MockE3Program is IE3Program {
|
|
|
21
21
|
uint256 e3Id,
|
|
22
22
|
uint256,
|
|
23
23
|
bytes calldata e3ProgramParams,
|
|
24
|
-
bytes calldata computeProviderParams
|
|
24
|
+
bytes calldata computeProviderParams,
|
|
25
|
+
bytes calldata
|
|
25
26
|
) external returns (bytes32) {
|
|
26
27
|
require(
|
|
27
28
|
computeProviderParams.length == 32,
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common.js";
|
|
3
3
|
export interface IE3ProgramInterface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "validate" | "validateInput" | "verify"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: 'validate', values: [BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
|
|
5
|
+
encodeFunctionData(functionFragment: 'validate', values: [BigNumberish, BigNumberish, BytesLike, BytesLike, BytesLike]): string;
|
|
6
6
|
encodeFunctionData(functionFragment: 'validateInput', values: [BigNumberish, AddressLike, BytesLike]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: 'verify', values: [BigNumberish, BytesLike, BytesLike]): string;
|
|
8
8
|
decodeFunctionResult(functionFragment: 'validate', data: BytesLike): Result;
|
|
@@ -26,7 +26,8 @@ export interface IE3Program extends BaseContract {
|
|
|
26
26
|
e3Id: BigNumberish,
|
|
27
27
|
seed: BigNumberish,
|
|
28
28
|
e3ProgramParams: BytesLike,
|
|
29
|
-
computeProviderParams: BytesLike
|
|
29
|
+
computeProviderParams: BytesLike,
|
|
30
|
+
customParams: BytesLike
|
|
30
31
|
], [
|
|
31
32
|
string
|
|
32
33
|
], 'nonpayable'>;
|
|
@@ -49,7 +50,8 @@ export interface IE3Program extends BaseContract {
|
|
|
49
50
|
e3Id: BigNumberish,
|
|
50
51
|
seed: BigNumberish,
|
|
51
52
|
e3ProgramParams: BytesLike,
|
|
52
|
-
computeProviderParams: BytesLike
|
|
53
|
+
computeProviderParams: BytesLike,
|
|
54
|
+
customParams: BytesLike
|
|
53
55
|
], [
|
|
54
56
|
string
|
|
55
57
|
], 'nonpayable'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IE3Program.d.ts","sourceRoot":"","sources":["../../../../types/contracts/interfaces/IE3Program.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC/J,OAAO,KAAK,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,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