Files
Fuma Nama 0fb792d6f8 refactor(fhe): unify API - reveal() replaces getDecryptResult()
- Update to unified FHE decryption API
- Add foundry.toml for testing
- Update dependencies to @luxfi/contracts
2025-12-31 21:11:02 -08:00

866 lines
24 KiB
JSON

{
"_format": "hh-sol-cache-2",
"files": {
"/Users/z/work/luxfhe/examples/binary-guessing/contracts/RngBinaryGame.sol": {
"lastModificationDate": 1767224631783,
"contentHash": "2ed8e338bb97d78ce25a5989e62d920a",
"sourceName": "contracts/RngBinaryGame.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"@luxfi/contracts/fhe/FHE.sol",
"@luxfi/contracts/fhe/access/Permissioned.sol",
"@luxfi/contracts/fhe/utils/debug/Console.sol"
],
"versionPragmas": [
">=0.8.13 <0.9.0"
],
"artifacts": [
"RngBinaryGame"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/FHE.sol": {
"lastModificationDate": 1767224632681,
"contentHash": "f7ba7c03655cc3700c196a648cab9714",
"sourceName": "@luxfi/contracts/fhe/FHE.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./FHECommon.sol",
"./FHENetwork.sol",
"./IFHE.sol"
],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": [
"BindingsEaddress",
"BindingsEbool",
"BindingsEuint128",
"BindingsEuint16",
"BindingsEuint32",
"BindingsEuint64",
"BindingsEuint8",
"FHE"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/access/Permissioned.sol": {
"lastModificationDate": 1767207699347,
"contentHash": "5b80d5a082351af10dae05c501667327",
"sourceName": "@luxfi/contracts/fhe/access/Permissioned.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"@openzeppelin/contracts/utils/cryptography/ECDSA.sol",
"@openzeppelin/contracts/utils/cryptography/EIP712.sol"
],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": [
"Permissioned"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/utils/debug/Console.sol": {
"lastModificationDate": 1767224632699,
"contentHash": "12755b4862b237c8ddb12dfc7b16e989",
"sourceName": "@luxfi/contracts/fhe/utils/debug/Console.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"../../IFHE.sol",
"@openzeppelin/contracts/utils/Strings.sol"
],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": [
"Console"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/FHENetwork.sol": {
"lastModificationDate": 1767224632727,
"contentHash": "eb90b2dff4c4740500bf895f59bc55a2",
"sourceName": "@luxfi/contracts/fhe/FHENetwork.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./FHETypes.sol",
"./FHECommon.sol",
"./IFHE.sol"
],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": [
"FHENetwork"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/FHECommon.sol": {
"lastModificationDate": 1767207699274,
"contentHash": "f1482a955eadcbbf9731584caf204586",
"sourceName": "@luxfi/contracts/fhe/FHECommon.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": [
"FHECommon"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/IFHE.sol": {
"lastModificationDate": 1767224632797,
"contentHash": "85656d8acbd0bcd81c7d93cf8c0d6ff6",
"sourceName": "@luxfi/contracts/fhe/IFHE.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
">=0.8.13 <0.9.0"
],
"artifacts": [
"IFHENetwork",
"IFheOps",
"Precompiles",
"Utils"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@luxfi/contracts/fhe/FHETypes.sol": {
"lastModificationDate": 1767207699275,
"contentHash": "bd793bfddfcdadbdd57cd17e36b5749e",
"sourceName": "@luxfi/contracts/fhe/FHETypes.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
">=0.8.19 <0.9.0"
],
"artifacts": []
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": {
"lastModificationDate": 1767207699895,
"contentHash": "81de029d56aa803972be03c5d277cb6c",
"sourceName": "@openzeppelin/contracts/utils/cryptography/ECDSA.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"ECDSA"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/cryptography/EIP712.sol": {
"lastModificationDate": 1767207699895,
"contentHash": "d67dfba302ed2489324d7584625c3bde",
"sourceName": "@openzeppelin/contracts/utils/cryptography/EIP712.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./MessageHashUtils.sol",
"../ShortStrings.sol",
"../../interfaces/IERC5267.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"EIP712"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/interfaces/IERC5267.sol": {
"lastModificationDate": 1767207699947,
"contentHash": "6e00d2fe4bc0d5f1add753824498bb35",
"sourceName": "@openzeppelin/contracts/interfaces/IERC5267.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
">=0.4.16"
],
"artifacts": [
"IERC5267"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/ShortStrings.sol": {
"lastModificationDate": 1767207699956,
"contentHash": "c1be9487e5a64acf23b5d8028482e748",
"sourceName": "@openzeppelin/contracts/utils/ShortStrings.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./StorageSlot.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"ShortStrings"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol": {
"lastModificationDate": 1767207699952,
"contentHash": "260f3968eefa3bbd30520cff5384cd93",
"sourceName": "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"../Strings.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"MessageHashUtils"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/StorageSlot.sol": {
"lastModificationDate": 1767207699958,
"contentHash": "e656d64c4ce918f3d13030b91c935134",
"sourceName": "@openzeppelin/contracts/utils/StorageSlot.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"StorageSlot"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/Strings.sol": {
"lastModificationDate": 1767207699958,
"contentHash": "d8f70caf0e0c77dc908176ed44812fb7",
"sourceName": "@openzeppelin/contracts/utils/Strings.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./math/Math.sol",
"./math/SafeCast.sol",
"./math/SignedMath.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"Strings"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol": {
"lastModificationDate": 1767207699956,
"contentHash": "ae3528afb8bdb0a7dcfba5b115ee8074",
"sourceName": "@openzeppelin/contracts/utils/math/SignedMath.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"./SafeCast.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"SignedMath"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/math/Math.sol": {
"lastModificationDate": 1767207699952,
"contentHash": "5ec781e33d3a9ac91ffdc83d94420412",
"sourceName": "@openzeppelin/contracts/utils/math/Math.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [
"../Panic.sol",
"./SafeCast.sol"
],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"Math"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": {
"lastModificationDate": 1767207699956,
"contentHash": "2adca1150f58fc6f3d1f0a0f22ee7cca",
"sourceName": "@openzeppelin/contracts/utils/math/SafeCast.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"SafeCast"
]
},
"/Users/z/work/luxfhe/examples/binary-guessing/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/contracts/utils/Panic.sol": {
"lastModificationDate": 1767207699954,
"contentHash": "2133dc13536b4a6a98131e431fac59e1",
"sourceName": "@openzeppelin/contracts/utils/Panic.sol",
"solcConfig": {
"version": "0.8.31",
"settings": {
"evmVersion": "cancun",
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"imports": [],
"versionPragmas": [
"^0.8.20"
],
"artifacts": [
"Panic"
]
}
}
}