mirror of
https://github.com/luxfhe/example-ticketing.git
synced 2026-10-30 18:13:12 +00:00
1 line
32 KiB
JSON
1 line
32 KiB
JSON
{"abi":[{"type":"function","name":"add","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"and","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"cast","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"input","type":"bytes","internalType":"bytes"},{"name":"toType","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"decrypt","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"input","type":"bytes","internalType":"bytes"},{"name":"defaultValue","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"pure"},{"type":"function","name":"div","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"eq","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"getNetworkPublicKey","inputs":[{"name":"securityZone","type":"int32","internalType":"int32"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"gt","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"gte","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"log","inputs":[{"name":"s","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"pure"},{"type":"function","name":"lt","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"lte","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"max","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"min","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"mul","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"ne","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"not","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"value","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"or","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"random","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"seed","type":"uint64","internalType":"uint64"},{"name":"securityZone","type":"int32","internalType":"int32"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"rem","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"req","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"input","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"rol","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"ror","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"sealOutput","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"ctHash","type":"bytes","internalType":"bytes"},{"name":"pk","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"type":"function","name":"select","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"controlHash","type":"bytes","internalType":"bytes"},{"name":"ifTrueHash","type":"bytes","internalType":"bytes"},{"name":"ifFalseHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"shl","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"shr","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"square","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"value","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"sub","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"trivialEncrypt","inputs":[{"name":"input","type":"bytes","internalType":"bytes"},{"name":"toType","type":"uint8","internalType":"uint8"},{"name":"securityZone","type":"int32","internalType":"int32"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"verify","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"input","type":"bytes","internalType":"bytes"},{"name":"securityZone","type":"int32","internalType":"int32"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"},{"type":"function","name":"xor","inputs":[{"name":"utype","type":"uint8","internalType":"uint8"},{"name":"lhsHash","type":"bytes","internalType":"bytes"},{"name":"rhsHash","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"pure"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"add(uint8,bytes,bytes)":"002df619","and(uint8,bytes,bytes)":"ae104cfd","cast(uint8,bytes,uint8)":"4a5a1117","decrypt(uint8,bytes,uint256)":"7c4697ab","div(uint8,bytes,bytes)":"1f4cda2f","eq(uint8,bytes,bytes)":"92348b34","getNetworkPublicKey(int32)":"1b1b484e","gt(uint8,bytes,bytes)":"874b1c10","gte(uint8,bytes,bytes)":"650de1cf","log(string)":"41304fac","lt(uint8,bytes,bytes)":"b9c7a54b","lte(uint8,bytes,bytes)":"eb274b77","max(uint8,bytes,bytes)":"0b80518e","min(uint8,bytes,bytes)":"5211c679","mul(uint8,bytes,bytes)":"4284f765","ne(uint8,bytes,bytes)":"13c0c9ae","not(uint8,bytes)":"d260d9ab","or(uint8,bytes,bytes)":"72d456f5","random(uint8,uint64,int32)":"aa626e8a","rem(uint8,bytes,bytes)":"eb376804","req(uint8,bytes)":"7d23f1db","rol(uint8,bytes,bytes)":"d89b314e","ror(uint8,bytes,bytes)":"2456e7f2","sealOutput(uint8,bytes,bytes)":"a1848ff3","select(uint8,bytes,bytes,bytes)":"c2d96952","shl(uint8,bytes,bytes)":"ae42450a","shr(uint8,bytes,bytes)":"9944d12d","square(uint8,bytes)":"ef432a33","sub(uint8,bytes,bytes)":"cc2cbeff","trivialEncrypt(bytes,uint8,int32)":"ba19ac28","verify(uint8,bytes,int32)":"21b50ba3","xor(uint8,bytes,bytes)":"5e639f19"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"add\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"and\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"toType\",\"type\":\"uint8\"}],\"name\":\"cast\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"defaultValue\",\"type\":\"uint256\"}],\"name\":\"decrypt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"div\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"eq\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int32\",\"name\":\"securityZone\",\"type\":\"int32\"}],\"name\":\"getNetworkPublicKey\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"gt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"gte\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"s\",\"type\":\"string\"}],\"name\":\"log\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"lt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"lte\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"max\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"min\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"mul\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"ne\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"not\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"or\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"seed\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"securityZone\",\"type\":\"int32\"}],\"name\":\"random\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"rem\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"req\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"rol\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"ror\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"ctHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"pk\",\"type\":\"bytes\"}],\"name\":\"sealOutput\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"controlHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ifTrueHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ifFalseHash\",\"type\":\"bytes\"}],\"name\":\"select\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"shl\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"shr\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"square\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"sub\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"toType\",\"type\":\"uint8\"},{\"internalType\":\"int32\",\"name\":\"securityZone\",\"type\":\"int32\"}],\"name\":\"trivialEncrypt\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"int32\",\"name\":\"securityZone\",\"type\":\"int32\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"utype\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"lhsHash\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rhsHash\",\"type\":\"bytes\"}],\"name\":\"xor\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@luxfi/contracts/fhe/IFHE.sol\":\"IFheOps\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[\":@luxfi/contracts/=node_modules/@luxfi/contracts/\",\":@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/\",\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\",\":hardhat-deploy/=node_modules/hardhat-deploy/\",\":hardhat/=node_modules/hardhat/\"]},\"sources\":{\"node_modules/@luxfi/contracts/fhe/IFHE.sol\":{\"keccak256\":\"0x399d058a146a945053860ed404ca6b864b97e75ab253e14bd9b43c3a1a73bbb4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8a7ae39b1701425c3946d12021818fb6474ad1de01c9af9c36a1b7df021264cc\",\"dweb:/ipfs/Qmc6qnbLTZQuAoxeyy7iWtCGynQVA3bqyEL4qsbtrfqP3y\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"add","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"and","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"input","type":"bytes"},{"internalType":"uint8","name":"toType","type":"uint8"}],"stateMutability":"pure","type":"function","name":"cast","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"input","type":"bytes"},{"internalType":"uint256","name":"defaultValue","type":"uint256"}],"stateMutability":"pure","type":"function","name":"decrypt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"div","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"eq","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"int32","name":"securityZone","type":"int32"}],"stateMutability":"pure","type":"function","name":"getNetworkPublicKey","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"gt","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"gte","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"string","name":"s","type":"string"}],"stateMutability":"pure","type":"function","name":"log"},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"lt","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"lte","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"max","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"min","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"mul","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"ne","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"value","type":"bytes"}],"stateMutability":"pure","type":"function","name":"not","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"or","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"uint64","name":"seed","type":"uint64"},{"internalType":"int32","name":"securityZone","type":"int32"}],"stateMutability":"pure","type":"function","name":"random","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"rem","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"input","type":"bytes"}],"stateMutability":"pure","type":"function","name":"req","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"rol","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"ror","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"ctHash","type":"bytes"},{"internalType":"bytes","name":"pk","type":"bytes"}],"stateMutability":"pure","type":"function","name":"sealOutput","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"controlHash","type":"bytes"},{"internalType":"bytes","name":"ifTrueHash","type":"bytes"},{"internalType":"bytes","name":"ifFalseHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"select","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"shl","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"shr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"value","type":"bytes"}],"stateMutability":"pure","type":"function","name":"square","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"sub","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"bytes","name":"input","type":"bytes"},{"internalType":"uint8","name":"toType","type":"uint8"},{"internalType":"int32","name":"securityZone","type":"int32"}],"stateMutability":"pure","type":"function","name":"trivialEncrypt","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"input","type":"bytes"},{"internalType":"int32","name":"securityZone","type":"int32"}],"stateMutability":"pure","type":"function","name":"verify","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"uint8","name":"utype","type":"uint8"},{"internalType":"bytes","name":"lhsHash","type":"bytes"},{"internalType":"bytes","name":"rhsHash","type":"bytes"}],"stateMutability":"pure","type":"function","name":"xor","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@luxfi/contracts/=node_modules/@luxfi/contracts/","@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/","@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/","hardhat-deploy/=node_modules/hardhat-deploy/","hardhat/=node_modules/hardhat/"],"optimizer":{"enabled":false,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"node_modules/@luxfi/contracts/fhe/IFHE.sol":"IFheOps"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@luxfi/contracts/fhe/IFHE.sol":{"keccak256":"0x399d058a146a945053860ed404ca6b864b97e75ab253e14bd9b43c3a1a73bbb4","urls":["bzz-raw://8a7ae39b1701425c3946d12021818fb6474ad1de01c9af9c36a1b7df021264cc","dweb:/ipfs/Qmc6qnbLTZQuAoxeyy7iWtCGynQVA3bqyEL4qsbtrfqP3y"],"license":"MIT"}},"version":1},"id":5} |