diff --git a/contracts/.gitignore b/contracts/.gitignore index 662d53a6..a5e4c0ee 100644 --- a/contracts/.gitignore +++ b/contracts/.gitignore @@ -4,6 +4,7 @@ node_modules # Hardhat files /cache /artifacts +/types # TypeChain files /typechain diff --git a/contracts/codegen/main.ts b/contracts/codegen/main.ts index bdc1016f..ee1f6674 100644 --- a/contracts/codegen/main.ts +++ b/contracts/codegen/main.ts @@ -6,7 +6,6 @@ import operatorsPrices from './operatorsPrices.json'; import { generateFHEPayment } from './payments'; import * as t from './templates'; import * as testgen from './testgen'; -import { addTFHEExecutorEvents } from './tfheexecutor'; function generateAllFiles() { const numSplits = 12; @@ -18,7 +17,6 @@ function generateAllFiles() { writeFileSync('contracts/FHEPayment.sol', generateFHEPayment(operatorsPrices)); writeFileSync('contracts/InputVerifier.native.sol', generateInputVerifiers(false)); writeFileSync('contracts/InputVerifier.coprocessor.sol', generateInputVerifiers(true)); - writeFileSync('contracts/TFHEExecutor.events.sol', addTFHEExecutorEvents('contracts/TFHEExecutor.sol')); writeFileSync('payment/Payment.sol', t.paymentSol()); mkdirSync('contracts/tests', { recursive: true }); ovShards.forEach((os) => { diff --git a/contracts/codegen/tfheexecutor.ts b/contracts/codegen/tfheexecutor.ts deleted file mode 100644 index 0232bf32..00000000 --- a/contracts/codegen/tfheexecutor.ts +++ /dev/null @@ -1,179 +0,0 @@ -import * as fs from 'fs'; - -/** - * @description This function is generating the "TFHEExecutor with events" solidity contract variant from the original TFHEExecutor file. - * @returns {string} the solidity source code - */ -export function addTFHEExecutorEvents(pathOriginalTFHEExecutor: string): string { - const events = [ - 'event FheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheEqBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result)', - 'event FheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheNeBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result)', - 'event FheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result)', - 'event FheNeg(uint256 ct, uint256 result)', - 'event FheNot(uint256 ct, uint256 result)', - 'event VerifyCiphertext(bytes32 inputHandle,address userAddress,bytes inputProof,bytes1 inputType,uint256 result)', - 'event Cast(uint256 ct, bytes1 toType, uint256 result)', - 'event TrivialEncrypt(uint256 pt, bytes1 toType, uint256 result)', - 'event TrivialEncryptBytes(bytes pt, bytes1 toType, uint256 result)', - 'event FheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse, uint256 result)', - 'event FheRand(bytes1 randType, uint256 result)', - 'event FheRandBounded(uint256 upperBound, bytes1 randType, uint256 result)', - ]; - const formattedEvents = events - .map((event) => { - const eventWithSemicolon = event.endsWith(';') ? event : event + ';'; - return ' ' + eventWithSemicolon; - }) - .join('\n'); - - const contractRegex = /(contract\s+TFHEExecutor\s+is\s+[^\{]+\{)/; - let content = fs.readFileSync(pathOriginalTFHEExecutor, 'utf8'); - content = content.replace(contractRegex, `$1\n${formattedEvents}\n`); - content = addEmitStatements(content, events); - content = replaceEmitBytesEvents(content); - return content; -} - -function addEmitStatements(content: string, abi: string[]): string { - function parseAbi(abi: string[]): Map { - const eventMap = new Map(); - const eventRegex = /event\s+(\w+)\s*\(([^)]*)\)/; - - for (const eventDef of abi) { - const match = eventRegex.exec(eventDef); - if (match) { - const eventName = match[1]; - const paramList = match[2]; - const params = paramList.split(',').map((param) => param.trim()); - const paramNames = params.map((param) => { - const parts = param.split(/\s+/); - return parts[parts.length - 1]; - }); - eventMap.set(eventName, paramNames); - } - } - return eventMap; - } - - function findMatchingBrace(content: string, startPos: number): number { - let braceCount = 1; - let pos = startPos + 1; - while (braceCount > 0 && pos < content.length) { - const char = content[pos]; - if (char === '{') { - braceCount++; - } else if (char === '}') { - braceCount--; - } - pos++; - } - return pos - 1; - } - - const eventMap = parseAbi(abi); - - const functionRegex = /function\s+(\w+)\s*\([^)]*\)\s*(?:[^{;]*\{)/g; - - let result = ''; - let currentIndex = 0; - let match; - - while ((match = functionRegex.exec(content)) !== null) { - const functionName = match[1]; - const functionStartIndex = match.index; - const functionHeader = match[0]; - const bodyStartIndex = functionStartIndex + functionHeader.length - 1; - - const bodyEndIndex = findMatchingBrace(content, bodyStartIndex); - const functionEndIndex = bodyEndIndex + 1; - - result += content.substring(currentIndex, functionStartIndex); - const functionCode = content.substring(functionStartIndex, functionEndIndex); - - const eventName = functionName.charAt(0).toUpperCase() + functionName.slice(1); - if (eventMap.has(eventName)) { - const paramNames = eventMap.get(eventName)!; - - const functionBody = content.substring(bodyStartIndex + 1, bodyEndIndex); - - const lines = functionBody.split('\n'); - let indent = ''; - for (const line of lines.reverse()) { - const matchIndent = /^\s*/.exec(line); - if (matchIndent && matchIndent[0].length > 0) { - indent = matchIndent[0]; - break; - } - } - - const emitStatement = `${indent} emit ${eventName}(${paramNames.join(', ')});`; - const modifiedFunctionCode = functionCode.slice(0, -1) + emitStatement + '\n' + indent + '}'; - result += modifiedFunctionCode; - } else { - result += functionCode; - } - currentIndex = functionEndIndex; - functionRegex.lastIndex = currentIndex; - } - - result += content.substring(currentIndex); - return result; -} - -function replaceEmitBytesEvents(content: string): string { - const emitLineRegex = /emit\s+FheEq\s*\(\s*lhs\s*,\s*rhs\s*,\s*scalarByte\s*,\s*result\s*\);/g; - const newEmitLine = 'emit FheEqBytes(lhs, rhs, scalarByte, result);'; - let occurrence = 0; - content = content.replace(emitLineRegex, (match) => { - occurrence++; - if (occurrence === 2) { - return newEmitLine; - } else { - return match; - } - }); - - const emitLineRegex2 = /emit\s+FheNe\s*\(\s*lhs\s*,\s*rhs\s*,\s*scalarByte\s*,\s*result\s*\);/g; - const newEmitLine2 = 'emit FheNeBytes(lhs, rhs, scalarByte, result);'; - occurrence = 0; - content = content.replace(emitLineRegex2, (match) => { - occurrence++; - if (occurrence === 2) { - return newEmitLine2; - } else { - return match; - } - }); - const emitLineRegex3 = /emit\s+TrivialEncrypt\s*\(\s*pt\s*,\s*toType\s*,\s*result\s*\);/g; - const newEmitLine3 = 'emit TrivialEncryptBytes(pt, toType, result);'; - occurrence = 0; - content = content.replace(emitLineRegex3, (match) => { - occurrence++; - if (occurrence === 2) { - return newEmitLine3; - } else { - return match; - } - }); - - return content; -} diff --git a/contracts/contracts/TFHEExecutor.events.sol b/contracts/contracts/TFHEExecutor.events.sol deleted file mode 100644 index e930cc7c..00000000 --- a/contracts/contracts/TFHEExecutor.events.sol +++ /dev/null @@ -1,679 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause-Clear - -pragma solidity ^0.8.24; - -import "./ACL.sol"; -import "./FHEPayment.sol"; -import "../addresses/ACLAddress.sol"; -import "../addresses/FHEPaymentAddress.sol"; -import "../addresses/InputVerifierAddress.sol"; -import "@openzeppelin/contracts/utils/Strings.sol"; -import "@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.sol"; -import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; - -interface IInputVerifier { - function verifyCiphertext( - TFHEExecutor.ContextUserInputs memory context, - bytes32 inputHandle, - bytes memory inputProof - ) external returns (uint256); -} - -contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { - event FheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheEqBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result); - event FheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheNeBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result); - event FheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); - event FheNeg(uint256 ct, uint256 result); - event FheNot(uint256 ct, uint256 result); - event VerifyCiphertext( - bytes32 inputHandle, - address userAddress, - bytes inputProof, - bytes1 inputType, - uint256 result - ); - event Cast(uint256 ct, bytes1 toType, uint256 result); - event TrivialEncrypt(uint256 pt, bytes1 toType, uint256 result); - event TrivialEncryptBytes(bytes pt, bytes1 toType, uint256 result); - event FheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse, uint256 result); - event FheRand(bytes1 randType, uint256 result); - event FheRandBounded(uint256 upperBound, bytes1 randType, uint256 result); - - /// @notice Handle version - uint8 public constant HANDLE_VERSION = 0; - - /// @notice Name of the contract - string private constant CONTRACT_NAME = "TFHEExecutor"; - - /// @notice Version of the contract - uint256 private constant MAJOR_VERSION = 0; - uint256 private constant MINOR_VERSION = 1; - uint256 private constant PATCH_VERSION = 0; - - ACL private constant acl = ACL(aclAdd); - FHEPayment private constant fhePayment = FHEPayment(fhePaymentAdd); - IInputVerifier private constant inputVerifier = IInputVerifier(inputVerifierAdd); - - /// @custom:storage-location erc7201:fhevm.storage.TFHEExecutor - struct TFHEExecutorStorage { - uint256 counterRand; /// @notice counter used for computing handles of randomness operators - } - - struct ContextUserInputs { - address aclAddress; - address userAddress; - address contractAddress; - } - - // keccak256(abi.encode(uint256(keccak256("fhevm.storage.TFHEExecutor")) - 1)) & ~bytes32(uint256(0xff)) - bytes32 private constant TFHEExecutorStorageLocation = - 0xa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e00; - - function _getTFHEExecutorStorage() internal pure returns (TFHEExecutorStorage storage $) { - assembly { - $.slot := TFHEExecutorStorageLocation - } - } - - function _authorizeUpgrade(address _newImplementation) internal virtual override onlyOwner {} - - /// @notice Getter function for the ACL contract address - function getACLAddress() public view virtual returns (address) { - return address(acl); - } - - /// @notice Getter function for the FHEPayment contract address - function getFHEPaymentAddress() public view virtual returns (address) { - return address(fhePayment); - } - - /// @notice Getter function for the InputVerifier contract address - function getInputVerifierAddress() public view virtual returns (address) { - return address(inputVerifier); - } - - /// @custom:oz-upgrades-unsafe-allow constructor - constructor() { - _disableInitializers(); - } - - /// @notice Initializes the contract setting `initialOwner` as the initial owner - function initialize(address initialOwner) external initializer { - __Ownable_init(initialOwner); - } - - enum Operators { - fheAdd, - fheSub, - fheMul, - fheDiv, - fheRem, - fheBitAnd, - fheBitOr, - fheBitXor, - fheShl, - fheShr, - fheRotl, - fheRotr, - fheEq, - fheNe, - fheGe, - fheGt, - fheLe, - fheLt, - fheMin, - fheMax, - fheNeg, - fheNot, - verifyCiphertext, - cast, - trivialEncrypt, - fheIfThenElse, - fheRand, - fheRandBounded - } - - function isPowerOfTwo(uint256 x) internal pure virtual returns (bool) { - return (x > 0) && ((x & (x - 1)) == 0); - } - - /// @dev handle format for user inputs is: keccak256(keccak256(CiphertextFHEList)||index_handle)[0:29] || index_handle || handle_type || handle_version - /// @dev other handles format (fhe ops results) is: keccak256(keccak256(rawCiphertextFHEList)||index_handle)[0:30] || handle_type || handle_version - /// @dev the CiphertextFHEList actually contains: 1 byte (= N) for size of handles_list, N bytes for the handles_types : 1 per handle, then the original fhe160list raw ciphertext - function typeOf(uint256 handle) internal pure virtual returns (uint8) { - uint8 typeCt = uint8(handle >> 8); - return typeCt; - } - - function appendType(uint256 prehandle, uint8 handleType) internal pure virtual returns (uint256 result) { - result = prehandle & 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000; - result = result | (uint256(handleType) << 8); // append type - result = result | HANDLE_VERSION; - } - - function requireType(uint256 handle, uint256 supportedTypes) internal pure virtual { - uint8 typeCt = typeOf(handle); - require((1 << typeCt) & supportedTypes > 0, "Unsupported type"); - } - - function unaryOp(Operators op, uint256 ct) internal virtual returns (uint256 result) { - require(acl.isAllowed(ct, msg.sender), "Sender doesn't own ct on op"); - result = uint256(keccak256(abi.encodePacked(op, ct, acl, block.chainid))); - uint8 typeCt = typeOf(ct); - result = appendType(result, typeCt); - acl.allowTransient(result, msg.sender); - } - - function binaryOp( - Operators op, - uint256 lhs, - uint256 rhs, - bytes1 scalar, - uint8 resultType - ) internal virtual returns (uint256 result) { - require(acl.isAllowed(lhs, msg.sender), "Sender doesn't own lhs on op"); - if (scalar == 0x00) { - require(acl.isAllowed(rhs, msg.sender), "Sender doesn't own rhs on op"); - uint8 typeRhs = typeOf(rhs); - uint8 typeLhs = typeOf(lhs); - require(typeLhs == typeRhs, "Incompatible types for lhs and rhs"); - } - result = uint256(keccak256(abi.encodePacked(op, lhs, rhs, scalar, acl, block.chainid))); - result = appendType(result, resultType); - acl.allowTransient(result, msg.sender); - } - - function ternaryOp( - Operators op, - uint256 lhs, - uint256 middle, - uint256 rhs - ) internal virtual returns (uint256 result) { - require(acl.isAllowed(lhs, msg.sender), "Sender doesn't own lhs on op"); - require(acl.isAllowed(middle, msg.sender), "Sender doesn't own middle on op"); - require(acl.isAllowed(rhs, msg.sender), "Sender doesn't own rhs on op"); - uint8 typeLhs = typeOf(lhs); - uint8 typeMiddle = typeOf(middle); - uint8 typeRhs = typeOf(rhs); - require(typeLhs == 0, "Unsupported type for lhs"); // lhs must be ebool - require(typeMiddle == typeRhs, "Incompatible types for middle and rhs"); - result = uint256(keccak256(abi.encodePacked(op, lhs, middle, rhs, acl, block.chainid))); - result = appendType(result, typeMiddle); - acl.allowTransient(result, msg.sender); - } - - function fheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheAdd(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheAdd, lhs, rhs, scalar, lhsType); - emit FheAdd(lhs, rhs, scalarByte, result); - } - - function fheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheSub(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheSub, lhs, rhs, scalar, lhsType); - emit FheSub(lhs, rhs, scalarByte, result); - } - - function fheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheMul(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheMul, lhs, rhs, scalar, lhsType); - emit FheMul(lhs, rhs, scalarByte, result); - } - - function fheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - require(scalarByte & 0x01 == 0x01, "Only fheDiv by a scalar is supported"); - require(rhs != 0, "Could not divide by 0"); - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheDiv(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheDiv, lhs, rhs, scalar, lhsType); - emit FheDiv(lhs, rhs, scalarByte, result); - } - - function fheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - require(scalarByte & 0x01 == 0x01, "Only fheRem by a scalar is supported"); - require(rhs != 0, "Could not divide by 0"); - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheRem(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheRem, lhs, rhs, scalar, lhsType); - emit FheRem(lhs, rhs, scalarByte, result); - } - - function fheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheBitAnd(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheBitAnd, lhs, rhs, scalar, lhsType); - emit FheBitAnd(lhs, rhs, scalarByte, result); - } - - function fheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheBitOr(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheBitOr, lhs, rhs, scalar, lhsType); - emit FheBitOr(lhs, rhs, scalarByte, result); - } - - function fheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheBitXor(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheBitXor, lhs, rhs, scalar, lhsType); - emit FheBitXor(lhs, rhs, scalarByte, result); - } - - function fheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheShl(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheShl, lhs, rhs, scalar, lhsType); - emit FheShl(lhs, rhs, scalarByte, result); - } - - function fheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheShr(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheShr, lhs, rhs, scalar, lhsType); - emit FheShr(lhs, rhs, scalarByte, result); - } - - function fheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheRotl(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheRotl, lhs, rhs, scalar, lhsType); - emit FheRotl(lhs, rhs, scalarByte, result); - } - - function fheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheRotr(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheRotr, lhs, rhs, scalar, lhsType); - emit FheRotr(lhs, rhs, scalarByte, result); - } - - function fheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 7) + - (1 << 8) + - (1 << 9) + - (1 << 10) + - (1 << 11); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - if (scalar == 0x01) { - require(lhsType <= 8, "Scalar fheEq for ebytesXXX types must use the overloaded fheEq"); - } - fhePayment.payForFheEq(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheEq, lhs, rhs, scalar, 0); - emit FheEq(lhs, rhs, scalarByte, result); - } - - function fheEq(uint256 lhs, bytes memory rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - require(scalar == 0x01, "Overloaded fheEq is only for scalar ebytesXXX second operand"); - fhePayment.payForFheEq(msg.sender, lhsType, scalar); - require(acl.isAllowed(lhs, msg.sender), "Sender doesn't own lhs on op"); - uint256 lenBytesPT = rhs.length; - if (lhsType == 9) { - require(lenBytesPT == 64, "Bytes array length of Bytes64 should be 64"); - } else if (lhsType == 10) { - require(lenBytesPT == 128, "Bytes array length of Bytes128 should be 128"); - } else { - // @note: i.e lhsType == 11 thanks to the first pre-condition - require(lenBytesPT == 256, "Bytes array length of Bytes256 should be 256"); - } - result = uint256(keccak256(abi.encodePacked(Operators.fheEq, lhs, rhs, scalar, acl, block.chainid))); - result = appendType(result, 0); - acl.allowTransient(result, msg.sender); - emit FheEqBytes(lhs, rhs, scalarByte, result); - } - - function fheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 7) + - (1 << 8) + - (1 << 9) + - (1 << 10) + - (1 << 11); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - if (scalar == 0x01) { - require(lhsType <= 8, "Scalar fheNe for ebytesXXX types must use the overloaded fheNe"); - } - fhePayment.payForFheNe(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheNe, lhs, rhs, scalar, 0); - emit FheNe(lhs, rhs, scalarByte, result); - } - - function fheNe(uint256 lhs, bytes memory rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - require(scalar == 0x01, "Overloaded fheNe is only for scalar ebytesXXX second operand"); - fhePayment.payForFheNe(msg.sender, lhsType, scalar); - require(acl.isAllowed(lhs, msg.sender), "Sender doesn't own lhs on op"); - uint256 lenBytesPT = rhs.length; - if (lhsType == 9) { - require(lenBytesPT == 64, "Bytes array length of Bytes64 should be 64"); - } else if (lhsType == 10) { - require(lenBytesPT == 128, "Bytes array length of Bytes128 should be 128"); - } else { - // @note: i.e lhsType == 11 thanks to the first pre-condition - require(lenBytesPT == 256, "Bytes array length of Bytes256 should be 256"); - } - result = uint256(keccak256(abi.encodePacked(Operators.fheNe, lhs, rhs, scalar, acl, block.chainid))); - result = appendType(result, 0); - acl.allowTransient(result, msg.sender); - emit FheNeBytes(lhs, rhs, scalarByte, result); - } - - function fheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheGe(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheGe, lhs, rhs, scalar, 0); - emit FheGe(lhs, rhs, scalarByte, result); - } - - function fheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheGt(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheGt, lhs, rhs, scalar, 0); - emit FheGt(lhs, rhs, scalarByte, result); - } - - function fheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheLe(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheLe, lhs, rhs, scalar, 0); - emit FheLe(lhs, rhs, scalarByte, result); - } - - function fheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheLt(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheLt, lhs, rhs, scalar, 0); - emit FheLt(lhs, rhs, scalarByte, result); - } - - function fheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheMin(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheMin, lhs, rhs, scalar, lhsType); - emit FheMin(lhs, rhs, scalarByte, result); - } - - function fheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(lhs, supportedTypes); - uint8 lhsType = typeOf(lhs); - bytes1 scalar = scalarByte & 0x01; - fhePayment.payForFheMax(msg.sender, lhsType, scalar); - result = binaryOp(Operators.fheMax, lhs, rhs, scalar, lhsType); - emit FheMax(lhs, rhs, scalarByte, result); - } - - function fheNeg(uint256 ct) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(ct, supportedTypes); - uint8 typeCt = typeOf(ct); - fhePayment.payForFheNeg(msg.sender, typeCt); - result = unaryOp(Operators.fheNeg, ct); - emit FheNeg(ct, result); - } - - function fheNot(uint256 ct) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - requireType(ct, supportedTypes); - uint8 typeCt = typeOf(ct); - fhePayment.payForFheNot(msg.sender, typeCt); - result = unaryOp(Operators.fheNot, ct); - emit FheNot(ct, result); - } - - function verifyCiphertext( - bytes32 inputHandle, - address userAddress, - bytes memory inputProof, - bytes1 inputType - ) external virtual returns (uint256 result) { - ContextUserInputs memory contextUserInputs = ContextUserInputs({ - aclAddress: address(acl), - userAddress: userAddress, - contractAddress: msg.sender - }); - uint8 typeCt = typeOf(uint256(inputHandle)); - require(uint8(inputType) == typeCt, "Wrong type"); - result = inputVerifier.verifyCiphertext(contextUserInputs, inputHandle, inputProof); - acl.allowTransient(result, msg.sender); - emit VerifyCiphertext(inputHandle, userAddress, inputProof, inputType, result); - } - - function cast(uint256 ct, bytes1 toType) external virtual returns (uint256 result) { - require(acl.isAllowed(ct, msg.sender), "Sender doesn't own ct on cast"); - uint256 supportedTypesInput = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 8); - requireType(ct, supportedTypesInput); - uint256 supportedTypesOutput = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); // @note: unsupported casting to ebool (use fheNe instead) - require((1 << uint8(toType)) & supportedTypesOutput > 0, "Unsupported output type"); - uint8 typeCt = typeOf(ct); - require(bytes1(typeCt) != toType, "Cannot cast to same type"); - fhePayment.payForCast(msg.sender, typeCt); - result = uint256(keccak256(abi.encodePacked(Operators.cast, ct, toType, acl, block.chainid))); - result = appendType(result, uint8(toType)); - acl.allowTransient(result, msg.sender); - emit Cast(ct, toType, result); - } - - function trivialEncrypt(uint256 pt, bytes1 toType) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 7) + - (1 << 8); - uint8 toT = uint8(toType); - require((1 << toT) & supportedTypes > 0, "Unsupported type"); - fhePayment.payForTrivialEncrypt(msg.sender, toT); - result = uint256(keccak256(abi.encodePacked(Operators.trivialEncrypt, pt, toType, acl, block.chainid))); - result = appendType(result, toT); - acl.allowTransient(result, msg.sender); - emit TrivialEncrypt(pt, toType, result); - } - - function trivialEncrypt(bytes memory pt, bytes1 toType) external virtual returns (uint256 result) { - // @note: overloaded function for ebytesXX types - uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); - uint8 toT = uint8(toType); - require((1 << toT) & supportedTypes > 0, "Unsupported type"); - fhePayment.payForTrivialEncrypt(msg.sender, toT); - uint256 lenBytesPT = pt.length; - if (toT == 9) { - require(lenBytesPT == 64, "Bytes array length of Bytes64 should be 64"); - } else if (toT == 10) { - require(lenBytesPT == 128, "Bytes array length of Bytes128 should be 128"); - } else { - // @note: i.e toT == 11 thanks to the pre-condition above - require(lenBytesPT == 256, "Bytes array length of Bytes256 should be 256"); - } - result = uint256(keccak256(abi.encodePacked(Operators.trivialEncrypt, pt, toType, acl, block.chainid))); - result = appendType(result, toT); - acl.allowTransient(result, msg.sender); - emit TrivialEncryptBytes(pt, toType, result); - } - - function fheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse) external virtual returns (uint256 result) { - uint256 supportedTypes = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 7) + - (1 << 8) + - (1 << 9) + - (1 << 10) + - (1 << 11); - requireType(ifTrue, supportedTypes); - uint8 typeCt = typeOf(ifTrue); - fhePayment.payForIfThenElse(msg.sender, typeCt); - result = ternaryOp(Operators.fheIfThenElse, control, ifTrue, ifFalse); - emit FheIfThenElse(control, ifTrue, ifFalse, result); - } - - function fheRand(bytes1 randType) external virtual returns (uint256 result) { - TFHEExecutorStorage storage $ = _getTFHEExecutorStorage(); - uint256 supportedTypes = (1 << 0) + - (1 << 1) + - (1 << 2) + - (1 << 3) + - (1 << 4) + - (1 << 5) + - (1 << 6) + - (1 << 8) + - (1 << 9) + - (1 << 10) + - (1 << 11); - uint8 randT = uint8(randType); - require((1 << randT) & supportedTypes > 0, "Unsupported erandom type"); - fhePayment.payForFheRand(msg.sender, randT); - bytes16 seed = bytes16( - keccak256(abi.encodePacked($.counterRand, acl, block.chainid, blockhash(block.number - 1), block.timestamp)) - ); - result = uint256(keccak256(abi.encodePacked(Operators.fheRand, randType, seed))); - result = appendType(result, randT); - acl.allowTransient(result, msg.sender); - $.counterRand++; - emit FheRand(randType, result); - } - - function fheRandBounded(uint256 upperBound, bytes1 randType) external virtual returns (uint256 result) { - TFHEExecutorStorage storage $ = _getTFHEExecutorStorage(); - uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); - uint8 randT = uint8(randType); - require((1 << randT) & supportedTypes > 0, "Unsupported erandom type"); - require(isPowerOfTwo(upperBound), "UpperBound must be a power of 2"); - fhePayment.payForFheRandBounded(msg.sender, randT); - bytes16 seed = bytes16( - keccak256(abi.encodePacked($.counterRand, acl, block.chainid, blockhash(block.number - 1), block.timestamp)) - ); - result = uint256(keccak256(abi.encodePacked(Operators.fheRandBounded, upperBound, randType, seed))); - result = appendType(result, randT); - acl.allowTransient(result, msg.sender); - $.counterRand++; - emit FheRandBounded(upperBound, randType, result); - } - - /// @notice Getter for the name and version of the contract - /// @return string representing the name and the version of the contract - function getVersion() external pure virtual returns (string memory) { - return - string( - abi.encodePacked( - CONTRACT_NAME, - " v", - Strings.toString(MAJOR_VERSION), - ".", - Strings.toString(MINOR_VERSION), - ".", - Strings.toString(PATCH_VERSION) - ) - ); - } -} diff --git a/contracts/contracts/TFHEExecutor.sol b/contracts/contracts/TFHEExecutor.sol index 33eca574..1569fe22 100644 --- a/contracts/contracts/TFHEExecutor.sol +++ b/contracts/contracts/TFHEExecutor.sol @@ -1,15 +1,15 @@ // SPDX-License-Identifier: BSD-3-Clause-Clear - pragma solidity ^0.8.24; -import "./ACL.sol"; -import "./FHEPayment.sol"; -import "../addresses/ACLAddress.sol"; -import "../addresses/FHEPaymentAddress.sol"; -import "../addresses/InputVerifierAddress.sol"; -import "@openzeppelin/contracts/utils/Strings.sol"; -import "@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.sol"; -import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; +import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; +import {Ownable2StepUpgradeable} from "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol"; +import {UUPSUpgradeable} from "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; + +import {ACL} from "./ACL.sol"; +import {FHEPayment} from "./FHEPayment.sol"; +import {aclAdd} from "../addresses/ACLAddress.sol"; +import {fhePaymentAdd} from "../addresses/FHEPaymentAddress.sol"; +import {inputVerifierAdd} from "../addresses/InputVerifierAddress.sol"; interface IInputVerifier { function verifyCiphertext( @@ -19,6 +19,12 @@ interface IInputVerifier { ) external returns (uint256); } +/** + * @title TFHEExecutor + * @notice This contract implements symbolic execution on the blockchain and one of its + * main responsibilities is to deterministically generate ciphertext handles. + * @dev This contract is deployed using an UUPS proxy. + */ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { /// @notice Handle version uint8 public constant HANDLE_VERSION = 0; @@ -79,7 +85,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { } /// @notice Initializes the contract setting `initialOwner` as the initial owner - function initialize(address initialOwner) external initializer { + function initialize(address initialOwner) public initializer { __Ownable_init(initialOwner); } @@ -183,7 +189,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function fheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -192,7 +198,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheAdd, lhs, rhs, scalar, lhsType); } - function fheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -201,7 +207,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheSub, lhs, rhs, scalar, lhsType); } - function fheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -210,7 +216,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheMul, lhs, rhs, scalar, lhsType); } - function fheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { require(scalarByte & 0x01 == 0x01, "Only fheDiv by a scalar is supported"); require(rhs != 0, "Could not divide by 0"); uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); @@ -221,7 +227,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheDiv, lhs, rhs, scalar, lhsType); } - function fheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { require(scalarByte & 0x01 == 0x01, "Only fheRem by a scalar is supported"); require(rhs != 0, "Could not divide by 0"); uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); @@ -232,7 +238,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheRem, lhs, rhs, scalar, lhsType); } - function fheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -241,7 +247,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheBitAnd, lhs, rhs, scalar, lhsType); } - function fheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -250,7 +256,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheBitOr, lhs, rhs, scalar, lhsType); } - function fheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -259,7 +265,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheBitXor, lhs, rhs, scalar, lhsType); } - function fheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -268,7 +274,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheShl, lhs, rhs, scalar, lhsType); } - function fheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -277,7 +283,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheShr, lhs, rhs, scalar, lhsType); } - function fheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -286,7 +292,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheRotl, lhs, rhs, scalar, lhsType); } - function fheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte) external returns (uint256 result) { + function fheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -295,7 +301,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheRotr, lhs, rhs, scalar, lhsType); } - function fheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + @@ -318,7 +324,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheEq, lhs, rhs, scalar, 0); } - function fheEq(uint256 lhs, bytes memory rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheEq(uint256 lhs, bytes memory rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -340,7 +346,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function fheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + @@ -363,7 +369,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheNe, lhs, rhs, scalar, 0); } - function fheNe(uint256 lhs, bytes memory rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheNe(uint256 lhs, bytes memory rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -385,7 +391,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function fheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -394,7 +400,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheGe, lhs, rhs, scalar, 0); } - function fheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -403,7 +409,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheGt, lhs, rhs, scalar, 0); } - function fheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -412,7 +418,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheLe, lhs, rhs, scalar, 0); } - function fheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -421,7 +427,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheLt, lhs, rhs, scalar, 0); } - function fheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -430,7 +436,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheMin, lhs, rhs, scalar, lhsType); } - function fheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte) external virtual returns (uint256 result) { + function fheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(lhs, supportedTypes); uint8 lhsType = typeOf(lhs); @@ -439,7 +445,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = binaryOp(Operators.fheMax, lhs, rhs, scalar, lhsType); } - function fheNeg(uint256 ct) external virtual returns (uint256 result) { + function fheNeg(uint256 ct) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(ct, supportedTypes); uint8 typeCt = typeOf(ct); @@ -447,7 +453,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = unaryOp(Operators.fheNeg, ct); } - function fheNot(uint256 ct) external virtual returns (uint256 result) { + function fheNot(uint256 ct) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); requireType(ct, supportedTypes); uint8 typeCt = typeOf(ct); @@ -460,7 +466,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { address userAddress, bytes memory inputProof, bytes1 inputType - ) external virtual returns (uint256 result) { + ) public virtual returns (uint256 result) { ContextUserInputs memory contextUserInputs = ContextUserInputs({ aclAddress: address(acl), userAddress: userAddress, @@ -472,7 +478,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function cast(uint256 ct, bytes1 toType) external virtual returns (uint256 result) { + function cast(uint256 ct, bytes1 toType) public virtual returns (uint256 result) { require(acl.isAllowed(ct, msg.sender), "Sender doesn't own ct on cast"); uint256 supportedTypesInput = (1 << 0) + (1 << 1) + @@ -493,7 +499,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function trivialEncrypt(uint256 pt, bytes1 toType) external virtual returns (uint256 result) { + function trivialEncrypt(uint256 pt, bytes1 toType) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + @@ -511,7 +517,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function trivialEncrypt(bytes memory pt, bytes1 toType) external virtual returns (uint256 result) { + function trivialEncrypt(bytes memory pt, bytes1 toType) public virtual returns (uint256 result) { // @note: overloaded function for ebytesXX types uint256 supportedTypes = (1 << 9) + (1 << 10) + (1 << 11); uint8 toT = uint8(toType); @@ -531,7 +537,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { acl.allowTransient(result, msg.sender); } - function fheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse) external virtual returns (uint256 result) { + function fheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse) public virtual returns (uint256 result) { uint256 supportedTypes = (1 << 0) + (1 << 1) + (1 << 2) + @@ -550,7 +556,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { result = ternaryOp(Operators.fheIfThenElse, control, ifTrue, ifFalse); } - function fheRand(bytes1 randType) external virtual returns (uint256 result) { + function fheRand(bytes1 randType) public virtual returns (uint256 result) { TFHEExecutorStorage storage $ = _getTFHEExecutorStorage(); uint256 supportedTypes = (1 << 0) + (1 << 1) + @@ -575,7 +581,7 @@ contract TFHEExecutor is UUPSUpgradeable, Ownable2StepUpgradeable { $.counterRand++; } - function fheRandBounded(uint256 upperBound, bytes1 randType) external virtual returns (uint256 result) { + function fheRandBounded(uint256 upperBound, bytes1 randType) public virtual returns (uint256 result) { TFHEExecutorStorage storage $ = _getTFHEExecutorStorage(); uint256 supportedTypes = (1 << 1) + (1 << 2) + (1 << 3) + (1 << 4) + (1 << 5) + (1 << 6) + (1 << 8); uint8 randT = uint8(randType); diff --git a/contracts/contracts/TFHEExecutorWithEvents.sol b/contracts/contracts/TFHEExecutorWithEvents.sol new file mode 100644 index 00000000..1a3df1e3 --- /dev/null +++ b/contracts/contracts/TFHEExecutorWithEvents.sol @@ -0,0 +1,221 @@ +// SPDX-License-Identifier: BSD-3-Clause-Clear +pragma solidity ^0.8.24; + +import {TFHEExecutor} from "./TFHEExecutor.sol"; + +/** + * @title TFHEExecutorWithEvents + * @notice This contract inherits TFHEExecutor and overrides its functions to emit + * events for all TFHE operations. + * @dev This contract is deployed using an UUPS proxy. + */ +contract TFHEExecutorWithEvents is TFHEExecutor { + event FheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheEqBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result); + event FheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheNeBytes(uint256 lhs, bytes rhs, bytes1 scalarByte, uint256 result); + event FheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte, uint256 result); + event FheNeg(uint256 ct, uint256 result); + event FheNot(uint256 ct, uint256 result); + event VerifyCiphertext( + bytes32 inputHandle, + address userAddress, + bytes inputProof, + bytes1 inputType, + uint256 result + ); + event Cast(uint256 ct, bytes1 toType, uint256 result); + event TrivialEncrypt(uint256 pt, bytes1 toType, uint256 result); + event TrivialEncryptBytes(bytes pt, bytes1 toType, uint256 result); + event FheIfThenElse(uint256 control, uint256 ifTrue, uint256 ifFalse, uint256 result); + event FheRand(bytes1 randType, uint256 result); + event FheRandBounded(uint256 upperBound, bytes1 randType, uint256 result); + + /// @custom:oz-upgrades-unsafe-allow constructor + constructor() { + _disableInitializers(); + } + + function fheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheAdd(lhs, rhs, scalarByte); + emit FheAdd(lhs, rhs, scalarByte, result); + } + + function fheSub(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheSub(lhs, rhs, scalarByte); + emit FheSub(lhs, rhs, scalarByte, result); + } + + function fheMul(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheMul(lhs, rhs, scalarByte); + emit FheMul(lhs, rhs, scalarByte, result); + } + + function fheDiv(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheDiv(lhs, rhs, scalarByte); + emit FheDiv(lhs, rhs, scalarByte, result); + } + + function fheRem(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheRem(lhs, rhs, scalarByte); + emit FheRem(lhs, rhs, scalarByte, result); + } + + function fheBitAnd(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheBitAnd(lhs, rhs, scalarByte); + emit FheBitAnd(lhs, rhs, scalarByte, result); + } + + function fheBitOr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheBitOr(lhs, rhs, scalarByte); + emit FheBitOr(lhs, rhs, scalarByte, result); + } + + function fheBitXor(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheBitXor(lhs, rhs, scalarByte); + emit FheBitXor(lhs, rhs, scalarByte, result); + } + + function fheShl(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheShl(lhs, rhs, scalarByte); + emit FheShl(lhs, rhs, scalarByte, result); + } + + function fheShr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheShr(lhs, rhs, scalarByte); + emit FheShr(lhs, rhs, scalarByte, result); + } + + function fheRotl(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheRotl(lhs, rhs, scalarByte); + emit FheRotl(lhs, rhs, scalarByte, result); + } + + function fheRotr(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheRotr(lhs, rhs, scalarByte); + emit FheRotr(lhs, rhs, scalarByte, result); + } + + function fheEq(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheEq(lhs, rhs, scalarByte); + emit FheEq(lhs, rhs, scalarByte, result); + } + + function fheEq(uint256 lhs, bytes memory rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheEq(lhs, rhs, scalarByte); + emit FheEqBytes(lhs, rhs, scalarByte, result); + } + + function fheNe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheNe(lhs, rhs, scalarByte); + emit FheNe(lhs, rhs, scalarByte, result); + } + + function fheNe(uint256 lhs, bytes memory rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheNe(lhs, rhs, scalarByte); + emit FheNeBytes(lhs, rhs, scalarByte, result); + } + + function fheGe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheGe(lhs, rhs, scalarByte); + emit FheGe(lhs, rhs, scalarByte, result); + } + + function fheGt(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheGt(lhs, rhs, scalarByte); + emit FheGt(lhs, rhs, scalarByte, result); + } + + function fheLe(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheLe(lhs, rhs, scalarByte); + emit FheLe(lhs, rhs, scalarByte, result); + } + + function fheLt(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheLt(lhs, rhs, scalarByte); + emit FheLt(lhs, rhs, scalarByte, result); + } + + function fheMin(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheMin(lhs, rhs, scalarByte); + emit FheMin(lhs, rhs, scalarByte, result); + } + + function fheMax(uint256 lhs, uint256 rhs, bytes1 scalarByte) public virtual override returns (uint256 result) { + result = super.fheMax(lhs, rhs, scalarByte); + emit FheMax(lhs, rhs, scalarByte, result); + } + + function fheNeg(uint256 ct) public virtual override returns (uint256 result) { + result = super.fheNeg(ct); + emit FheNeg(ct, result); + } + + function fheNot(uint256 ct) public virtual override returns (uint256 result) { + result = super.fheNot(ct); + emit FheNot(ct, result); + } + + function verifyCiphertext( + bytes32 inputHandle, + address userAddress, + bytes memory inputProof, + bytes1 inputType + ) public virtual override returns (uint256 result) { + result = super.verifyCiphertext(inputHandle, userAddress, inputProof, inputType); + emit VerifyCiphertext(inputHandle, userAddress, inputProof, inputType, result); + } + + function cast(uint256 ct, bytes1 toType) public virtual override returns (uint256 result) { + result = super.cast(ct, toType); + emit Cast(ct, toType, result); + } + + function trivialEncrypt(uint256 pt, bytes1 toType) public virtual override returns (uint256 result) { + result = super.trivialEncrypt(pt, toType); + emit TrivialEncrypt(pt, toType, result); + } + + function trivialEncrypt(bytes memory pt, bytes1 toType) public virtual override returns (uint256 result) { + result = super.trivialEncrypt(pt, toType); + emit TrivialEncryptBytes(pt, toType, result); + } + + function fheIfThenElse( + uint256 control, + uint256 ifTrue, + uint256 ifFalse + ) public virtual override returns (uint256 result) { + result = super.fheIfThenElse(control, ifTrue, ifFalse); + emit FheIfThenElse(control, ifTrue, ifFalse, result); + } + + function fheRand(bytes1 randType) public virtual override returns (uint256 result) { + result = super.fheRand(randType); + emit FheRand(randType, result); + } + + function fheRandBounded(uint256 upperBound, bytes1 randType) public virtual override returns (uint256 result) { + result = super.fheRandBounded(upperBound, randType); + emit FheRandBounded(upperBound, randType, result); + } + + function _authorizeUpgrade(address _newImplementation) internal virtual override onlyOwner {} +} diff --git a/contracts/examples/TFHEExecutorUpgradedExample.sol b/contracts/examples/TFHEExecutorUpgradedExample.sol index 06f2820f..0303d5ee 100644 --- a/contracts/examples/TFHEExecutorUpgradedExample.sol +++ b/contracts/examples/TFHEExecutorUpgradedExample.sol @@ -1,8 +1,8 @@ // SPDX-License-Identifier: BSD-3-Clause-Clear - pragma solidity ^0.8.24; -import "../contracts/TFHEExecutor.sol"; +import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; +import {TFHEExecutor} from "../contracts/TFHEExecutor.sol"; /// @title TFHEExecutorUpgradedExample /// @dev Contract that extends TFHEExecutor with version information diff --git a/contracts/tasks/taskDeploy.ts b/contracts/tasks/taskDeploy.ts index 73309bcf..4a8c4b32 100644 --- a/contracts/tasks/taskDeploy.ts +++ b/contracts/tasks/taskDeploy.ts @@ -49,7 +49,7 @@ task('task:deployTFHEExecutor') if (process.env.HARDHAT_TFHEEXECUTOR_EVENTS !== '1') { factory = await ethers.getContractFactory('contracts/TFHEExecutor.sol:TFHEExecutor', deployer); } else { - factory = await ethers.getContractFactory('contracts/TFHEExecutor.events.sol:TFHEExecutor', deployer); + factory = await ethers.getContractFactory('contracts/TFHEExecutorWithEvents.sol:TFHEExecutorWithEvents', deployer); } const exec = await upgrades.deployProxy(factory, [deployer.address], { initializer: 'initialize', kind: 'uups' }); await exec.waitForDeployment(); diff --git a/contracts/test/coprocessorUtils.ts b/contracts/test/coprocessorUtils.ts index a5082f47..7b8b9d44 100644 --- a/contracts/test/coprocessorUtils.ts +++ b/contracts/test/coprocessorUtils.ts @@ -1462,7 +1462,7 @@ async function insertHandleFromEvent(event: FHEVMEvent) { export function getFHEGasFromTxReceipt(receipt: ethers.TransactionReceipt): number { if (process.env.HARDHAT_TFHEEXECUTOR_EVENTS !== '1') { - throw Error('FHEGas tracking is currently implemented only with TFHEExecutor.events.sol variant'); + throw Error('FHEGas tracking is currently implemented only with TFHEExecutorWithEvents.sol variant'); } if (receipt.status === 0) { throw new Error('Transaction reverted'); diff --git a/contracts/test/encryptedERC20/EncryptedERC20.FHEGas.ts b/contracts/test/encryptedERC20/EncryptedERC20.FHEGas.ts index 1b03c6bc..56f27398 100644 --- a/contracts/test/encryptedERC20/EncryptedERC20.FHEGas.ts +++ b/contracts/test/encryptedERC20/EncryptedERC20.FHEGas.ts @@ -34,7 +34,7 @@ describe('EncryptedERC20:FHEGas', function () { const t2 = await tx.wait(); expect(t2?.status).to.eq(1); if (process.env.HARDHAT_TFHEEXECUTOR_EVENTS === '1') { - // FHEGas tracking is currently implemented only with TFHEExecutor.events.sol variant + // FHEGas tracking is currently implemented only with TFHEExecutorWithEvents.sol variant const FHEGasConsumedTransfer = getFHEGasFromTxReceipt(t2); console.log('FHEGas Consumed in transfer', FHEGasConsumedTransfer); console.log('Native Gas Consumed in transfer', t2.gasUsed); @@ -67,7 +67,7 @@ describe('EncryptedERC20:FHEGas', function () { ); const t3 = await tx3.wait(); if (process.env.HARDHAT_TFHEEXECUTOR_EVENTS === '1') { - // FHEGas tracking is currently implemented only with TFHEExecutor.events.sol variant + // FHEGas tracking is currently implemented only with TFHEExecutorWithEvents.sol variant const FHEGasConsumedTransferFrom = getFHEGasFromTxReceipt(t3); console.log('FHEGas Consumed in transferFrom', FHEGasConsumedTransferFrom); console.log('Native Gas Consumed in transferFrom', t3.gasUsed); diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts deleted file mode 100644 index 64ff0389..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts +++ /dev/null @@ -1,251 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface Ownable2StepUpgradeableInterface extends Interface { - getFunction( - nameOrSignature: - | "acceptOwnership" - | "owner" - | "pendingOwner" - | "renounceOwnership" - | "transferOwnership" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - ): EventFragment; - - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface Ownable2StepUpgradeable extends BaseContract { - connect(runner?: ContractRunner | null): Ownable2StepUpgradeable; - waitForDeployment(): Promise; - - interface: Ownable2StepUpgradeableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts deleted file mode 100644 index dde83e2f..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +++ /dev/null @@ -1,186 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface OwnableUpgradeableInterface extends Interface { - getFunction( - nameOrSignature: "owner" | "renounceOwnership" | "transferOwnership" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: "Initialized" | "OwnershipTransferred" - ): EventFragment; - - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface OwnableUpgradeable extends BaseContract { - connect(runner?: ContractRunner | null): OwnableUpgradeable; - waitForDeployment(): Promise; - - interface: OwnableUpgradeableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - owner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/access/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/access/index.ts deleted file mode 100644 index f1946199..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Ownable2StepUpgradeable } from "./Ownable2StepUpgradeable"; -export type { OwnableUpgradeable } from "./OwnableUpgradeable"; diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/index.ts deleted file mode 100644 index cb37af6a..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as access from "./access"; -export type { access }; -import type * as proxy from "./proxy"; -export type { proxy }; -import type * as utils from "./utils"; -export type { utils }; diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/proxy/index.ts deleted file mode 100644 index 74cdc5fa..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as utils from "./utils"; -export type { utils }; diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts deleted file mode 100644 index b449ea2c..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - FunctionFragment, - Interface, - EventFragment, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, -} from "../../../../common"; - -export interface InitializableInterface extends Interface { - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface Initializable extends BaseContract { - connect(runner?: ContractRunner | null): Initializable; - waitForDeployment(): Promise; - - interface: InitializableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts deleted file mode 100644 index fd0c2543..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +++ /dev/null @@ -1,196 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../../common"; - -export interface UUPSUpgradeableInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "proxiableUUID" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent(nameOrSignatureOrTopic: "Initialized" | "Upgraded"): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface UUPSUpgradeable extends BaseContract { - connect(runner?: ContractRunner | null): UUPSUpgradeable; - waitForDeployment(): Promise; - - interface: UUPSUpgradeableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts deleted file mode 100644 index f23837ba..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Initializable } from "./Initializable"; -export type { UUPSUpgradeable } from "./UUPSUpgradeable"; diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts deleted file mode 100644 index a6af1bed..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - FunctionFragment, - Interface, - EventFragment, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, -} from "../../../common"; - -export interface ContextUpgradeableInterface extends Interface { - getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface ContextUpgradeable extends BaseContract { - connect(runner?: ContractRunner | null): ContextUpgradeable; - waitForDeployment(): Promise; - - interface: ContextUpgradeableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts b/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts deleted file mode 100644 index 98e6939a..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts +++ /dev/null @@ -1,184 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../../common"; - -export interface EIP712UpgradeableInterface extends Interface { - getFunction(nameOrSignature: "eip712Domain"): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: "EIP712DomainChanged" | "Initialized" - ): EventFragment; - - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface EIP712Upgradeable extends BaseContract { - connect(runner?: ContractRunner | null): EIP712Upgradeable; - waitForDeployment(): Promise; - - interface: EIP712UpgradeableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "eip712Domain" - ): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts deleted file mode 100644 index f33f7478..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { EIP712Upgradeable } from "./EIP712Upgradeable"; diff --git a/contracts/types/@openzeppelin/contracts-upgradeable/utils/index.ts b/contracts/types/@openzeppelin/contracts-upgradeable/utils/index.ts deleted file mode 100644 index 4ba17de0..00000000 --- a/contracts/types/@openzeppelin/contracts-upgradeable/utils/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as cryptography from "./cryptography"; -export type { cryptography }; -export type { ContextUpgradeable } from "./ContextUpgradeable"; diff --git a/contracts/types/@openzeppelin/contracts/access/Ownable.ts b/contracts/types/@openzeppelin/contracts/access/Ownable.ts deleted file mode 100644 index c5421105..00000000 --- a/contracts/types/@openzeppelin/contracts/access/Ownable.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface OwnableInterface extends Interface { - getFunction( - nameOrSignature: "owner" | "renounceOwnership" | "transferOwnership" - ): FunctionFragment; - - getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; - - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface Ownable extends BaseContract { - connect(runner?: ContractRunner | null): Ownable; - waitForDeployment(): Promise; - - interface: OwnableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - owner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts/access/Ownable2Step.ts b/contracts/types/@openzeppelin/contracts/access/Ownable2Step.ts deleted file mode 100644 index 49afcb65..00000000 --- a/contracts/types/@openzeppelin/contracts/access/Ownable2Step.ts +++ /dev/null @@ -1,217 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface Ownable2StepInterface extends Interface { - getFunction( - nameOrSignature: - | "acceptOwnership" - | "owner" - | "pendingOwner" - | "renounceOwnership" - | "transferOwnership" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred" - ): EventFragment; - - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface Ownable2Step extends BaseContract { - connect(runner?: ContractRunner | null): Ownable2Step; - waitForDeployment(): Promise; - - interface: Ownable2StepInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts/access/index.ts b/contracts/types/@openzeppelin/contracts/access/index.ts deleted file mode 100644 index 79c40855..00000000 --- a/contracts/types/@openzeppelin/contracts/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { Ownable } from "./Ownable"; -export type { Ownable2Step } from "./Ownable2Step"; diff --git a/contracts/types/@openzeppelin/contracts/index.ts b/contracts/types/@openzeppelin/contracts/index.ts deleted file mode 100644 index 14e80f09..00000000 --- a/contracts/types/@openzeppelin/contracts/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as access from "./access"; -export type { access }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; -import type * as proxy from "./proxy"; -export type { proxy }; -import type * as utils from "./utils"; -export type { utils }; diff --git a/contracts/types/@openzeppelin/contracts/interfaces/IERC1967.ts b/contracts/types/@openzeppelin/contracts/interfaces/IERC1967.ts deleted file mode 100644 index 4a317bdb..00000000 --- a/contracts/types/@openzeppelin/contracts/interfaces/IERC1967.ts +++ /dev/null @@ -1,168 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, -} from "../../../common"; - -export interface IERC1967Interface extends Interface { - getEvent( - nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "Upgraded" - ): EventFragment; -} - -export namespace AdminChangedEvent { - export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; - export type OutputTuple = [previousAdmin: string, newAdmin: string]; - export interface OutputObject { - previousAdmin: string; - newAdmin: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace BeaconUpgradedEvent { - export type InputTuple = [beacon: AddressLike]; - export type OutputTuple = [beacon: string]; - export interface OutputObject { - beacon: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface IERC1967 extends BaseContract { - connect(runner?: ContractRunner | null): IERC1967; - waitForDeployment(): Promise; - - interface: IERC1967Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - getEvent( - key: "AdminChanged" - ): TypedContractEvent< - AdminChangedEvent.InputTuple, - AdminChangedEvent.OutputTuple, - AdminChangedEvent.OutputObject - >; - getEvent( - key: "BeaconUpgraded" - ): TypedContractEvent< - BeaconUpgradedEvent.InputTuple, - BeaconUpgradedEvent.OutputTuple, - BeaconUpgradedEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AdminChanged(address,address)": TypedContractEvent< - AdminChangedEvent.InputTuple, - AdminChangedEvent.OutputTuple, - AdminChangedEvent.OutputObject - >; - AdminChanged: TypedContractEvent< - AdminChangedEvent.InputTuple, - AdminChangedEvent.OutputTuple, - AdminChangedEvent.OutputObject - >; - - "BeaconUpgraded(address)": TypedContractEvent< - BeaconUpgradedEvent.InputTuple, - BeaconUpgradedEvent.OutputTuple, - BeaconUpgradedEvent.OutputObject - >; - BeaconUpgraded: TypedContractEvent< - BeaconUpgradedEvent.InputTuple, - BeaconUpgradedEvent.OutputTuple, - BeaconUpgradedEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts/interfaces/IERC5267.ts b/contracts/types/@openzeppelin/contracts/interfaces/IERC5267.ts deleted file mode 100644 index f92fc909..00000000 --- a/contracts/types/@openzeppelin/contracts/interfaces/IERC5267.ts +++ /dev/null @@ -1,151 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface IERC5267Interface extends Interface { - getFunction(nameOrSignature: "eip712Domain"): FunctionFragment; - - getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; - - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface IERC5267 extends BaseContract { - connect(runner?: ContractRunner | null): IERC5267; - waitForDeployment(): Promise; - - interface: IERC5267Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "eip712Domain" - ): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts b/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts deleted file mode 100644 index f822039b..00000000 --- a/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../../../common"; - -export interface IERC1822ProxiableInterface extends Interface { - getFunction(nameOrSignature: "proxiableUUID"): FunctionFragment; - - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; -} - -export interface IERC1822Proxiable extends BaseContract { - connect(runner?: ContractRunner | null): IERC1822Proxiable; - waitForDeployment(): Promise; - - interface: IERC1822ProxiableInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts b/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts deleted file mode 100644 index daec45bb..00000000 --- a/contracts/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IERC1822Proxiable } from "./IERC1822Proxiable"; diff --git a/contracts/types/@openzeppelin/contracts/interfaces/index.ts b/contracts/types/@openzeppelin/contracts/interfaces/index.ts deleted file mode 100644 index 176fe720..00000000 --- a/contracts/types/@openzeppelin/contracts/interfaces/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as draftIerc1822Sol from "./draft-IERC1822.sol"; -export type { draftIerc1822Sol }; -export type { IERC1967 } from "./IERC1967"; -export type { IERC5267 } from "./IERC5267"; diff --git a/contracts/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts b/contracts/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts deleted file mode 100644 index cba1ba06..00000000 --- a/contracts/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../../common"; - -export interface ERC1967UtilsInterface extends Interface {} - -export interface ERC1967Utils extends BaseContract { - connect(runner?: ContractRunner | null): ERC1967Utils; - waitForDeployment(): Promise; - - interface: ERC1967UtilsInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/proxy/ERC1967/index.ts b/contracts/types/@openzeppelin/contracts/proxy/ERC1967/index.ts deleted file mode 100644 index 29e34c1f..00000000 --- a/contracts/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ERC1967Utils } from "./ERC1967Utils"; diff --git a/contracts/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts b/contracts/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts deleted file mode 100644 index 27a21e39..00000000 --- a/contracts/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../../../common"; - -export interface IBeaconInterface extends Interface { - getFunction(nameOrSignature: "implementation"): FunctionFragment; - - encodeFunctionData( - functionFragment: "implementation", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "implementation", - data: BytesLike - ): Result; -} - -export interface IBeacon extends BaseContract { - connect(runner?: ContractRunner | null): IBeacon; - waitForDeployment(): Promise; - - interface: IBeaconInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - implementation: TypedContractMethod<[], [string], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "implementation" - ): TypedContractMethod<[], [string], "view">; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/proxy/beacon/index.ts b/contracts/types/@openzeppelin/contracts/proxy/beacon/index.ts deleted file mode 100644 index 9224b1ea..00000000 --- a/contracts/types/@openzeppelin/contracts/proxy/beacon/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IBeacon } from "./IBeacon"; diff --git a/contracts/types/@openzeppelin/contracts/proxy/index.ts b/contracts/types/@openzeppelin/contracts/proxy/index.ts deleted file mode 100644 index 34dd3224..00000000 --- a/contracts/types/@openzeppelin/contracts/proxy/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as erc1967 from "./ERC1967"; -export type { erc1967 }; -import type * as beacon from "./beacon"; -export type { beacon }; diff --git a/contracts/types/@openzeppelin/contracts/utils/Address.ts b/contracts/types/@openzeppelin/contracts/utils/Address.ts deleted file mode 100644 index eaaadeb4..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/Address.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../common"; - -export interface AddressInterface extends Interface {} - -export interface Address extends BaseContract { - connect(runner?: ContractRunner | null): Address; - waitForDeployment(): Promise; - - interface: AddressInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/utils/Errors.ts b/contracts/types/@openzeppelin/contracts/utils/Errors.ts deleted file mode 100644 index 961498f5..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/Errors.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../common"; - -export interface ErrorsInterface extends Interface {} - -export interface Errors extends BaseContract { - connect(runner?: ContractRunner | null): Errors; - waitForDeployment(): Promise; - - interface: ErrorsInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/utils/Strings.ts b/contracts/types/@openzeppelin/contracts/utils/Strings.ts deleted file mode 100644 index 08a73eb0..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/Strings.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../common"; - -export interface StringsInterface extends Interface {} - -export interface Strings extends BaseContract { - connect(runner?: ContractRunner | null): Strings; - waitForDeployment(): Promise; - - interface: StringsInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts b/contracts/types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts deleted file mode 100644 index 433b59f5..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/cryptography/ECDSA.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../../common"; - -export interface ECDSAInterface extends Interface {} - -export interface ECDSA extends BaseContract { - connect(runner?: ContractRunner | null): ECDSA; - waitForDeployment(): Promise; - - interface: ECDSAInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/utils/cryptography/index.ts b/contracts/types/@openzeppelin/contracts/utils/cryptography/index.ts deleted file mode 100644 index 62499625..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/cryptography/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ECDSA } from "./ECDSA"; diff --git a/contracts/types/@openzeppelin/contracts/utils/index.ts b/contracts/types/@openzeppelin/contracts/utils/index.ts deleted file mode 100644 index e71d9931..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as cryptography from "./cryptography"; -export type { cryptography }; -import type * as math from "./math"; -export type { math }; -export type { Address } from "./Address"; -export type { Errors } from "./Errors"; -export type { Strings } from "./Strings"; diff --git a/contracts/types/@openzeppelin/contracts/utils/math/SafeCast.ts b/contracts/types/@openzeppelin/contracts/utils/math/SafeCast.ts deleted file mode 100644 index 53ebdc0b..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/math/SafeCast.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../../../common"; - -export interface SafeCastInterface extends Interface {} - -export interface SafeCast extends BaseContract { - connect(runner?: ContractRunner | null): SafeCast; - waitForDeployment(): Promise; - - interface: SafeCastInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/@openzeppelin/contracts/utils/math/index.ts b/contracts/types/@openzeppelin/contracts/utils/math/index.ts deleted file mode 100644 index 1952fed4..00000000 --- a/contracts/types/@openzeppelin/contracts/utils/math/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SafeCast } from "./SafeCast"; diff --git a/contracts/types/@openzeppelin/index.ts b/contracts/types/@openzeppelin/index.ts deleted file mode 100644 index f34b8770..00000000 --- a/contracts/types/@openzeppelin/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as contracts from "./contracts"; -export type { contracts }; -import type * as contractsUpgradeable from "./contracts-upgradeable"; -export type { contractsUpgradeable }; diff --git a/contracts/types/common.ts b/contracts/types/common.ts deleted file mode 100644 index 56b5f21e..00000000 --- a/contracts/types/common.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - FunctionFragment, - Typed, - EventFragment, - ContractTransaction, - ContractTransactionResponse, - DeferredTopicFilter, - EventLog, - TransactionRequest, - LogDescription, -} from "ethers"; - -export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> - extends DeferredTopicFilter {} - -export interface TypedContractEvent< - InputTuple extends Array = any, - OutputTuple extends Array = any, - OutputObject = any -> { - (...args: Partial): TypedDeferredTopicFilter< - TypedContractEvent - >; - name: string; - fragment: EventFragment; - getFragment(...args: Partial): EventFragment; -} - -type __TypechainAOutputTuple = T extends TypedContractEvent< - infer _U, - infer W -> - ? W - : never; -type __TypechainOutputObject = T extends TypedContractEvent< - infer _U, - infer _W, - infer V -> - ? V - : never; - -export interface TypedEventLog - extends Omit { - args: __TypechainAOutputTuple & __TypechainOutputObject; -} - -export interface TypedLogDescription - extends Omit { - args: __TypechainAOutputTuple & __TypechainOutputObject; -} - -export type TypedListener = ( - ...listenerArg: [ - ...__TypechainAOutputTuple, - TypedEventLog, - ...undefined[] - ] -) => void; - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; - -export type GetContractTypeFromFactory = F extends MinEthersFactory< - infer C, - any -> - ? C - : never; -export type GetARGsTypeFromFactory = F extends MinEthersFactory - ? Parameters - : never; - -export type StateMutability = "nonpayable" | "payable" | "view"; - -export type BaseOverrides = Omit; -export type NonPayableOverrides = Omit< - BaseOverrides, - "value" | "blockTag" | "enableCcipRead" ->; -export type PayableOverrides = Omit< - BaseOverrides, - "blockTag" | "enableCcipRead" ->; -export type ViewOverrides = Omit; -export type Overrides = S extends "nonpayable" - ? NonPayableOverrides - : S extends "payable" - ? PayableOverrides - : ViewOverrides; - -export type PostfixOverrides, S extends StateMutability> = - | A - | [...A, Overrides]; -export type ContractMethodArgs< - A extends Array, - S extends StateMutability -> = PostfixOverrides<{ [I in keyof A]-?: A[I] | Typed }, S>; - -export type DefaultReturnType = R extends Array ? R[0] : R; - -// export interface ContractMethod = Array, R = any, D extends R | ContractTransactionResponse = R | ContractTransactionResponse> { -export interface TypedContractMethod< - A extends Array = Array, - R = any, - S extends StateMutability = "payable" -> { - (...args: ContractMethodArgs): S extends "view" - ? Promise> - : Promise; - - name: string; - - fragment: FunctionFragment; - - getFragment(...args: ContractMethodArgs): FunctionFragment; - - populateTransaction( - ...args: ContractMethodArgs - ): Promise; - staticCall( - ...args: ContractMethodArgs - ): Promise>; - send(...args: ContractMethodArgs): Promise; - estimateGas(...args: ContractMethodArgs): Promise; - staticCallResult(...args: ContractMethodArgs): Promise; -} diff --git a/contracts/types/contracts/ACL.ts b/contracts/types/contracts/ACL.ts deleted file mode 100644 index 532dc73c..00000000 --- a/contracts/types/contracts/ACL.ts +++ /dev/null @@ -1,652 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface ACLInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "allow" - | "allowForDecryption" - | "allowTransient" - | "allowedOnBehalf" - | "allowedTransient" - | "cleanTransientStorage" - | "delegateAccountForContract" - | "getTFHEExecutorAddress" - | "getVersion" - | "initialize" - | "isAllowed" - | "isAllowedForDecryption" - | "owner" - | "pendingOwner" - | "persistAllowed" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "AllowedForDecryption" - | "Initialized" - | "NewDelegation" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allow", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowForDecryption", - values: [BigNumberish[]] - ): string; - encodeFunctionData( - functionFragment: "allowTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedOnBehalf", - values: [AddressLike, BigNumberish, AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "cleanTransientStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "delegateAccountForContract", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getTFHEExecutorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowedForDecryption", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "persistAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allow", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedOnBehalf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "cleanTransientStorage", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "delegateAccountForContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTFHEExecutorAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isAllowed", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isAllowedForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "persistAllowed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace AllowedForDecryptionEvent { - export type InputTuple = [handlesList: BigNumberish[]]; - export type OutputTuple = [handlesList: bigint[]]; - export interface OutputObject { - handlesList: bigint[]; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace NewDelegationEvent { - export type InputTuple = [ - sender: AddressLike, - delegatee: AddressLike, - contractAddress: AddressLike - ]; - export type OutputTuple = [ - sender: string, - delegatee: string, - contractAddress: string - ]; - export interface OutputObject { - sender: string; - delegatee: string; - contractAddress: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface ACL extends BaseContract { - connect(runner?: ContractRunner | null): ACL; - waitForDeployment(): Promise; - - interface: ACLInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - allow: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowForDecryption: TypedContractMethod< - [handlesList: BigNumberish[]], - [void], - "nonpayable" - >; - - allowTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowedOnBehalf: TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - - allowedTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - cleanTransientStorage: TypedContractMethod<[], [void], "nonpayable">; - - delegateAccountForContract: TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - - getTFHEExecutorAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - isAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - isAllowedForDecryption: TypedContractMethod< - [handle: BigNumberish], - [boolean], - "view" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - persistAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "allow" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowForDecryption" - ): TypedContractMethod<[handlesList: BigNumberish[]], [void], "nonpayable">; - getFunction( - nameOrSignature: "allowTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowedOnBehalf" - ): TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "allowedTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "cleanTransientStorage" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "delegateAccountForContract" - ): TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "getTFHEExecutorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "isAllowedForDecryption" - ): TypedContractMethod<[handle: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "persistAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "AllowedForDecryption" - ): TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "NewDelegation" - ): TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AllowedForDecryption(uint256[])": TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - AllowedForDecryption: TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "NewDelegation(address,address,address)": TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - NewDelegation: TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/FHEPayment.ts b/contracts/types/contracts/FHEPayment.ts deleted file mode 100644 index bb8d19ad..00000000 --- a/contracts/types/contracts/FHEPayment.ts +++ /dev/null @@ -1,1182 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface FHEPaymentInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "authorizeAllContracts" - | "becomeTransientSpender" - | "depositETH" - | "didAuthorizeAllContracts" - | "didWhitelistContract" - | "getAvailableDepositsETH" - | "getClaimableUsedFHEGas" - | "getTFHEExecutorAddress" - | "getVersion" - | "initialize" - | "owner" - | "payForCast" - | "payForFheAdd" - | "payForFheBitAnd" - | "payForFheBitOr" - | "payForFheBitXor" - | "payForFheDiv" - | "payForFheEq" - | "payForFheGe" - | "payForFheGt" - | "payForFheLe" - | "payForFheLt" - | "payForFheMax" - | "payForFheMin" - | "payForFheMul" - | "payForFheNe" - | "payForFheNeg" - | "payForFheNot" - | "payForFheRand" - | "payForFheRandBounded" - | "payForFheRem" - | "payForFheRotl" - | "payForFheRotr" - | "payForFheShl" - | "payForFheShr" - | "payForFheSub" - | "payForIfThenElse" - | "payForTrivialEncrypt" - | "pendingOwner" - | "proxiableUUID" - | "recoverBurntFunds" - | "removeAuthorizationAllContracts" - | "removeWhitelistedContract" - | "renounceOwnership" - | "stopBeingTransientSpender" - | "transferOwnership" - | "upgradeToAndCall" - | "whitelistContract" - | "withdrawETH" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "authorizeAllContracts", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "becomeTransientSpender", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "depositETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "didAuthorizeAllContracts", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "didWhitelistContract", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getAvailableDepositsETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getClaimableUsedFHEGas", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getTFHEExecutorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "payForCast", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheAdd", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitAnd", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitOr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitXor", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheDiv", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheEq", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheGe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheGt", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheLe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheLt", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMax", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMin", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMul", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheNe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheNeg", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheNot", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRand", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRandBounded", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRem", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheRotl", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheRotr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheShl", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheShr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheSub", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForIfThenElse", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForTrivialEncrypt", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "recoverBurntFunds", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "removeAuthorizationAllContracts", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeWhitelistedContract", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "stopBeingTransientSpender", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "whitelistContract", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "withdrawETH", - values: [BigNumberish, AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "authorizeAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "becomeTransientSpender", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "depositETH", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "didAuthorizeAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "didWhitelistContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getAvailableDepositsETH", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getClaimableUsedFHEGas", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTFHEExecutorAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "payForCast", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "payForFheAdd", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitAnd", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitOr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitXor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheDiv", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheEq", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheGe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheGt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheLe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheLt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMax", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMul", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNeg", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNot", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRand", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRotl", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRotr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheShl", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheShr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheSub", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForTrivialEncrypt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "recoverBurntFunds", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeAuthorizationAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeWhitelistedContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "stopBeingTransientSpender", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "whitelistContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "withdrawETH", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface FHEPayment extends BaseContract { - connect(runner?: ContractRunner | null): FHEPayment; - waitForDeployment(): Promise; - - interface: FHEPaymentInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - authorizeAllContracts: TypedContractMethod<[], [void], "nonpayable">; - - becomeTransientSpender: TypedContractMethod<[], [void], "nonpayable">; - - depositETH: TypedContractMethod<[account: AddressLike], [void], "payable">; - - didAuthorizeAllContracts: TypedContractMethod< - [account: AddressLike], - [boolean], - "view" - >; - - didWhitelistContract: TypedContractMethod< - [user: AddressLike, dappContract: AddressLike], - [boolean], - "view" - >; - - getAvailableDepositsETH: TypedContractMethod< - [account: AddressLike], - [bigint], - "view" - >; - - getClaimableUsedFHEGas: TypedContractMethod<[], [bigint], "view">; - - getTFHEExecutorAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - payForCast: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheAdd: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitAnd: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitOr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitXor: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheDiv: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheEq: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheGe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheGt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheLe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheLt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMax: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMin: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMul: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheNe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheNeg: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheNot: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRand: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRandBounded: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRem: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheRotl: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheRotr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheShl: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheShr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheSub: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForIfThenElse: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForTrivialEncrypt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - recoverBurntFunds: TypedContractMethod< - [receiver: AddressLike], - [void], - "nonpayable" - >; - - removeAuthorizationAllContracts: TypedContractMethod< - [], - [void], - "nonpayable" - >; - - removeWhitelistedContract: TypedContractMethod< - [dappContract: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - stopBeingTransientSpender: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - whitelistContract: TypedContractMethod< - [dappContract: AddressLike], - [void], - "nonpayable" - >; - - withdrawETH: TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "authorizeAllContracts" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "becomeTransientSpender" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "depositETH" - ): TypedContractMethod<[account: AddressLike], [void], "payable">; - getFunction( - nameOrSignature: "didAuthorizeAllContracts" - ): TypedContractMethod<[account: AddressLike], [boolean], "view">; - getFunction( - nameOrSignature: "didWhitelistContract" - ): TypedContractMethod< - [user: AddressLike, dappContract: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "getAvailableDepositsETH" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "getClaimableUsedFHEGas" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "getTFHEExecutorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "payForCast" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheAdd" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitAnd" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitOr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitXor" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheDiv" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheEq" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheGe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheGt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheLe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheLt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMax" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMin" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMul" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNeg" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNot" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRand" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRandBounded" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRem" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRotl" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRotr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheShl" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheShr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheSub" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForIfThenElse" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForTrivialEncrypt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "recoverBurntFunds" - ): TypedContractMethod<[receiver: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "removeAuthorizationAllContracts" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "removeWhitelistedContract" - ): TypedContractMethod<[dappContract: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "stopBeingTransientSpender" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "whitelistContract" - ): TypedContractMethod<[dappContract: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "withdrawETH" - ): TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/InputVerifier.coprocessor.sol/InputVerifier.ts b/contracts/types/contracts/InputVerifier.coprocessor.sol/InputVerifier.ts deleted file mode 100644 index bd2756f7..00000000 --- a/contracts/types/contracts/InputVerifier.coprocessor.sol/InputVerifier.ts +++ /dev/null @@ -1,561 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export declare namespace TFHEExecutor { - export type ContextUserInputsStruct = { - aclAddress: AddressLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type ContextUserInputsStructOutput = [ - aclAddress: string, - userAddress: string, - contractAddress: string - ] & { aclAddress: string; userAddress: string; contractAddress: string }; -} - -export interface InputVerifierInterface extends Interface { - getFunction( - nameOrSignature: - | "CIPHERTEXTVERIFICATION_COPRO_TYPE" - | "HANDLE_VERSION" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "eip712Domain" - | "getCoprocessorAddress" - | "getKMSVerifierAddress" - | "getVersion" - | "get_CIPHERTEXTVERIFICATION_COPRO_TYPE" - | "initialize" - | "kmsVerifier" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - | "verifyCiphertext" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "EIP712DomainChanged" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "CIPHERTEXTVERIFICATION_COPRO_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "HANDLE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getCoprocessorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getKMSVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "get_CIPHERTEXTVERIFICATION_COPRO_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "kmsVerifier", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [TFHEExecutor.ContextUserInputsStruct, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "CIPHERTEXTVERIFICATION_COPRO_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "HANDLE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getCoprocessorAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKMSVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "get_CIPHERTEXTVERIFICATION_COPRO_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "kmsVerifier", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface InputVerifier extends BaseContract { - connect(runner?: ContractRunner | null): InputVerifier; - waitForDeployment(): Promise; - - interface: InputVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - CIPHERTEXTVERIFICATION_COPRO_TYPE: TypedContractMethod<[], [string], "view">; - - HANDLE_VERSION: TypedContractMethod<[], [bigint], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getCoprocessorAddress: TypedContractMethod<[], [string], "view">; - - getKMSVerifierAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - get_CIPHERTEXTVERIFICATION_COPRO_TYPE: TypedContractMethod< - [], - [string], - "view" - >; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - kmsVerifier: TypedContractMethod<[], [string], "view">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyCiphertext: TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "CIPHERTEXTVERIFICATION_COPRO_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "HANDLE_VERSION" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "eip712Domain" - ): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - getFunction( - nameOrSignature: "getCoprocessorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getKMSVerifierAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "get_CIPHERTEXTVERIFICATION_COPRO_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "kmsVerifier" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/InputVerifier.coprocessor.sol/index.ts b/contracts/types/contracts/InputVerifier.coprocessor.sol/index.ts deleted file mode 100644 index 0cfe0d41..00000000 --- a/contracts/types/contracts/InputVerifier.coprocessor.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { InputVerifier } from "./InputVerifier"; diff --git a/contracts/types/contracts/InputVerifier.native.sol/InputVerifier.ts b/contracts/types/contracts/InputVerifier.native.sol/InputVerifier.ts deleted file mode 100644 index d8f20d2d..00000000 --- a/contracts/types/contracts/InputVerifier.native.sol/InputVerifier.ts +++ /dev/null @@ -1,444 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export declare namespace TFHEExecutor { - export type ContextUserInputsStruct = { - aclAddress: AddressLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type ContextUserInputsStructOutput = [ - aclAddress: string, - userAddress: string, - contractAddress: string - ] & { aclAddress: string; userAddress: string; contractAddress: string }; -} - -export interface InputVerifierInterface extends Interface { - getFunction( - nameOrSignature: - | "HANDLE_VERSION" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "getKMSVerifierAddress" - | "getVersion" - | "initialize" - | "kmsVerifier" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - | "verifyCiphertext" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "HANDLE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getKMSVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "kmsVerifier", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [TFHEExecutor.ContextUserInputsStruct, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "HANDLE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getKMSVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "kmsVerifier", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface InputVerifier extends BaseContract { - connect(runner?: ContractRunner | null): InputVerifier; - waitForDeployment(): Promise; - - interface: InputVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - HANDLE_VERSION: TypedContractMethod<[], [bigint], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - getKMSVerifierAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - kmsVerifier: TypedContractMethod<[], [string], "view">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyCiphertext: TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "HANDLE_VERSION" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "getKMSVerifierAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "kmsVerifier" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/InputVerifier.native.sol/index.ts b/contracts/types/contracts/InputVerifier.native.sol/index.ts deleted file mode 100644 index 0cfe0d41..00000000 --- a/contracts/types/contracts/InputVerifier.native.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { InputVerifier } from "./InputVerifier"; diff --git a/contracts/types/contracts/KMSVerifier.ts b/contracts/types/contracts/KMSVerifier.ts deleted file mode 100644 index 429d7e67..00000000 --- a/contracts/types/contracts/KMSVerifier.ts +++ /dev/null @@ -1,687 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export declare namespace KMSVerifier { - export type CiphertextVerificationForKMSStruct = { - aclAddress: AddressLike; - hashOfCiphertext: BytesLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type CiphertextVerificationForKMSStructOutput = [ - aclAddress: string, - hashOfCiphertext: string, - userAddress: string, - contractAddress: string - ] & { - aclAddress: string; - hashOfCiphertext: string; - userAddress: string; - contractAddress: string; - }; -} - -export interface KMSVerifierInterface extends Interface { - getFunction( - nameOrSignature: - | "CIPHERTEXTVERIFICATION_KMS_TYPE" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "addSigner" - | "eip712Domain" - | "getSigners" - | "getThreshold" - | "getVersion" - | "get_CIPHERTEXTVERIFICATION_KMS_TYPE" - | "get_DECRYPTIONRESULT_TYPE" - | "initialize" - | "isSigner" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "removeSigner" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - | "verifyDecryptionEIP712KMSSignatures" - | "verifyInputEIP712KMSSignatures" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "EIP712DomainChanged" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "SignerAdded" - | "SignerRemoved" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "CIPHERTEXTVERIFICATION_KMS_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addSigner", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getSigners", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "get_DECRYPTIONRESULT_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isSigner", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeSigner", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - values: [AddressLike, BigNumberish[], BytesLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "verifyInputEIP712KMSSignatures", - values: [KMSVerifier.CiphertextVerificationForKMSStruct, BytesLike[]] - ): string; - - decodeFunctionResult( - functionFragment: "CIPHERTEXTVERIFICATION_KMS_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "addSigner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSigners", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getThreshold", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "get_DECRYPTIONRESULT_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isSigner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeSigner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyInputEIP712KMSSignatures", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace SignerAddedEvent { - export type InputTuple = [signer: AddressLike]; - export type OutputTuple = [signer: string]; - export interface OutputObject { - signer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace SignerRemovedEvent { - export type InputTuple = [signer: AddressLike]; - export type OutputTuple = [signer: string]; - export interface OutputObject { - signer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface KMSVerifier extends BaseContract { - connect(runner?: ContractRunner | null): KMSVerifier; - waitForDeployment(): Promise; - - interface: KMSVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - CIPHERTEXTVERIFICATION_KMS_TYPE: TypedContractMethod<[], [string], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - addSigner: TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getSigners: TypedContractMethod<[], [string[]], "view">; - - getThreshold: TypedContractMethod<[], [bigint], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - get_CIPHERTEXTVERIFICATION_KMS_TYPE: TypedContractMethod< - [], - [string], - "view" - >; - - get_DECRYPTIONRESULT_TYPE: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - isSigner: TypedContractMethod< - [account: AddressLike], - [boolean], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - removeSigner: TypedContractMethod< - [signer: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyDecryptionEIP712KMSSignatures: TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - verifyInputEIP712KMSSignatures: TypedContractMethod< - [ - cv: KMSVerifier.CiphertextVerificationForKMSStruct, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "CIPHERTEXTVERIFICATION_KMS_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "addSigner" - ): TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eip712Domain" - ): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - getFunction( - nameOrSignature: "getSigners" - ): TypedContractMethod<[], [string[]], "view">; - getFunction( - nameOrSignature: "getThreshold" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "get_CIPHERTEXTVERIFICATION_KMS_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "get_DECRYPTIONRESULT_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isSigner" - ): TypedContractMethod<[account: AddressLike], [boolean], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "removeSigner" - ): TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyDecryptionEIP712KMSSignatures" - ): TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "verifyInputEIP712KMSSignatures" - ): TypedContractMethod< - [ - cv: KMSVerifier.CiphertextVerificationForKMSStruct, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "SignerAdded" - ): TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - getEvent( - key: "SignerRemoved" - ): TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "SignerAdded(address)": TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - SignerAdded: TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - - "SignerRemoved(address)": TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - SignerRemoved: TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/TFHEExecutor.events.sol/IInputVerifier.ts b/contracts/types/contracts/TFHEExecutor.events.sol/IInputVerifier.ts deleted file mode 100644 index 7d8aa1cf..00000000 --- a/contracts/types/contracts/TFHEExecutor.events.sol/IInputVerifier.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export declare namespace TFHEExecutor { - export type ContextUserInputsStruct = { - aclAddress: AddressLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type ContextUserInputsStructOutput = [ - aclAddress: string, - userAddress: string, - contractAddress: string - ] & { aclAddress: string; userAddress: string; contractAddress: string }; -} - -export interface IInputVerifierInterface extends Interface { - getFunction(nameOrSignature: "verifyCiphertext"): FunctionFragment; - - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [TFHEExecutor.ContextUserInputsStruct, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export interface IInputVerifier extends BaseContract { - connect(runner?: ContractRunner | null): IInputVerifier; - waitForDeployment(): Promise; - - interface: IInputVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - verifyCiphertext: TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/contracts/TFHEExecutor.events.sol/TFHEExecutor.ts b/contracts/types/contracts/TFHEExecutor.events.sol/TFHEExecutor.ts deleted file mode 100644 index 28cf7526..00000000 --- a/contracts/types/contracts/TFHEExecutor.events.sol/TFHEExecutor.ts +++ /dev/null @@ -1,2320 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHEExecutorInterface extends Interface { - getFunction( - nameOrSignature: - | "HANDLE_VERSION" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "cast" - | "fheAdd" - | "fheBitAnd" - | "fheBitOr" - | "fheBitXor" - | "fheDiv" - | "fheEq(uint256,uint256,bytes1)" - | "fheEq(uint256,bytes,bytes1)" - | "fheGe" - | "fheGt" - | "fheIfThenElse" - | "fheLe" - | "fheLt" - | "fheMax" - | "fheMin" - | "fheMul" - | "fheNe(uint256,bytes,bytes1)" - | "fheNe(uint256,uint256,bytes1)" - | "fheNeg" - | "fheNot" - | "fheRand" - | "fheRandBounded" - | "fheRem" - | "fheRotl" - | "fheRotr" - | "fheShl" - | "fheShr" - | "fheSub" - | "getACLAddress" - | "getFHEPaymentAddress" - | "getInputVerifierAddress" - | "getVersion" - | "initialize" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "trivialEncrypt(bytes,bytes1)" - | "trivialEncrypt(uint256,bytes1)" - | "upgradeToAndCall" - | "verifyCiphertext" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Cast" - | "FheAdd" - | "FheBitAnd" - | "FheBitOr" - | "FheBitXor" - | "FheDiv" - | "FheEq" - | "FheEqBytes" - | "FheGe" - | "FheGt" - | "FheIfThenElse" - | "FheLe" - | "FheLt" - | "FheMax" - | "FheMin" - | "FheMul" - | "FheNe" - | "FheNeBytes" - | "FheNeg" - | "FheNot" - | "FheRand" - | "FheRandBounded" - | "FheRem" - | "FheRotl" - | "FheRotr" - | "FheShl" - | "FheShr" - | "FheSub" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "TrivialEncrypt" - | "TrivialEncryptBytes" - | "Upgraded" - | "VerifyCiphertext" - ): EventFragment; - - encodeFunctionData( - functionFragment: "HANDLE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "cast", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheAdd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitAnd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitOr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitXor", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheDiv", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheIfThenElse", - values: [BigNumberish, BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheLe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheLt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMax", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMin", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMul", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNeg", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheNot", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "fheRand", values: [BytesLike]): string; - encodeFunctionData( - functionFragment: "fheRandBounded", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRem", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheSub", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "getACLAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getFHEPaymentAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getInputVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(bytes,bytes1)", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(uint256,bytes1)", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [BytesLike, AddressLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "HANDLE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "cast", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheAdd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitAnd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitOr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitXor", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheDiv", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheGe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheGt", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheLe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheLt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMax", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMin", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMul", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheNeg", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheNot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRand", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheRem", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheSub", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getACLAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFHEPaymentAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getInputVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export namespace CastEvent { - export type InputTuple = [ - ct: BigNumberish, - toType: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ct: bigint, toType: string, result: bigint]; - export interface OutputObject { - ct: bigint; - toType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheAddEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheBitAndEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheBitOrEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheBitXorEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheDivEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheEqEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheEqBytesEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BytesLike, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: string, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: string; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheGeEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheGtEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheIfThenElseEvent { - export type InputTuple = [ - control: BigNumberish, - ifTrue: BigNumberish, - ifFalse: BigNumberish, - result: BigNumberish - ]; - export type OutputTuple = [ - control: bigint, - ifTrue: bigint, - ifFalse: bigint, - result: bigint - ]; - export interface OutputObject { - control: bigint; - ifTrue: bigint; - ifFalse: bigint; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheLeEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheLtEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheMaxEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheMinEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheMulEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheNeEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheNeBytesEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BytesLike, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: string, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: string; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheNegEvent { - export type InputTuple = [ct: BigNumberish, result: BigNumberish]; - export type OutputTuple = [ct: bigint, result: bigint]; - export interface OutputObject { - ct: bigint; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheNotEvent { - export type InputTuple = [ct: BigNumberish, result: BigNumberish]; - export type OutputTuple = [ct: bigint, result: bigint]; - export interface OutputObject { - ct: bigint; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheRandEvent { - export type InputTuple = [randType: BytesLike, result: BigNumberish]; - export type OutputTuple = [randType: string, result: bigint]; - export interface OutputObject { - randType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheRandBoundedEvent { - export type InputTuple = [ - upperBound: BigNumberish, - randType: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - upperBound: bigint, - randType: string, - result: bigint - ]; - export interface OutputObject { - upperBound: bigint; - randType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheRemEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheRotlEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheRotrEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheShlEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheShrEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace FheSubEvent { - export type InputTuple = [ - lhs: BigNumberish, - rhs: BigNumberish, - scalarByte: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - lhs: bigint, - rhs: bigint, - scalarByte: string, - result: bigint - ]; - export interface OutputObject { - lhs: bigint; - rhs: bigint; - scalarByte: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace TrivialEncryptEvent { - export type InputTuple = [ - pt: BigNumberish, - toType: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [pt: bigint, toType: string, result: bigint]; - export interface OutputObject { - pt: bigint; - toType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace TrivialEncryptBytesEvent { - export type InputTuple = [ - pt: BytesLike, - toType: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [pt: string, toType: string, result: bigint]; - export interface OutputObject { - pt: string; - toType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace VerifyCiphertextEvent { - export type InputTuple = [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike, - result: BigNumberish - ]; - export type OutputTuple = [ - inputHandle: string, - userAddress: string, - inputProof: string, - inputType: string, - result: bigint - ]; - export interface OutputObject { - inputHandle: string; - userAddress: string; - inputProof: string; - inputType: string; - result: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface TFHEExecutor extends BaseContract { - connect(runner?: ContractRunner | null): TFHEExecutor; - waitForDeployment(): Promise; - - interface: TFHEExecutorInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - HANDLE_VERSION: TypedContractMethod<[], [bigint], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - cast: TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - fheAdd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitAnd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitOr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitXor: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheDiv: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheIfThenElse: TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - - fheLe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheLt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMax: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMin: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMul: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheNeg: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheNot: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheRand: TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - - fheRandBounded: TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - - fheRem: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheSub: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - getACLAddress: TypedContractMethod<[], [string], "view">; - - getFHEPaymentAddress: TypedContractMethod<[], [string], "view">; - - getInputVerifierAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - "trivialEncrypt(bytes,bytes1)": TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - - "trivialEncrypt(uint256,bytes1)": TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyCiphertext: TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "HANDLE_VERSION" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "cast" - ): TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheAdd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitAnd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitOr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitXor" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheDiv" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheIfThenElse" - ): TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMax" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMin" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMul" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNeg" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheNot" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRand" - ): TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRandBounded" - ): TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRem" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheSub" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "getACLAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getFHEPaymentAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getInputVerifierAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "trivialEncrypt(bytes,bytes1)" - ): TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "trivialEncrypt(uint256,bytes1)" - ): TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getEvent( - key: "Cast" - ): TypedContractEvent< - CastEvent.InputTuple, - CastEvent.OutputTuple, - CastEvent.OutputObject - >; - getEvent( - key: "FheAdd" - ): TypedContractEvent< - FheAddEvent.InputTuple, - FheAddEvent.OutputTuple, - FheAddEvent.OutputObject - >; - getEvent( - key: "FheBitAnd" - ): TypedContractEvent< - FheBitAndEvent.InputTuple, - FheBitAndEvent.OutputTuple, - FheBitAndEvent.OutputObject - >; - getEvent( - key: "FheBitOr" - ): TypedContractEvent< - FheBitOrEvent.InputTuple, - FheBitOrEvent.OutputTuple, - FheBitOrEvent.OutputObject - >; - getEvent( - key: "FheBitXor" - ): TypedContractEvent< - FheBitXorEvent.InputTuple, - FheBitXorEvent.OutputTuple, - FheBitXorEvent.OutputObject - >; - getEvent( - key: "FheDiv" - ): TypedContractEvent< - FheDivEvent.InputTuple, - FheDivEvent.OutputTuple, - FheDivEvent.OutputObject - >; - getEvent( - key: "FheEq" - ): TypedContractEvent< - FheEqEvent.InputTuple, - FheEqEvent.OutputTuple, - FheEqEvent.OutputObject - >; - getEvent( - key: "FheEqBytes" - ): TypedContractEvent< - FheEqBytesEvent.InputTuple, - FheEqBytesEvent.OutputTuple, - FheEqBytesEvent.OutputObject - >; - getEvent( - key: "FheGe" - ): TypedContractEvent< - FheGeEvent.InputTuple, - FheGeEvent.OutputTuple, - FheGeEvent.OutputObject - >; - getEvent( - key: "FheGt" - ): TypedContractEvent< - FheGtEvent.InputTuple, - FheGtEvent.OutputTuple, - FheGtEvent.OutputObject - >; - getEvent( - key: "FheIfThenElse" - ): TypedContractEvent< - FheIfThenElseEvent.InputTuple, - FheIfThenElseEvent.OutputTuple, - FheIfThenElseEvent.OutputObject - >; - getEvent( - key: "FheLe" - ): TypedContractEvent< - FheLeEvent.InputTuple, - FheLeEvent.OutputTuple, - FheLeEvent.OutputObject - >; - getEvent( - key: "FheLt" - ): TypedContractEvent< - FheLtEvent.InputTuple, - FheLtEvent.OutputTuple, - FheLtEvent.OutputObject - >; - getEvent( - key: "FheMax" - ): TypedContractEvent< - FheMaxEvent.InputTuple, - FheMaxEvent.OutputTuple, - FheMaxEvent.OutputObject - >; - getEvent( - key: "FheMin" - ): TypedContractEvent< - FheMinEvent.InputTuple, - FheMinEvent.OutputTuple, - FheMinEvent.OutputObject - >; - getEvent( - key: "FheMul" - ): TypedContractEvent< - FheMulEvent.InputTuple, - FheMulEvent.OutputTuple, - FheMulEvent.OutputObject - >; - getEvent( - key: "FheNe" - ): TypedContractEvent< - FheNeEvent.InputTuple, - FheNeEvent.OutputTuple, - FheNeEvent.OutputObject - >; - getEvent( - key: "FheNeBytes" - ): TypedContractEvent< - FheNeBytesEvent.InputTuple, - FheNeBytesEvent.OutputTuple, - FheNeBytesEvent.OutputObject - >; - getEvent( - key: "FheNeg" - ): TypedContractEvent< - FheNegEvent.InputTuple, - FheNegEvent.OutputTuple, - FheNegEvent.OutputObject - >; - getEvent( - key: "FheNot" - ): TypedContractEvent< - FheNotEvent.InputTuple, - FheNotEvent.OutputTuple, - FheNotEvent.OutputObject - >; - getEvent( - key: "FheRand" - ): TypedContractEvent< - FheRandEvent.InputTuple, - FheRandEvent.OutputTuple, - FheRandEvent.OutputObject - >; - getEvent( - key: "FheRandBounded" - ): TypedContractEvent< - FheRandBoundedEvent.InputTuple, - FheRandBoundedEvent.OutputTuple, - FheRandBoundedEvent.OutputObject - >; - getEvent( - key: "FheRem" - ): TypedContractEvent< - FheRemEvent.InputTuple, - FheRemEvent.OutputTuple, - FheRemEvent.OutputObject - >; - getEvent( - key: "FheRotl" - ): TypedContractEvent< - FheRotlEvent.InputTuple, - FheRotlEvent.OutputTuple, - FheRotlEvent.OutputObject - >; - getEvent( - key: "FheRotr" - ): TypedContractEvent< - FheRotrEvent.InputTuple, - FheRotrEvent.OutputTuple, - FheRotrEvent.OutputObject - >; - getEvent( - key: "FheShl" - ): TypedContractEvent< - FheShlEvent.InputTuple, - FheShlEvent.OutputTuple, - FheShlEvent.OutputObject - >; - getEvent( - key: "FheShr" - ): TypedContractEvent< - FheShrEvent.InputTuple, - FheShrEvent.OutputTuple, - FheShrEvent.OutputObject - >; - getEvent( - key: "FheSub" - ): TypedContractEvent< - FheSubEvent.InputTuple, - FheSubEvent.OutputTuple, - FheSubEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "TrivialEncrypt" - ): TypedContractEvent< - TrivialEncryptEvent.InputTuple, - TrivialEncryptEvent.OutputTuple, - TrivialEncryptEvent.OutputObject - >; - getEvent( - key: "TrivialEncryptBytes" - ): TypedContractEvent< - TrivialEncryptBytesEvent.InputTuple, - TrivialEncryptBytesEvent.OutputTuple, - TrivialEncryptBytesEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - getEvent( - key: "VerifyCiphertext" - ): TypedContractEvent< - VerifyCiphertextEvent.InputTuple, - VerifyCiphertextEvent.OutputTuple, - VerifyCiphertextEvent.OutputObject - >; - - filters: { - "Cast(uint256,bytes1,uint256)": TypedContractEvent< - CastEvent.InputTuple, - CastEvent.OutputTuple, - CastEvent.OutputObject - >; - Cast: TypedContractEvent< - CastEvent.InputTuple, - CastEvent.OutputTuple, - CastEvent.OutputObject - >; - - "FheAdd(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheAddEvent.InputTuple, - FheAddEvent.OutputTuple, - FheAddEvent.OutputObject - >; - FheAdd: TypedContractEvent< - FheAddEvent.InputTuple, - FheAddEvent.OutputTuple, - FheAddEvent.OutputObject - >; - - "FheBitAnd(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheBitAndEvent.InputTuple, - FheBitAndEvent.OutputTuple, - FheBitAndEvent.OutputObject - >; - FheBitAnd: TypedContractEvent< - FheBitAndEvent.InputTuple, - FheBitAndEvent.OutputTuple, - FheBitAndEvent.OutputObject - >; - - "FheBitOr(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheBitOrEvent.InputTuple, - FheBitOrEvent.OutputTuple, - FheBitOrEvent.OutputObject - >; - FheBitOr: TypedContractEvent< - FheBitOrEvent.InputTuple, - FheBitOrEvent.OutputTuple, - FheBitOrEvent.OutputObject - >; - - "FheBitXor(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheBitXorEvent.InputTuple, - FheBitXorEvent.OutputTuple, - FheBitXorEvent.OutputObject - >; - FheBitXor: TypedContractEvent< - FheBitXorEvent.InputTuple, - FheBitXorEvent.OutputTuple, - FheBitXorEvent.OutputObject - >; - - "FheDiv(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheDivEvent.InputTuple, - FheDivEvent.OutputTuple, - FheDivEvent.OutputObject - >; - FheDiv: TypedContractEvent< - FheDivEvent.InputTuple, - FheDivEvent.OutputTuple, - FheDivEvent.OutputObject - >; - - "FheEq(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheEqEvent.InputTuple, - FheEqEvent.OutputTuple, - FheEqEvent.OutputObject - >; - FheEq: TypedContractEvent< - FheEqEvent.InputTuple, - FheEqEvent.OutputTuple, - FheEqEvent.OutputObject - >; - - "FheEqBytes(uint256,bytes,bytes1,uint256)": TypedContractEvent< - FheEqBytesEvent.InputTuple, - FheEqBytesEvent.OutputTuple, - FheEqBytesEvent.OutputObject - >; - FheEqBytes: TypedContractEvent< - FheEqBytesEvent.InputTuple, - FheEqBytesEvent.OutputTuple, - FheEqBytesEvent.OutputObject - >; - - "FheGe(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheGeEvent.InputTuple, - FheGeEvent.OutputTuple, - FheGeEvent.OutputObject - >; - FheGe: TypedContractEvent< - FheGeEvent.InputTuple, - FheGeEvent.OutputTuple, - FheGeEvent.OutputObject - >; - - "FheGt(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheGtEvent.InputTuple, - FheGtEvent.OutputTuple, - FheGtEvent.OutputObject - >; - FheGt: TypedContractEvent< - FheGtEvent.InputTuple, - FheGtEvent.OutputTuple, - FheGtEvent.OutputObject - >; - - "FheIfThenElse(uint256,uint256,uint256,uint256)": TypedContractEvent< - FheIfThenElseEvent.InputTuple, - FheIfThenElseEvent.OutputTuple, - FheIfThenElseEvent.OutputObject - >; - FheIfThenElse: TypedContractEvent< - FheIfThenElseEvent.InputTuple, - FheIfThenElseEvent.OutputTuple, - FheIfThenElseEvent.OutputObject - >; - - "FheLe(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheLeEvent.InputTuple, - FheLeEvent.OutputTuple, - FheLeEvent.OutputObject - >; - FheLe: TypedContractEvent< - FheLeEvent.InputTuple, - FheLeEvent.OutputTuple, - FheLeEvent.OutputObject - >; - - "FheLt(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheLtEvent.InputTuple, - FheLtEvent.OutputTuple, - FheLtEvent.OutputObject - >; - FheLt: TypedContractEvent< - FheLtEvent.InputTuple, - FheLtEvent.OutputTuple, - FheLtEvent.OutputObject - >; - - "FheMax(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheMaxEvent.InputTuple, - FheMaxEvent.OutputTuple, - FheMaxEvent.OutputObject - >; - FheMax: TypedContractEvent< - FheMaxEvent.InputTuple, - FheMaxEvent.OutputTuple, - FheMaxEvent.OutputObject - >; - - "FheMin(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheMinEvent.InputTuple, - FheMinEvent.OutputTuple, - FheMinEvent.OutputObject - >; - FheMin: TypedContractEvent< - FheMinEvent.InputTuple, - FheMinEvent.OutputTuple, - FheMinEvent.OutputObject - >; - - "FheMul(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheMulEvent.InputTuple, - FheMulEvent.OutputTuple, - FheMulEvent.OutputObject - >; - FheMul: TypedContractEvent< - FheMulEvent.InputTuple, - FheMulEvent.OutputTuple, - FheMulEvent.OutputObject - >; - - "FheNe(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheNeEvent.InputTuple, - FheNeEvent.OutputTuple, - FheNeEvent.OutputObject - >; - FheNe: TypedContractEvent< - FheNeEvent.InputTuple, - FheNeEvent.OutputTuple, - FheNeEvent.OutputObject - >; - - "FheNeBytes(uint256,bytes,bytes1,uint256)": TypedContractEvent< - FheNeBytesEvent.InputTuple, - FheNeBytesEvent.OutputTuple, - FheNeBytesEvent.OutputObject - >; - FheNeBytes: TypedContractEvent< - FheNeBytesEvent.InputTuple, - FheNeBytesEvent.OutputTuple, - FheNeBytesEvent.OutputObject - >; - - "FheNeg(uint256,uint256)": TypedContractEvent< - FheNegEvent.InputTuple, - FheNegEvent.OutputTuple, - FheNegEvent.OutputObject - >; - FheNeg: TypedContractEvent< - FheNegEvent.InputTuple, - FheNegEvent.OutputTuple, - FheNegEvent.OutputObject - >; - - "FheNot(uint256,uint256)": TypedContractEvent< - FheNotEvent.InputTuple, - FheNotEvent.OutputTuple, - FheNotEvent.OutputObject - >; - FheNot: TypedContractEvent< - FheNotEvent.InputTuple, - FheNotEvent.OutputTuple, - FheNotEvent.OutputObject - >; - - "FheRand(bytes1,uint256)": TypedContractEvent< - FheRandEvent.InputTuple, - FheRandEvent.OutputTuple, - FheRandEvent.OutputObject - >; - FheRand: TypedContractEvent< - FheRandEvent.InputTuple, - FheRandEvent.OutputTuple, - FheRandEvent.OutputObject - >; - - "FheRandBounded(uint256,bytes1,uint256)": TypedContractEvent< - FheRandBoundedEvent.InputTuple, - FheRandBoundedEvent.OutputTuple, - FheRandBoundedEvent.OutputObject - >; - FheRandBounded: TypedContractEvent< - FheRandBoundedEvent.InputTuple, - FheRandBoundedEvent.OutputTuple, - FheRandBoundedEvent.OutputObject - >; - - "FheRem(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheRemEvent.InputTuple, - FheRemEvent.OutputTuple, - FheRemEvent.OutputObject - >; - FheRem: TypedContractEvent< - FheRemEvent.InputTuple, - FheRemEvent.OutputTuple, - FheRemEvent.OutputObject - >; - - "FheRotl(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheRotlEvent.InputTuple, - FheRotlEvent.OutputTuple, - FheRotlEvent.OutputObject - >; - FheRotl: TypedContractEvent< - FheRotlEvent.InputTuple, - FheRotlEvent.OutputTuple, - FheRotlEvent.OutputObject - >; - - "FheRotr(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheRotrEvent.InputTuple, - FheRotrEvent.OutputTuple, - FheRotrEvent.OutputObject - >; - FheRotr: TypedContractEvent< - FheRotrEvent.InputTuple, - FheRotrEvent.OutputTuple, - FheRotrEvent.OutputObject - >; - - "FheShl(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheShlEvent.InputTuple, - FheShlEvent.OutputTuple, - FheShlEvent.OutputObject - >; - FheShl: TypedContractEvent< - FheShlEvent.InputTuple, - FheShlEvent.OutputTuple, - FheShlEvent.OutputObject - >; - - "FheShr(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheShrEvent.InputTuple, - FheShrEvent.OutputTuple, - FheShrEvent.OutputObject - >; - FheShr: TypedContractEvent< - FheShrEvent.InputTuple, - FheShrEvent.OutputTuple, - FheShrEvent.OutputObject - >; - - "FheSub(uint256,uint256,bytes1,uint256)": TypedContractEvent< - FheSubEvent.InputTuple, - FheSubEvent.OutputTuple, - FheSubEvent.OutputObject - >; - FheSub: TypedContractEvent< - FheSubEvent.InputTuple, - FheSubEvent.OutputTuple, - FheSubEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "TrivialEncrypt(uint256,bytes1,uint256)": TypedContractEvent< - TrivialEncryptEvent.InputTuple, - TrivialEncryptEvent.OutputTuple, - TrivialEncryptEvent.OutputObject - >; - TrivialEncrypt: TypedContractEvent< - TrivialEncryptEvent.InputTuple, - TrivialEncryptEvent.OutputTuple, - TrivialEncryptEvent.OutputObject - >; - - "TrivialEncryptBytes(bytes,bytes1,uint256)": TypedContractEvent< - TrivialEncryptBytesEvent.InputTuple, - TrivialEncryptBytesEvent.OutputTuple, - TrivialEncryptBytesEvent.OutputObject - >; - TrivialEncryptBytes: TypedContractEvent< - TrivialEncryptBytesEvent.InputTuple, - TrivialEncryptBytesEvent.OutputTuple, - TrivialEncryptBytesEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - "VerifyCiphertext(bytes32,address,bytes,bytes1,uint256)": TypedContractEvent< - VerifyCiphertextEvent.InputTuple, - VerifyCiphertextEvent.OutputTuple, - VerifyCiphertextEvent.OutputObject - >; - VerifyCiphertext: TypedContractEvent< - VerifyCiphertextEvent.InputTuple, - VerifyCiphertextEvent.OutputTuple, - VerifyCiphertextEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/TFHEExecutor.events.sol/index.ts b/contracts/types/contracts/TFHEExecutor.events.sol/index.ts deleted file mode 100644 index db48c59e..00000000 --- a/contracts/types/contracts/TFHEExecutor.events.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IInputVerifier } from "./IInputVerifier"; -export type { TFHEExecutor } from "./TFHEExecutor"; diff --git a/contracts/types/contracts/TFHEExecutor.sol/IInputVerifier.ts b/contracts/types/contracts/TFHEExecutor.sol/IInputVerifier.ts deleted file mode 100644 index 7d8aa1cf..00000000 --- a/contracts/types/contracts/TFHEExecutor.sol/IInputVerifier.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export declare namespace TFHEExecutor { - export type ContextUserInputsStruct = { - aclAddress: AddressLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type ContextUserInputsStructOutput = [ - aclAddress: string, - userAddress: string, - contractAddress: string - ] & { aclAddress: string; userAddress: string; contractAddress: string }; -} - -export interface IInputVerifierInterface extends Interface { - getFunction(nameOrSignature: "verifyCiphertext"): FunctionFragment; - - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [TFHEExecutor.ContextUserInputsStruct, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export interface IInputVerifier extends BaseContract { - connect(runner?: ContractRunner | null): IInputVerifier; - waitForDeployment(): Promise; - - interface: IInputVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - verifyCiphertext: TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - context: TFHEExecutor.ContextUserInputsStruct, - inputHandle: BytesLike, - inputProof: BytesLike - ], - [bigint], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/contracts/TFHEExecutor.sol/TFHEExecutor.ts b/contracts/types/contracts/TFHEExecutor.sol/TFHEExecutor.ts deleted file mode 100644 index 33b76166..00000000 --- a/contracts/types/contracts/TFHEExecutor.sol/TFHEExecutor.ts +++ /dev/null @@ -1,1013 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHEExecutorInterface extends Interface { - getFunction( - nameOrSignature: - | "HANDLE_VERSION" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "cast" - | "fheAdd" - | "fheBitAnd" - | "fheBitOr" - | "fheBitXor" - | "fheDiv" - | "fheEq(uint256,uint256,bytes1)" - | "fheEq(uint256,bytes,bytes1)" - | "fheGe" - | "fheGt" - | "fheIfThenElse" - | "fheLe" - | "fheLt" - | "fheMax" - | "fheMin" - | "fheMul" - | "fheNe(uint256,bytes,bytes1)" - | "fheNe(uint256,uint256,bytes1)" - | "fheNeg" - | "fheNot" - | "fheRand" - | "fheRandBounded" - | "fheRem" - | "fheRotl" - | "fheRotr" - | "fheShl" - | "fheShr" - | "fheSub" - | "getACLAddress" - | "getFHEPaymentAddress" - | "getInputVerifierAddress" - | "getVersion" - | "initialize" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "trivialEncrypt(bytes,bytes1)" - | "trivialEncrypt(uint256,bytes1)" - | "upgradeToAndCall" - | "verifyCiphertext" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "HANDLE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "cast", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheAdd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitAnd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitOr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitXor", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheDiv", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheIfThenElse", - values: [BigNumberish, BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheLe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheLt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMax", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMin", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMul", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNeg", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheNot", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "fheRand", values: [BytesLike]): string; - encodeFunctionData( - functionFragment: "fheRandBounded", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRem", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheSub", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "getACLAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getFHEPaymentAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getInputVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(bytes,bytes1)", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(uint256,bytes1)", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [BytesLike, AddressLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "HANDLE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "cast", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheAdd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitAnd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitOr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitXor", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheDiv", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheGe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheGt", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheLe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheLt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMax", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMin", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMul", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheNeg", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheNot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRand", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheRem", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheSub", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getACLAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFHEPaymentAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getInputVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface TFHEExecutor extends BaseContract { - connect(runner?: ContractRunner | null): TFHEExecutor; - waitForDeployment(): Promise; - - interface: TFHEExecutorInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - HANDLE_VERSION: TypedContractMethod<[], [bigint], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - cast: TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - fheAdd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitAnd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitOr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitXor: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheDiv: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheIfThenElse: TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - - fheLe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheLt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMax: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMin: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMul: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheNeg: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheNot: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheRand: TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - - fheRandBounded: TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - - fheRem: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheSub: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - getACLAddress: TypedContractMethod<[], [string], "view">; - - getFHEPaymentAddress: TypedContractMethod<[], [string], "view">; - - getInputVerifierAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - "trivialEncrypt(bytes,bytes1)": TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - - "trivialEncrypt(uint256,bytes1)": TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyCiphertext: TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "HANDLE_VERSION" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "cast" - ): TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheAdd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitAnd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitOr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitXor" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheDiv" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheIfThenElse" - ): TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMax" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMin" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMul" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNeg" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheNot" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRand" - ): TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRandBounded" - ): TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRem" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheSub" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "getACLAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getFHEPaymentAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getInputVerifierAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "trivialEncrypt(bytes,bytes1)" - ): TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "trivialEncrypt(uint256,bytes1)" - ): TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/contracts/TFHEExecutor.sol/index.ts b/contracts/types/contracts/TFHEExecutor.sol/index.ts deleted file mode 100644 index db48c59e..00000000 --- a/contracts/types/contracts/TFHEExecutor.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IInputVerifier } from "./IInputVerifier"; -export type { TFHEExecutor } from "./TFHEExecutor"; diff --git a/contracts/types/contracts/index.ts b/contracts/types/contracts/index.ts deleted file mode 100644 index ccb1c6cf..00000000 --- a/contracts/types/contracts/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as inputVerifierCoprocessorSol from "./InputVerifier.coprocessor.sol"; -export type { inputVerifierCoprocessorSol }; -import type * as inputVerifierNativeSol from "./InputVerifier.native.sol"; -export type { inputVerifierNativeSol }; -import type * as tfheExecutorEventsSol from "./TFHEExecutor.events.sol"; -export type { tfheExecutorEventsSol }; -import type * as tfheExecutorSol from "./TFHEExecutor.sol"; -export type { tfheExecutorSol }; -export type { ACL } from "./ACL"; -export type { FHEPayment } from "./FHEPayment"; -export type { KMSVerifier } from "./KMSVerifier"; diff --git a/contracts/types/examples/ACLUpgradedExample.ts b/contracts/types/examples/ACLUpgradedExample.ts deleted file mode 100644 index 6ef2a806..00000000 --- a/contracts/types/examples/ACLUpgradedExample.ts +++ /dev/null @@ -1,652 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface ACLUpgradedExampleInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "allow" - | "allowForDecryption" - | "allowTransient" - | "allowedOnBehalf" - | "allowedTransient" - | "cleanTransientStorage" - | "delegateAccountForContract" - | "getTFHEExecutorAddress" - | "getVersion" - | "initialize" - | "isAllowed" - | "isAllowedForDecryption" - | "owner" - | "pendingOwner" - | "persistAllowed" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "AllowedForDecryption" - | "Initialized" - | "NewDelegation" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allow", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowForDecryption", - values: [BigNumberish[]] - ): string; - encodeFunctionData( - functionFragment: "allowTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedOnBehalf", - values: [AddressLike, BigNumberish, AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "cleanTransientStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "delegateAccountForContract", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getTFHEExecutorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowedForDecryption", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "persistAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allow", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedOnBehalf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "cleanTransientStorage", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "delegateAccountForContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTFHEExecutorAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isAllowed", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isAllowedForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "persistAllowed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace AllowedForDecryptionEvent { - export type InputTuple = [handlesList: BigNumberish[]]; - export type OutputTuple = [handlesList: bigint[]]; - export interface OutputObject { - handlesList: bigint[]; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace NewDelegationEvent { - export type InputTuple = [ - sender: AddressLike, - delegatee: AddressLike, - contractAddress: AddressLike - ]; - export type OutputTuple = [ - sender: string, - delegatee: string, - contractAddress: string - ]; - export interface OutputObject { - sender: string; - delegatee: string; - contractAddress: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface ACLUpgradedExample extends BaseContract { - connect(runner?: ContractRunner | null): ACLUpgradedExample; - waitForDeployment(): Promise; - - interface: ACLUpgradedExampleInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - allow: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowForDecryption: TypedContractMethod< - [handlesList: BigNumberish[]], - [void], - "nonpayable" - >; - - allowTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowedOnBehalf: TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - - allowedTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - cleanTransientStorage: TypedContractMethod<[], [void], "nonpayable">; - - delegateAccountForContract: TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - - getTFHEExecutorAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - isAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - isAllowedForDecryption: TypedContractMethod< - [handle: BigNumberish], - [boolean], - "view" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - persistAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "allow" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowForDecryption" - ): TypedContractMethod<[handlesList: BigNumberish[]], [void], "nonpayable">; - getFunction( - nameOrSignature: "allowTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowedOnBehalf" - ): TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "allowedTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "cleanTransientStorage" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "delegateAccountForContract" - ): TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "getTFHEExecutorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "isAllowedForDecryption" - ): TypedContractMethod<[handle: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "persistAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "AllowedForDecryption" - ): TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "NewDelegation" - ): TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AllowedForDecryption(uint256[])": TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - AllowedForDecryption: TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "NewDelegation(address,address,address)": TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - NewDelegation: TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/ACLUpgradedExample2.ts b/contracts/types/examples/ACLUpgradedExample2.ts deleted file mode 100644 index d26d46ef..00000000 --- a/contracts/types/examples/ACLUpgradedExample2.ts +++ /dev/null @@ -1,652 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface ACLUpgradedExample2Interface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "allow" - | "allowForDecryption" - | "allowTransient" - | "allowedOnBehalf" - | "allowedTransient" - | "cleanTransientStorage" - | "delegateAccountForContract" - | "getTFHEExecutorAddress" - | "getVersion" - | "initialize" - | "isAllowed" - | "isAllowedForDecryption" - | "owner" - | "pendingOwner" - | "persistAllowed" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "AllowedForDecryption" - | "Initialized" - | "NewDelegation" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allow", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowForDecryption", - values: [BigNumberish[]] - ): string; - encodeFunctionData( - functionFragment: "allowTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedOnBehalf", - values: [AddressLike, BigNumberish, AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowedTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "cleanTransientStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "delegateAccountForContract", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getTFHEExecutorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isAllowedForDecryption", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "persistAllowed", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allow", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedOnBehalf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowedTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "cleanTransientStorage", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "delegateAccountForContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTFHEExecutorAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isAllowed", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isAllowedForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "persistAllowed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace AllowedForDecryptionEvent { - export type InputTuple = [handlesList: BigNumberish[]]; - export type OutputTuple = [handlesList: bigint[]]; - export interface OutputObject { - handlesList: bigint[]; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace NewDelegationEvent { - export type InputTuple = [ - sender: AddressLike, - delegatee: AddressLike, - contractAddress: AddressLike - ]; - export type OutputTuple = [ - sender: string, - delegatee: string, - contractAddress: string - ]; - export interface OutputObject { - sender: string; - delegatee: string; - contractAddress: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface ACLUpgradedExample2 extends BaseContract { - connect(runner?: ContractRunner | null): ACLUpgradedExample2; - waitForDeployment(): Promise; - - interface: ACLUpgradedExample2Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - allow: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowForDecryption: TypedContractMethod< - [handlesList: BigNumberish[]], - [void], - "nonpayable" - >; - - allowTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowedOnBehalf: TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - - allowedTransient: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - cleanTransientStorage: TypedContractMethod<[], [void], "nonpayable">; - - delegateAccountForContract: TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - - getTFHEExecutorAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - isAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - isAllowedForDecryption: TypedContractMethod< - [handle: BigNumberish], - [boolean], - "view" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - persistAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "allow" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowForDecryption" - ): TypedContractMethod<[handlesList: BigNumberish[]], [void], "nonpayable">; - getFunction( - nameOrSignature: "allowTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowedOnBehalf" - ): TypedContractMethod< - [ - delegatee: AddressLike, - handle: BigNumberish, - contractAddress: AddressLike, - account: AddressLike - ], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "allowedTransient" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "cleanTransientStorage" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "delegateAccountForContract" - ): TypedContractMethod< - [delegatee: AddressLike, contractAddress: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "getTFHEExecutorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "isAllowedForDecryption" - ): TypedContractMethod<[handle: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "persistAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "AllowedForDecryption" - ): TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "NewDelegation" - ): TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AllowedForDecryption(uint256[])": TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - AllowedForDecryption: TypedContractEvent< - AllowedForDecryptionEvent.InputTuple, - AllowedForDecryptionEvent.OutputTuple, - AllowedForDecryptionEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "NewDelegation(address,address,address)": TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - NewDelegation: TypedContractEvent< - NewDelegationEvent.InputTuple, - NewDelegationEvent.OutputTuple, - NewDelegationEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/BlindAuction.ts b/contracts/types/examples/BlindAuction.ts deleted file mode 100644 index 7802c4ca..00000000 --- a/contracts/types/examples/BlindAuction.ts +++ /dev/null @@ -1,424 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface BlindAuctionInterface extends Interface { - getFunction( - nameOrSignature: - | "acceptOwnership" - | "auctionEnd" - | "beneficiary" - | "bid" - | "bidCounter" - | "claim" - | "decryptWinningTicket" - | "endTime" - | "getBid" - | "getDecryptedWinningTicket" - | "manuallyStopped" - | "owner" - | "pendingOwner" - | "renounceOwnership" - | "setDecryptedWinningTicket" - | "stop" - | "stoppable" - | "ticketUser" - | "tokenContract" - | "tokenTransferred" - | "transferOwnership" - | "withdraw" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred" - ): EventFragment; - - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "auctionEnd", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "beneficiary", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "bid", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "bidCounter", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "claim", values?: undefined): string; - encodeFunctionData( - functionFragment: "decryptWinningTicket", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "endTime", values?: undefined): string; - encodeFunctionData(functionFragment: "getBid", values: [AddressLike]): string; - encodeFunctionData( - functionFragment: "getDecryptedWinningTicket", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "manuallyStopped", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "setDecryptedWinningTicket", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "stop", values?: undefined): string; - encodeFunctionData(functionFragment: "stoppable", values?: undefined): string; - encodeFunctionData( - functionFragment: "ticketUser", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "tokenContract", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "tokenTransferred", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "withdraw", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "auctionEnd", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "beneficiary", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "bid", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bidCounter", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "decryptWinningTicket", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "endTime", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getBid", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getDecryptedWinningTicket", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "manuallyStopped", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setDecryptedWinningTicket", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "stop", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stoppable", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "ticketUser", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "tokenContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "tokenTransferred", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface BlindAuction extends BaseContract { - connect(runner?: ContractRunner | null): BlindAuction; - waitForDeployment(): Promise; - - interface: BlindAuctionInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - auctionEnd: TypedContractMethod<[], [void], "nonpayable">; - - beneficiary: TypedContractMethod<[], [string], "view">; - - bid: TypedContractMethod< - [encryptedValue: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - bidCounter: TypedContractMethod<[], [bigint], "view">; - - claim: TypedContractMethod<[], [void], "nonpayable">; - - decryptWinningTicket: TypedContractMethod<[], [void], "nonpayable">; - - endTime: TypedContractMethod<[], [bigint], "view">; - - getBid: TypedContractMethod<[account: AddressLike], [bigint], "view">; - - getDecryptedWinningTicket: TypedContractMethod<[], [bigint], "view">; - - manuallyStopped: TypedContractMethod<[], [boolean], "view">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - setDecryptedWinningTicket: TypedContractMethod< - [arg0: BigNumberish, resultDecryption: BigNumberish], - [void], - "nonpayable" - >; - - stop: TypedContractMethod<[], [void], "nonpayable">; - - stoppable: TypedContractMethod<[], [boolean], "view">; - - ticketUser: TypedContractMethod<[account: AddressLike], [bigint], "view">; - - tokenContract: TypedContractMethod<[], [string], "view">; - - tokenTransferred: TypedContractMethod<[], [boolean], "view">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - withdraw: TypedContractMethod<[], [void], "nonpayable">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "auctionEnd" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "beneficiary" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "bid" - ): TypedContractMethod< - [encryptedValue: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "bidCounter" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "claim" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "decryptWinningTicket" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "endTime" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "getBid" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "getDecryptedWinningTicket" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "manuallyStopped" - ): TypedContractMethod<[], [boolean], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "setDecryptedWinningTicket" - ): TypedContractMethod< - [arg0: BigNumberish, resultDecryption: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "stop" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "stoppable" - ): TypedContractMethod<[], [boolean], "view">; - getFunction( - nameOrSignature: "ticketUser" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "tokenContract" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "tokenTransferred" - ): TypedContractMethod<[], [boolean], "view">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "withdraw" - ): TypedContractMethod<[], [void], "nonpayable">; - - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/Counter.ts b/contracts/types/examples/Counter.ts deleted file mode 100644 index ec5b3f81..00000000 --- a/contracts/types/examples/Counter.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface CounterInterface extends Interface { - getFunction(nameOrSignature: "currentValue" | "increment"): FunctionFragment; - - encodeFunctionData( - functionFragment: "currentValue", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "increment", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "currentValue", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "increment", data: BytesLike): Result; -} - -export interface Counter extends BaseContract { - connect(runner?: ContractRunner | null): Counter; - waitForDeployment(): Promise; - - interface: CounterInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - currentValue: TypedContractMethod<[], [bigint], "view">; - - increment: TypedContractMethod<[], [void], "nonpayable">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "currentValue" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "increment" - ): TypedContractMethod<[], [void], "nonpayable">; - - filters: {}; -} diff --git a/contracts/types/examples/EncryptedERC20.ts b/contracts/types/examples/EncryptedERC20.ts deleted file mode 100644 index 0ecff6be..00000000 --- a/contracts/types/examples/EncryptedERC20.ts +++ /dev/null @@ -1,534 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface EncryptedERC20Interface extends Interface { - getFunction( - nameOrSignature: - | "acceptOwnership" - | "allowance" - | "approve(address,uint256)" - | "approve(address,bytes32,bytes)" - | "balanceOf" - | "decimals" - | "mint" - | "name" - | "owner" - | "pendingOwner" - | "renounceOwnership" - | "symbol" - | "totalSupply" - | "transfer(address,bytes32,bytes)" - | "transfer(address,uint256)" - | "transferFrom(address,address,uint256)" - | "transferFrom(address,address,bytes32,bytes)" - | "transferOwnership" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Approval" - | "Mint" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Transfer" - ): EventFragment; - - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "approve(address,uint256)", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "approve(address,bytes32,bytes)", - values: [AddressLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "decimals", values?: undefined): string; - encodeFunctionData(functionFragment: "mint", values: [BigNumberish]): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer(address,bytes32,bytes)", - values: [AddressLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "transfer(address,uint256)", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,uint256)", - values: [AddressLike, AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom(address,address,bytes32,bytes)", - values: [AddressLike, AddressLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "approve(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "approve(address,bytes32,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfer(address,bytes32,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transfer(address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferFrom(address,address,bytes32,bytes)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace ApprovalEvent { - export type InputTuple = [owner: AddressLike, spender: AddressLike]; - export type OutputTuple = [owner: string, spender: string]; - export interface OutputObject { - owner: string; - spender: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace MintEvent { - export type InputTuple = [to: AddressLike, amount: BigNumberish]; - export type OutputTuple = [to: string, amount: bigint]; - export interface OutputObject { - to: string; - amount: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace TransferEvent { - export type InputTuple = [from: AddressLike, to: AddressLike]; - export type OutputTuple = [from: string, to: string]; - export interface OutputObject { - from: string; - to: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface EncryptedERC20 extends BaseContract { - connect(runner?: ContractRunner | null): EncryptedERC20; - waitForDeployment(): Promise; - - interface: EncryptedERC20Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - allowance: TypedContractMethod< - [owner: AddressLike, spender: AddressLike], - [bigint], - "view" - >; - - "approve(address,uint256)": TypedContractMethod< - [spender: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - - "approve(address,bytes32,bytes)": TypedContractMethod< - [spender: AddressLike, encryptedAmount: BytesLike, inputProof: BytesLike], - [boolean], - "nonpayable" - >; - - balanceOf: TypedContractMethod<[wallet: AddressLike], [bigint], "view">; - - decimals: TypedContractMethod<[], [bigint], "view">; - - mint: TypedContractMethod<[mintedAmount: BigNumberish], [void], "nonpayable">; - - name: TypedContractMethod<[], [string], "view">; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - symbol: TypedContractMethod<[], [string], "view">; - - totalSupply: TypedContractMethod<[], [bigint], "view">; - - "transfer(address,bytes32,bytes)": TypedContractMethod< - [to: AddressLike, encryptedAmount: BytesLike, inputProof: BytesLike], - [boolean], - "nonpayable" - >; - - "transfer(address,uint256)": TypedContractMethod< - [to: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - - "transferFrom(address,address,uint256)": TypedContractMethod< - [from: AddressLike, to: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - - "transferFrom(address,address,bytes32,bytes)": TypedContractMethod< - [ - from: AddressLike, - to: AddressLike, - encryptedAmount: BytesLike, - inputProof: BytesLike - ], - [boolean], - "nonpayable" - >; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "allowance" - ): TypedContractMethod< - [owner: AddressLike, spender: AddressLike], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "approve(address,uint256)" - ): TypedContractMethod< - [spender: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "approve(address,bytes32,bytes)" - ): TypedContractMethod< - [spender: AddressLike, encryptedAmount: BytesLike, inputProof: BytesLike], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "balanceOf" - ): TypedContractMethod<[wallet: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "decimals" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "mint" - ): TypedContractMethod<[mintedAmount: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "name" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "symbol" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "totalSupply" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "transfer(address,bytes32,bytes)" - ): TypedContractMethod< - [to: AddressLike, encryptedAmount: BytesLike, inputProof: BytesLike], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "transfer(address,uint256)" - ): TypedContractMethod< - [to: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferFrom(address,address,uint256)" - ): TypedContractMethod< - [from: AddressLike, to: AddressLike, amount: BigNumberish], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferFrom(address,address,bytes32,bytes)" - ): TypedContractMethod< - [ - from: AddressLike, - to: AddressLike, - encryptedAmount: BytesLike, - inputProof: BytesLike - ], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "Approval" - ): TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - getEvent( - key: "Mint" - ): TypedContractEvent< - MintEvent.InputTuple, - MintEvent.OutputTuple, - MintEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Transfer" - ): TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - - filters: { - "Approval(address,address)": TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - Approval: TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - - "Mint(address,uint64)": TypedContractEvent< - MintEvent.InputTuple, - MintEvent.OutputTuple, - MintEvent.OutputObject - >; - Mint: TypedContractEvent< - MintEvent.InputTuple, - MintEvent.OutputTuple, - MintEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Transfer(address,address)": TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - Transfer: TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/FHEPaymentUpgradedExample.ts b/contracts/types/examples/FHEPaymentUpgradedExample.ts deleted file mode 100644 index 7521bce3..00000000 --- a/contracts/types/examples/FHEPaymentUpgradedExample.ts +++ /dev/null @@ -1,1182 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface FHEPaymentUpgradedExampleInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "authorizeAllContracts" - | "becomeTransientSpender" - | "depositETH" - | "didAuthorizeAllContracts" - | "didWhitelistContract" - | "getAvailableDepositsETH" - | "getClaimableUsedFHEGas" - | "getTFHEExecutorAddress" - | "getVersion" - | "initialize" - | "owner" - | "payForCast" - | "payForFheAdd" - | "payForFheBitAnd" - | "payForFheBitOr" - | "payForFheBitXor" - | "payForFheDiv" - | "payForFheEq" - | "payForFheGe" - | "payForFheGt" - | "payForFheLe" - | "payForFheLt" - | "payForFheMax" - | "payForFheMin" - | "payForFheMul" - | "payForFheNe" - | "payForFheNeg" - | "payForFheNot" - | "payForFheRand" - | "payForFheRandBounded" - | "payForFheRem" - | "payForFheRotl" - | "payForFheRotr" - | "payForFheShl" - | "payForFheShr" - | "payForFheSub" - | "payForIfThenElse" - | "payForTrivialEncrypt" - | "pendingOwner" - | "proxiableUUID" - | "recoverBurntFunds" - | "removeAuthorizationAllContracts" - | "removeWhitelistedContract" - | "renounceOwnership" - | "stopBeingTransientSpender" - | "transferOwnership" - | "upgradeToAndCall" - | "whitelistContract" - | "withdrawETH" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "authorizeAllContracts", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "becomeTransientSpender", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "depositETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "didAuthorizeAllContracts", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "didWhitelistContract", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getAvailableDepositsETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getClaimableUsedFHEGas", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getTFHEExecutorAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "payForCast", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheAdd", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitAnd", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitOr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheBitXor", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheDiv", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheEq", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheGe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheGt", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheLe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheLt", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMax", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMin", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheMul", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheNe", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheNeg", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheNot", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRand", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRandBounded", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForFheRem", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheRotl", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheRotr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheShl", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheShr", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForFheSub", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "payForIfThenElse", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "payForTrivialEncrypt", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "recoverBurntFunds", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "removeAuthorizationAllContracts", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeWhitelistedContract", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "stopBeingTransientSpender", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "whitelistContract", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "withdrawETH", - values: [BigNumberish, AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "authorizeAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "becomeTransientSpender", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "depositETH", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "didAuthorizeAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "didWhitelistContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getAvailableDepositsETH", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getClaimableUsedFHEGas", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getTFHEExecutorAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "payForCast", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "payForFheAdd", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitAnd", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitOr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheBitXor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheDiv", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheEq", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheGe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheGt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheLe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheLt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMax", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMin", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheMul", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNe", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNeg", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheNot", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRand", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRem", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRotl", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheRotr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheShl", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheShr", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForFheSub", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "payForTrivialEncrypt", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "recoverBurntFunds", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeAuthorizationAllContracts", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeWhitelistedContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "stopBeingTransientSpender", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "whitelistContract", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "withdrawETH", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface FHEPaymentUpgradedExample extends BaseContract { - connect(runner?: ContractRunner | null): FHEPaymentUpgradedExample; - waitForDeployment(): Promise; - - interface: FHEPaymentUpgradedExampleInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - authorizeAllContracts: TypedContractMethod<[], [void], "nonpayable">; - - becomeTransientSpender: TypedContractMethod<[], [void], "nonpayable">; - - depositETH: TypedContractMethod<[account: AddressLike], [void], "payable">; - - didAuthorizeAllContracts: TypedContractMethod< - [account: AddressLike], - [boolean], - "view" - >; - - didWhitelistContract: TypedContractMethod< - [user: AddressLike, dappContract: AddressLike], - [boolean], - "view" - >; - - getAvailableDepositsETH: TypedContractMethod< - [account: AddressLike], - [bigint], - "view" - >; - - getClaimableUsedFHEGas: TypedContractMethod<[], [bigint], "view">; - - getTFHEExecutorAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - payForCast: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheAdd: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitAnd: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitOr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheBitXor: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheDiv: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheEq: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheGe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheGt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheLe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheLt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMax: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMin: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheMul: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheNe: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheNeg: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheNot: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRand: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRandBounded: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForFheRem: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheRotl: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheRotr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheShl: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheShr: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForFheSub: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - - payForIfThenElse: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - payForTrivialEncrypt: TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - recoverBurntFunds: TypedContractMethod< - [receiver: AddressLike], - [void], - "nonpayable" - >; - - removeAuthorizationAllContracts: TypedContractMethod< - [], - [void], - "nonpayable" - >; - - removeWhitelistedContract: TypedContractMethod< - [dappContract: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - stopBeingTransientSpender: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - whitelistContract: TypedContractMethod< - [dappContract: AddressLike], - [void], - "nonpayable" - >; - - withdrawETH: TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "authorizeAllContracts" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "becomeTransientSpender" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "depositETH" - ): TypedContractMethod<[account: AddressLike], [void], "payable">; - getFunction( - nameOrSignature: "didAuthorizeAllContracts" - ): TypedContractMethod<[account: AddressLike], [boolean], "view">; - getFunction( - nameOrSignature: "didWhitelistContract" - ): TypedContractMethod< - [user: AddressLike, dappContract: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "getAvailableDepositsETH" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "getClaimableUsedFHEGas" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "getTFHEExecutorAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "payForCast" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheAdd" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitAnd" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitOr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheBitXor" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheDiv" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheEq" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheGe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheGt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheLe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheLt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMax" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMin" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheMul" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNe" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNeg" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheNot" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRand" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRandBounded" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRem" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRotl" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheRotr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheShl" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheShr" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForFheSub" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish, scalarByte: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForIfThenElse" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "payForTrivialEncrypt" - ): TypedContractMethod< - [payer: AddressLike, resultType: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "recoverBurntFunds" - ): TypedContractMethod<[receiver: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "removeAuthorizationAllContracts" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "removeWhitelistedContract" - ): TypedContractMethod<[dappContract: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "stopBeingTransientSpender" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "whitelistContract" - ): TypedContractMethod<[dappContract: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "withdrawETH" - ): TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/GatewayContractUpgradedExample.ts b/contracts/types/examples/GatewayContractUpgradedExample.ts deleted file mode 100644 index 0a72e35a..00000000 --- a/contracts/types/examples/GatewayContractUpgradedExample.ts +++ /dev/null @@ -1,689 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface GatewayContractUpgradedExampleInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "addRelayer" - | "fulfillRequest" - | "getCounter" - | "getKmsVerifierAddress" - | "getMAX_DELAY" - | "getVersion" - | "initialize" - | "isExpiredOrFulfilled" - | "isRelayer" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "removeOffset" - | "removeRelayer" - | "renounceOwnership" - | "requestDecryption" - | "transferOwnership" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "AddedRelayer" - | "EventDecryption" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "RemovedRelayer" - | "ResultCallback" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addRelayer", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "fulfillRequest", - values: [BigNumberish, BytesLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "getCounter", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getKmsVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getMAX_DELAY", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isExpiredOrFulfilled", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "isRelayer", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeOffset", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "removeRelayer", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestDecryption", - values: [BigNumberish[], BytesLike, BigNumberish, BigNumberish, boolean] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "addRelayer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fulfillRequest", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getCounter", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getKmsVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getMAX_DELAY", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isExpiredOrFulfilled", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isRelayer", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeOffset", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeRelayer", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace AddedRelayerEvent { - export type InputTuple = [relayer: AddressLike]; - export type OutputTuple = [relayer: string]; - export interface OutputObject { - relayer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace EventDecryptionEvent { - export type InputTuple = [ - requestID: BigNumberish, - cts: BigNumberish[], - contractCaller: AddressLike, - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ]; - export type OutputTuple = [ - requestID: bigint, - cts: bigint[], - contractCaller: string, - callbackSelector: string, - msgValue: bigint, - maxTimestamp: bigint, - passSignaturesToCaller: boolean - ]; - export interface OutputObject { - requestID: bigint; - cts: bigint[]; - contractCaller: string; - callbackSelector: string; - msgValue: bigint; - maxTimestamp: bigint; - passSignaturesToCaller: boolean; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace RemovedRelayerEvent { - export type InputTuple = [relayer: AddressLike]; - export type OutputTuple = [relayer: string]; - export interface OutputObject { - relayer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ResultCallbackEvent { - export type InputTuple = [ - requestID: BigNumberish, - success: boolean, - result: BytesLike - ]; - export type OutputTuple = [ - requestID: bigint, - success: boolean, - result: string - ]; - export interface OutputObject { - requestID: bigint; - success: boolean; - result: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface GatewayContractUpgradedExample extends BaseContract { - connect(runner?: ContractRunner | null): GatewayContractUpgradedExample; - waitForDeployment(): Promise; - - interface: GatewayContractUpgradedExampleInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - addRelayer: TypedContractMethod< - [relayerAddress: AddressLike], - [void], - "nonpayable" - >; - - fulfillRequest: TypedContractMethod< - [requestID: BigNumberish, decryptedCts: BytesLike, signatures: BytesLike[]], - [void], - "payable" - >; - - getCounter: TypedContractMethod<[], [bigint], "nonpayable">; - - getKmsVerifierAddress: TypedContractMethod<[], [string], "nonpayable">; - - getMAX_DELAY: TypedContractMethod<[], [bigint], "nonpayable">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [_gatewayOwner: AddressLike], - [void], - "nonpayable" - >; - - isExpiredOrFulfilled: TypedContractMethod< - [requestID: BigNumberish], - [boolean], - "view" - >; - - isRelayer: TypedContractMethod< - [account: AddressLike], - [boolean], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - removeOffset: TypedContractMethod<[input: BytesLike], [string], "view">; - - removeRelayer: TypedContractMethod< - [relayerAddress: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - requestDecryption: TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "addRelayer" - ): TypedContractMethod<[relayerAddress: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "fulfillRequest" - ): TypedContractMethod< - [requestID: BigNumberish, decryptedCts: BytesLike, signatures: BytesLike[]], - [void], - "payable" - >; - getFunction( - nameOrSignature: "getCounter" - ): TypedContractMethod<[], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "getKmsVerifierAddress" - ): TypedContractMethod<[], [string], "nonpayable">; - getFunction( - nameOrSignature: "getMAX_DELAY" - ): TypedContractMethod<[], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[_gatewayOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isExpiredOrFulfilled" - ): TypedContractMethod<[requestID: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "isRelayer" - ): TypedContractMethod<[account: AddressLike], [boolean], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "removeOffset" - ): TypedContractMethod<[input: BytesLike], [string], "view">; - getFunction( - nameOrSignature: "removeRelayer" - ): TypedContractMethod<[relayerAddress: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestDecryption" - ): TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "AddedRelayer" - ): TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - getEvent( - key: "EventDecryption" - ): TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "RemovedRelayer" - ): TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - getEvent( - key: "ResultCallback" - ): TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AddedRelayer(address)": TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - AddedRelayer: TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - - "EventDecryption(uint256,uint256[],address,bytes4,uint256,uint256,bool)": TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - EventDecryption: TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "RemovedRelayer(address)": TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - RemovedRelayer: TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - - "ResultCallback(uint256,bool,bytes)": TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - ResultCallback: TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample.ts b/contracts/types/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample.ts deleted file mode 100644 index 6ffd0967..00000000 --- a/contracts/types/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample.ts +++ /dev/null @@ -1,687 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export declare namespace KMSVerifier { - export type CiphertextVerificationForKMSStruct = { - aclAddress: AddressLike; - hashOfCiphertext: BytesLike; - userAddress: AddressLike; - contractAddress: AddressLike; - }; - - export type CiphertextVerificationForKMSStructOutput = [ - aclAddress: string, - hashOfCiphertext: string, - userAddress: string, - contractAddress: string - ] & { - aclAddress: string; - hashOfCiphertext: string; - userAddress: string; - contractAddress: string; - }; -} - -export interface KMSVerifierUpgradedExampleInterface extends Interface { - getFunction( - nameOrSignature: - | "CIPHERTEXTVERIFICATION_KMS_TYPE" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "addSigner" - | "eip712Domain" - | "getSigners" - | "getThreshold" - | "getVersion" - | "get_CIPHERTEXTVERIFICATION_KMS_TYPE" - | "get_DECRYPTIONRESULT_TYPE" - | "initialize" - | "isSigner" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "removeSigner" - | "renounceOwnership" - | "transferOwnership" - | "upgradeToAndCall" - | "verifyDecryptionEIP712KMSSignatures" - | "verifyInputEIP712KMSSignatures" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "EIP712DomainChanged" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "SignerAdded" - | "SignerRemoved" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "CIPHERTEXTVERIFICATION_KMS_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addSigner", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getSigners", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "get_DECRYPTIONRESULT_TYPE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isSigner", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeSigner", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - values: [AddressLike, BigNumberish[], BytesLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "verifyInputEIP712KMSSignatures", - values: [KMSVerifier.CiphertextVerificationForKMSStruct, BytesLike[]] - ): string; - - decodeFunctionResult( - functionFragment: "CIPHERTEXTVERIFICATION_KMS_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "addSigner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getSigners", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getThreshold", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "get_DECRYPTIONRESULT_TYPE", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isSigner", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeSigner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyInputEIP712KMSSignatures", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace SignerAddedEvent { - export type InputTuple = [signer: AddressLike]; - export type OutputTuple = [signer: string]; - export interface OutputObject { - signer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace SignerRemovedEvent { - export type InputTuple = [signer: AddressLike]; - export type OutputTuple = [signer: string]; - export interface OutputObject { - signer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface KMSVerifierUpgradedExample extends BaseContract { - connect(runner?: ContractRunner | null): KMSVerifierUpgradedExample; - waitForDeployment(): Promise; - - interface: KMSVerifierUpgradedExampleInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - CIPHERTEXTVERIFICATION_KMS_TYPE: TypedContractMethod<[], [string], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - addSigner: TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - - getSigners: TypedContractMethod<[], [string[]], "view">; - - getThreshold: TypedContractMethod<[], [bigint], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - get_CIPHERTEXTVERIFICATION_KMS_TYPE: TypedContractMethod< - [], - [string], - "view" - >; - - get_DECRYPTIONRESULT_TYPE: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - isSigner: TypedContractMethod< - [account: AddressLike], - [boolean], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - removeSigner: TypedContractMethod< - [signer: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyDecryptionEIP712KMSSignatures: TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - verifyInputEIP712KMSSignatures: TypedContractMethod< - [ - cv: KMSVerifier.CiphertextVerificationForKMSStruct, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "CIPHERTEXTVERIFICATION_KMS_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "addSigner" - ): TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eip712Domain" - ): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - } - ], - "view" - >; - getFunction( - nameOrSignature: "getSigners" - ): TypedContractMethod<[], [string[]], "view">; - getFunction( - nameOrSignature: "getThreshold" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "get_CIPHERTEXTVERIFICATION_KMS_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "get_DECRYPTIONRESULT_TYPE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isSigner" - ): TypedContractMethod<[account: AddressLike], [boolean], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "removeSigner" - ): TypedContractMethod<[signer: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyDecryptionEIP712KMSSignatures" - ): TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "verifyInputEIP712KMSSignatures" - ): TypedContractMethod< - [ - cv: KMSVerifier.CiphertextVerificationForKMSStruct, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "SignerAdded" - ): TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - getEvent( - key: "SignerRemoved" - ): TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "SignerAdded(address)": TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - SignerAdded: TypedContractEvent< - SignerAddedEvent.InputTuple, - SignerAddedEvent.OutputTuple, - SignerAddedEvent.OutputObject - >; - - "SignerRemoved(address)": TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - SignerRemoved: TypedContractEvent< - SignerRemovedEvent.InputTuple, - SignerRemovedEvent.OutputTuple, - SignerRemovedEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/KMSUpgradedExample.sol/index.ts b/contracts/types/examples/KMSUpgradedExample.sol/index.ts deleted file mode 100644 index deb52a8b..00000000 --- a/contracts/types/examples/KMSUpgradedExample.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { KMSVerifierUpgradedExample } from "./KMSVerifierUpgradedExample"; diff --git a/contracts/types/examples/PaymentLimit.ts b/contracts/types/examples/PaymentLimit.ts deleted file mode 100644 index c90d828e..00000000 --- a/contracts/types/examples/PaymentLimit.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface PaymentLimitInterface extends Interface { - getFunction( - nameOrSignature: - | "aboveBlockFHEGasLimit" - | "underBlockFHEGasLimit" - | "wayunderBlockFHEGasLimit" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "aboveBlockFHEGasLimit", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "underBlockFHEGasLimit", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "wayunderBlockFHEGasLimit", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "aboveBlockFHEGasLimit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "underBlockFHEGasLimit", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "wayunderBlockFHEGasLimit", - data: BytesLike - ): Result; -} - -export interface PaymentLimit extends BaseContract { - connect(runner?: ContractRunner | null): PaymentLimit; - waitForDeployment(): Promise; - - interface: PaymentLimitInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - aboveBlockFHEGasLimit: TypedContractMethod<[], [void], "nonpayable">; - - underBlockFHEGasLimit: TypedContractMethod<[], [void], "nonpayable">; - - wayunderBlockFHEGasLimit: TypedContractMethod<[], [void], "nonpayable">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "aboveBlockFHEGasLimit" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "underBlockFHEGasLimit" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "wayunderBlockFHEGasLimit" - ): TypedContractMethod<[], [void], "nonpayable">; - - filters: {}; -} diff --git a/contracts/types/examples/Rand.ts b/contracts/types/examples/Rand.ts deleted file mode 100644 index c4e86797..00000000 --- a/contracts/types/examples/Rand.ts +++ /dev/null @@ -1,469 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface RandInterface extends Interface { - getFunction( - nameOrSignature: - | "failingCall" - | "generate1024" - | "generate128" - | "generate128UpperBound" - | "generate16" - | "generate16UpperBound" - | "generate2048" - | "generate256" - | "generate256UpperBound" - | "generate32" - | "generate32UpperBound" - | "generate4" - | "generate4UpperBound" - | "generate512" - | "generate64" - | "generate64Reverting" - | "generate64UpperBound" - | "generate8" - | "generate8UpperBound" - | "generateBool" - | "value1024" - | "value128" - | "value16" - | "value2048" - | "value256" - | "value32" - | "value4" - | "value512" - | "value64" - | "value64Bounded" - | "value8" - | "valueb" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "failingCall", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate1024", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate128", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate128UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "generate16", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate16UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "generate2048", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate256", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate256UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "generate32", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate32UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "generate4", values?: undefined): string; - encodeFunctionData( - functionFragment: "generate4UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "generate512", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate64", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate64Reverting", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "generate64UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "generate8", values?: undefined): string; - encodeFunctionData( - functionFragment: "generate8UpperBound", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "generateBool", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "value1024", values?: undefined): string; - encodeFunctionData(functionFragment: "value128", values?: undefined): string; - encodeFunctionData(functionFragment: "value16", values?: undefined): string; - encodeFunctionData(functionFragment: "value2048", values?: undefined): string; - encodeFunctionData(functionFragment: "value256", values?: undefined): string; - encodeFunctionData(functionFragment: "value32", values?: undefined): string; - encodeFunctionData(functionFragment: "value4", values?: undefined): string; - encodeFunctionData(functionFragment: "value512", values?: undefined): string; - encodeFunctionData(functionFragment: "value64", values?: undefined): string; - encodeFunctionData( - functionFragment: "value64Bounded", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "value8", values?: undefined): string; - encodeFunctionData(functionFragment: "valueb", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "failingCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate1024", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate128UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "generate16", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "generate16UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate2048", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate256UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "generate32", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "generate32UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "generate4", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "generate4UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate512", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "generate64", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "generate64Reverting", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generate64UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "generate8", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "generate8UpperBound", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "generateBool", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "value1024", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value2048", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value512", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "value64", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "value64Bounded", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "value8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "valueb", data: BytesLike): Result; -} - -export interface Rand extends BaseContract { - connect(runner?: ContractRunner | null): Rand; - waitForDeployment(): Promise; - - interface: RandInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - failingCall: TypedContractMethod<[], [void], "nonpayable">; - - generate1024: TypedContractMethod<[], [void], "nonpayable">; - - generate128: TypedContractMethod<[], [void], "nonpayable">; - - generate128UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate16: TypedContractMethod<[], [void], "nonpayable">; - - generate16UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate2048: TypedContractMethod<[], [void], "nonpayable">; - - generate256: TypedContractMethod<[], [void], "nonpayable">; - - generate256UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate32: TypedContractMethod<[], [void], "nonpayable">; - - generate32UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate4: TypedContractMethod<[], [void], "nonpayable">; - - generate4UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate512: TypedContractMethod<[], [void], "nonpayable">; - - generate64: TypedContractMethod<[], [void], "nonpayable">; - - generate64Reverting: TypedContractMethod<[], [void], "nonpayable">; - - generate64UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generate8: TypedContractMethod<[], [void], "nonpayable">; - - generate8UpperBound: TypedContractMethod< - [upperBound: BigNumberish], - [void], - "nonpayable" - >; - - generateBool: TypedContractMethod<[], [void], "nonpayable">; - - value1024: TypedContractMethod<[], [bigint], "view">; - - value128: TypedContractMethod<[], [bigint], "view">; - - value16: TypedContractMethod<[], [bigint], "view">; - - value2048: TypedContractMethod<[], [bigint], "view">; - - value256: TypedContractMethod<[], [bigint], "view">; - - value32: TypedContractMethod<[], [bigint], "view">; - - value4: TypedContractMethod<[], [bigint], "view">; - - value512: TypedContractMethod<[], [bigint], "view">; - - value64: TypedContractMethod<[], [bigint], "view">; - - value64Bounded: TypedContractMethod<[], [bigint], "view">; - - value8: TypedContractMethod<[], [bigint], "view">; - - valueb: TypedContractMethod<[], [bigint], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "failingCall" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate1024" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate128" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate128UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate16" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate16UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate2048" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate256" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate256UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate32" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate32UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate4" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate4UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate512" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate64" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate64Reverting" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate64UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate8" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "generate8UpperBound" - ): TypedContractMethod<[upperBound: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "generateBool" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "value1024" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value2048" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value512" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value64Bounded" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "value8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "valueb" - ): TypedContractMethod<[], [bigint], "view">; - - filters: {}; -} diff --git a/contracts/types/examples/Reencrypt.ts b/contracts/types/examples/Reencrypt.ts deleted file mode 100644 index a6bc7bce..00000000 --- a/contracts/types/examples/Reencrypt.ts +++ /dev/null @@ -1,175 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface ReencryptInterface extends Interface { - getFunction( - nameOrSignature: - | "xAddress" - | "xBool" - | "xUint128" - | "xUint16" - | "xUint256" - | "xUint32" - | "xUint4" - | "xUint64" - | "xUint8" - | "yBytes128" - | "yBytes256" - | "yBytes64" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "xAddress", values?: undefined): string; - encodeFunctionData(functionFragment: "xBool", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint128", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint16", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint256", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint32", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint4", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint64", values?: undefined): string; - encodeFunctionData(functionFragment: "xUint8", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes128", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes256", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes64", values?: undefined): string; - - decodeFunctionResult(functionFragment: "xAddress", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xBool", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "xUint8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes64", data: BytesLike): Result; -} - -export interface Reencrypt extends BaseContract { - connect(runner?: ContractRunner | null): Reencrypt; - waitForDeployment(): Promise; - - interface: ReencryptInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - xAddress: TypedContractMethod<[], [bigint], "view">; - - xBool: TypedContractMethod<[], [bigint], "view">; - - xUint128: TypedContractMethod<[], [bigint], "view">; - - xUint16: TypedContractMethod<[], [bigint], "view">; - - xUint256: TypedContractMethod<[], [bigint], "view">; - - xUint32: TypedContractMethod<[], [bigint], "view">; - - xUint4: TypedContractMethod<[], [bigint], "view">; - - xUint64: TypedContractMethod<[], [bigint], "view">; - - xUint8: TypedContractMethod<[], [bigint], "view">; - - yBytes128: TypedContractMethod<[], [bigint], "view">; - - yBytes256: TypedContractMethod<[], [bigint], "view">; - - yBytes64: TypedContractMethod<[], [bigint], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "xAddress" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xBool" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "xUint8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yBytes128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yBytes256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yBytes64" - ): TypedContractMethod<[], [bigint], "view">; - - filters: {}; -} diff --git a/contracts/types/examples/Regression1.ts b/contracts/types/examples/Regression1.ts deleted file mode 100644 index 818f0344..00000000 --- a/contracts/types/examples/Regression1.ts +++ /dev/null @@ -1,188 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export declare namespace Regression1 { - export type ServiceStruct = { - id: BytesLike; - serviceType: string; - serviceEndpoint: string; - }; - - export type ServiceStructOutput = [ - id: string, - serviceType: string, - serviceEndpoint: string - ] & { id: string; serviceType: string; serviceEndpoint: string }; -} - -export interface Regression1Interface extends Interface { - getFunction( - nameOrSignature: - | "addServices" - | "getServices" - | "metadata" - | "removeService" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "addServices", - values: [Regression1.ServiceStruct[]] - ): string; - encodeFunctionData( - functionFragment: "getServices", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "metadata", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "removeService", - values: [BigNumberish] - ): string; - - decodeFunctionResult( - functionFragment: "addServices", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getServices", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "metadata", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "removeService", - data: BytesLike - ): Result; -} - -export interface Regression1 extends BaseContract { - connect(runner?: ContractRunner | null): Regression1; - waitForDeployment(): Promise; - - interface: Regression1Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - addServices: TypedContractMethod< - [services: Regression1.ServiceStruct[]], - [void], - "nonpayable" - >; - - getServices: TypedContractMethod< - [id: AddressLike], - [Regression1.ServiceStructOutput[]], - "view" - >; - - metadata: TypedContractMethod< - [id: AddressLike], - [ - [bigint, bigint, bigint] & { - created: bigint; - lastUpdated: bigint; - versionId: bigint; - } - ], - "view" - >; - - removeService: TypedContractMethod< - [serviceIndex: BigNumberish], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "addServices" - ): TypedContractMethod< - [services: Regression1.ServiceStruct[]], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "getServices" - ): TypedContractMethod< - [id: AddressLike], - [Regression1.ServiceStructOutput[]], - "view" - >; - getFunction( - nameOrSignature: "metadata" - ): TypedContractMethod< - [id: AddressLike], - [ - [bigint, bigint, bigint] & { - created: bigint; - lastUpdated: bigint; - versionId: bigint; - } - ], - "view" - >; - getFunction( - nameOrSignature: "removeService" - ): TypedContractMethod<[serviceIndex: BigNumberish], [void], "nonpayable">; - - filters: {}; -} diff --git a/contracts/types/examples/SmartAccount.ts b/contracts/types/examples/SmartAccount.ts deleted file mode 100644 index 18de6faa..00000000 --- a/contracts/types/examples/SmartAccount.ts +++ /dev/null @@ -1,254 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export declare namespace SmartAccount { - export type TransactionStruct = { - target: AddressLike; - value: BigNumberish; - data: BytesLike; - }; - - export type TransactionStructOutput = [ - target: string, - value: bigint, - data: string - ] & { target: string; value: bigint; data: string }; -} - -export interface SmartAccountInterface extends Interface { - getFunction( - nameOrSignature: - | "acceptOwnership" - | "executeBatch" - | "owner" - | "pendingOwner" - | "renounceOwnership" - | "transferOwnership" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred" - ): EventFragment; - - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "executeBatch", - values: [SmartAccount.TransactionStruct[]] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "executeBatch", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface SmartAccount extends BaseContract { - connect(runner?: ContractRunner | null): SmartAccount; - waitForDeployment(): Promise; - - interface: SmartAccountInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - executeBatch: TypedContractMethod< - [transactions: SmartAccount.TransactionStruct[]], - [void], - "payable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "executeBatch" - ): TypedContractMethod< - [transactions: SmartAccount.TransactionStruct[]], - [void], - "payable" - >; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - filters: { - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/TFHEExecutorUpgradedExample.ts b/contracts/types/examples/TFHEExecutorUpgradedExample.ts deleted file mode 100644 index 14319f34..00000000 --- a/contracts/types/examples/TFHEExecutorUpgradedExample.ts +++ /dev/null @@ -1,1013 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface TFHEExecutorUpgradedExampleInterface extends Interface { - getFunction( - nameOrSignature: - | "HANDLE_VERSION" - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "cast" - | "fheAdd" - | "fheBitAnd" - | "fheBitOr" - | "fheBitXor" - | "fheDiv" - | "fheEq(uint256,uint256,bytes1)" - | "fheEq(uint256,bytes,bytes1)" - | "fheGe" - | "fheGt" - | "fheIfThenElse" - | "fheLe" - | "fheLt" - | "fheMax" - | "fheMin" - | "fheMul" - | "fheNe(uint256,bytes,bytes1)" - | "fheNe(uint256,uint256,bytes1)" - | "fheNeg" - | "fheNot" - | "fheRand" - | "fheRandBounded" - | "fheRem" - | "fheRotl" - | "fheRotr" - | "fheShl" - | "fheShr" - | "fheSub" - | "getACLAddress" - | "getFHEPaymentAddress" - | "getInputVerifierAddress" - | "getVersion" - | "initialize" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "renounceOwnership" - | "transferOwnership" - | "trivialEncrypt(bytes,bytes1)" - | "trivialEncrypt(uint256,bytes1)" - | "upgradeToAndCall" - | "verifyCiphertext" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "HANDLE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "cast", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheAdd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitAnd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitOr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitXor", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheDiv", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheIfThenElse", - values: [BigNumberish, BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheLe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheLt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMax", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMin", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMul", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNeg", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheNot", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "fheRand", values: [BytesLike]): string; - encodeFunctionData( - functionFragment: "fheRandBounded", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRem", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheSub", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "getACLAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getFHEPaymentAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getInputVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(bytes,bytes1)", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(uint256,bytes1)", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [BytesLike, AddressLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "HANDLE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "cast", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheAdd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitAnd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitOr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitXor", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheDiv", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheGe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheGt", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheLe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheLt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMax", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMin", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMul", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheNeg", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheNot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRand", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheRem", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheSub", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getACLAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getFHEPaymentAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getInputVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface TFHEExecutorUpgradedExample extends BaseContract { - connect(runner?: ContractRunner | null): TFHEExecutorUpgradedExample; - waitForDeployment(): Promise; - - interface: TFHEExecutorUpgradedExampleInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - HANDLE_VERSION: TypedContractMethod<[], [bigint], "view">; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - cast: TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - fheAdd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitAnd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitOr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitXor: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheDiv: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheIfThenElse: TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - - fheLe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheLt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMax: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMin: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMul: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheNeg: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheNot: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheRand: TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - - fheRandBounded: TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - - fheRem: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheSub: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - getACLAddress: TypedContractMethod<[], [string], "view">; - - getFHEPaymentAddress: TypedContractMethod<[], [string], "view">; - - getInputVerifierAddress: TypedContractMethod<[], [string], "view">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [initialOwner: AddressLike], - [void], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - "trivialEncrypt(bytes,bytes1)": TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - - "trivialEncrypt(uint256,bytes1)": TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - verifyCiphertext: TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "HANDLE_VERSION" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "cast" - ): TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheAdd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitAnd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitOr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitXor" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheDiv" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheIfThenElse" - ): TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMax" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMin" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMul" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNeg" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheNot" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRand" - ): TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRandBounded" - ): TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRem" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheSub" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "getACLAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getFHEPaymentAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getInputVerifierAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[initialOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "trivialEncrypt(bytes,bytes1)" - ): TypedContractMethod< - [pt: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "trivialEncrypt(uint256,bytes1)" - ): TypedContractMethod< - [pt: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - inputHandle: BytesLike, - userAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/examples/TestAsyncDecrypt.ts b/contracts/types/examples/TestAsyncDecrypt.ts deleted file mode 100644 index af48feb2..00000000 --- a/contracts/types/examples/TestAsyncDecrypt.ts +++ /dev/null @@ -1,1271 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface TestAsyncDecryptInterface extends Interface { - getFunction( - nameOrSignature: - | "callbackAddress" - | "callbackAddresses" - | "callbackBool" - | "callbackBoolInfinite" - | "callbackBoolTrustless" - | "callbackBytes128" - | "callbackBytes256" - | "callbackBytes256Trustless" - | "callbackBytes64" - | "callbackMixed" - | "callbackMixedBytes256" - | "callbackMixedBytes256Trustless" - | "callbackUint128" - | "callbackUint16" - | "callbackUint256" - | "callbackUint32" - | "callbackUint4" - | "callbackUint64" - | "callbackUint8" - | "latestRequestID" - | "requestAddress" - | "requestBool" - | "requestBoolAboveDelay" - | "requestBoolInfinite" - | "requestBoolTrustless" - | "requestEbytes128NonTrivial" - | "requestEbytes128Trivial" - | "requestEbytes256NonTrivial" - | "requestEbytes256NonTrivialTrustless" - | "requestEbytes256Trivial" - | "requestEbytes64NonTrivial" - | "requestEbytes64Trivial" - | "requestFakeAddress" - | "requestFakeBool" - | "requestFakeUint16" - | "requestFakeUint32" - | "requestFakeUint4" - | "requestFakeUint64" - | "requestFakeUint8" - | "requestMixed" - | "requestMixedBytes256" - | "requestMixedBytes256Trustless" - | "requestSeveralAddresses" - | "requestUint128" - | "requestUint128NonTrivial" - | "requestUint16" - | "requestUint256" - | "requestUint256NonTrivial" - | "requestUint32" - | "requestUint4" - | "requestUint64" - | "requestUint64NonTrivial" - | "requestUint8" - | "yAddress" - | "yAddress2" - | "yBool" - | "yBytes128" - | "yBytes256" - | "yBytes64" - | "yUint128" - | "yUint16" - | "yUint256" - | "yUint32" - | "yUint4" - | "yUint64" - | "yUint64_2" - | "yUint64_3" - | "yUint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "callbackAddress", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "callbackAddresses", - values: [BigNumberish, AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "callbackBool", - values: [BigNumberish, boolean] - ): string; - encodeFunctionData( - functionFragment: "callbackBoolInfinite", - values: [BigNumberish, boolean] - ): string; - encodeFunctionData( - functionFragment: "callbackBoolTrustless", - values: [BigNumberish, boolean, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "callbackBytes128", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "callbackBytes256", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "callbackBytes256Trustless", - values: [BigNumberish, BytesLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "callbackBytes64", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "callbackMixed", - values: [ - BigNumberish, - boolean, - boolean, - BigNumberish, - BigNumberish, - BigNumberish, - BigNumberish, - BigNumberish, - BigNumberish, - BigNumberish, - AddressLike - ] - ): string; - encodeFunctionData( - functionFragment: "callbackMixedBytes256", - values: [BigNumberish, boolean, AddressLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "callbackMixedBytes256Trustless", - values: [BigNumberish, boolean, BytesLike, AddressLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "callbackUint128", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint16", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint256", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint32", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint4", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint64", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "callbackUint8", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "latestRequestID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestBool", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestBoolAboveDelay", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestBoolInfinite", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestBoolTrustless", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestEbytes128NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes128Trivial", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes256NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes256NonTrivialTrustless", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes256Trivial", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes64NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestEbytes64Trivial", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestFakeAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeBool", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeUint16", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeUint32", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeUint4", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeUint64", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestFakeUint8", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestMixed", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "requestMixedBytes256", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestMixedBytes256Trustless", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestSeveralAddresses", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint128", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint128NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestUint16", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint256", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint256NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestUint32", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "requestUint4", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint64", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestUint64NonTrivial", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "requestUint8", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "yAddress", values?: undefined): string; - encodeFunctionData(functionFragment: "yAddress2", values?: undefined): string; - encodeFunctionData(functionFragment: "yBool", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes128", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes256", values?: undefined): string; - encodeFunctionData(functionFragment: "yBytes64", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint128", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint16", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint256", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint32", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint4", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint64", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint64_2", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint64_3", values?: undefined): string; - encodeFunctionData(functionFragment: "yUint8", values?: undefined): string; - - decodeFunctionResult( - functionFragment: "callbackAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackAddresses", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBool", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBoolInfinite", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBoolTrustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBytes128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBytes256Trustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackBytes64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackMixed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackMixedBytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackMixedBytes256Trustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "callbackUint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "latestRequestID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestBool", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestBoolAboveDelay", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestBoolInfinite", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestBoolTrustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes128NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes128Trivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes256NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes256NonTrivialTrustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes256Trivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes64NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestEbytes64Trivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeBool", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeUint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeUint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeUint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeUint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestFakeUint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestMixed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestMixedBytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestMixedBytes256Trustless", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestSeveralAddresses", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint128NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint256NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint64NonTrivial", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestUint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "yAddress", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yAddress2", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBool", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yBytes64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint64_2", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint64_3", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "yUint8", data: BytesLike): Result; -} - -export interface TestAsyncDecrypt extends BaseContract { - connect(runner?: ContractRunner | null): TestAsyncDecrypt; - waitForDeployment(): Promise; - - interface: TestAsyncDecryptInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - callbackAddress: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: AddressLike], - [string], - "nonpayable" - >; - - callbackAddresses: TypedContractMethod< - [ - arg0: BigNumberish, - decryptedInput1: AddressLike, - decryptedInput2: AddressLike - ], - [string], - "nonpayable" - >; - - callbackBool: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: boolean], - [boolean], - "nonpayable" - >; - - callbackBoolInfinite: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: boolean], - [boolean], - "nonpayable" - >; - - callbackBoolTrustless: TypedContractMethod< - [requestID: BigNumberish, decryptedInput: boolean, signatures: BytesLike[]], - [boolean], - "nonpayable" - >; - - callbackBytes128: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - - callbackBytes256: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - - callbackBytes256Trustless: TypedContractMethod< - [ - requestID: BigNumberish, - decryptedInput: BytesLike, - signatures: BytesLike[] - ], - [string], - "nonpayable" - >; - - callbackBytes64: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - - callbackMixed: TypedContractMethod< - [ - requestID: BigNumberish, - decBool_1: boolean, - decBool_2: boolean, - decUint4: BigNumberish, - decUint8: BigNumberish, - decUint16: BigNumberish, - decUint32: BigNumberish, - decUint64_1: BigNumberish, - decUint64_2: BigNumberish, - decUint64_3: BigNumberish, - decAddress: AddressLike - ], - [bigint], - "nonpayable" - >; - - callbackMixedBytes256: TypedContractMethod< - [ - arg0: BigNumberish, - decBool: boolean, - decAddress: AddressLike, - bytesRes: BytesLike, - bytesRes2: BytesLike - ], - [void], - "nonpayable" - >; - - callbackMixedBytes256Trustless: TypedContractMethod< - [ - requestID: BigNumberish, - decBool: boolean, - bytesRes: BytesLike, - decAddress: AddressLike, - signatures: BytesLike[] - ], - [void], - "nonpayable" - >; - - callbackUint128: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint16: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint256: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint32: TypedContractMethod< - [requestID: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint4: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint64: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - callbackUint8: TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - - latestRequestID: TypedContractMethod<[], [bigint], "view">; - - requestAddress: TypedContractMethod<[], [void], "nonpayable">; - - requestBool: TypedContractMethod<[], [void], "nonpayable">; - - requestBoolAboveDelay: TypedContractMethod<[], [void], "nonpayable">; - - requestBoolInfinite: TypedContractMethod<[], [void], "nonpayable">; - - requestBoolTrustless: TypedContractMethod<[], [void], "nonpayable">; - - requestEbytes128NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes128Trivial: TypedContractMethod< - [value: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes256NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes256NonTrivialTrustless: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes256Trivial: TypedContractMethod< - [value: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes64NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestEbytes64Trivial: TypedContractMethod< - [value: BytesLike], - [void], - "nonpayable" - >; - - requestFakeAddress: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeBool: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeUint16: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeUint32: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeUint4: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeUint64: TypedContractMethod<[], [void], "nonpayable">; - - requestFakeUint8: TypedContractMethod<[], [void], "nonpayable">; - - requestMixed: TypedContractMethod< - [input1: BigNumberish, input2: BigNumberish], - [void], - "nonpayable" - >; - - requestMixedBytes256: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestMixedBytes256Trustless: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestSeveralAddresses: TypedContractMethod<[], [void], "nonpayable">; - - requestUint128: TypedContractMethod<[], [void], "nonpayable">; - - requestUint128NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestUint16: TypedContractMethod<[], [void], "nonpayable">; - - requestUint256: TypedContractMethod<[], [void], "nonpayable">; - - requestUint256NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestUint32: TypedContractMethod< - [input1: BigNumberish, input2: BigNumberish], - [void], - "nonpayable" - >; - - requestUint4: TypedContractMethod<[], [void], "nonpayable">; - - requestUint64: TypedContractMethod<[], [void], "nonpayable">; - - requestUint64NonTrivial: TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - requestUint8: TypedContractMethod<[], [void], "nonpayable">; - - yAddress: TypedContractMethod<[], [string], "view">; - - yAddress2: TypedContractMethod<[], [string], "view">; - - yBool: TypedContractMethod<[], [boolean], "view">; - - yBytes128: TypedContractMethod<[], [string], "view">; - - yBytes256: TypedContractMethod<[], [string], "view">; - - yBytes64: TypedContractMethod<[], [string], "view">; - - yUint128: TypedContractMethod<[], [bigint], "view">; - - yUint16: TypedContractMethod<[], [bigint], "view">; - - yUint256: TypedContractMethod<[], [bigint], "view">; - - yUint32: TypedContractMethod<[], [bigint], "view">; - - yUint4: TypedContractMethod<[], [bigint], "view">; - - yUint64: TypedContractMethod<[], [bigint], "view">; - - yUint64_2: TypedContractMethod<[], [bigint], "view">; - - yUint64_3: TypedContractMethod<[], [bigint], "view">; - - yUint8: TypedContractMethod<[], [bigint], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "callbackAddress" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: AddressLike], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackAddresses" - ): TypedContractMethod< - [ - arg0: BigNumberish, - decryptedInput1: AddressLike, - decryptedInput2: AddressLike - ], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBool" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: boolean], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBoolInfinite" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: boolean], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBoolTrustless" - ): TypedContractMethod< - [requestID: BigNumberish, decryptedInput: boolean, signatures: BytesLike[]], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBytes128" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBytes256" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBytes256Trustless" - ): TypedContractMethod< - [ - requestID: BigNumberish, - decryptedInput: BytesLike, - signatures: BytesLike[] - ], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackBytes64" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BytesLike], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackMixed" - ): TypedContractMethod< - [ - requestID: BigNumberish, - decBool_1: boolean, - decBool_2: boolean, - decUint4: BigNumberish, - decUint8: BigNumberish, - decUint16: BigNumberish, - decUint32: BigNumberish, - decUint64_1: BigNumberish, - decUint64_2: BigNumberish, - decUint64_3: BigNumberish, - decAddress: AddressLike - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackMixedBytes256" - ): TypedContractMethod< - [ - arg0: BigNumberish, - decBool: boolean, - decAddress: AddressLike, - bytesRes: BytesLike, - bytesRes2: BytesLike - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackMixedBytes256Trustless" - ): TypedContractMethod< - [ - requestID: BigNumberish, - decBool: boolean, - bytesRes: BytesLike, - decAddress: AddressLike, - signatures: BytesLike[] - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint128" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint16" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint256" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint32" - ): TypedContractMethod< - [requestID: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint4" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint64" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "callbackUint8" - ): TypedContractMethod< - [arg0: BigNumberish, decryptedInput: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "latestRequestID" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "requestAddress" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestBool" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestBoolAboveDelay" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestBoolInfinite" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestBoolTrustless" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestEbytes128NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestEbytes128Trivial" - ): TypedContractMethod<[value: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestEbytes256NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestEbytes256NonTrivialTrustless" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestEbytes256Trivial" - ): TypedContractMethod<[value: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestEbytes64NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestEbytes64Trivial" - ): TypedContractMethod<[value: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeAddress" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeBool" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeUint16" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeUint32" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeUint4" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeUint64" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestFakeUint8" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestMixed" - ): TypedContractMethod< - [input1: BigNumberish, input2: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestMixedBytes256" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestMixedBytes256Trustless" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestSeveralAddresses" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint128" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint128NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestUint16" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint256" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint256NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestUint32" - ): TypedContractMethod< - [input1: BigNumberish, input2: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestUint4" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint64" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestUint64NonTrivial" - ): TypedContractMethod< - [inputHandle: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "requestUint8" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "yAddress" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "yAddress2" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "yBool" - ): TypedContractMethod<[], [boolean], "view">; - getFunction( - nameOrSignature: "yBytes128" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "yBytes256" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "yBytes64" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "yUint128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint64_2" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint64_3" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "yUint8" - ): TypedContractMethod<[], [bigint], "view">; - - filters: {}; -} diff --git a/contracts/types/examples/TracingSubCalls.sol/SubContract.ts b/contracts/types/examples/TracingSubCalls.sol/SubContract.ts deleted file mode 100644 index d3dd66ff..00000000 --- a/contracts/types/examples/TracingSubCalls.sol/SubContract.ts +++ /dev/null @@ -1,190 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface SubContractInterface extends Interface { - getFunction( - nameOrSignature: - | "fail" - | "fail2" - | "failSucceed" - | "invalidFail" - | "oogFail" - | "succeed" - | "succeed2" - | "succeedFail" - | "succeedSelfDestruct" - | "succeedStop" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "fail", values?: undefined): string; - encodeFunctionData(functionFragment: "fail2", values: [BigNumberish]): string; - encodeFunctionData( - functionFragment: "failSucceed", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "invalidFail", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "oogFail", values?: undefined): string; - encodeFunctionData(functionFragment: "succeed", values?: undefined): string; - encodeFunctionData(functionFragment: "succeed2", values?: undefined): string; - encodeFunctionData( - functionFragment: "succeedFail", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "succeedSelfDestruct", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "succeedStop", - values?: undefined - ): string; - - decodeFunctionResult(functionFragment: "fail", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fail2", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "failSucceed", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "invalidFail", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "oogFail", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "succeed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "succeed2", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "succeedFail", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "succeedSelfDestruct", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "succeedStop", - data: BytesLike - ): Result; -} - -export interface SubContract extends BaseContract { - connect(runner?: ContractRunner | null): SubContract; - waitForDeployment(): Promise; - - interface: SubContractInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - fail: TypedContractMethod<[], [void], "nonpayable">; - - fail2: TypedContractMethod<[input: BigNumberish], [void], "nonpayable">; - - failSucceed: TypedContractMethod<[], [void], "nonpayable">; - - invalidFail: TypedContractMethod<[], [void], "nonpayable">; - - oogFail: TypedContractMethod<[], [void], "nonpayable">; - - succeed: TypedContractMethod<[], [void], "nonpayable">; - - succeed2: TypedContractMethod<[], [void], "nonpayable">; - - succeedFail: TypedContractMethod<[], [void], "nonpayable">; - - succeedSelfDestruct: TypedContractMethod<[], [void], "nonpayable">; - - succeedStop: TypedContractMethod<[], [void], "nonpayable">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "fail" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "fail2" - ): TypedContractMethod<[input: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "failSucceed" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "invalidFail" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "oogFail" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "succeed" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "succeed2" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "succeedFail" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "succeedSelfDestruct" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "succeedStop" - ): TypedContractMethod<[], [void], "nonpayable">; - - filters: {}; -} diff --git a/contracts/types/examples/TracingSubCalls.sol/SubContractCreate.ts b/contracts/types/examples/TracingSubCalls.sol/SubContractCreate.ts deleted file mode 100644 index 5a9cc7b2..00000000 --- a/contracts/types/examples/TracingSubCalls.sol/SubContractCreate.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../common"; - -export interface SubContractCreateInterface extends Interface {} - -export interface SubContractCreate extends BaseContract { - connect(runner?: ContractRunner | null): SubContractCreate; - waitForDeployment(): Promise; - - interface: SubContractCreateInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/examples/TracingSubCalls.sol/SubContractCreateFail.ts b/contracts/types/examples/TracingSubCalls.sol/SubContractCreateFail.ts deleted file mode 100644 index aea6d7f0..00000000 --- a/contracts/types/examples/TracingSubCalls.sol/SubContractCreateFail.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - FunctionFragment, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, -} from "../../common"; - -export interface SubContractCreateFailInterface extends Interface {} - -export interface SubContractCreateFail extends BaseContract { - connect(runner?: ContractRunner | null): SubContractCreateFail; - waitForDeployment(): Promise; - - interface: SubContractCreateFailInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - getFunction( - key: string | FunctionFragment - ): T; - - filters: {}; -} diff --git a/contracts/types/examples/TracingSubCalls.sol/TracingSubCalls.ts b/contracts/types/examples/TracingSubCalls.sol/TracingSubCalls.ts deleted file mode 100644 index 4e402761..00000000 --- a/contracts/types/examples/TracingSubCalls.sol/TracingSubCalls.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TracingSubCallsInterface extends Interface { - getFunction(nameOrSignature: "subCalls"): FunctionFragment; - - encodeFunctionData(functionFragment: "subCalls", values?: undefined): string; - - decodeFunctionResult(functionFragment: "subCalls", data: BytesLike): Result; -} - -export interface TracingSubCalls extends BaseContract { - connect(runner?: ContractRunner | null): TracingSubCalls; - waitForDeployment(): Promise; - - interface: TracingSubCallsInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - subCalls: TypedContractMethod<[], [void], "nonpayable">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "subCalls" - ): TypedContractMethod<[], [void], "nonpayable">; - - filters: {}; -} diff --git a/contracts/types/examples/TracingSubCalls.sol/index.ts b/contracts/types/examples/TracingSubCalls.sol/index.ts deleted file mode 100644 index 2a1d0ec7..00000000 --- a/contracts/types/examples/TracingSubCalls.sol/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { SubContract } from "./SubContract"; -export type { SubContractCreate } from "./SubContractCreate"; -export type { SubContractCreateFail } from "./SubContractCreateFail"; -export type { TracingSubCalls } from "./TracingSubCalls"; diff --git a/contracts/types/examples/index.ts b/contracts/types/examples/index.ts deleted file mode 100644 index 3dd53bcd..00000000 --- a/contracts/types/examples/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as kmsUpgradedExampleSol from "./KMSUpgradedExample.sol"; -export type { kmsUpgradedExampleSol }; -import type * as tracingSubCallsSol from "./TracingSubCalls.sol"; -export type { tracingSubCallsSol }; -import type * as tests from "./tests"; -export type { tests }; -export type { ACLUpgradedExample } from "./ACLUpgradedExample"; -export type { ACLUpgradedExample2 } from "./ACLUpgradedExample2"; -export type { BlindAuction } from "./BlindAuction"; -export type { Counter } from "./Counter"; -export type { EncryptedERC20 } from "./EncryptedERC20"; -export type { FHEPaymentUpgradedExample } from "./FHEPaymentUpgradedExample"; -export type { GatewayContractUpgradedExample } from "./GatewayContractUpgradedExample"; -export type { PaymentLimit } from "./PaymentLimit"; -export type { Rand } from "./Rand"; -export type { Reencrypt } from "./Reencrypt"; -export type { Regression1 } from "./Regression1"; -export type { SmartAccount } from "./SmartAccount"; -export type { TFHEExecutorUpgradedExample } from "./TFHEExecutorUpgradedExample"; -export type { TestAsyncDecrypt } from "./TestAsyncDecrypt"; diff --git a/contracts/types/examples/tests/TFHEManualTestSuite.ts b/contracts/types/examples/tests/TFHEManualTestSuite.ts deleted file mode 100644 index 20bf72fa..00000000 --- a/contracts/types/examples/tests/TFHEManualTestSuite.ts +++ /dev/null @@ -1,1239 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHEManualTestSuiteInterface extends Interface { - getFunction( - nameOrSignature: - | "eqEbool" - | "eqEboolScalarL" - | "eqEboolScalarR" - | "eqEbytes128" - | "eqEbytes128ScalarL" - | "eqEbytes128ScalarR" - | "eqEbytes256" - | "eqEbytes256ScalarL" - | "eqEbytes256ScalarR" - | "eqEbytes64" - | "eqEbytes64ScalarL" - | "eqEbytes64ScalarR" - | "neEbool" - | "neEboolScalarL" - | "neEboolScalarR" - | "neEbytes128" - | "neEbytes128ScalarL" - | "neEbytes128ScalarR" - | "neEbytes256" - | "neEbytes256ScalarL" - | "neEbytes256ScalarR" - | "neEbytes64" - | "neEbytes64ScalarL" - | "neEbytes64ScalarR" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resAdd" - | "resB128" - | "resB256" - | "resB64" - | "resb" - | "test_ebool_and" - | "test_ebool_and_scalarL" - | "test_ebool_and_scalarR" - | "test_ebool_not" - | "test_ebool_or" - | "test_ebool_or_scalarL" - | "test_ebool_or_scalarR" - | "test_ebool_to_euint128_cast" - | "test_ebool_to_euint16_cast" - | "test_ebool_to_euint256_cast" - | "test_ebool_to_euint32_cast" - | "test_ebool_to_euint4_cast" - | "test_ebool_to_euint64_cast" - | "test_ebool_to_euint8_cast" - | "test_ebool_xor" - | "test_ebool_xor_scalarL" - | "test_ebool_xor_scalarR" - | "test_eq_address_eaddress" - | "test_eq_eaddress_address" - | "test_eq_eaddress_eaddress" - | "test_euint128_to_euint8_cast" - | "test_euint4_to_euint256_cast" - | "test_ne_address_eaddress" - | "test_ne_eaddress_address" - | "test_ne_eaddress_eaddress" - | "test_select" - | "test_select_eaddress" - | "test_select_ebool" - | "test_select_ebytes128" - | "test_select_ebytes256" - | "test_select_ebytes64" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "eqEbool", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "eqEboolScalarL", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "eqEboolScalarR", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes128", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes128ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes128ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes256", - values: [BytesLike, BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes256ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes256ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes64", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes64ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eqEbytes64ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbool", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "neEboolScalarL", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "neEboolScalarR", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "neEbytes128", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes128ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes128ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes256", - values: [BytesLike, BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes256ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes256ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes64", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes64ScalarL", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neEbytes64ScalarR", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resAdd", values?: undefined): string; - encodeFunctionData(functionFragment: "resB128", values?: undefined): string; - encodeFunctionData(functionFragment: "resB256", values?: undefined): string; - encodeFunctionData(functionFragment: "resB64", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "test_ebool_and", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_and_scalarL", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_and_scalarR", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_not", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_or", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_or_scalarL", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_or_scalarR", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint128_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint16_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint256_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint32_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint4_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint64_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_to_euint8_cast", - values: [boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_xor", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_xor_scalarL", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_ebool_xor_scalarR", - values: [boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_eq_address_eaddress", - values: [BytesLike, AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_eq_eaddress_address", - values: [BytesLike, AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_eq_eaddress_eaddress", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_euint128_to_euint8_cast", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "test_euint4_to_euint256_cast", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "test_ne_address_eaddress", - values: [BytesLike, AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_ne_eaddress_address", - values: [BytesLike, AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_ne_eaddress_eaddress", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_select", - values: [BytesLike, BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_select_eaddress", - values: [BytesLike, BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_select_ebool", - values: [boolean, boolean, boolean] - ): string; - encodeFunctionData( - functionFragment: "test_select_ebytes128", - values: [boolean, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_select_ebytes256", - values: [boolean, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "test_select_ebytes64", - values: [boolean, BytesLike, BytesLike] - ): string; - - decodeFunctionResult(functionFragment: "eqEbool", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eqEboolScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEboolScalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes128ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes128ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes256ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes256ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "eqEbytes64", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eqEbytes64ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eqEbytes64ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "neEbool", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "neEboolScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEboolScalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes128ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes128ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes256ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes256ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "neEbytes64", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "neEbytes64ScalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neEbytes64ScalarR", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resAdd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resB128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resB256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resB64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "test_ebool_and", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_and_scalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_and_scalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_not", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_or", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_or_scalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_or_scalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint128_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint16_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint256_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint32_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint4_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint64_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_to_euint8_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_xor", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_xor_scalarL", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ebool_xor_scalarR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_eq_address_eaddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_eq_eaddress_address", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_eq_eaddress_eaddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_euint128_to_euint8_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_euint4_to_euint256_cast", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ne_address_eaddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ne_eaddress_address", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_ne_eaddress_eaddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select_eaddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select_ebool", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select_ebytes128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select_ebytes256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "test_select_ebytes64", - data: BytesLike - ): Result; -} - -export interface TFHEManualTestSuite extends BaseContract { - connect(runner?: ContractRunner | null): TFHEManualTestSuite; - waitForDeployment(): Promise; - - interface: TFHEManualTestSuiteInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - eqEbool: TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - - eqEboolScalarL: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - eqEboolScalarR: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - eqEbytes128: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes128ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes128ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes256: TypedContractMethod< - [ - inp1: BytesLike, - inputProof1: BytesLike, - inp2: BytesLike, - inputProof2: BytesLike - ], - [void], - "nonpayable" - >; - - eqEbytes256ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes256ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes64: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes64ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - eqEbytes64ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbool: TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - - neEboolScalarL: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - neEboolScalarR: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - neEbytes128: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes128ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes128ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes256: TypedContractMethod< - [ - inp1: BytesLike, - inputProof1: BytesLike, - inp2: BytesLike, - inputProof2: BytesLike - ], - [void], - "nonpayable" - >; - - neEbytes256ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes256ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes64: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes64ScalarL: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - neEbytes64ScalarR: TypedContractMethod< - [a: BytesLike, b: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resAdd: TypedContractMethod<[], [bigint], "view">; - - resB128: TypedContractMethod<[], [bigint], "view">; - - resB256: TypedContractMethod<[], [bigint], "view">; - - resB64: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - test_ebool_and: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_and_scalarL: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_and_scalarR: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_not: TypedContractMethod<[input: boolean], [void], "nonpayable">; - - test_ebool_or: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_or_scalarL: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_or_scalarR: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint128_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint16_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint256_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint32_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint4_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint64_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_to_euint8_cast: TypedContractMethod< - [input: boolean], - [void], - "nonpayable" - >; - - test_ebool_xor: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_xor_scalarL: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_ebool_xor_scalarR: TypedContractMethod< - [a: boolean, b: boolean], - [void], - "nonpayable" - >; - - test_eq_address_eaddress: TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_eq_eaddress_address: TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_eq_eaddress_eaddress: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_euint128_to_euint8_cast: TypedContractMethod< - [input: BigNumberish], - [void], - "nonpayable" - >; - - test_euint4_to_euint256_cast: TypedContractMethod< - [input: BigNumberish], - [void], - "nonpayable" - >; - - test_ne_address_eaddress: TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_ne_eaddress_address: TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_ne_eaddress_eaddress: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - test_select: TypedContractMethod< - [ - control: BytesLike, - ifTrue: BytesLike, - ifFalse: BytesLike, - inputProof: BytesLike - ], - [void], - "nonpayable" - >; - - test_select_eaddress: TypedContractMethod< - [ - control: BytesLike, - ifTrue: BytesLike, - ifFalse: BytesLike, - inputProof: BytesLike - ], - [void], - "nonpayable" - >; - - test_select_ebool: TypedContractMethod< - [control: boolean, ifTrue: boolean, ifFalse: boolean], - [void], - "nonpayable" - >; - - test_select_ebytes128: TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - - test_select_ebytes256: TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - - test_select_ebytes64: TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "eqEbool" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEboolScalarL" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEboolScalarR" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes128" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes128ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes128ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes256" - ): TypedContractMethod< - [ - inp1: BytesLike, - inputProof1: BytesLike, - inp2: BytesLike, - inputProof2: BytesLike - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eqEbytes256ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes256ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes64" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes64ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "eqEbytes64ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbool" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEboolScalarL" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEboolScalarR" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes128" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes128ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes128ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes256" - ): TypedContractMethod< - [ - inp1: BytesLike, - inputProof1: BytesLike, - inp2: BytesLike, - inputProof2: BytesLike - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neEbytes256ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes256ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes64" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes64ScalarL" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "neEbytes64ScalarR" - ): TypedContractMethod<[a: BytesLike, b: BytesLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resAdd" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resB128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resB256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resB64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "test_ebool_and" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_and_scalarL" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_and_scalarR" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_not" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_or" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_or_scalarL" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_or_scalarR" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint128_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint16_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint256_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint32_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint4_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint64_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_to_euint8_cast" - ): TypedContractMethod<[input: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_xor" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_xor_scalarL" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ebool_xor_scalarR" - ): TypedContractMethod<[a: boolean, b: boolean], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_eq_address_eaddress" - ): TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_eq_eaddress_address" - ): TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_eq_eaddress_eaddress" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_euint128_to_euint8_cast" - ): TypedContractMethod<[input: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_euint4_to_euint256_cast" - ): TypedContractMethod<[input: BigNumberish], [void], "nonpayable">; - getFunction( - nameOrSignature: "test_ne_address_eaddress" - ): TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_ne_eaddress_address" - ): TypedContractMethod< - [a: BytesLike, b: AddressLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_ne_eaddress_eaddress" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select" - ): TypedContractMethod< - [ - control: BytesLike, - ifTrue: BytesLike, - ifFalse: BytesLike, - inputProof: BytesLike - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select_eaddress" - ): TypedContractMethod< - [ - control: BytesLike, - ifTrue: BytesLike, - ifFalse: BytesLike, - inputProof: BytesLike - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select_ebool" - ): TypedContractMethod< - [control: boolean, ifTrue: boolean, ifFalse: boolean], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select_ebytes128" - ): TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select_ebytes256" - ): TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "test_select_ebytes64" - ): TypedContractMethod< - [control: boolean, ifTrue: BytesLike, ifFalse: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite1.ts b/contracts/types/examples/tests/TFHETestSuite1.ts deleted file mode 100644 index a757086c..00000000 --- a/contracts/types/examples/tests/TFHETestSuite1.ts +++ /dev/null @@ -1,2123 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite1Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint4_euint128" - | "add_euint4_euint16" - | "add_euint4_euint256" - | "add_euint4_euint32" - | "add_euint4_euint4" - | "add_euint4_euint64" - | "add_euint4_euint8" - | "and_euint4_euint128" - | "and_euint4_euint16" - | "and_euint4_euint256" - | "and_euint4_euint32" - | "and_euint4_euint4" - | "and_euint4_euint64" - | "and_euint4_euint8" - | "eq_euint4_euint128" - | "eq_euint4_euint16" - | "eq_euint4_euint32" - | "eq_euint4_euint4" - | "eq_euint4_euint64" - | "eq_euint4_euint8" - | "ge_euint4_euint128" - | "ge_euint4_euint16" - | "ge_euint4_euint32" - | "ge_euint4_euint4" - | "ge_euint4_euint64" - | "ge_euint4_euint8" - | "gt_euint4_euint128" - | "gt_euint4_euint16" - | "gt_euint4_euint32" - | "gt_euint4_euint4" - | "gt_euint4_euint64" - | "gt_euint4_euint8" - | "le_euint4_euint128" - | "le_euint4_euint16" - | "le_euint4_euint32" - | "le_euint4_euint4" - | "le_euint4_euint64" - | "le_euint4_euint8" - | "lt_euint4_euint128" - | "lt_euint4_euint16" - | "lt_euint4_euint32" - | "lt_euint4_euint4" - | "lt_euint4_euint64" - | "lt_euint4_euint8" - | "max_euint4_euint128" - | "max_euint4_euint16" - | "max_euint4_euint32" - | "max_euint4_euint4" - | "max_euint4_euint64" - | "max_euint4_euint8" - | "min_euint4_euint128" - | "min_euint4_euint16" - | "min_euint4_euint32" - | "min_euint4_euint4" - | "min_euint4_euint64" - | "min_euint4_euint8" - | "mul_euint4_euint128" - | "mul_euint4_euint16" - | "mul_euint4_euint256" - | "mul_euint4_euint32" - | "mul_euint4_euint4" - | "mul_euint4_euint64" - | "mul_euint4_euint8" - | "ne_euint4_euint128" - | "ne_euint4_euint16" - | "ne_euint4_euint32" - | "ne_euint4_euint4" - | "ne_euint4_euint64" - | "ne_euint4_euint8" - | "or_euint4_euint128" - | "or_euint4_euint16" - | "or_euint4_euint256" - | "or_euint4_euint32" - | "or_euint4_euint4" - | "or_euint4_euint64" - | "or_euint4_euint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint4_euint128" - | "sub_euint4_euint16" - | "sub_euint4_euint256" - | "sub_euint4_euint32" - | "sub_euint4_euint4" - | "sub_euint4_euint64" - | "sub_euint4_euint8" - | "xor_euint4_euint128" - | "xor_euint4_euint16" - | "xor_euint4_euint256" - | "xor_euint4_euint32" - | "xor_euint4_euint4" - | "xor_euint4_euint64" - | "xor_euint4_euint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_euint8", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite1 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite1; - waitForDeployment(): Promise; - - interface: TFHETestSuite1Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite10.ts b/contracts/types/examples/tests/TFHETestSuite10.ts deleted file mode 100644 index 3daecae0..00000000 --- a/contracts/types/examples/tests/TFHETestSuite10.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite10Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint256_euint128" - | "add_euint256_euint256" - | "add_euint256_euint32" - | "add_euint256_euint64" - | "add_euint256_uint256" - | "add_uint256_euint256" - | "and_euint256_euint128" - | "and_euint256_euint256" - | "and_euint256_euint32" - | "and_euint256_euint64" - | "and_euint256_uint256" - | "and_uint256_euint256" - | "div_euint256_uint256" - | "eq_euint256_euint128" - | "eq_euint256_euint256" - | "eq_euint256_euint32" - | "eq_euint256_euint64" - | "eq_euint256_uint256" - | "eq_uint256_euint256" - | "ge_euint256_euint128" - | "ge_euint256_euint256" - | "ge_euint256_euint32" - | "ge_euint256_euint64" - | "ge_euint256_uint256" - | "ge_uint256_euint256" - | "gt_euint256_euint128" - | "gt_euint256_euint256" - | "gt_euint256_euint32" - | "gt_euint256_euint64" - | "gt_euint256_uint256" - | "gt_uint256_euint256" - | "le_euint256_euint128" - | "le_euint256_euint256" - | "le_euint256_euint32" - | "le_euint256_euint64" - | "le_euint256_uint256" - | "le_uint256_euint256" - | "lt_euint256_euint128" - | "lt_euint256_euint256" - | "lt_euint256_euint32" - | "lt_euint256_euint64" - | "lt_euint256_uint256" - | "lt_uint256_euint256" - | "max_euint256_euint128" - | "max_euint256_euint256" - | "max_euint256_euint32" - | "max_euint256_euint64" - | "max_euint256_uint256" - | "max_uint256_euint256" - | "min_euint256_euint128" - | "min_euint256_euint256" - | "min_euint256_euint32" - | "min_euint256_euint64" - | "min_euint256_uint256" - | "min_uint256_euint256" - | "mul_euint256_euint128" - | "mul_euint256_euint256" - | "mul_euint256_euint32" - | "mul_euint256_euint64" - | "mul_euint256_uint256" - | "mul_uint256_euint256" - | "ne_euint256_euint128" - | "ne_euint256_euint256" - | "ne_euint256_euint32" - | "ne_euint256_euint64" - | "ne_euint256_uint256" - | "ne_uint256_euint256" - | "or_euint256_euint128" - | "or_euint256_euint256" - | "or_euint256_euint32" - | "or_euint256_euint64" - | "or_euint256_uint256" - | "or_uint256_euint256" - | "rem_euint256_uint256" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "rotl_euint4_uint8" - | "rotr_euint4_uint8" - | "shl_euint4_uint8" - | "shr_euint4_uint8" - | "sub_euint256_euint128" - | "sub_euint256_euint256" - | "sub_euint256_euint32" - | "sub_euint256_euint64" - | "sub_euint256_uint256" - | "sub_uint256_euint256" - | "xor_euint256_euint128" - | "xor_euint256_euint256" - | "xor_euint256_euint32" - | "xor_euint256_euint64" - | "xor_euint256_uint256" - | "xor_uint256_euint256" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "rotl_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_uint256", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint256_euint256", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "rotl_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_uint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint256_euint256", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite10 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite10; - waitForDeployment(): Promise; - - interface: TFHETestSuite10Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - rotl_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_uint256: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint256_euint256: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "rotl_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_uint256" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint256_euint256" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite11.ts b/contracts/types/examples/tests/TFHETestSuite11.ts deleted file mode 100644 index d2a67d70..00000000 --- a/contracts/types/examples/tests/TFHETestSuite11.ts +++ /dev/null @@ -1,1496 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite11Interface extends Interface { - getFunction( - nameOrSignature: - | "neg_euint128" - | "neg_euint16" - | "neg_euint256" - | "neg_euint32" - | "neg_euint4" - | "neg_euint64" - | "neg_euint8" - | "not_euint128" - | "not_euint16" - | "not_euint256" - | "not_euint32" - | "not_euint4" - | "not_euint64" - | "not_euint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "rotl_euint128_euint8" - | "rotl_euint128_uint8" - | "rotl_euint16_euint8" - | "rotl_euint16_uint8" - | "rotl_euint256_euint8" - | "rotl_euint256_uint8" - | "rotl_euint32_euint8" - | "rotl_euint32_uint8" - | "rotl_euint64_euint8" - | "rotl_euint64_uint8" - | "rotl_euint8_euint8" - | "rotl_euint8_uint8" - | "rotr_euint128_euint8" - | "rotr_euint128_uint8" - | "rotr_euint16_euint8" - | "rotr_euint16_uint8" - | "rotr_euint256_euint8" - | "rotr_euint256_uint8" - | "rotr_euint32_euint8" - | "rotr_euint32_uint8" - | "rotr_euint64_euint8" - | "rotr_euint64_uint8" - | "rotr_euint8_euint8" - | "rotr_euint8_uint8" - | "shl_euint128_euint8" - | "shl_euint128_uint8" - | "shl_euint16_euint8" - | "shl_euint16_uint8" - | "shl_euint256_euint8" - | "shl_euint256_uint8" - | "shl_euint32_euint8" - | "shl_euint32_uint8" - | "shl_euint64_euint8" - | "shl_euint64_uint8" - | "shl_euint8_euint8" - | "shl_euint8_uint8" - | "shr_euint128_euint8" - | "shr_euint128_uint8" - | "shr_euint16_euint8" - | "shr_euint16_uint8" - | "shr_euint256_euint8" - | "shr_euint256_uint8" - | "shr_euint32_euint8" - | "shr_euint32_uint8" - | "shr_euint64_euint8" - | "shr_euint64_uint8" - | "shr_euint8_euint8" - | "shr_euint8_uint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "neg_euint128", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint16", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint256", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint32", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint4", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint64", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "neg_euint8", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint128", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint16", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint256", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint32", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint4", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint64", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "not_euint8", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "rotl_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint128_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint16_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint256_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint32_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint64_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotl_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint128_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint16_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint256_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint32_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint64_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rotr_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint128_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint16_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint256_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint32_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint64_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shl_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint128_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint16_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint256_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint32_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint64_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "shr_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "neg_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neg_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neg_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "neg_euint32", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "neg_euint4", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "neg_euint64", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "neg_euint8", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "not_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "not_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "not_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "not_euint32", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "not_euint4", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "not_euint64", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "not_euint8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "rotl_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint128_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint16_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint256_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint32_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint64_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotl_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint128_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint16_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint256_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint32_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint64_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rotr_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint128_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint16_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint256_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint32_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint64_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shl_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint128_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint16_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint256_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint32_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint64_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "shr_euint8_uint8", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite11 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite11; - waitForDeployment(): Promise; - - interface: TFHETestSuite11Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - neg_euint128: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint16: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint256: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint32: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint4: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint64: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - neg_euint8: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint128: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint16: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint256: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint32: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint4: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint64: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - not_euint8: TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - rotl_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint128_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint16_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint256_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint32_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint64_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotl_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint128_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint16_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint256_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint32_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint64_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rotr_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint128_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint16_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint256_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint32_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint64_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shl_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint128_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint16_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint256_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint32_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint64_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - shr_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "neg_euint128" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint16" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint256" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint32" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint4" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint64" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "neg_euint8" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint128" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint16" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint256" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint32" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint4" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint64" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "not_euint8" - ): TypedContractMethod< - [a: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "rotl_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint128_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint16_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint256_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint32_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint64_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotl_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint128_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint16_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint256_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint32_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint64_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rotr_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint128_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint16_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint256_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint32_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint64_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shl_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint128_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint16_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint256_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint32_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint64_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "shr_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite2.ts b/contracts/types/examples/tests/TFHETestSuite2.ts deleted file mode 100644 index 0f887cdd..00000000 --- a/contracts/types/examples/tests/TFHETestSuite2.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite2Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint4_uint8" - | "add_euint8_euint16" - | "add_euint8_euint32" - | "add_euint8_euint4" - | "add_euint8_euint8" - | "add_uint8_euint4" - | "and_euint4_uint8" - | "and_euint8_euint16" - | "and_euint8_euint32" - | "and_euint8_euint4" - | "and_euint8_euint8" - | "and_uint8_euint4" - | "div_euint4_uint8" - | "eq_euint4_euint256" - | "eq_euint4_uint8" - | "eq_euint8_euint16" - | "eq_euint8_euint32" - | "eq_euint8_euint4" - | "eq_euint8_euint8" - | "eq_uint8_euint4" - | "ge_euint4_euint256" - | "ge_euint4_uint8" - | "ge_euint8_euint16" - | "ge_euint8_euint32" - | "ge_euint8_euint4" - | "ge_euint8_euint8" - | "ge_uint8_euint4" - | "gt_euint4_euint256" - | "gt_euint4_uint8" - | "gt_euint8_euint16" - | "gt_euint8_euint32" - | "gt_euint8_euint4" - | "gt_euint8_euint8" - | "gt_uint8_euint4" - | "le_euint4_euint256" - | "le_euint4_uint8" - | "le_euint8_euint16" - | "le_euint8_euint4" - | "le_euint8_euint8" - | "le_uint8_euint4" - | "lt_euint4_euint256" - | "lt_euint4_uint8" - | "lt_euint8_euint16" - | "lt_euint8_euint4" - | "lt_euint8_euint8" - | "lt_uint8_euint4" - | "max_euint4_euint256" - | "max_euint4_uint8" - | "max_euint8_euint16" - | "max_euint8_euint4" - | "max_euint8_euint8" - | "max_uint8_euint4" - | "min_euint4_euint256" - | "min_euint4_uint8" - | "min_euint8_euint16" - | "min_euint8_euint4" - | "min_euint8_euint8" - | "min_uint8_euint4" - | "mul_euint4_uint8" - | "mul_euint8_euint16" - | "mul_euint8_euint32" - | "mul_euint8_euint4" - | "mul_euint8_euint8" - | "mul_uint8_euint4" - | "ne_euint4_euint256" - | "ne_euint4_uint8" - | "ne_euint8_euint16" - | "ne_euint8_euint32" - | "ne_euint8_euint4" - | "ne_euint8_euint8" - | "ne_uint8_euint4" - | "or_euint4_uint8" - | "or_euint8_euint16" - | "or_euint8_euint32" - | "or_euint8_euint4" - | "or_euint8_euint8" - | "or_uint8_euint4" - | "rem_euint4_uint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint4_uint8" - | "sub_euint8_euint16" - | "sub_euint8_euint32" - | "sub_euint8_euint4" - | "sub_euint8_euint8" - | "sub_uint8_euint4" - | "xor_euint4_uint8" - | "xor_euint8_euint16" - | "xor_euint8_euint32" - | "xor_euint8_euint4" - | "xor_euint8_euint8" - | "xor_uint8_euint4" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint4_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint8_euint4", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint4_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint8_euint4", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite2 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite2; - waitForDeployment(): Promise; - - interface: TFHETestSuite2Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint4_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint8_euint4: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint4_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint8_euint4" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite3.ts b/contracts/types/examples/tests/TFHETestSuite3.ts deleted file mode 100644 index c11a3e18..00000000 --- a/contracts/types/examples/tests/TFHETestSuite3.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite3Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint16_euint4" - | "add_euint8_euint128" - | "add_euint8_euint256" - | "add_euint8_euint64" - | "add_euint8_uint8" - | "add_uint8_euint8" - | "and_euint16_euint4" - | "and_euint8_euint128" - | "and_euint8_euint256" - | "and_euint8_euint64" - | "and_euint8_uint8" - | "and_uint8_euint8" - | "div_euint8_uint8" - | "eq_euint16_euint4" - | "eq_euint8_euint128" - | "eq_euint8_euint256" - | "eq_euint8_euint64" - | "eq_euint8_uint8" - | "eq_uint8_euint8" - | "ge_euint16_euint4" - | "ge_euint8_euint128" - | "ge_euint8_euint256" - | "ge_euint8_euint64" - | "ge_euint8_uint8" - | "ge_uint8_euint8" - | "gt_euint16_euint4" - | "gt_euint8_euint128" - | "gt_euint8_euint256" - | "gt_euint8_euint64" - | "gt_euint8_uint8" - | "gt_uint8_euint8" - | "le_euint16_euint4" - | "le_euint8_euint128" - | "le_euint8_euint256" - | "le_euint8_euint32" - | "le_euint8_euint64" - | "le_euint8_uint8" - | "le_uint8_euint8" - | "lt_euint16_euint4" - | "lt_euint8_euint128" - | "lt_euint8_euint256" - | "lt_euint8_euint32" - | "lt_euint8_euint64" - | "lt_euint8_uint8" - | "lt_uint8_euint8" - | "max_euint16_euint4" - | "max_euint8_euint128" - | "max_euint8_euint256" - | "max_euint8_euint32" - | "max_euint8_euint64" - | "max_euint8_uint8" - | "max_uint8_euint8" - | "min_euint16_euint4" - | "min_euint8_euint128" - | "min_euint8_euint256" - | "min_euint8_euint32" - | "min_euint8_euint64" - | "min_euint8_uint8" - | "min_uint8_euint8" - | "mul_euint16_euint4" - | "mul_euint8_euint128" - | "mul_euint8_euint256" - | "mul_euint8_euint64" - | "mul_euint8_uint8" - | "mul_uint8_euint8" - | "ne_euint16_euint4" - | "ne_euint8_euint128" - | "ne_euint8_euint256" - | "ne_euint8_euint64" - | "ne_euint8_uint8" - | "ne_uint8_euint8" - | "or_euint16_euint4" - | "or_euint8_euint128" - | "or_euint8_euint256" - | "or_euint8_euint64" - | "or_euint8_uint8" - | "or_uint8_euint8" - | "rem_euint8_uint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint16_euint4" - | "sub_euint8_euint128" - | "sub_euint8_euint256" - | "sub_euint8_euint64" - | "sub_euint8_uint8" - | "sub_uint8_euint8" - | "xor_euint16_euint4" - | "xor_euint8_euint128" - | "xor_euint8_euint256" - | "xor_euint8_euint64" - | "xor_euint8_uint8" - | "xor_uint8_euint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint8_uint8", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint8_euint8", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint8_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint8_uint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint8_euint8", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite3 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite3; - waitForDeployment(): Promise; - - interface: TFHETestSuite3Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint8_uint8: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint8_euint8: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint8_uint8" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint8_euint8" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite4.ts b/contracts/types/examples/tests/TFHETestSuite4.ts deleted file mode 100644 index 7299082f..00000000 --- a/contracts/types/examples/tests/TFHETestSuite4.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite4Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint16_euint128" - | "add_euint16_euint16" - | "add_euint16_euint256" - | "add_euint16_euint32" - | "add_euint16_euint64" - | "add_euint16_euint8" - | "add_euint16_uint16" - | "add_uint16_euint16" - | "and_euint16_euint128" - | "and_euint16_euint16" - | "and_euint16_euint256" - | "and_euint16_euint32" - | "and_euint16_euint64" - | "and_euint16_euint8" - | "eq_euint16_euint128" - | "eq_euint16_euint16" - | "eq_euint16_euint256" - | "eq_euint16_euint32" - | "eq_euint16_euint64" - | "eq_euint16_euint8" - | "ge_euint16_euint128" - | "ge_euint16_euint16" - | "ge_euint16_euint256" - | "ge_euint16_euint32" - | "ge_euint16_euint64" - | "ge_euint16_euint8" - | "gt_euint16_euint128" - | "gt_euint16_euint16" - | "gt_euint16_euint256" - | "gt_euint16_euint32" - | "gt_euint16_euint64" - | "gt_euint16_euint8" - | "le_euint16_euint128" - | "le_euint16_euint16" - | "le_euint16_euint256" - | "le_euint16_euint32" - | "le_euint16_euint64" - | "le_euint16_euint8" - | "lt_euint16_euint128" - | "lt_euint16_euint16" - | "lt_euint16_euint256" - | "lt_euint16_euint32" - | "lt_euint16_euint64" - | "lt_euint16_euint8" - | "max_euint16_euint128" - | "max_euint16_euint16" - | "max_euint16_euint256" - | "max_euint16_euint32" - | "max_euint16_euint64" - | "max_euint16_euint8" - | "min_euint16_euint128" - | "min_euint16_euint16" - | "min_euint16_euint256" - | "min_euint16_euint32" - | "min_euint16_euint64" - | "min_euint16_euint8" - | "mul_euint16_euint128" - | "mul_euint16_euint16" - | "mul_euint16_euint256" - | "mul_euint16_euint32" - | "mul_euint16_euint64" - | "mul_euint16_euint8" - | "mul_euint16_uint16" - | "mul_uint16_euint16" - | "ne_euint16_euint128" - | "ne_euint16_euint16" - | "ne_euint16_euint256" - | "ne_euint16_euint32" - | "ne_euint16_euint64" - | "ne_euint16_euint8" - | "or_euint16_euint128" - | "or_euint16_euint16" - | "or_euint16_euint256" - | "or_euint16_euint32" - | "or_euint16_euint64" - | "or_euint16_euint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint16_euint128" - | "sub_euint16_euint16" - | "sub_euint16_euint256" - | "sub_euint16_euint32" - | "sub_euint16_euint64" - | "sub_euint16_euint8" - | "sub_euint16_uint16" - | "sub_uint16_euint16" - | "xor_euint16_euint128" - | "xor_euint16_euint16" - | "xor_euint16_euint256" - | "xor_euint16_euint32" - | "xor_euint16_euint64" - | "xor_euint16_euint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_euint8", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite4 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite4; - waitForDeployment(): Promise; - - interface: TFHETestSuite4Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite5.ts b/contracts/types/examples/tests/TFHETestSuite5.ts deleted file mode 100644 index 65fa1f7b..00000000 --- a/contracts/types/examples/tests/TFHETestSuite5.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite5Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint32_euint16" - | "add_euint32_euint32" - | "add_euint32_euint4" - | "add_euint32_euint64" - | "add_euint32_euint8" - | "and_euint16_uint16" - | "and_euint32_euint16" - | "and_euint32_euint32" - | "and_euint32_euint4" - | "and_euint32_euint64" - | "and_euint32_euint8" - | "and_uint16_euint16" - | "div_euint16_uint16" - | "eq_euint16_uint16" - | "eq_euint32_euint16" - | "eq_euint32_euint32" - | "eq_euint32_euint4" - | "eq_euint32_euint64" - | "eq_euint32_euint8" - | "eq_uint16_euint16" - | "ge_euint16_uint16" - | "ge_euint32_euint16" - | "ge_euint32_euint32" - | "ge_euint32_euint4" - | "ge_euint32_euint64" - | "ge_euint32_euint8" - | "ge_uint16_euint16" - | "gt_euint16_uint16" - | "gt_euint32_euint16" - | "gt_euint32_euint32" - | "gt_euint32_euint4" - | "gt_euint32_euint64" - | "gt_euint32_euint8" - | "gt_uint16_euint16" - | "le_euint16_uint16" - | "le_euint32_euint16" - | "le_euint32_euint32" - | "le_euint32_euint4" - | "le_euint32_euint8" - | "le_uint16_euint16" - | "lt_euint16_uint16" - | "lt_euint32_euint16" - | "lt_euint32_euint32" - | "lt_euint32_euint4" - | "lt_euint32_euint8" - | "lt_uint16_euint16" - | "max_euint16_uint16" - | "max_euint32_euint16" - | "max_euint32_euint32" - | "max_euint32_euint4" - | "max_euint32_euint8" - | "max_uint16_euint16" - | "min_euint16_uint16" - | "min_euint32_euint16" - | "min_euint32_euint32" - | "min_euint32_euint4" - | "min_euint32_euint8" - | "min_uint16_euint16" - | "mul_euint32_euint16" - | "mul_euint32_euint32" - | "mul_euint32_euint4" - | "mul_euint32_euint64" - | "mul_euint32_euint8" - | "ne_euint16_uint16" - | "ne_euint32_euint16" - | "ne_euint32_euint32" - | "ne_euint32_euint4" - | "ne_euint32_euint64" - | "ne_euint32_euint8" - | "ne_uint16_euint16" - | "or_euint16_uint16" - | "or_euint32_euint16" - | "or_euint32_euint32" - | "or_euint32_euint4" - | "or_euint32_euint64" - | "or_euint32_euint8" - | "or_uint16_euint16" - | "rem_euint16_uint16" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint32_euint16" - | "sub_euint32_euint32" - | "sub_euint32_euint4" - | "sub_euint32_euint64" - | "sub_euint32_euint8" - | "xor_euint16_uint16" - | "xor_euint32_euint16" - | "xor_euint32_euint32" - | "xor_euint32_euint4" - | "xor_euint32_euint64" - | "xor_euint32_euint8" - | "xor_uint16_euint16" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint16_uint16", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint16_euint16", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint16_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint16_uint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint16_euint16", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite5 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite5; - waitForDeployment(): Promise; - - interface: TFHETestSuite5Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint16_uint16: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint16_euint16: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint16_uint16" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint16_euint16" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite6.ts b/contracts/types/examples/tests/TFHETestSuite6.ts deleted file mode 100644 index d73577e6..00000000 --- a/contracts/types/examples/tests/TFHETestSuite6.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite6Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint32_euint128" - | "add_euint32_euint256" - | "add_euint32_uint32" - | "add_euint64_euint4" - | "add_euint64_euint8" - | "add_uint32_euint32" - | "and_euint32_euint128" - | "and_euint32_euint256" - | "and_euint32_uint32" - | "and_euint64_euint4" - | "and_euint64_euint8" - | "and_uint32_euint32" - | "div_euint32_uint32" - | "eq_euint32_euint128" - | "eq_euint32_euint256" - | "eq_euint32_uint32" - | "eq_euint64_euint4" - | "eq_euint64_euint8" - | "eq_uint32_euint32" - | "ge_euint32_euint128" - | "ge_euint32_euint256" - | "ge_euint32_uint32" - | "ge_euint64_euint4" - | "ge_euint64_euint8" - | "ge_uint32_euint32" - | "gt_euint32_euint128" - | "gt_euint32_euint256" - | "gt_euint32_uint32" - | "gt_euint64_euint4" - | "gt_euint64_euint8" - | "gt_uint32_euint32" - | "le_euint32_euint128" - | "le_euint32_euint256" - | "le_euint32_euint64" - | "le_euint32_uint32" - | "le_euint64_euint4" - | "le_euint64_euint8" - | "le_uint32_euint32" - | "lt_euint32_euint128" - | "lt_euint32_euint256" - | "lt_euint32_euint64" - | "lt_euint32_uint32" - | "lt_euint64_euint4" - | "lt_euint64_euint8" - | "lt_uint32_euint32" - | "max_euint32_euint128" - | "max_euint32_euint256" - | "max_euint32_euint64" - | "max_euint32_uint32" - | "max_euint64_euint4" - | "max_euint64_euint8" - | "max_uint32_euint32" - | "min_euint32_euint128" - | "min_euint32_euint256" - | "min_euint32_euint64" - | "min_euint32_uint32" - | "min_euint64_euint4" - | "min_euint64_euint8" - | "min_uint32_euint32" - | "mul_euint32_euint128" - | "mul_euint32_euint256" - | "mul_euint32_uint32" - | "mul_euint64_euint4" - | "mul_euint64_euint8" - | "mul_uint32_euint32" - | "ne_euint32_euint128" - | "ne_euint32_euint256" - | "ne_euint32_uint32" - | "ne_euint64_euint4" - | "ne_euint64_euint8" - | "ne_uint32_euint32" - | "or_euint32_euint128" - | "or_euint32_euint256" - | "or_euint32_uint32" - | "or_euint64_euint4" - | "or_euint64_euint8" - | "or_uint32_euint32" - | "rem_euint32_uint32" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint32_euint128" - | "sub_euint32_euint256" - | "sub_euint32_uint32" - | "sub_euint64_euint4" - | "sub_euint64_euint8" - | "sub_uint32_euint32" - | "xor_euint32_euint128" - | "xor_euint32_euint256" - | "xor_euint32_uint32" - | "xor_euint64_euint4" - | "xor_euint64_euint8" - | "xor_uint32_euint32" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint32_uint32", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint32_euint32", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint32_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint32_uint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint32_euint32", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite6 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite6; - waitForDeployment(): Promise; - - interface: TFHETestSuite6Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint32_uint32: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint32_euint32: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint32_uint32" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint32_euint32" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite7.ts b/contracts/types/examples/tests/TFHETestSuite7.ts deleted file mode 100644 index 44171d5a..00000000 --- a/contracts/types/examples/tests/TFHETestSuite7.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite7Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint64_euint128" - | "add_euint64_euint16" - | "add_euint64_euint256" - | "add_euint64_euint32" - | "add_euint64_euint64" - | "add_euint64_uint64" - | "add_uint64_euint64" - | "and_euint64_euint128" - | "and_euint64_euint16" - | "and_euint64_euint256" - | "and_euint64_euint32" - | "and_euint64_euint64" - | "and_euint64_uint64" - | "and_uint64_euint64" - | "div_euint64_uint64" - | "eq_euint64_euint128" - | "eq_euint64_euint16" - | "eq_euint64_euint256" - | "eq_euint64_euint32" - | "eq_euint64_euint64" - | "eq_euint64_uint64" - | "eq_uint64_euint64" - | "ge_euint64_euint128" - | "ge_euint64_euint16" - | "ge_euint64_euint256" - | "ge_euint64_euint32" - | "ge_euint64_euint64" - | "ge_euint64_uint64" - | "ge_uint64_euint64" - | "gt_euint64_euint128" - | "gt_euint64_euint16" - | "gt_euint64_euint256" - | "gt_euint64_euint32" - | "gt_euint64_euint64" - | "le_euint64_euint128" - | "le_euint64_euint16" - | "le_euint64_euint256" - | "le_euint64_euint32" - | "le_euint64_euint64" - | "lt_euint64_euint128" - | "lt_euint64_euint16" - | "lt_euint64_euint256" - | "lt_euint64_euint32" - | "lt_euint64_euint64" - | "max_euint64_euint128" - | "max_euint64_euint16" - | "max_euint64_euint256" - | "max_euint64_euint32" - | "max_euint64_euint64" - | "min_euint64_euint128" - | "min_euint64_euint16" - | "min_euint64_euint256" - | "min_euint64_euint32" - | "min_euint64_euint64" - | "mul_euint64_euint128" - | "mul_euint64_euint16" - | "mul_euint64_euint256" - | "mul_euint64_euint32" - | "mul_euint64_euint64" - | "mul_euint64_uint64" - | "mul_uint64_euint64" - | "ne_euint64_euint128" - | "ne_euint64_euint16" - | "ne_euint64_euint256" - | "ne_euint64_euint32" - | "ne_euint64_euint64" - | "ne_euint64_uint64" - | "ne_uint64_euint64" - | "or_euint64_euint128" - | "or_euint64_euint16" - | "or_euint64_euint256" - | "or_euint64_euint32" - | "or_euint64_euint64" - | "or_euint64_uint64" - | "or_uint64_euint64" - | "rem_euint64_uint64" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint64_euint128" - | "sub_euint64_euint16" - | "sub_euint64_euint256" - | "sub_euint64_euint32" - | "sub_euint64_euint64" - | "sub_euint64_uint64" - | "sub_uint64_euint64" - | "xor_euint64_euint128" - | "xor_euint64_euint16" - | "xor_euint64_euint256" - | "xor_euint64_euint32" - | "xor_euint64_euint64" - | "xor_euint64_uint64" - | "xor_uint64_euint64" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint64_euint64", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite7 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite7; - waitForDeployment(): Promise; - - interface: TFHETestSuite7Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite8.ts b/contracts/types/examples/tests/TFHETestSuite8.ts deleted file mode 100644 index 181a32f5..00000000 --- a/contracts/types/examples/tests/TFHETestSuite8.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite8Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint128_euint128" - | "add_euint128_euint16" - | "add_euint128_euint32" - | "add_euint128_euint4" - | "add_euint128_euint64" - | "add_euint128_euint8" - | "and_euint128_euint128" - | "and_euint128_euint16" - | "and_euint128_euint32" - | "and_euint128_euint4" - | "and_euint128_euint64" - | "and_euint128_euint8" - | "eq_euint128_euint128" - | "eq_euint128_euint16" - | "eq_euint128_euint32" - | "eq_euint128_euint4" - | "eq_euint128_euint64" - | "eq_euint128_euint8" - | "ge_euint128_euint128" - | "ge_euint128_euint16" - | "ge_euint128_euint32" - | "ge_euint128_euint4" - | "ge_euint128_euint64" - | "ge_euint128_euint8" - | "gt_euint128_euint128" - | "gt_euint128_euint16" - | "gt_euint128_euint32" - | "gt_euint128_euint4" - | "gt_euint128_euint64" - | "gt_euint128_euint8" - | "gt_euint64_uint64" - | "gt_uint64_euint64" - | "le_euint128_euint16" - | "le_euint128_euint32" - | "le_euint128_euint4" - | "le_euint128_euint64" - | "le_euint128_euint8" - | "le_euint64_uint64" - | "le_uint64_euint64" - | "lt_euint128_euint16" - | "lt_euint128_euint32" - | "lt_euint128_euint4" - | "lt_euint128_euint64" - | "lt_euint128_euint8" - | "lt_euint64_uint64" - | "lt_uint64_euint64" - | "max_euint128_euint16" - | "max_euint128_euint32" - | "max_euint128_euint4" - | "max_euint128_euint64" - | "max_euint128_euint8" - | "max_euint64_uint64" - | "max_uint64_euint64" - | "min_euint128_euint16" - | "min_euint128_euint32" - | "min_euint128_euint4" - | "min_euint128_euint64" - | "min_euint128_euint8" - | "min_euint64_uint64" - | "min_uint64_euint64" - | "mul_euint128_euint128" - | "mul_euint128_euint16" - | "mul_euint128_euint32" - | "mul_euint128_euint4" - | "mul_euint128_euint64" - | "mul_euint128_euint8" - | "ne_euint128_euint128" - | "ne_euint128_euint16" - | "ne_euint128_euint32" - | "ne_euint128_euint4" - | "ne_euint128_euint64" - | "ne_euint128_euint8" - | "or_euint128_euint128" - | "or_euint128_euint16" - | "or_euint128_euint32" - | "or_euint128_euint4" - | "or_euint128_euint64" - | "or_euint128_euint8" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint128_euint128" - | "sub_euint128_euint16" - | "sub_euint128_euint32" - | "sub_euint128_euint4" - | "sub_euint128_euint64" - | "sub_euint128_euint8" - | "xor_euint128_euint128" - | "xor_euint128_euint16" - | "xor_euint128_euint32" - | "xor_euint128_euint4" - | "xor_euint128_euint64" - | "xor_euint128_euint8" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint64_uint64", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint64_euint64", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint32", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint64", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint64_uint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint64_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint32", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint64", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint8", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite8 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite8; - waitForDeployment(): Promise; - - interface: TFHETestSuite8Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint64_uint64: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint64_euint64: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint32: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint64: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint64_uint64" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint64_euint64" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint32" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint64" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/TFHETestSuite9.ts b/contracts/types/examples/tests/TFHETestSuite9.ts deleted file mode 100644 index 97d16db5..00000000 --- a/contracts/types/examples/tests/TFHETestSuite9.ts +++ /dev/null @@ -1,2124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface TFHETestSuite9Interface extends Interface { - getFunction( - nameOrSignature: - | "add_euint128_euint256" - | "add_euint128_uint128" - | "add_euint256_euint16" - | "add_euint256_euint4" - | "add_euint256_euint8" - | "add_uint128_euint128" - | "and_euint128_euint256" - | "and_euint128_uint128" - | "and_euint256_euint16" - | "and_euint256_euint4" - | "and_euint256_euint8" - | "and_uint128_euint128" - | "div_euint128_uint128" - | "eq_euint128_euint256" - | "eq_euint128_uint128" - | "eq_euint256_euint16" - | "eq_euint256_euint4" - | "eq_euint256_euint8" - | "eq_uint128_euint128" - | "ge_euint128_euint256" - | "ge_euint128_uint128" - | "ge_euint256_euint16" - | "ge_euint256_euint4" - | "ge_euint256_euint8" - | "ge_uint128_euint128" - | "gt_euint128_euint256" - | "gt_euint128_uint128" - | "gt_euint256_euint16" - | "gt_euint256_euint4" - | "gt_euint256_euint8" - | "gt_uint128_euint128" - | "le_euint128_euint128" - | "le_euint128_euint256" - | "le_euint128_uint128" - | "le_euint256_euint16" - | "le_euint256_euint4" - | "le_euint256_euint8" - | "le_uint128_euint128" - | "lt_euint128_euint128" - | "lt_euint128_euint256" - | "lt_euint128_uint128" - | "lt_euint256_euint16" - | "lt_euint256_euint4" - | "lt_euint256_euint8" - | "lt_uint128_euint128" - | "max_euint128_euint128" - | "max_euint128_euint256" - | "max_euint128_uint128" - | "max_euint256_euint16" - | "max_euint256_euint4" - | "max_euint256_euint8" - | "max_uint128_euint128" - | "min_euint128_euint128" - | "min_euint128_euint256" - | "min_euint128_uint128" - | "min_euint256_euint16" - | "min_euint256_euint4" - | "min_euint256_euint8" - | "min_uint128_euint128" - | "mul_euint128_euint256" - | "mul_euint128_uint128" - | "mul_euint256_euint16" - | "mul_euint256_euint4" - | "mul_euint256_euint8" - | "mul_uint128_euint128" - | "ne_euint128_euint256" - | "ne_euint128_uint128" - | "ne_euint256_euint16" - | "ne_euint256_euint4" - | "ne_euint256_euint8" - | "ne_uint128_euint128" - | "or_euint128_euint256" - | "or_euint128_uint128" - | "or_euint256_euint16" - | "or_euint256_euint4" - | "or_euint256_euint8" - | "or_uint128_euint128" - | "rem_euint128_uint128" - | "res128" - | "res16" - | "res256" - | "res32" - | "res4" - | "res64" - | "res8" - | "resb" - | "sub_euint128_euint256" - | "sub_euint128_uint128" - | "sub_euint256_euint16" - | "sub_euint256_euint4" - | "sub_euint256_euint8" - | "sub_uint128_euint128" - | "xor_euint128_euint256" - | "xor_euint128_uint128" - | "xor_euint256_euint16" - | "xor_euint256_euint4" - | "xor_euint256_euint8" - | "xor_uint128_euint128" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "add_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "add_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "and_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "div_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "eq_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ge_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "gt_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "le_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "lt_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "max_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint128", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "min_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "mul_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "ne_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "or_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "rem_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData(functionFragment: "res128", values?: undefined): string; - encodeFunctionData(functionFragment: "res16", values?: undefined): string; - encodeFunctionData(functionFragment: "res256", values?: undefined): string; - encodeFunctionData(functionFragment: "res32", values?: undefined): string; - encodeFunctionData(functionFragment: "res4", values?: undefined): string; - encodeFunctionData(functionFragment: "res64", values?: undefined): string; - encodeFunctionData(functionFragment: "res8", values?: undefined): string; - encodeFunctionData(functionFragment: "resb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sub_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "sub_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_euint256", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint128_uint128", - values: [BytesLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint16", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint4", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_euint256_euint8", - values: [BytesLike, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "xor_uint128_euint128", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "add_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "add_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "and_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "div_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eq_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ge_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "gt_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "le_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "lt_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "max_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "min_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "mul_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "ne_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "or_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "rem_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "res128", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res16", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res256", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res32", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res4", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res64", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "res8", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resb", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "sub_uint128_euint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_euint256", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint128_uint128", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint16", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint4", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_euint256_euint8", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "xor_uint128_euint128", - data: BytesLike - ): Result; -} - -export interface TFHETestSuite9 extends BaseContract { - connect(runner?: ContractRunner | null): TFHETestSuite9; - waitForDeployment(): Promise; - - interface: TFHETestSuite9Interface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - add_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - add_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - and_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - div_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - eq_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ge_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - gt_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - le_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - lt_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - max_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint128: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - min_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - mul_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - ne_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - or_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - rem_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - res128: TypedContractMethod<[], [bigint], "view">; - - res16: TypedContractMethod<[], [bigint], "view">; - - res256: TypedContractMethod<[], [bigint], "view">; - - res32: TypedContractMethod<[], [bigint], "view">; - - res4: TypedContractMethod<[], [bigint], "view">; - - res64: TypedContractMethod<[], [bigint], "view">; - - res8: TypedContractMethod<[], [bigint], "view">; - - resb: TypedContractMethod<[], [bigint], "view">; - - sub_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - sub_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_euint256: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint128_uint128: TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint16: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint4: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_euint256_euint8: TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - xor_uint128_euint128: TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "add_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "add_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "and_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "div_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "eq_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ge_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "gt_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "le_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "lt_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "max_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint128" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "min_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "mul_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "ne_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "or_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "rem_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "res128" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res16" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res256" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res32" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res4" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res64" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "res8" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "resb" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "sub_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "sub_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_euint256" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint128_uint128" - ): TypedContractMethod< - [a: BytesLike, b: BigNumberish, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint16" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint4" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_euint256_euint8" - ): TypedContractMethod< - [a: BytesLike, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "xor_uint128_euint128" - ): TypedContractMethod< - [a: BigNumberish, b: BytesLike, inputProof: BytesLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/examples/tests/index.ts b/contracts/types/examples/tests/index.ts deleted file mode 100644 index c206422a..00000000 --- a/contracts/types/examples/tests/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { TFHEManualTestSuite } from "./TFHEManualTestSuite"; -export type { TFHETestSuite1 } from "./TFHETestSuite1"; -export type { TFHETestSuite10 } from "./TFHETestSuite10"; -export type { TFHETestSuite11 } from "./TFHETestSuite11"; -export type { TFHETestSuite2 } from "./TFHETestSuite2"; -export type { TFHETestSuite3 } from "./TFHETestSuite3"; -export type { TFHETestSuite4 } from "./TFHETestSuite4"; -export type { TFHETestSuite5 } from "./TFHETestSuite5"; -export type { TFHETestSuite6 } from "./TFHETestSuite6"; -export type { TFHETestSuite7 } from "./TFHETestSuite7"; -export type { TFHETestSuite8 } from "./TFHETestSuite8"; -export type { TFHETestSuite9 } from "./TFHETestSuite9"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts deleted file mode 100644 index fbe36fe4..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts +++ /dev/null @@ -1,165 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - Ownable2StepUpgradeable, - Ownable2StepUpgradeableInterface, -} from "../../../../@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable"; - -const _abi = [ - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class Ownable2StepUpgradeable__factory { - static readonly abi = _abi; - static createInterface(): Ownable2StepUpgradeableInterface { - return new Interface(_abi) as Ownable2StepUpgradeableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): Ownable2StepUpgradeable { - return new Contract( - address, - _abi, - runner - ) as unknown as Ownable2StepUpgradeable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts deleted file mode 100644 index 55b539e6..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +++ /dev/null @@ -1,122 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - OwnableUpgradeable, - OwnableUpgradeableInterface, -} from "../../../../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable"; - -const _abi = [ - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class OwnableUpgradeable__factory { - static readonly abi = _abi; - static createInterface(): OwnableUpgradeableInterface { - return new Interface(_abi) as OwnableUpgradeableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): OwnableUpgradeable { - return new Contract(address, _abi, runner) as unknown as OwnableUpgradeable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts deleted file mode 100644 index 2e9b9e6f..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { Ownable2StepUpgradeable__factory } from "./Ownable2StepUpgradeable__factory"; -export { OwnableUpgradeable__factory } from "./OwnableUpgradeable__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/index.ts deleted file mode 100644 index 2b4c7e65..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as access from "./access"; -export * as proxy from "./proxy"; -export * as utils from "./utils"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts deleted file mode 100644 index 56778f88..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as utils from "./utils"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts deleted file mode 100644 index 132c5778..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - Initializable, - InitializableInterface, -} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable"; - -const _abi = [ - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, -] as const; - -export class Initializable__factory { - static readonly abi = _abi; - static createInterface(): InitializableInterface { - return new Interface(_abi) as InitializableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): Initializable { - return new Contract(address, _abi, runner) as unknown as Initializable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts deleted file mode 100644 index a4d857f4..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - UUPSUpgradeable, - UUPSUpgradeableInterface, -} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class UUPSUpgradeable__factory { - static readonly abi = _abi; - static createInterface(): UUPSUpgradeableInterface { - return new Interface(_abi) as UUPSUpgradeableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): UUPSUpgradeable { - return new Contract(address, _abi, runner) as unknown as UUPSUpgradeable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts deleted file mode 100644 index a192d15d..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { Initializable__factory } from "./Initializable__factory"; -export { UUPSUpgradeable__factory } from "./UUPSUpgradeable__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts deleted file mode 100644 index 60e8cbba..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - ContextUpgradeable, - ContextUpgradeableInterface, -} from "../../../../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable"; - -const _abi = [ - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, -] as const; - -export class ContextUpgradeable__factory { - static readonly abi = _abi; - static createInterface(): ContextUpgradeableInterface { - return new Interface(_abi) as ContextUpgradeableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): ContextUpgradeable { - return new Contract(address, _abi, runner) as unknown as ContextUpgradeable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts deleted file mode 100644 index 0c3d33e9..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - EIP712Upgradeable, - EIP712UpgradeableInterface, -} from "../../../../../@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable"; - -const _abi = [ - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class EIP712Upgradeable__factory { - static readonly abi = _abi; - static createInterface(): EIP712UpgradeableInterface { - return new Interface(_abi) as EIP712UpgradeableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): EIP712Upgradeable { - return new Contract(address, _abi, runner) as unknown as EIP712Upgradeable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts deleted file mode 100644 index e99ad6af..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { EIP712Upgradeable__factory } from "./EIP712Upgradeable__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts b/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts deleted file mode 100644 index 3cbf6386..00000000 --- a/contracts/types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as cryptography from "./cryptography"; -export { ContextUpgradeable__factory } from "./ContextUpgradeable__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.ts b/contracts/types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.ts deleted file mode 100644 index 1811e1b2..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - Ownable2Step, - Ownable2StepInterface, -} from "../../../../@openzeppelin/contracts/access/Ownable2Step"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class Ownable2Step__factory { - static readonly abi = _abi; - static createInterface(): Ownable2StepInterface { - return new Interface(_abi) as Ownable2StepInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): Ownable2Step { - return new Contract(address, _abi, runner) as unknown as Ownable2Step; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts b/contracts/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts deleted file mode 100644 index d4b05758..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - Ownable, - OwnableInterface, -} from "../../../../@openzeppelin/contracts/access/Ownable"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class Ownable__factory { - static readonly abi = _abi; - static createInterface(): OwnableInterface { - return new Interface(_abi) as OwnableInterface; - } - static connect(address: string, runner?: ContractRunner | null): Ownable { - return new Contract(address, _abi, runner) as unknown as Ownable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/access/index.ts b/contracts/types/factories/@openzeppelin/contracts/access/index.ts deleted file mode 100644 index bd6222d9..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/access/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { Ownable__factory } from "./Ownable__factory"; -export { Ownable2Step__factory } from "./Ownable2Step__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/index.ts b/contracts/types/factories/@openzeppelin/contracts/index.ts deleted file mode 100644 index aedb8d87..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as access from "./access"; -export * as interfaces from "./interfaces"; -export * as proxy from "./proxy"; -export * as utils from "./utils"; diff --git a/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts b/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts deleted file mode 100644 index c4821f44..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IERC1967, - IERC1967Interface, -} from "../../../../@openzeppelin/contracts/interfaces/IERC1967"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "previousAdmin", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "newAdmin", - type: "address", - }, - ], - name: "AdminChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "BeaconUpgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, -] as const; - -export class IERC1967__factory { - static readonly abi = _abi; - static createInterface(): IERC1967Interface { - return new Interface(_abi) as IERC1967Interface; - } - static connect(address: string, runner?: ContractRunner | null): IERC1967 { - return new Contract(address, _abi, runner) as unknown as IERC1967; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts b/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts deleted file mode 100644 index 0054c0a1..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IERC5267, - IERC5267Interface, -} from "../../../../@openzeppelin/contracts/interfaces/IERC5267"; - -const _abi = [ - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IERC5267__factory { - static readonly abi = _abi; - static createInterface(): IERC5267Interface { - return new Interface(_abi) as IERC5267Interface; - } - static connect(address: string, runner?: ContractRunner | null): IERC5267 { - return new Contract(address, _abi, runner) as unknown as IERC5267; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts b/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts deleted file mode 100644 index 360f9ed4..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IERC1822Proxiable, - IERC1822ProxiableInterface, -} from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable"; - -const _abi = [ - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IERC1822Proxiable__factory { - static readonly abi = _abi; - static createInterface(): IERC1822ProxiableInterface { - return new Interface(_abi) as IERC1822ProxiableInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): IERC1822Proxiable { - return new Contract(address, _abi, runner) as unknown as IERC1822Proxiable; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts b/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts deleted file mode 100644 index ecca1339..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IERC1822Proxiable__factory } from "./IERC1822Proxiable__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/interfaces/index.ts b/contracts/types/factories/@openzeppelin/contracts/interfaces/index.ts deleted file mode 100644 index 373ef169..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/interfaces/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as draftIerc1822Sol from "./draft-IERC1822.sol"; -export { IERC1967__factory } from "./IERC1967__factory"; -export { IERC5267__factory } from "./IERC5267__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts b/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts deleted file mode 100644 index 75c8e5ab..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../../common"; -import type { - ERC1967Utils, - ERC1967UtilsInterface, -} from "../../../../../@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "admin", - type: "address", - }, - ], - name: "ERC1967InvalidAdmin", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "beacon", - type: "address", - }, - ], - name: "ERC1967InvalidBeacon", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type ERC1967UtilsConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ERC1967UtilsConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ERC1967Utils__factory extends ContractFactory { - constructor(...args: ERC1967UtilsConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - ERC1967Utils & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): ERC1967Utils__factory { - return super.connect(runner) as ERC1967Utils__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ERC1967UtilsInterface { - return new Interface(_abi) as ERC1967UtilsInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): ERC1967Utils { - return new Contract(address, _abi, runner) as unknown as ERC1967Utils; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts b/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts deleted file mode 100644 index 97d6fb36..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ERC1967Utils__factory } from "./ERC1967Utils__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts b/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts deleted file mode 100644 index 184893de..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IBeacon, - IBeaconInterface, -} from "../../../../../@openzeppelin/contracts/proxy/beacon/IBeacon"; - -const _abi = [ - { - inputs: [], - name: "implementation", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IBeacon__factory { - static readonly abi = _abi; - static createInterface(): IBeaconInterface { - return new Interface(_abi) as IBeaconInterface; - } - static connect(address: string, runner?: ContractRunner | null): IBeacon { - return new Contract(address, _abi, runner) as unknown as IBeacon; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts b/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts deleted file mode 100644 index 4a9d6289..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IBeacon__factory } from "./IBeacon__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/proxy/index.ts b/contracts/types/factories/@openzeppelin/contracts/proxy/index.ts deleted file mode 100644 index ed9d8127..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/proxy/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as erc1967 from "./ERC1967"; -export * as beacon from "./beacon"; diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/Address__factory.ts b/contracts/types/factories/@openzeppelin/contracts/utils/Address__factory.ts deleted file mode 100644 index df19a4ff..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/Address__factory.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../common"; -import type { - Address, - AddressInterface, -} from "../../../../@openzeppelin/contracts/utils/Address"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type AddressConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: AddressConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Address__factory extends ContractFactory { - constructor(...args: AddressConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Address & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Address__factory { - return super.connect(runner) as Address__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): AddressInterface { - return new Interface(_abi) as AddressInterface; - } - static connect(address: string, runner?: ContractRunner | null): Address { - return new Contract(address, _abi, runner) as unknown as Address; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/Errors__factory.ts b/contracts/types/factories/@openzeppelin/contracts/utils/Errors__factory.ts deleted file mode 100644 index c0b63e78..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +++ /dev/null @@ -1,101 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../common"; -import type { - Errors, - ErrorsInterface, -} from "../../../../@openzeppelin/contracts/utils/Errors"; - -const _abi = [ - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "FailedDeployment", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "balance", - type: "uint256", - }, - { - internalType: "uint256", - name: "needed", - type: "uint256", - }, - ], - name: "InsufficientBalance", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "MissingPrecompile", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type ErrorsConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ErrorsConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Errors__factory extends ContractFactory { - constructor(...args: ErrorsConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Errors & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Errors__factory { - return super.connect(runner) as Errors__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ErrorsInterface { - return new Interface(_abi) as ErrorsInterface; - } - static connect(address: string, runner?: ContractRunner | null): Errors { - return new Contract(address, _abi, runner) as unknown as Errors; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/Strings__factory.ts b/contracts/types/factories/@openzeppelin/contracts/utils/Strings__factory.ts deleted file mode 100644 index dff443a3..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/Strings__factory.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../common"; -import type { - Strings, - StringsInterface, -} from "../../../../@openzeppelin/contracts/utils/Strings"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "StringsInsufficientHexLength", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type StringsConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: StringsConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Strings__factory extends ContractFactory { - constructor(...args: StringsConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Strings & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Strings__factory { - return super.connect(runner) as Strings__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): StringsInterface { - return new Interface(_abi) as StringsInterface; - } - static connect(address: string, runner?: ContractRunner | null): Strings { - return new Contract(address, _abi, runner) as unknown as Strings; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts b/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts deleted file mode 100644 index 28a9d978..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../../common"; -import type { - ECDSA, - ECDSAInterface, -} from "../../../../../@openzeppelin/contracts/utils/cryptography/ECDSA"; - -const _abi = [ - { - inputs: [], - name: "ECDSAInvalidSignature", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "ECDSAInvalidSignatureLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "ECDSAInvalidSignatureS", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type ECDSAConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ECDSAConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ECDSA__factory extends ContractFactory { - constructor(...args: ECDSAConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - ECDSA & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): ECDSA__factory { - return super.connect(runner) as ECDSA__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ECDSAInterface { - return new Interface(_abi) as ECDSAInterface; - } - static connect(address: string, runner?: ContractRunner | null): ECDSA { - return new Contract(address, _abi, runner) as unknown as ECDSA; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/index.ts b/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/index.ts deleted file mode 100644 index cac1a837..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/cryptography/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ECDSA__factory } from "./ECDSA__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/index.ts b/contracts/types/factories/@openzeppelin/contracts/utils/index.ts deleted file mode 100644 index 113b7157..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as cryptography from "./cryptography"; -export * as math from "./math"; -export { Address__factory } from "./Address__factory"; -export { Errors__factory } from "./Errors__factory"; -export { Strings__factory } from "./Strings__factory"; diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts b/contracts/types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts deleted file mode 100644 index 806c8baa..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +++ /dev/null @@ -1,118 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../../../common"; -import type { - SafeCast, - SafeCastInterface, -} from "../../../../../@openzeppelin/contracts/utils/math/SafeCast"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint8", - name: "bits", - type: "uint8", - }, - { - internalType: "int256", - name: "value", - type: "int256", - }, - ], - name: "SafeCastOverflowedIntDowncast", - type: "error", - }, - { - inputs: [ - { - internalType: "int256", - name: "value", - type: "int256", - }, - ], - name: "SafeCastOverflowedIntToUint", - type: "error", - }, - { - inputs: [ - { - internalType: "uint8", - name: "bits", - type: "uint8", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "SafeCastOverflowedUintDowncast", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - ], - name: "SafeCastOverflowedUintToInt", - type: "error", - }, -] as const; - -const _bytecode = - "0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a"; - -type SafeCastConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SafeCastConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SafeCast__factory extends ContractFactory { - constructor(...args: SafeCastConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - SafeCast & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): SafeCast__factory { - return super.connect(runner) as SafeCast__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SafeCastInterface { - return new Interface(_abi) as SafeCastInterface; - } - static connect(address: string, runner?: ContractRunner | null): SafeCast { - return new Contract(address, _abi, runner) as unknown as SafeCast; - } -} diff --git a/contracts/types/factories/@openzeppelin/contracts/utils/math/index.ts b/contracts/types/factories/@openzeppelin/contracts/utils/math/index.ts deleted file mode 100644 index d0f3e018..00000000 --- a/contracts/types/factories/@openzeppelin/contracts/utils/math/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SafeCast__factory } from "./SafeCast__factory"; diff --git a/contracts/types/factories/@openzeppelin/index.ts b/contracts/types/factories/@openzeppelin/index.ts deleted file mode 100644 index 6923c15a..00000000 --- a/contracts/types/factories/@openzeppelin/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as contracts from "./contracts"; -export * as contractsUpgradeable from "./contracts-upgradeable"; diff --git a/contracts/types/factories/contracts/ACL__factory.ts b/contracts/types/factories/contracts/ACL__factory.ts deleted file mode 100644 index 39768c5c..00000000 --- a/contracts/types/factories/contracts/ACL__factory.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { ACL, ACLInterface } from "../../contracts/ACL"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "AllowedForDecryption", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "delegatee", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "NewDelegation", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allow", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "allowForDecryption", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowTransient", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedOnBehalf", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedTransient", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "cleanTransientStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "delegateAccountForContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getTFHEExecutorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - ], - name: "isAllowedForDecryption", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "persistAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b60805161179d6100f95f395f8181610dd001528181610df90152610f5e015261179d5ff3fe608060405260043610610162575f3560e01c806379ba5097116100c6578063ad3cb1cc1161007c578063ccd9a7cd11610057578063ccd9a7cd14610436578063e30c397814610455578063f2fde38b14610469575f80fd5b8063ad3cb1cc146103b0578063b198d657146103f8578063c4d66de814610417575f80fd5b80638d9c9c92116100ac5780638d9c9c921461033f5780638da5cb5b1461035e578063a90cd91d1461038a575f80fd5b806379ba50971461030c5780637a9a598e14610320575f80fd5b8063557e10041161011b5780636330a709116101015780636330a7091461028c57806365d0509c146102d9578063715018a6146102f8575f80fd5b8063557e10041461024e5780635faa299a1461026d575f80fd5b806337e6b44f1161014b57806337e6b44f146101a65780634f1ef2861461021957806352d1902d1461022c575f80fd5b80630d8e6e2c1461016657806335334c2314610190575b5f80fd5b348015610171575f80fd5b5061017a610488565b60405161018791906113eb565b60405180910390f35b34801561019b575f80fd5b506101a46104e9565b005b3480156101b1575f80fd5b506102096101c0366004611438565b5f9182527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6040519015158152602001610187565b6101a46102273660046114a7565b610513565b348015610237575f80fd5b50610240610532565b604051908152602001610187565b348015610259575f80fd5b506101a4610268366004611547565b610560565b348015610278575f80fd5b50610209610287366004611438565b61065a565b348015610297575f80fd5b506102096102a63660046115e8565b5f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc01602052604090205460ff1690565b3480156102e4575f80fd5b506101a46102f3366004611438565b6106b7565b348015610303575f80fd5b506101a4610752565b348015610317575f80fd5b506101a4610765565b34801561032b575f80fd5b5061020961033a366004611438565b6107ad565b34801561034a575f80fd5b506101a4610359366004611438565b610800565b348015610369575f80fd5b506103726108c4565b6040516001600160a01b039091168152602001610187565b348015610395575f80fd5b5073596e6682c72946af006b27c131793f2b62527a4b610372565b3480156103bb575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610403575f80fd5b506101a46104123660046115ff565b6108f8565b348015610422575f80fd5b506101a4610431366004611627565b610aa4565b348015610441575f80fd5b50610209610450366004611640565b610bc6565b348015610460575f80fd5b50610372610c7b565b348015610474575f80fd5b506101a4610483366004611627565b610ca3565b6060604051806040016040528060038152602001621050d360ea1b8152506104af5f610d28565b6104b96001610d28565b6104c25f610d28565b6040516020016104d5949392919061168a565b604051602081830303815290604052905090565b5f5c5f805d600190810190805b8281101561050e57805c5f825d5f815d5081016104f6565b505050565b61051b610dc5565b61052482610e7c565b61052e8282610e84565b5050565b5f61053b610f53565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b80517fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc005f5b8281101561061d575f8482815181106105a0576105a0611707565b602002602001015190506105b4813361065a565b6105fc5760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064015b60405180910390fd5b5f90815260018381016020526040909120805460ff19168217905501610585565b507f2fd616621b8415a2efb27b224024340ac767797553ce6fdf4c1adefd160504c68360405161064d919061171b565b60405180910390a1505050565b5f61066583836107ad565b806106b057505f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408083206001600160a01b038616845290915290205460ff165b9392505050565b7fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc006106e2833361065a565b6107255760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f928352602090815260408084206001600160a01b0390931684529190529020805460ff19166001179055565b61075a610f9c565b6107635f610fce565b565b338061076f610c7b565b6001600160a01b0316146107a15760405163118cdaa760e01b81526001600160a01b03821660048201526024016105f3565b6107aa81610fce565b50565b5f805f84846040516020016107de92919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b60408051808303601f1901815291905280516020909101205c95945050505050565b3373596e6682c72946af006b27c131793f2b62527a4b1461086857610825823361065a565b6108685760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f828260405160200161089792919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012090506001815d60015f5c0181815d805f5d50505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b336001600160a01b038216036109765760405162461bcd60e51b815260206004820152603360248201527f636f6e7472616374416464726573732073686f756c642062652064696666657260448201527f656e742066726f6d206d73672e73656e6465720000000000000000000000000060648201526084016105f3565b335f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc02602090815260408083206001600160a01b03868116855290835281842090851684529091529020547fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc009060ff1615610a365760405162461bcd60e51b815260206004820152601160248201527f616c72656164792064656c65676174656400000000000000000000000000000060448201526064016105f3565b335f81815260028301602090815260408083206001600160a01b038881168086529184528285209088168086529352818420805460ff1916600117905590519193909290917ff03b7c0d4879b0bcbbf440794871f139c96fd13a145a8172b33b9cab5fa2830a9190a4505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610aee5750825b90505f8267ffffffffffffffff166001148015610b0a5750303b155b905081158015610b18575080155b15610b365760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b6a57845468ff00000000000000001916680100000000000000001785555b610b7386611006565b8315610bbe57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602081815260408084206001600160a01b038616855290915282205460ff168015610c3557505f858152602082815260408083206001600160a01b038816845290915290205460ff165b8015610c7157506001600160a01b038084165f90815260028301602090815260408083208a8516845282528083209388168352929052205460ff165b9695505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006108e8565b610cab610f9c565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610cef6108c4565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610d3483611017565b60010190505f8167ffffffffffffffff811115610d5357610d53611462565b6040519080825280601f01601f191660200182016040528015610d7d576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610d8757509392505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610e5e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156107635760405163703e46dd60e11b815260040160405180910390fd5b6107aa610f9c565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ede575060408051601f3d908101601f19168201909252610edb9181019061175e565b60015b610f0657604051634c9c8ce360e01b81526001600160a01b03831660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114610f4957604051632a87526960e21b8152600481018290526024016105f3565b61050e83836110f9565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107635760405163703e46dd60e11b815260040160405180910390fd5b33610fa56108c4565b6001600160a01b0316146107635760405163118cdaa760e01b81523360048201526024016105f3565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561052e8261114e565b61100e6111be565b6107aa8161120c565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061105f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061108b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106110a957662386f26fc10000830492506010015b6305f5e10083106110c1576305f5e100830492506008015b61271083106110d557612710830492506004015b606483106110e7576064830492506002015b600a83106110f3576001015b92915050565b6111028261123d565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156111465761050e82826112b3565b61052e611325565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661076357604051631afcd79f60e31b815260040160405180910390fd5b6112146111be565b6001600160a01b0381166107a157604051631e4fbdf760e01b81525f60048201526024016105f3565b806001600160a01b03163b5f0361127257604051634c9c8ce360e01b81526001600160a01b03821660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516112cf9190611775565b5f60405180830381855af49150503d805f8114611307576040519150601f19603f3d011682016040523d82523d5f602084013e61130c565b606091505b509150915061131c858383611344565b95945050505050565b34156107635760405163b398979f60e01b815260040160405180910390fd5b60608261135957611354826113a0565b6106b0565b815115801561137057506001600160a01b0384163b155b1561139957604051639996b31560e01b81526001600160a01b03851660048201526024016105f3565b5092915050565b8051156113b05780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b838110156113e35781810151838201526020016113cb565b50505f910152565b602081525f82518060208401526114098160408501602087016113c9565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611433575f80fd5b919050565b5f8060408385031215611449575f80fd5b823591506114596020840161141d565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561149f5761149f611462565b604052919050565b5f80604083850312156114b8575f80fd5b6114c18361141d565b915060208084013567ffffffffffffffff808211156114de575f80fd5b818601915086601f8301126114f1575f80fd5b81358181111561150357611503611462565b611515601f8201601f19168501611476565b9150808252878482850101111561152a575f80fd5b80848401858401375f848284010152508093505050509250929050565b5f6020808385031215611558575f80fd5b823567ffffffffffffffff8082111561156f575f80fd5b818501915085601f830112611582575f80fd5b81358181111561159457611594611462565b8060051b91506115a5848301611476565b81815291830184019184810190888411156115be575f80fd5b938501935b838510156115dc578435825293850193908501906115c3565b98975050505050505050565b5f602082840312156115f8575f80fd5b5035919050565b5f8060408385031215611610575f80fd5b6116198361141d565b91506114596020840161141d565b5f60208284031215611637575f80fd5b6106b08261141d565b5f805f8060808587031215611653575f80fd5b61165c8561141d565b9350602085013592506116716040860161141d565b915061167f6060860161141d565b905092959194509250565b5f855161169b818460208a016113c9565b61103b60f11b90830190815285516116ba816002840160208a016113c9565b808201915050601760f91b80600283015285516116de816003850160208a016113c9565b600392019182015283516116f98160048401602088016113c9565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b602080825282518282018190525f9190848201906040850190845b8181101561175257835183529284019291840191600101611736565b50909695505050505050565b5f6020828403121561176e575f80fd5b5051919050565b5f82516117868184602087016113c9565b919091019291505056fea164736f6c6343000818000a"; - -type ACLConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ACLConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ACL__factory extends ContractFactory { - constructor(...args: ACLConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - ACL & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): ACL__factory { - return super.connect(runner) as ACL__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ACLInterface { - return new Interface(_abi) as ACLInterface; - } - static connect(address: string, runner?: ContractRunner | null): ACL { - return new Contract(address, _abi, runner) as unknown as ACL; - } -} diff --git a/contracts/types/factories/contracts/FHEPayment__factory.ts b/contracts/types/factories/contracts/FHEPayment__factory.ts deleted file mode 100644 index 3a54acdd..00000000 --- a/contracts/types/factories/contracts/FHEPayment__factory.ts +++ /dev/null @@ -1,1163 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - FHEPayment, - FHEPaymentInterface, -} from "../../contracts/FHEPayment"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "AccountNotEnoughFunded", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [], - name: "AllContractsNotAuthorized", - type: "error", - }, - { - inputs: [], - name: "AlreadyAuthorizedAllContracts", - type: "error", - }, - { - inputs: [], - name: "AlreadyWhitelistedContract", - type: "error", - }, - { - inputs: [], - name: "CallerMustBeTFHEExecutorContract", - type: "error", - }, - { - inputs: [], - name: "ContractNotWhitelisted", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FHEGasBlockLimitExceeded", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [], - name: "OnlyScalarOperationsAreSupported", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "RecoveryFailed", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - inputs: [], - name: "UnsupportedOperation", - type: "error", - }, - { - inputs: [], - name: "WithdrawalFailed", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "authorizeAllContracts", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "becomeTransientSpender", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "depositETH", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "didAuthorizeAllContracts", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "user", - type: "address", - }, - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "didWhitelistContract", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getAvailableDepositsETH", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getClaimableUsedFHEGas", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getTFHEExecutorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForCast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheAdd", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitAnd", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitOr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitXor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheDiv", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheEq", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheGe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheGt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheLe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheLt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMax", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMul", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheNe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheNeg", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheNot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheRand", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheRandBounded", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRem", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRotl", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRotr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheShl", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheShr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheSub", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForIfThenElse", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForTrivialEncrypt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "recoverBurntFunds", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "removeAuthorizationAllContracts", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "removeWhitelistedContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stopBeingTransientSpender", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "whitelistContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "withdrawETH", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051612fa3620001005f395f818161265c0152818161268501526127ea0152612fa35ff3fe608060405260043610610324575f3560e01c806379ba5097116101a7578063b25fd547116100e7578063d5f0797d11610092578063e30c39781161006d578063e30c397814610802578063f2fde38b14610816578063f7eaec6314610835578063fee4975514610854575f80fd5b8063d5f0797d146107e3578063d692278314610328578063e138131e14610660575f80fd5b8063c4d66de8116100c2578063c4d66de8146107a5578063cd2bd00314610573578063cea14930146107c4575f80fd5b8063b25fd547146103e4578063bdb4401014610772578063bfc1f6d814610786575f80fd5b80639d53862811610152578063aa29aeec1161012d578063aa29aeec146106f7578063aa43b7f91461070b578063ad23361014610469578063ad3cb1cc1461072a575f80fd5b80639d5386281461069e5780639f6a0ed8146106b2578063a90cd91d146106d1575f80fd5b80638da5cb5b116101825780638da5cb5b1461063457806399841ed7146106605780639bf559211461067f575f80fd5b806379ba5097146106205780637da7e620146104e45780638638282b14610328575f80fd5b806327af38ad11610272578063473dceed1161021d578063577244bd116101f8578063577244bd146105b9578063715018a61461060c57806372d0e432146103e45780637300c0fa14610573575f80fd5b8063473dceed146105735780634f1ef2861461059257806352d1902d146105a5575f80fd5b806336118b521161024d57806336118b52146105355780633a0e6d4314610554578063466ac06514610328575f80fd5b806327af38ad146104e45780632be8dd79146105035780632d2da80614610522575f80fd5b806313f3d329116102d25780631db04264116102ad5780631db04264146104885780631f6f6aec146103e4578063262794d8146104a7575f80fd5b806313f3d329146103e45780631761d370146104035780631ade267d14610469575f80fd5b80630d8e6e2c116103025780630d8e6e2c1461037c5780630ff24ee2146103a6578063100747ad146103c5575f80fd5b806303eaf064146103285780630832968e146103495780630b332f441461035d575b5f80fd5b348015610333575f80fd5b50610347610342366004612c50565b610873565b005b348015610354575f80fd5b506103476109af565b348015610368575f80fd5b50610347610377366004612ca0565b610a26565b348015610387575f80fd5b50610390610b7a565b60405161039d9190612cf3565b60405180910390f35b3480156103b1575f80fd5b506103476103c0366004612d25565b610bf5565b3480156103d0575f80fd5b506103476103df366004612ca0565b610c96565b3480156103ef575f80fd5b506103476103fe366004612c50565b610de1565b34801561040e575f80fd5b5061045961041d366004612d25565b6001600160a01b03165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e04602052604090205460ff1690565b604051901515815260200161039d565b348015610474575f80fd5b50610347610483366004612c50565b610f7b565b348015610493575f80fd5b506103476104a2366004612d25565b61111c565b3480156104b2575f80fd5b507f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e02545b60405190815260200161039d565b3480156104ef575f80fd5b506103476104fe366004612c50565b6111cf565b34801561050e575f80fd5b5061034761051d366004612c50565b6112de565b610347610530366004612d25565b61147f565b348015610540575f80fd5b5061034761054f366004612d3e565b6114dd565b34801561055f575f80fd5b5061034761056e366004612d25565b61159d565b34801561057e575f80fd5b5061034761058d366004612c50565b611642565b6103476105a0366004612d73565b611704565b3480156105b0575f80fd5b506104d661171f565b3480156105c4575f80fd5b506104d66105d3366004612d25565b6001600160a01b03165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e03602052604090205490565b348015610617575f80fd5b5061034761174d565b34801561062b575f80fd5b50610347611760565b34801561063f575f80fd5b506106486117ad565b6040516001600160a01b03909116815260200161039d565b34801561066b575f80fd5b5061034761067a366004612c50565b6117e1565b34801561068a575f80fd5b50610347610699366004612ca0565b611963565b3480156106a9575f80fd5b50610347611a47565b3480156106bd575f80fd5b506103476106cc366004612ca0565b611a4c565b3480156106dc575f80fd5b5073596e6682c72946af006b27c131793f2b62527a4b610648565b348015610702575f80fd5b50610347611b2f565b348015610716575f80fd5b50610347610725366004612ca0565b611b34565b348015610735575f80fd5b506103906040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b34801561077d575f80fd5b50610347611c27565b348015610791575f80fd5b506103476107a0366004612c50565b611ca3565b3480156107b0575f80fd5b506103476107bf366004612d25565b611db5565b3480156107cf575f80fd5b506103476107de366004612ca0565b611ed7565b3480156107ee575f80fd5b506103476107fd366004612ca0565b611fc2565b34801561080d575f80fd5b50610648612117565b348015610821575f80fd5b50610347610830366004612d25565b61213f565b348015610840575f80fd5b5061034761084f366004612c50565b6121c4565b34801561085f575f80fd5b5061045961086e366004612e2f565b6122d6565b3373596e6682c72946af006b27c131793f2b62527a4b146108a7576040516378d178a160e01b815260040160405180910390fd5b6108af612324565b6001600160f81b03198116600160f81b0361098a578160ff166001036108e1576108dc8362011170612348565b6109a2565b8160ff166002036108f9576108dc8362014050612348565b8160ff16600303610911576108dc8362019a28612348565b8160ff16600403610929576108dc836201f400612348565b8160ff16600503610941576108dc8362026160612348565b8160ff16600603610959576108dc836202e630612348565b8160ff16600803610971576108dc8362038658612348565b604051639ba6061b60e01b815260040160405180910390fd5b8160ff166001036108e1576108dc8362011170612348565b6109aa61252f565b505050565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0460205260409020545f80516020612f778339815191529060ff16610a0b57604051621c262560e81b815260040160405180910390fd5b335f908152600490910160205260409020805460ff19169055565b3373596e6682c72946af006b27c131793f2b62527a4b14610a5a576040516378d178a160e01b815260040160405180910390fd5b610a62612324565b8060ff165f03610a7e57610a7982620186a0612348565b610b6e565b8060ff16600103610a9657610a7982620186a0612348565b8060ff16600203610aae57610a7982620186a0612348565b8060ff16600303610ac657610a7982620186a0612348565b8060ff16600403610ade57610a7982620186a0612348565b8060ff16600503610af657610a7982620186a0612348565b8060ff16600603610b0e57610a7982620186a0612348565b8060ff16600803610b2657610a7982620186a0612348565b8060ff16600903610b3e57610a798262030d40612348565b8060ff16600a03610b5657610a7982620493e0612348565b8060ff16600b0361097157610a798262061a80612348565b610b7661252f565b5050565b60606040518060400160405280600a81526020017f4648455061796d656e7400000000000000000000000000000000000000000000815250610bbb5f612582565b610bc56001612582565b610bce5f612582565b604051602001610be19493929190612e57565b604051602081830303815290604052905090565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083206001600160a01b03851684529091529020545f80516020612f778339815191529060ff16610c6657604051632ff3629f60e21b815260040160405180910390fd5b335f9081526005909101602090815260408083206001600160a01b0394909416835292905220805460ff19169055565b3373596e6682c72946af006b27c131793f2b62527a4b14610cca576040516378d178a160e01b815260040160405180910390fd5b610cd2612324565b8060ff165f03610ce757610a79826064612348565b8060ff16600103610cfd57610a79826064612348565b8060ff16600203610d1357610a79826064612348565b8060ff16600303610d2957610a798260c8612348565b8060ff16600403610d4057610a798261012c612348565b8060ff16600503610d5757610a7982610258612348565b8060ff16600603610d6e57610a798261028a612348565b8060ff16600703610d8557610a79826102bc612348565b8060ff16600803610d9c57610a7982610320612348565b8060ff16600903610db357610a7982610640612348565b8060ff16600a03610dca57610a7982610c80612348565b8060ff16600b0361097157610a7982611900612348565b3373596e6682c72946af006b27c131793f2b62527a4b14610e15576040516378d178a160e01b815260040160405180910390fd5b610e1d612324565b6001600160f81b03198116600160f81b03610ed3578160ff16600103610e49576108dc836188b8612348565b8160ff16600203610e60576108dc836188b8612348565b8160ff16600303610e77576108dc836188b8612348565b8160ff16600403610e8e576108dc836188b8612348565b8160ff16600503610ea5576108dc83619470612348565b8160ff16600603610ebc576108dc8361a028612348565b8160ff16600803610971576108dc8361abe0612348565b8160ff16600103610eeb576108dc836201c520612348565b8160ff16600203610f03576108dc8362020788612348565b8160ff16600303610f1b576108dc83620255a8612348565b8160ff16600403610f33576108dc836202cad8612348565b8160ff16600503610f4b576108dc83620376b8612348565b8160ff16600603610f63576108dc8362044d90612348565b8160ff16600803610971576108dc8362055730612348565b3373596e6682c72946af006b27c131793f2b62527a4b14610faf576040516378d178a160e01b815260040160405180910390fd5b610fb7612324565b6001600160f81b03198116600160f81b03611074578160ff16600103610fe4576108dc836201d8a8612348565b8160ff16600203610ffc576108dc836201f400612348565b8160ff16600303611014576108dc83620249f0612348565b8160ff1660040361102c576108dc83620280a0612348565b8160ff16600503611044576108dc836202ee00612348565b8160ff1660060361105c576108dc8362036ee8612348565b8160ff16600803610971576108dc8362040740612348565b8160ff1660010361108c576108dc836201d8a8612348565b8160ff166002036110a4576108dc836201f400612348565b8160ff166003036110bc576108dc83620255a8612348565b8160ff166004036110d4576108dc836202cad8612348565b8160ff166005036110ec576108dc8362033450612348565b8160ff16600603611104576108dc836203ad68612348565b8160ff16600803610971576108dc8362043a08612348565b61112461261f565b7f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0280545f918290556040515f80516020612f7783398151915292906001600160a01b0385169083908381818185875af1925050503d805f81146111a2576040519150601f19603f3d011682016040523d82523d5f602084013e6111a7565b606091505b50509050806111c95760405163a4b6690960e01b815260040160405180910390fd5b50505050565b3373596e6682c72946af006b27c131793f2b62527a4b14611203576040516378d178a160e01b815260040160405180910390fd5b61120b612324565b6001600160f81b03198116600160f81b036112c7578160ff16600103611237576108dc8361fde8612348565b8160ff1660020361124f576108dc8362016f30612348565b8160ff16600303611267576108dc8362020788612348565b8160ff1660040361127f576108dc83620278d0612348565b8160ff16600503611297576108dc836202de60612348565b8160ff166006036112af576108dc8362035390612348565b8160ff16600803610971576108dc836203dc48612348565b8160ff16600103611237576108dc8361fde8612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611312576040516378d178a160e01b815260040160405180910390fd5b61131a612324565b6001600160f81b03198116600160f81b036113d7578160ff16600103611347576108dc83620157c0612348565b8160ff1660020361135f576108dc8362026d18612348565b8160ff16600303611377576108dc8362032c80612348565b8160ff1660040361138f576108dc8362040740612348565b8160ff166005036113a7576108dc8362056ea0612348565b8160ff166006036113bf576108dc8362075300612348565b8160ff16600803610971576108dc836209df58612348565b8160ff166001036113ef576108dc83620249f0612348565b8160ff16600203611407576108dc8362030188612348565b8160ff1660030361141f576108dc836203ff70612348565b8160ff16600403611437576108dc8362057a58612348565b8160ff1660050361144f576108dc836209c7e8612348565b8160ff16600603611467576108dc83621178a8612348565b8160ff16600803610971576108dc83621f3448612348565b6001600160a01b0381165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e036020526040812080545f80516020612f77833981519152923492916114d4908490612ee8565b90915550505050565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e036020526040812080545f80516020612f7783398151915292859291611529908490612efb565b90915550506040515f906001600160a01b0384169085908381818185875af1925050503d805f8114611576576040519150601f19603f3d011682016040523d82523d5f602084013e61157b565b606091505b50509050806111c9576040516327fcd9d160e01b815260040160405180910390fd5b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083206001600160a01b03851684529091529020545f80516020612f778339815191529060ff161561160f57604051639ad3410b60e01b815260040160405180910390fd5b335f9081526005909101602090815260408083206001600160a01b0394909416835292905220805460ff19166001179055565b3373596e6682c72946af006b27c131793f2b62527a4b14611676576040516378d178a160e01b815260040160405180910390fd5b61167e612324565b6001600160f81b03198116600160f81b036116ee578160ff165f036116a9576108dc83616590612348565b8160ff166001036116c0576108dc83617d00612348565b8160ff166002036116d7576108dc836184d0612348565b8160ff16600303610e77576108dc836184d0612348565b8160ff165f036116a9576108dc83616590612348565b61170c612651565b61171582612708565b610b768282612710565b5f6117286127df565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61175561261f565b61175e5f612828565b565b338061176a612117565b6001600160a01b0316146117a15760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6117aa81612828565b50565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b3373596e6682c72946af006b27c131793f2b62527a4b14611815576040516378d178a160e01b815260040160405180910390fd5b61181d612324565b6001600160f81b03198116600160f81b0361194d578160ff165f03611848576108dc8361bf68612348565b8160ff1660010361185f576108dc8361c738612348565b8160ff16600203611876576108dc8361cf08612348565b8160ff1660030361188d576108dc8361d2f0612348565b8160ff166004036118a5576108dc8362014050612348565b8160ff166005036118bd576108dc8362014ff0612348565b8160ff166006036118d5576108dc83620157c0612348565b8160ff166007036118ed576108dc8362015f90612348565b8160ff16600803611905576108dc83620186a0612348565b8160ff1660090361191d576108dc83620249f0612348565b8160ff16600a03611935576108dc8362030d40612348565b8160ff16600b03610971576108dc83620493e0612348565b8160ff165f03611848576108dc8361bf68612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611997576040516378d178a160e01b815260040160405180910390fd5b61199f612324565b8060ff166001036119b757610a7982620186a0612348565b8060ff166002036119cf57610a7982620186a0612348565b8060ff166003036119e757610a7982620186a0612348565b8060ff166004036119ff57610a7982620186a0612348565b8060ff16600503611a1757610a7982620186a0612348565b8060ff16600603611a2f57610a7982620186a0612348565b8060ff1660080361097157610a7982620186a0612348565b335f5d565b3373596e6682c72946af006b27c131793f2b62527a4b14611a80576040516378d178a160e01b815260040160405180910390fd5b611a88612324565b8060ff16600103611a9f57610a798261ea60612348565b8060ff16600203611ab757610a798262017318612348565b8060ff16600303611acf57610a79826201ffb8612348565b8060ff16600403611ae757610a798262027100612348565b8060ff16600503611aff57610a798262030958612348565b8060ff16600603611b1757610a79826203c8c0612348565b8060ff1660080361097157610a79826204b708612348565b5f805d565b3373596e6682c72946af006b27c131793f2b62527a4b14611b68576040516378d178a160e01b815260040160405180910390fd5b611b70612324565b8060ff165f03611b8657610a7982617530612348565b8060ff16600103611b9d57610a79826180e8612348565b8060ff16600203611bb457610a79826184d0612348565b8060ff16600303611bcb57610a79826188b8612348565b8060ff16600403611be257610a7982618ca0612348565b8060ff16600503611bf957610a7982619088612348565b8060ff16600603611c1057610a7982619470612348565b8060ff1660080361097157610a7982619858612348565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0460205260409020545f80516020612f778339815191529060ff1615611c8557604051635f2223a360e11b815260040160405180910390fd5b335f908152600490910160205260409020805460ff19166001179055565b3373596e6682c72946af006b27c131793f2b62527a4b14611cd7576040516378d178a160e01b815260040160405180910390fd5b611cdf612324565b600160f81b6001600160f81b0319821614611d0d57604051636aa9eb0560e01b815260040160405180910390fd5b8160ff16600103611d25576108dc8362045d30612348565b8160ff16600203611d3d576108dc83620704e0612348565b8160ff16600303611d55576108dc8362097db0612348565b8160ff16600403611d6d576108dc83620c4888612348565b8160ff16600503611d85576108dc836210b558612348565b8160ff16600603611d9d576108dc836216df78612348565b8160ff16600803610971576108dc83621f4fa0612348565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015611dff5750825b90505f8267ffffffffffffffff166001148015611e1b5750303b155b905081158015611e29575080155b15611e475760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611e7b57845468ff00000000000000001916680100000000000000001785555b611e8486612860565b8315611ecf57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b3373596e6682c72946af006b27c131793f2b62527a4b14611f0b576040516378d178a160e01b815260040160405180910390fd5b611f13612324565b8060ff165f03611f2857610a798260c8612348565b8060ff16600103611f3e57610a798260c8612348565b8060ff16600203611f5457610a798260c8612348565b8060ff16600303611f6a57610a798260c8612348565b8060ff16600403611f8057610a798260c8612348565b8060ff16600503611f9657610a798260c8612348565b8060ff16600603611fac57610a798260c8612348565b8060ff1660080361097157610a798260c8612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611ff6576040516378d178a160e01b815260040160405180910390fd5b611ffe612324565b8060ff165f0361201457610a798261a7f8612348565b8060ff1660010361202b57610a798261afc8612348565b8060ff1660020361204257610a798261b798612348565b8060ff1660030361205957610a798261b798612348565b8060ff1660040361207057610a798261c350612348565b8060ff1660050361208757610a798261cf08612348565b8060ff1660060361209f57610a798262011170612348565b8060ff166007036120b757610a798262013880612348565b8060ff166008036120cf57610a798262015f90612348565b8060ff166009036120e757610a7982620249f0612348565b8060ff16600a036120ff57610a798262030d40612348565b8060ff16600b0361097157610a7982620493e0612348565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006117d1565b61214761261f565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b038316908117825561218b6117ad565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b3373596e6682c72946af006b27c131793f2b62527a4b146121f8576040516378d178a160e01b815260040160405180910390fd5b612200612324565b600160f81b6001600160f81b031982161461222e57604051636aa9eb0560e01b815260040160405180910390fd5b8160ff16600103612246576108dc8362021ef8612348565b8160ff1660020361225e576108dc836203a1b0612348565b8160ff16600303612276576108dc836204ca90612348565b8160ff1660040361228e576108dc83620612b0612348565b8160ff166005036122a6576108dc836208e940612348565b8160ff166006036122be576108dc83620d13a8612348565b8160ff16600803610971576108dc8362133210612348565b6001600160a01b038281165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083209385168352929052205460ff165b92915050565b5f80516020612f7783398151915280544390811115610b765781555f600190910155565b5f80516020612f778339815191525f620f4240612365823a612f0e565b61236f9190612f25565b90505f80821161237f575f612381565b815b90505f61238e8583612f0e565b6001600160a01b0387165f908152600386016020526040902054909150808211156124d4575f5c6001600160a01b038116156123ca57806123cc565b325b6001600160a01b0381165f90815260048801602052604090205490915060ff168061241d57506001600160a01b038082165f9081526005880160209081526040808320938c168352929052205460ff165b156124b5576001600160a01b0381165f9081526003870160205260409020548084111561245d5760405163ba2b1f1560e01b815260040160405180910390fd5b6001600160a01b0382165f908152600388016020526040812085830390556001880180548a929061248f908490612ee8565b9250508190555083876002015f8282546124a99190612ee8565b909155506124ce915050565b60405163ba2b1f1560e01b815260040160405180910390fd5b50612526565b6001600160a01b0387165f90815260038601602052604081208383039055600186018054889290612506908490612ee8565b9250508190555081856002015f8282546125209190612ee8565b90915550505b50505050505050565b7f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e01545f80516020612f778339815191529062989680116117aa5760405163964fa5eb60e01b815260040160405180910390fd5b60605f61258e83612871565b60010190505f8167ffffffffffffffff8111156125ad576125ad612d5f565b6040519080825280601f01601f1916602001820160405280156125d7576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846125e157509392505050565b336126286117ad565b6001600160a01b03161461175e5760405163118cdaa760e01b8152336004820152602401611798565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806126ea57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166126de7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b1561175e5760405163703e46dd60e11b815260040160405180910390fd5b6117aa61261f565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561276a575060408051601f3d908101601f1916820190925261276791810190612f44565b60015b61279257604051634c9c8ce360e01b81526001600160a01b0383166004820152602401611798565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146127d557604051632a87526960e21b815260048101829052602401611798565b6109aa8383612952565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461175e5760405163703e46dd60e11b815260040160405180910390fd5b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319168155610b76826129a7565b612868612a17565b6117aa81612a65565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106128b9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106128e5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061290357662386f26fc10000830492506010015b6305f5e100831061291b576305f5e100830492506008015b612710831061292f57612710830492506004015b60648310612941576064830492506002015b600a831061231e5760010192915050565b61295b82612a96565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561299f576109aa8282612b0c565b610b76612b7e565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661175e57604051631afcd79f60e31b815260040160405180910390fd5b612a6d612a17565b6001600160a01b0381166117a157604051631e4fbdf760e01b81525f6004820152602401611798565b806001600160a01b03163b5f03612acb57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401611798565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051612b289190612f5b565b5f60405180830381855af49150503d805f8114612b60576040519150601f19603f3d011682016040523d82523d5f602084013e612b65565b606091505b5091509150612b75858383612b9d565b95945050505050565b341561175e5760405163b398979f60e01b815260040160405180910390fd5b606082612bb257612bad82612bfc565b612bf5565b8151158015612bc957506001600160a01b0384163b155b15612bf257604051639996b31560e01b81526001600160a01b0385166004820152602401611798565b50805b9392505050565b805115612c0c5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160a01b0381168114612c3b575f80fd5b919050565b803560ff81168114612c3b575f80fd5b5f805f60608486031215612c62575f80fd5b612c6b84612c25565b9250612c7960208501612c40565b915060408401356001600160f81b031981168114612c95575f80fd5b809150509250925092565b5f8060408385031215612cb1575f80fd5b612cba83612c25565b9150612cc860208401612c40565b90509250929050565b5f5b83811015612ceb578181015183820152602001612cd3565b50505f910152565b602081525f8251806020840152612d11816040850160208701612cd1565b601f01601f19169190910160400192915050565b5f60208284031215612d35575f80fd5b612bf582612c25565b5f8060408385031215612d4f575f80fd5b82359150612cc860208401612c25565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215612d84575f80fd5b612d8d83612c25565b9150602083013567ffffffffffffffff80821115612da9575f80fd5b818501915085601f830112612dbc575f80fd5b813581811115612dce57612dce612d5f565b604051601f8201601f19908116603f01168101908382118183101715612df657612df6612d5f565b81604052828152886020848701011115612e0e575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f8060408385031215612e40575f80fd5b612e4983612c25565b9150612cc860208401612c25565b5f8551612e68818460208a01612cd1565b61103b60f11b9083019081528551612e87816002840160208a01612cd1565b808201915050601760f91b8060028301528551612eab816003850160208a01612cd1565b60039201918201528351612ec6816004840160208801612cd1565b016004019695505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561231e5761231e612ed4565b8181038181111561231e5761231e612ed4565b808202811582820484141761231e5761231e612ed4565b5f82612f3f57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612f54575f80fd5b5051919050565b5f8251612f6c818460208701612cd1565b919091019291505056fe4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e00a164736f6c6343000818000a"; - -type FHEPaymentConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: FHEPaymentConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class FHEPayment__factory extends ContractFactory { - constructor(...args: FHEPaymentConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - FHEPayment & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): FHEPayment__factory { - return super.connect(runner) as FHEPayment__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): FHEPaymentInterface { - return new Interface(_abi) as FHEPaymentInterface; - } - static connect(address: string, runner?: ContractRunner | null): FHEPayment { - return new Contract(address, _abi, runner) as unknown as FHEPayment; - } -} diff --git a/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/InputVerifier__factory.ts b/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/InputVerifier__factory.ts deleted file mode 100644 index f807ffbf..00000000 --- a/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/InputVerifier__factory.ts +++ /dev/null @@ -1,539 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - InputVerifier, - InputVerifierInterface, -} from "../../../contracts/InputVerifier.coprocessor.sol/InputVerifier"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [], - name: "ECDSAInvalidSignature", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "ECDSAInvalidSignatureLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "ECDSAInvalidSignatureS", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "CIPHERTEXTVERIFICATION_COPRO_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "HANDLE_VERSION", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getCoprocessorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getKMSVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [], - name: "get_CIPHERTEXTVERIFICATION_COPRO_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "kmsVerifier", - outputs: [ - { - internalType: "contract KMSVerifier", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct TFHEExecutor.ContextUserInputs", - name: "context", - type: "tuple", - }, - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051612460620000fa5f395f818161118f015281816111b8015261132201526124605ff3fe608060405260043610610123575f3560e01c806384b0196e116100a1578063b578ba0d11610071578063e30c397811610057578063e30c39781461031a578063f0ea684d1461032e578063f2fde38b14610355575f80fd5b8063b578ba0d146102e7578063c4d66de8146102fb575f80fd5b806384b0196e1461023e5780638da5cb5b146102655780638e188f4314610279578063ad3cb1cc1461029f575f80fd5b80634f1ef286116100f65780636a8c8eb4116100dc5780636a8c8eb4146101f1578063715018a61461021657806379ba50971461022a575f80fd5b80634f1ef286146101c857806352d1902d146101dd575f80fd5b806303b031cf146101275780630d8e6e2c146101665780631967d4a6146101875780634d52c1071461019b575b5f80fd5b348015610132575f80fd5b5073208de73316e44722e16f6ddff40881a3e4f861045b6040516001600160a01b0390911681526020015b60405180910390f35b348015610171575f80fd5b5061017a610374565b60405161015d9190611db3565b348015610192575f80fd5b5061017a6103df565b3480156101a6575f80fd5b506101ba6101b5366004611e7d565b6103fb565b60405190815260200161015d565b6101db6101d6366004611f27565b610c3b565b005b3480156101e8575f80fd5b506101ba610c5a565b3480156101fc575f80fd5b506102045f81565b60405160ff909116815260200161015d565b348015610221575f80fd5b506101db610c88565b348015610235575f80fd5b506101db610c9b565b348015610249575f80fd5b50610252610ce3565b60405161015d9796959493929190611f72565b348015610270575f80fd5b50610149610da7565b348015610284575f80fd5b5073c9990fefe0c27d31d0c2aa36196b085c0c4d456c610149565b3480156102aa575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b3480156102f2575f80fd5b5061017a610ddb565b348015610306575f80fd5b506101db610315366004612009565b610dfb565b348015610325575f80fd5b50610149610f65565b348015610339575f80fd5b5061014973208de73316e44722e16f6ddff40881a3e4f8610481565b348015610360575f80fd5b506101db61036f366004612009565b610f8d565b60606040518060400160405280600d81526020016c24b7383aba2b32b934b334b2b960991b8152506103a55f611012565b6103af6001611012565b6103b85f611012565b6040516020016103cb9493929190612022565b604051602081830303815290604052905090565b6040518060c00160405280608d81526020016123c7608d913981565b5f805f6104158487602001518860400151895f01516110af565b90925090508460ff601082901c1683610b145785518061047c5760405162461bcd60e51b815260206004820152601060248201527f456d70747920696e70757450726f6f660000000000000000000000000000000060448201526064015b60405180910390fd5b5f875f8151811061048f5761048f61209f565b602001015160f81c60f81b60f81c60ff1690505f886001815181106104b6576104b661209f565b016020015160f81c90508382116104ff5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610473565b61050a8160416120c7565b6105158360206120c7565b6105209060636120de565b61052a91906120de565b83146105785760405162461bcd60e51b815260206004820152601e60248201527f4572726f7220646573657269616c697a696e6720696e70757450726f6f6600006044820152606401610473565b60228901515f8367ffffffffffffffff81111561059757610597611dc5565b6040519080825280602002602001820160405280156105c0578160200160208202803683370190505b5090505f5b8481101561064f57602081028c016042015160ff8116156106285760405162461bcd60e51b815260206004820152601460248201527f57726f6e672068616e646c652076657273696f6e0000000000000000000000006044820152606401610473565b8083838151811061063b5761063b61209f565b6020908102919091010152506001016105c5565b50604080516041808252608082019092525f916020820181803683370190505090505f5b6041811015610701578c816106898860206120c7565b6106949060226120de565b61069e91906120de565b815181106106ae576106ae61209f565b602001015160f81c60f81b8282815181106106cb576106cb61209f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610673565b506040805160a0810182525f80825260208201819052606092820183905291810182905260808101919091528e5f0151815f01906001600160a01b031690816001600160a01b031681525050838160200181815250508281604001819052508e6020015181606001906001600160a01b031690816001600160a01b0316815250508e6040015181608001906001600160a01b031690816001600160a01b0316815250506107ae81836110f2565b50505f8367ffffffffffffffff8111156107ca576107ca611dc5565b6040519080825280602002602001820160405280156107fd57816020015b60608152602001906001900390816107e85790505b5090505f5b8481101561090c5760408051604180825260808201909252906020820181803683370190505082828151811061083a5761083a61209f565b60200260200101819052505f5b6041811015610903578d8161085d8460416120c7565b6108688a60206120c7565b6108739060636120de565b61087d91906120de565b61088791906120de565b815181106108975761089761209f565b602001015160f81c60f81b8383815181106108b4576108b461209f565b602002602001015182815181106108cd576108cd61209f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610847565b50600101610802565b50604080516080810182525f8082526020820181905291810182905260608101919091528e5f0151815f01906001600160a01b031690816001600160a01b031681525050838160200181815250508e6020015181604001906001600160a01b031690816001600160a01b0316815250508e6040015181606001906001600160a01b031690816001600160a01b0316815250505f73208de73316e44722e16f6ddff40881a3e4f861046001600160a01b0316630e66e3f283856040518363ffffffff1660e01b81526004016109e19291906120f1565b6020604051808303815f875af11580156109fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a219190612189565b905080610a965760405162461bcd60e51b815260206004820152602660248201527f4e6f7420656e6f75676820756e69717565204b4d5320696e707574207369676e60448201527f61747572657300000000000000000000000000000000000000000000000000006064820152608401610473565b505050610aa28861117d565b808681518110610ab457610ab461209f565b60200260200101518714610b0a5760405162461bcd60e51b815260206004820152601160248201527f57726f6e6720696e70757448616e646c650000000000000000000000000000006044820152606401610473565b5050505050610c2e565b5f865f81518110610b2757610b2761209f565b016020015160f81c9050818111610b705760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610473565b5f805b6020811015610bdb57610b8781601f6121a8565b610b929060086120c7565b8982610b9f8760206120c7565b610baa9060226120de565b610bb491906120de565b81518110610bc457610bc461209f565b016020015160f81c901b9190911790600101610b73565b50838114610c2b5760405162461bcd60e51b815260206004820152601160248201527f57726f6e6720696e70757448616e646c650000000000000000000000000000006044820152606401610473565b50505b50925050505b9392505050565b610c43611184565b610c4c8261123b565b610c568282611243565b5050565b5f610c63611317565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610c90611360565b610c995f611392565b565b3380610ca5610f65565b6001600160a01b031614610cd75760405163118cdaa760e01b81526001600160a01b0382166004820152602401610473565b610ce081611392565b50565b5f60608082808083817fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1008054909150158015610d2157506001810154155b610d6d5760405162461bcd60e51b815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152606401610473565b610d756113ca565b610d7d61149d565b604080515f80825260208201909252600f60f81b9c939b5091995046985030975095509350915050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b60606040518060c00160405280608d81526020016123c7608d9139905090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610e455750825b90505f8267ffffffffffffffff166001148015610e615750303b155b905081158015610e6f575080155b15610e8d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ec157845468ff00000000000000001916680100000000000000001785555b610eca866114ee565b610f126040518060400160405280600d81526020016c24b7383aba2b32b934b334b2b960991b815250604051806040016040528060018152602001603160f81b8152506114ff565b8315610f5d57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610dcb565b610f95611360565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610fd9610da7565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f61101e83611511565b60010190505f8167ffffffffffffffff81111561103d5761103d611dc5565b6040519080825280601f01601f191660200182016040528015611067576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461107157509392505050565b5f805f808585888a6040516020016110ca94939291906121bb565b60408051808303601f190181529190528051602090910120805c999098509650505050505050565b5f6110fc836115f3565b90505f61110982846116b6565b90506001600160a01b03811673c9990fefe0c27d31d0c2aa36196b085c0c4d456c146111775760405162461bcd60e51b815260206004820152601c60248201527f436f70726f636573736f722061646472657373206d69736d61746368000000006044820152606401610473565b50505050565b6001815d50565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061121d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112117f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15610c995760405163703e46dd60e11b815260040160405180910390fd5b610ce0611360565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561129d575060408051601f3d908101601f1916820190925261129a9181019061220c565b60015b6112c557604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610473565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461130857604051632a87526960e21b815260048101829052602401610473565b61131283836116de565b505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c995760405163703e46dd60e11b815260040160405180910390fd5b33611369610da7565b6001600160a01b031614610c995760405163118cdaa760e01b8152336004820152602401610473565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319168155610c5682611733565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10280546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1009161141b90612223565b80601f016020809104026020016040519081016040528092919081815260200182805461144790612223565b80156114925780601f1061146957610100808354040283529160200191611492565b820191905f5260205f20905b81548152906001019060200180831161147557829003601f168201915b505050505091505090565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10380546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1009161141b90612223565b6114f66117a3565b610ce0816117f1565b6115076117a3565b610c568282611822565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611559577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611585576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115a357662386f26fc10000830492506010015b6305f5e10083106115bb576305f5e100830492506008015b61271083106115cf57612710830492506004015b606483106115e1576064830492506002015b600a83106115ed576001015b92915050565b5f6115ed6040518060c00160405280608d81526020016123c7608d913980519060200120835f015184602001518560400151604051602001611635919061225b565b604051602081830303815290604052805190602001208660600151876080015160405160200161169b969594939291909586526001600160a01b03948516602087015260408601939093526060850191909152821660808401521660a082015260c00190565b60405160208183030381529060405280519060200120611894565b5f805f806116c486866118c0565b9250925092506116d48282611909565b5090949350505050565b6116e7826119c1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561172b576113128282611a37565b610c56611aa9565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610c9957604051631afcd79f60e31b815260040160405180910390fd5b6117f96117a3565b6001600160a01b038116610cd757604051631e4fbdf760e01b81525f6004820152602401610473565b61182a6117a3565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10261187684826122db565b506003810161188583826122db565b505f8082556001909101555050565b5f6115ed6118a0611ac8565b8360405161190160f01b8152600281019290925260228201526042902090565b5f805f83516041036118f7576020840151604085015160608601515f1a6118e988828585611ad6565b955095509550505050611902565b505081515f91506002905b9250925092565b5f82600381111561191c5761191c612397565b03611925575050565b600182600381111561193957611939612397565b036119575760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561196b5761196b612397565b0361198c5760405163fce698f760e01b815260048101829052602401610473565b60038260038111156119a0576119a0612397565b03610c56576040516335e2f38360e21b815260048101829052602401610473565b806001600160a01b03163b5f036119f657604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610473565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051611a5391906123ab565b5f60405180830381855af49150503d805f8114611a8b576040519150601f19603f3d011682016040523d82523d5f602084013e611a90565b606091505b5091509150611aa0858383611b9e565b95945050505050565b3415610c995760405163b398979f60e01b815260040160405180910390fd5b5f611ad1611bfa565b905090565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611b0f57505f91506003905082611b94565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611b60573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611b8b57505f925060019150829050611b94565b92505f91508190505b9450945094915050565b606082611bb357611bae82611c6d565b610c34565b8151158015611bca57506001600160a01b0384163b155b15611bf357604051639996b31560e01b81526001600160a01b0385166004820152602401610473565b5080610c34565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611c24611c96565b611c2c611d11565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b805115611c7d5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611cc16113ca565b805190915015611cd957805160209091012092915050565b81548015611ce8579392505050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470935050505090565b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611d3c61149d565b805190915015611d5457805160209091012092915050565b60018201548015611ce8579392505050565b5f5b83811015611d80578181015183820152602001611d68565b50505f910152565b5f8151808452611d9f816020860160208601611d66565b601f01601f19169290920160200192915050565b602081525f610c346020830184611d88565b634e487b7160e01b5f52604160045260245ffd5b80356001600160a01b0381168114611def575f80fd5b919050565b5f82601f830112611e03575f80fd5b813567ffffffffffffffff80821115611e1e57611e1e611dc5565b604051601f8301601f19908116603f01168101908282118183101715611e4657611e46611dc5565b81604052838152866020858801011115611e5e575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f83850360a0811215611e90575f80fd5b6060811215611e9d575f80fd5b506040516060810167ffffffffffffffff8282108183111715611ec257611ec2611dc5565b81604052611ecf87611dd9565b8352611edd60208801611dd9565b6020840152611eee60408801611dd9565b60408401529194506060860135935060808601359180831115611f0f575f80fd5b5050611f1d86828701611df4565b9150509250925092565b5f8060408385031215611f38575f80fd5b611f4183611dd9565b9150602083013567ffffffffffffffff811115611f5c575f80fd5b611f6885828601611df4565b9150509250929050565b60ff60f81b881681525f602060e06020840152611f9260e084018a611d88565b8381036040850152611fa4818a611d88565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b81811015611ff757835183529284019291840191600101611fdb565b50909c9b505050505050505050505050565b5f60208284031215612019575f80fd5b610c3482611dd9565b5f8551612033818460208a01611d66565b61103b60f11b9083019081528551612052816002840160208a01611d66565b808201915050601760f91b8060028301528551612076816003850160208a01611d66565b60039201918201528351612091816004840160208801611d66565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176115ed576115ed6120b3565b808201808211156115ed576115ed6120b3565b5f60a082016001600160a01b03808651168452602080870151602086015281604088015116604086015281606088015116606086015260a06080860152829150855180845260c08601925060c08160051b8701019350602087015f5b8281101561217b5760bf19888703018552612169868351611d88565b9550938301939083019060010161214d565b509398975050505050505050565b5f60208284031215612199575f80fd5b81518015158114610c34575f80fd5b818103818111156115ed576115ed6120b3565b5f6bffffffffffffffffffffffff19808760601b168352808660601b166014840152808560601b1660288401525082516121fc81603c850160208701611d66565b91909101603c0195945050505050565b5f6020828403121561221c575f80fd5b5051919050565b600181811c9082168061223757607f821691505b60208210810361225557634e487b7160e01b5f52602260045260245ffd5b50919050565b81515f9082906020808601845b8381101561228457815185529382019390820190600101612268565b50929695505050505050565b601f82111561131257805f5260205f20601f840160051c810160208510156122b55750805b601f840160051c820191505b818110156122d4575f81556001016122c1565b5050505050565b815167ffffffffffffffff8111156122f5576122f5611dc5565b612309816123038454612223565b84612290565b602080601f83116001811461233c575f84156123255750858301515b5f19600386901b1c1916600185901b178555610f5d565b5f85815260208120601f198616915b8281101561236a5788860151825594840194600190910190840161234b565b508582101561238757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52602160045260245ffd5b5f82516123bc818460208701611d66565b919091019291505056fe43697068657274657874566572696669636174696f6e466f72436f70726f28616464726573732061636c416464726573732c6279746573333220686173684f66436970686572746578742c75696e743235365b5d2068616e646c65734c6973742c616464726573732075736572416464726573732c6164647265737320636f6e74726163744164647265737329a164736f6c6343000818000a"; - -type InputVerifierConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: InputVerifierConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class InputVerifier__factory extends ContractFactory { - constructor(...args: InputVerifierConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - InputVerifier & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): InputVerifier__factory { - return super.connect(runner) as InputVerifier__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InputVerifierInterface { - return new Interface(_abi) as InputVerifierInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): InputVerifier { - return new Contract(address, _abi, runner) as unknown as InputVerifier; - } -} diff --git a/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/index.ts b/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/index.ts deleted file mode 100644 index 8b2f1837..00000000 --- a/contracts/types/factories/contracts/InputVerifier.coprocessor.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { InputVerifier__factory } from "./InputVerifier__factory"; diff --git a/contracts/types/factories/contracts/InputVerifier.native.sol/InputVerifier__factory.ts b/contracts/types/factories/contracts/InputVerifier.native.sol/InputVerifier__factory.ts deleted file mode 100644 index 8b7cc5b7..00000000 --- a/contracts/types/factories/contracts/InputVerifier.native.sol/InputVerifier__factory.ts +++ /dev/null @@ -1,424 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - InputVerifier, - InputVerifierInterface, -} from "../../../contracts/InputVerifier.native.sol/InputVerifier"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "HANDLE_VERSION", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getKMSVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "kmsVerifier", - outputs: [ - { - internalType: "contract KMSVerifier", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct TFHEExecutor.ContextUserInputs", - name: "context", - type: "tuple", - }, - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516119a06100f95f395f8181610f5401528181610f7d01526110e701526119a05ff3fe6080604052600436106100d9575f3560e01c806379ba50971161007c578063c4d66de811610057578063c4d66de81461023c578063e30c39781461025b578063f0ea684d1461026f578063f2fde38b14610296575f80fd5b806379ba5097146101cc5780638da5cb5b146101e0578063ad3cb1cc146101f4575f80fd5b80634f1ef286116100b75780634f1ef2861461016a57806352d1902d1461017f5780636a8c8eb414610193578063715018a6146101b8575f80fd5b806303b031cf146100dd5780630d8e6e2c1461011c5780634d52c1071461013d575b5f80fd5b3480156100e8575f80fd5b5073208de73316e44722e16f6ddff40881a3e4f861045b6040516001600160a01b0390911681526020015b60405180910390f35b348015610127575f80fd5b506101306102b5565b604051610113919061159f565b348015610148575f80fd5b5061015c610157366004611669565b610330565b604051908152602001610113565b61017d610178366004611713565b610bb7565b005b34801561018a575f80fd5b5061015c610bd6565b34801561019e575f80fd5b506101a65f81565b60405160ff9091168152602001610113565b3480156101c3575f80fd5b5061017d610c04565b3480156101d7575f80fd5b5061017d610c17565b3480156101eb575f80fd5b506100ff610c5f565b3480156101ff575f80fd5b506101306040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610247575f80fd5b5061017d61025636600461175e565b610c93565b348015610266575f80fd5b506100ff610db5565b34801561027a575f80fd5b506100ff73208de73316e44722e16f6ddff40881a3e4f8610481565b3480156102a1575f80fd5b5061017d6102b036600461175e565b610ddd565b60606040518060400160405280600d81526020017f496e7075745665726966696572000000000000000000000000000000000000008152506102f65f610e62565b6103006001610e62565b6103095f610e62565b60405160200161031c9493929190611777565b604051602081830303815290604052905090565b5f805f61034a8487602001518860400151895f0151610eff565b90925090508460ff601082901c1683610a90578551806103b15760405162461bcd60e51b815260206004820152601060248201527f456d70747920696e70757450726f6f660000000000000000000000000000000060448201526064015b60405180910390fd5b5f875f815181106103c4576103c46117f4565b602001015160f81c60f81b60f81c60ff1690505f886001815181106103eb576103eb6117f4565b016020015160f81c90508382116104345760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b60448201526064016103a8565b61043f81604161181c565b61044a83602061181c565b610455906002611833565b61045f9190611833565b83116104ad5760405162461bcd60e51b815260206004820152601e60248201527f4572726f7220646573657269616c697a696e6720696e70757450726f6f66000060448201526064016103a8565b5f806104ba83604161181c565b6104c585602061181c565b6104d0906002611833565b6104da9190611833565b90505f6104e78287611846565b90505f8167ffffffffffffffff811115610503576105036115b1565b6040519080825280601f01601f19166020018201604052801561052d576020820181803683370190505b5090505f5b828110156105a8578d6105458286611833565b81518110610555576105556117f4565b602001015160f81c60f81b828281518110610572576105726117f4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610532565b50808051906020012093505050505f8267ffffffffffffffff8111156105d0576105d06115b1565b60405190808252806020026020018201604052801561060357816020015b60608152602001906001900390816105ee5790505b5090505f5b8381101561071257604080516041808252608082019092529060208201818036833701905050828281518110610640576106406117f4565b60200260200101819052505f5b6041811015610709578c8161066384604161181c565b61066e89602061181c565b610679906002611833565b6106839190611833565b61068d9190611833565b8151811061069d5761069d6117f4565b602001015160f81c60f81b8383815181106106ba576106ba6117f4565b602002602001015182815181106106d3576106d36117f4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060010161064d565b50600101610608565b50604080516080810182525f8082526020820181905291810182905260608101919091528d5f0151815f01906001600160a01b031690816001600160a01b031681525050828160200181815250508d6020015181604001906001600160a01b031690816001600160a01b0316815250508d6040015181606001906001600160a01b031690816001600160a01b0316815250505f73208de73316e44722e16f6ddff40881a3e4f861046001600160a01b0316630e66e3f283856040518363ffffffff1660e01b81526004016107e7929190611859565b6020604051808303815f875af1158015610803573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082791906118f1565b90508061089c5760405162461bcd60e51b815260206004820152602660248201527f4e6f7420656e6f75676820756e69717565204b4d5320696e707574207369676e60448201527f617475726573000000000000000000000000000000000000000000000000000060648201526084016103a8565b5050505f5b83811015610a7d57602081028b016022015160ff8116156109045760405162461bcd60e51b815260206004820152601460248201527f57726f6e672068616e646c652076657273696f6e00000000000000000000000060448201526064016103a8565b60ff601082901c168281146109655760405162461bcd60e51b815260206004820152602160248201527f57726f6e6720696e64657820666f722073657269616c697a65642068616e646c6044820152606560f81b60648201526084016103a8565b5f84846040516020016109a792919091825260f81b7fff0000000000000000000000000000000000000000000000000000000000000016602082015260210190565b604051602081830303815290604052805190602001205f1c90508262ffffff19168162ffffff191614610a1c5760405162461bcd60e51b815260206004820152601a60248201527f57726f6e672068616e646c6520696e20696e70757450726f6f6600000000000060448201526064016103a8565b888403610a7257828a14610a725760405162461bcd60e51b815260206004820152601160248201527f57726f6e6720696e70757448616e646c6500000000000000000000000000000060448201526064016103a8565b5050506001016108a1565b50610a8787610f42565b50505050610baa565b5f865f81518110610aa357610aa36117f4565b016020015160f81c9050818111610aec5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b60448201526064016103a8565b5f805b6020811015610b5757610b0381601f611846565b610b0e90600861181c565b8982610b1b87602061181c565b610b26906002611833565b610b309190611833565b81518110610b4057610b406117f4565b016020015160f81c901b9190911790600101610aef565b50838114610ba75760405162461bcd60e51b815260206004820152601160248201527f57726f6e6720696e70757448616e646c6500000000000000000000000000000060448201526064016103a8565b50505b50925050505b9392505050565b610bbf610f49565b610bc882611000565b610bd28282611008565b5050565b5f610bdf6110dc565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610c0c611125565b610c155f611157565b565b3380610c21610db5565b6001600160a01b031614610c535760405163118cdaa760e01b81526001600160a01b03821660048201526024016103a8565b610c5c81611157565b50565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610cdd5750825b90505f8267ffffffffffffffff166001148015610cf95750303b155b905081158015610d07575080155b15610d255760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d5957845468ff00000000000000001916680100000000000000001785555b610d628661118f565b8315610dad57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610c83565b610de5611125565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610e29610c5f565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610e6e836111a0565b60010190505f8167ffffffffffffffff811115610e8d57610e8d6115b1565b6040519080825280601f01601f191660200182016040528015610eb7576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ec157509392505050565b5f805f808585888a604051602001610f1a9493929190611910565b60408051808303601f190181529190528051602090910120805c999098509650505050505050565b6001815d50565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610fe257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610fd67f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15610c155760405163703e46dd60e11b815260040160405180910390fd5b610c5c611125565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611062575060408051601f3d908101601f1916820190925261105f91810190611961565b60015b61108a57604051634c9c8ce360e01b81526001600160a01b03831660048201526024016103a8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146110cd57604051632a87526960e21b8152600481018290526024016103a8565b6110d78383611282565b505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c155760405163703e46dd60e11b815260040160405180910390fd5b3361112e610c5f565b6001600160a01b031614610c155760405163118cdaa760e01b81523360048201526024016103a8565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319168155610bd2826112d7565b611197611347565b610c5c81611395565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106111e8577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611214576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061123257662386f26fc10000830492506010015b6305f5e100831061124a576305f5e100830492506008015b612710831061125e57612710830492506004015b60648310611270576064830492506002015b600a831061127c576001015b92915050565b61128b826113c6565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156112cf576110d7828261143c565b610bd26114ae565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610c1557604051631afcd79f60e31b815260040160405180910390fd5b61139d611347565b6001600160a01b038116610c5357604051631e4fbdf760e01b81525f60048201526024016103a8565b806001600160a01b03163b5f036113fb57604051634c9c8ce360e01b81526001600160a01b03821660048201526024016103a8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516114589190611978565b5f60405180830381855af49150503d805f8114611490576040519150601f19603f3d011682016040523d82523d5f602084013e611495565b606091505b50915091506114a58583836114cd565b95945050505050565b3415610c155760405163b398979f60e01b815260040160405180910390fd5b6060826114e2576114dd82611529565b610bb0565b81511580156114f957506001600160a01b0384163b155b1561152257604051639996b31560e01b81526001600160a01b03851660048201526024016103a8565b5080610bb0565b8051156115395780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b8381101561156c578181015183820152602001611554565b50505f910152565b5f815180845261158b816020860160208601611552565b601f01601f19169290920160200192915050565b602081525f610bb06020830184611574565b634e487b7160e01b5f52604160045260245ffd5b80356001600160a01b03811681146115db575f80fd5b919050565b5f82601f8301126115ef575f80fd5b813567ffffffffffffffff8082111561160a5761160a6115b1565b604051601f8301601f19908116603f01168101908282118183101715611632576116326115b1565b8160405283815286602085880101111561164a575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f83850360a081121561167c575f80fd5b6060811215611689575f80fd5b506040516060810167ffffffffffffffff82821081831117156116ae576116ae6115b1565b816040526116bb876115c5565b83526116c9602088016115c5565b60208401526116da604088016115c5565b604084015291945060608601359350608086013591808311156116fb575f80fd5b5050611709868287016115e0565b9150509250925092565b5f8060408385031215611724575f80fd5b61172d836115c5565b9150602083013567ffffffffffffffff811115611748575f80fd5b611754858286016115e0565b9150509250929050565b5f6020828403121561176e575f80fd5b610bb0826115c5565b5f8551611788818460208a01611552565b61103b60f11b90830190815285516117a7816002840160208a01611552565b808201915050601760f91b80600283015285516117cb816003850160208a01611552565b600392019182015283516117e6816004840160208801611552565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761127c5761127c611808565b8082018082111561127c5761127c611808565b8181038181111561127c5761127c611808565b5f60a082016001600160a01b03808651168452602080870151602086015281604088015116604086015281606088015116606086015260a06080860152829150855180845260c08601925060c08160051b8701019350602087015f5b828110156118e35760bf198887030185526118d1868351611574565b955093830193908301906001016118b5565b509398975050505050505050565b5f60208284031215611901575f80fd5b81518015158114610bb0575f80fd5b5f6bffffffffffffffffffffffff19808760601b168352808660601b166014840152808560601b16602884015250825161195181603c850160208701611552565b91909101603c0195945050505050565b5f60208284031215611971575f80fd5b5051919050565b5f8251611989818460208701611552565b919091019291505056fea164736f6c6343000818000a"; - -type InputVerifierConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: InputVerifierConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class InputVerifier__factory extends ContractFactory { - constructor(...args: InputVerifierConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - InputVerifier & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): InputVerifier__factory { - return super.connect(runner) as InputVerifier__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InputVerifierInterface { - return new Interface(_abi) as InputVerifierInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): InputVerifier { - return new Contract(address, _abi, runner) as unknown as InputVerifier; - } -} diff --git a/contracts/types/factories/contracts/InputVerifier.native.sol/index.ts b/contracts/types/factories/contracts/InputVerifier.native.sol/index.ts deleted file mode 100644 index 8b2f1837..00000000 --- a/contracts/types/factories/contracts/InputVerifier.native.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { InputVerifier__factory } from "./InputVerifier__factory"; diff --git a/contracts/types/factories/contracts/KMSVerifier__factory.ts b/contracts/types/factories/contracts/KMSVerifier__factory.ts deleted file mode 100644 index fb81ee9a..00000000 --- a/contracts/types/factories/contracts/KMSVerifier__factory.ts +++ /dev/null @@ -1,628 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - KMSVerifier, - KMSVerifierInterface, -} from "../../contracts/KMSVerifier"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [], - name: "ECDSAInvalidSignature", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "ECDSAInvalidSignatureLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "ECDSAInvalidSignatureS", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "SignerAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "SignerRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "CIPHERTEXTVERIFICATION_KMS_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "addSigner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getSigners", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getThreshold", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [], - name: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "get_DECRYPTIONRESULT_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSigner", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "removeSigner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - { - internalType: "bytes", - name: "decryptedResult", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "verifyDecryptionEIP712KMSSignatures", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "bytes32", - name: "hashOfCiphertext", - type: "bytes32", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct KMSVerifier.CiphertextVerificationForKMS", - name: "cv", - type: "tuple", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "verifyInputEIP712KMSSignatures", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051612592620001005f395f818161119e015281816111c7015261132c01526125925ff3fe608060405260043610610162575f3560e01c80638da5cb5b116100c6578063dd6662871161007c578063e75235b811610057578063e75235b8146103dd578063eb12d61e14610410578063f2fde38b1461042f575f80fd5b8063dd66628714610396578063e30c3978146103b5578063e6c51123146103c9575f80fd5b806394cf795e116100ac57806394cf795e1461030e578063ad3cb1cc1461032f578063c4d66de814610377575f80fd5b80638da5cb5b146102ce57806392bacce4146102fa575f80fd5b806352d1902d1161011b57806379ba50971161010157806379ba50971461023d5780637df73e271461025157806384b0196e146102a7575f80fd5b806352d1902d14610207578063715018a614610229575f80fd5b80630e66e3f21161014b5780630e66e3f2146101b15780631994b168146101e05780634f1ef286146101f4575f80fd5b80630d8e6e2c146101665780630e316ab714610190575b5f80fd5b348015610171575f80fd5b5061017a61044e565b6040516101879190611d93565b60405180910390f35b34801561019b575f80fd5b506101af6101aa366004611dc0565b6104b7565b005b3480156101bc575f80fd5b506101d06101cb366004611f38565b6106b8565b6040519015158152602001610187565b3480156101eb575f80fd5b5061017a6106d9565b6101af610202366004611fe4565b6106f9565b348015610212575f80fd5b5061021b610718565b604051908152602001610187565b348015610234575f80fd5b506101af610746565b348015610248575f80fd5b506101af610759565b34801561025c575f80fd5b506101d061026b366004611dc0565b6001600160a01b03165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602052604090205460ff1690565b3480156102b2575f80fd5b506102bb61079e565b6040516101879796959493929190612025565b3480156102d9575f80fd5b506102e2610862565b6040516001600160a01b039091168152602001610187565b348015610305575f80fd5b5061017a610896565b348015610319575f80fd5b506103226108b6565b60405161018791906120bc565b34801561033a575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610382575f80fd5b506101af610391366004611dc0565b610938565b3480156103a1575f80fd5b506101d06103b0366004612108565b610aa0565b3480156103c0575f80fd5b506102e2610ae6565b3480156103d4575f80fd5b5061017a610b0e565b3480156103e8575f80fd5b507f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89025461021b565b34801561041b575f80fd5b506101af61042a366004611dc0565b610b2a565b34801561043a575f80fd5b506101af610449366004611dc0565b610cbc565b60606040518060400160405280600b81526020016a25a6a9ab32b934b334b2b960a91b81525061047d5f610d41565b6104876001610d41565b6104905f610d41565b6040516020016104a394939291906121f0565b604051602081830303815290604052905090565b6104bf610dde565b6001600160a01b0381165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602081905260409091205460ff166105595760405162461bcd60e51b8152602060048201526024808201527f4b4d5356657269666965723a2041646472657373206973206e6f74206120736960448201526333b732b960e11b60648201526084015b60405180910390fd5b6001600160a01b0382165f908152602082905260408120805460ff191690555b60018201548110156106b257826001600160a01b03168260010182815481106105a4576105a461226d565b5f918252602090912001546001600160a01b0316036106aa576001808301805490916105cf91612295565b815481106105df576105df61226d565b5f918252602090912001546001830180546001600160a01b03909216918390811061060c5761060c61226d565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508160010180548061064a5761064a6122a8565b5f8281526020902081015f1990810180546001600160a01b0319169055019055610672610e10565b6040516001600160a01b038416907f3525e22824a8a7df2c9a6029941c824cf95b6447f1e13d5128fd3826d35afe8b905f90a2505050565b600101610579565b50505b50565b5f806106c384610e80565b90506106cf8184610f09565b9150505b92915050565b60606040518060a001604052806075815260200161251160759139905090565b610701611193565b61070a8261124a565b6107148282611252565b5050565b5f610721611321565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61074e610dde565b6107575f61136a565b565b3380610763610ae6565b6001600160a01b0316146107955760405163118cdaa760e01b81526001600160a01b0382166004820152602401610550565b6106b58161136a565b5f60608082808083817fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10080549091501580156107dc57506001810154155b6108285760405162461bcd60e51b815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152606401610550565b6108306113a2565b61083861146c565b604080515f80825260208201909252600f60f81b9c939b5091995046985030975095509350915050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b60606040518060800160405280605081526020016124c160509139905090565b60605f7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89006001810180546040805160208084028201810190925282815293945083018282801561092d57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161090f575b505050505091505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156109825750825b90505f8267ffffffffffffffff16600114801561099e5750303b155b9050811580156109ac575080155b156109ca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109fe57845468ff00000000000000001916680100000000000000001785555b610a07866114bd565b610a4d6040518060400160405280600b81526020016a25a6a9ab32b934b334b2b960a91b815250604051806040016040528060018152602001603160f81b8152506114ce565b8315610a9857845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b604080516060810182526001600160a01b0386168152602081018590529081018390525f9081610acf826114e0565b9050610adb8185610f09565b979650505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610886565b6040518060a00160405280607581526020016125116075913981565b610b32610dde565b6001600160a01b038116610b885760405162461bcd60e51b815260206004820152601c60248201527f4b4d5356657269666965723a2041646472657373206973206e756c6c000000006044820152606401610550565b6001600160a01b0381165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602081905260409091205460ff1615610c385760405162461bcd60e51b815260206004820152602860248201527f4b4d5356657269666965723a204164647265737320697320616c72656164792060448201527f61207369676e65720000000000000000000000000000000000000000000000006064820152608401610550565b6001600160a01b0382165f818152602083815260408220805460ff1916600190811790915584810180549182018155835291200180546001600160a01b0319169091179055610c85610e10565b6040516001600160a01b038316907f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f24905f90a25050565b610cc4610dde565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610d08610862565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610d4d8361156a565b60010190505f8167ffffffffffffffff811115610d6c57610d6c611dd9565b6040519080825280601f01601f191660200182016040528015610d96576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610da057509392505050565b33610de7610862565b6001600160a01b0316146107575760405163118cdaa760e01b8152336004820152602401610550565b7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8901547f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce890090600390610e6390600190612295565b610e6d91906122bc565b610e789060016122db565b600290910155565b5f6106d36040518060a001604052806075815260200161251160759139805160209182012084518583015160408088015160608901519151610eee96919291019485526001600160a01b03938416602086015260408501929092528216606084015216608082015260a00190565b6040516020818303038152906040528051906020012061164b565b80515f9080610f665760405162461bcd60e51b815260206004820152602360248201527f4b6d7356657269666965723a206e6f207369676e6174757265732070726f766960448201526219195960ea1b6064820152608401610550565b5f610f8f7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89025490565b9050808210156110075760405162461bcd60e51b815260206004820152603d60248201527f4b6d7356657269666965723a206174206c65617374207468726573686f6c642060448201527f6e756d626572206f66207369676e6174757265732072657175697265640000006064820152608401610550565b5f8267ffffffffffffffff81111561102157611021611dd9565b60405190808252806020026020018201604052801561104a578160200160208202803683370190505b5090505f805b8481101561117c575f61107c8989848151811061106f5761106f61226d565b6020026020010151611677565b90506110be816001600160a01b03165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602052604090205460ff1690565b61110a5760405162461bcd60e51b815260206004820152601f60248201527f4b6d7356657269666965723a20496e76616c6964204b4d53207369676e6572006044820152606401610550565b805c61115357808484815181106111235761112361226d565b6001600160a01b039092166020928302919091019091015282611145816122ee565b935050611153816001611683565b84831061117357611164848461168a565b600196505050505050506106d3565b50600101611050565b50611187828261168a565b505f9695505050505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061122c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156107575760405163703e46dd60e11b815260040160405180910390fd5b6106b5610dde565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156112ac575060408051601f3d908101601f191682019092526112a991810190612306565b60015b6112d457604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610550565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461131757604051632a87526960e21b815260048101829052602401610550565b6106b283836116bf565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107575760405163703e46dd60e11b815260040160405180910390fd5b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561071482611714565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10280546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100916113f39061231d565b80601f016020809104026020016040519081016040528092919081815260200182805461141f9061231d565b801561092d5780601f106114415761010080835404028352916020019161092d565b820191905f5260205f20905b81548152906001019060200180831161144d5750939695505050505050565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10380546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100916113f39061231d565b6114c5611784565b6106b5816117d2565b6114d6611784565b6107148282611803565b5f6106d36040518060800160405280605081526020016124c16050913980519060200120835f0151846020015160405160200161151d9190612355565b60408051808303601f19018152828252805160209182012088830151805190830120918401959095526001600160a01b03909316908201526060810192909252608082015260a001610eee565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115b2577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106115de576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115fc57662386f26fc10000830492506010015b6305f5e1008310611614576305f5e100830492506008015b612710831061162857612710830492506004015b6064831061163a576064830492506002015b600a83106106d35760010192915050565b5f6106d3611657611875565b8360405161190160f01b8152600281019290925260228201526042902090565b5f806106cf8484611883565b80825d5050565b5f5b818110156106b2576116b78382815181106116a9576116a961226d565b60200260200101515f611683565b60010161168c565b6116c8826118ab565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561170c576106b28282611921565b610714611993565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661075757604051631afcd79f60e31b815260040160405180910390fd5b6117da611784565b6001600160a01b03811661079557604051631e4fbdf760e01b81525f6004820152602401610550565b61180b611784565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10261185784826123d5565b506003810161186683826123d5565b505f8082556001909101555050565b5f61187e6119b2565b905090565b5f805f806118918686611a25565b9250925092506118a18282611a6e565b5090949350505050565b806001600160a01b03163b5f036118e057604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610550565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b03168460405161193d9190612491565b5f60405180830381855af49150503d805f8114611975576040519150601f19603f3d011682016040523d82523d5f602084013e61197a565b606091505b509150915061198a858383611b26565b95945050505050565b34156107575760405163b398979f60e01b815260040160405180910390fd5b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6119dc611b85565b6119e4611c00565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b5f805f8351604103611a5c576020840151604085015160608601515f1a611a4e88828585611c55565b955095509550505050611a67565b505081515f91506002905b9250925092565b5f826003811115611a8157611a816124ac565b03611a8a575050565b6001826003811115611a9e57611a9e6124ac565b03611abc5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611ad057611ad06124ac565b03611af15760405163fce698f760e01b815260048101829052602401610550565b6003826003811115611b0557611b056124ac565b03610714576040516335e2f38360e21b815260048101829052602401610550565b606082611b3b57611b3682611d1d565b611b7e565b8151158015611b5257506001600160a01b0384163b155b15611b7b57604051639996b31560e01b81526001600160a01b0385166004820152602401610550565b50805b9392505050565b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611bb06113a2565b805190915015611bc857805160209091012092915050565b81548015611bd7579392505050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470935050505090565b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611c2b61146c565b805190915015611c4357805160209091012092915050565b60018201548015611bd7579392505050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611c8e57505f91506003905082611d13565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611cdf573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611d0a57505f925060019150829050611d13565b92505f91508190505b9450945094915050565b805115611d2d5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b83811015611d60578181015183820152602001611d48565b50505f910152565b5f8151808452611d7f816020860160208601611d46565b601f01601f19169290920160200192915050565b602081525f611b7e6020830184611d68565b80356001600160a01b0381168114611dbb575f80fd5b919050565b5f60208284031215611dd0575f80fd5b611b7e82611da5565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e1657611e16611dd9565b604052919050565b5f67ffffffffffffffff821115611e3757611e37611dd9565b5060051b60200190565b5f82601f830112611e50575f80fd5b813567ffffffffffffffff811115611e6a57611e6a611dd9565b611e7d601f8201601f1916602001611ded565b818152846020838601011115611e91575f80fd5b816020850160208301375f918101602001919091529392505050565b5f82601f830112611ebc575f80fd5b81356020611ed1611ecc83611e1e565b611ded565b82815260059290921b84018101918181019086841115611eef575f80fd5b8286015b84811015611f2d57803567ffffffffffffffff811115611f11575f80fd5b611f1f8986838b0101611e41565b845250918301918301611ef3565b509695505050505050565b5f8082840360a0811215611f4a575f80fd5b6080811215611f57575f80fd5b506040516080810167ffffffffffffffff8282108183111715611f7c57611f7c611dd9565b81604052611f8986611da5565b835260208601356020840152611fa160408701611da5565b6040840152611fb260608701611da5565b606084015291935060808501359180831115611fcc575f80fd5b5050611fda85828601611ead565b9150509250929050565b5f8060408385031215611ff5575f80fd5b611ffe83611da5565b9150602083013567ffffffffffffffff811115612019575f80fd5b611fda85828601611e41565b60ff60f81b881681525f602060e0602084015261204560e084018a611d68565b8381036040850152612057818a611d68565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120aa5783518352928401929184019160010161208e565b50909c9b505050505050505050505050565b602080825282518282018190525f9190848201906040850190845b818110156120fc5783516001600160a01b0316835292840192918401916001016120d7565b50909695505050505050565b5f805f806080858703121561211b575f80fd5b61212485611da5565b935060208086013567ffffffffffffffff80821115612141575f80fd5b818801915088601f830112612154575f80fd5b8135612162611ecc82611e1e565b81815260059190911b8301840190848101908b831115612180575f80fd5b938501935b8285101561219e57843582529385019390850190612185565b9750505060408801359250808311156121b5575f80fd5b6121c189848a01611e41565b945060608801359250808311156121d6575f80fd5b50506121e487828801611ead565b91505092959194509250565b5f8551612201818460208a01611d46565b61103b60f11b9083019081528551612220816002840160208a01611d46565b808201915050601760f91b8060028301528551612244816003850160208a01611d46565b6003920191820152835161225f816004840160208801611d46565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156106d3576106d3612281565b634e487b7160e01b5f52603160045260245ffd5b5f826122d657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106d3576106d3612281565b5f600182016122ff576122ff612281565b5060010190565b5f60208284031215612316575f80fd5b5051919050565b600181811c9082168061233157607f821691505b60208210810361234f57634e487b7160e01b5f52602260045260245ffd5b50919050565b81515f9082906020808601845b8381101561237e57815185529382019390820190600101612362565b50929695505050505050565b601f8211156106b257805f5260205f20601f840160051c810160208510156123af5750805b601f840160051c820191505b818110156123ce575f81556001016123bb565b5050505050565b815167ffffffffffffffff8111156123ef576123ef611dd9565b612403816123fd845461231d565b8461238a565b602080601f831160018114612436575f841561241f5750858301515b5f19600386901b1c1916600185901b178555610a98565b5f85815260208120601f198616915b8281101561246457888601518255948401946001909101908401612445565b508582101561248157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82516124a2818460208701611d46565b9190910192915050565b634e487b7160e01b5f52602160045260245ffdfe44656372797074696f6e526573756c7428616464726573732061636c416464726573732c75696e743235365b5d2068616e646c65734c6973742c627974657320646563727970746564526573756c742943697068657274657874566572696669636174696f6e466f724b4d5328616464726573732061636c416464726573732c6279746573333220686173684f66436970686572746578742c616464726573732075736572416464726573732c6164647265737320636f6e74726163744164647265737329a164736f6c6343000818000a"; - -type KMSVerifierConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KMSVerifierConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KMSVerifier__factory extends ContractFactory { - constructor(...args: KMSVerifierConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - KMSVerifier & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): KMSVerifier__factory { - return super.connect(runner) as KMSVerifier__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KMSVerifierInterface { - return new Interface(_abi) as KMSVerifierInterface; - } - static connect(address: string, runner?: ContractRunner | null): KMSVerifier { - return new Contract(address, _abi, runner) as unknown as KMSVerifier; - } -} diff --git a/contracts/types/factories/contracts/TFHEExecutor.events.sol/IInputVerifier__factory.ts b/contracts/types/factories/contracts/TFHEExecutor.events.sol/IInputVerifier__factory.ts deleted file mode 100644 index 4260df1d..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.events.sol/IInputVerifier__factory.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IInputVerifier, - IInputVerifierInterface, -} from "../../../contracts/TFHEExecutor.events.sol/IInputVerifier"; - -const _abi = [ - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct TFHEExecutor.ContextUserInputs", - name: "context", - type: "tuple", - }, - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IInputVerifier__factory { - static readonly abi = _abi; - static createInterface(): IInputVerifierInterface { - return new Interface(_abi) as IInputVerifierInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): IInputVerifier { - return new Contract(address, _abi, runner) as unknown as IInputVerifier; - } -} diff --git a/contracts/types/factories/contracts/TFHEExecutor.events.sol/TFHEExecutor__factory.ts b/contracts/types/factories/contracts/TFHEExecutor.events.sol/TFHEExecutor__factory.ts deleted file mode 100644 index ca661f80..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.events.sol/TFHEExecutor__factory.ts +++ /dev/null @@ -1,2152 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHEExecutor, - TFHEExecutorInterface, -} from "../../../contracts/TFHEExecutor.events.sol/TFHEExecutor"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "Cast", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheAdd", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheBitAnd", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheBitOr", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheBitXor", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheDiv", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheEq", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheEqBytes", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheGe", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheGt", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "control", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "ifTrue", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "ifFalse", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheIfThenElse", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheLe", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheLt", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheMax", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheMin", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheMul", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheNe", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheNeBytes", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheNeg", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheNot", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheRand", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheRandBounded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheRem", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheRotl", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheRotr", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheShl", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheShr", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "FheSub", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "pt", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "TrivialEncrypt", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "pt", - type: "bytes", - }, - { - indexed: false, - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "TrivialEncryptBytes", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - indexed: false, - internalType: "address", - name: "userAddress", - type: "address", - }, - { - indexed: false, - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - { - indexed: false, - internalType: "bytes1", - name: "inputType", - type: "bytes1", - }, - { - indexed: false, - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - name: "VerifyCiphertext", - type: "event", - }, - { - inputs: [], - name: "HANDLE_VERSION", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "cast", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheAdd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitAnd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitOr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitXor", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheDiv", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "control", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifTrue", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifFalse", - type: "uint256", - }, - ], - name: "fheIfThenElse", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMax", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMin", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMul", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNeg", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNot", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRand", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRandBounded", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRem", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheSub", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getACLAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getFHEPaymentAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getInputVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "pt", - type: "bytes", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "pt", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - { - internalType: "bytes1", - name: "inputType", - type: "bytes1", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516150de620001005f395f8181613eda01528181613f03015261406801526150de5ff3fe6080604052600436106102e2575f3560e01c806389a4314b11610186578063c4d66de8116100dc578063ec4057dc11610087578063f6859bdc11610062578063f6859bdc1461081a578063f953e42714610839578063fa33b7af14610858575f80fd5b8063ec4057dc146107bd578063eee1833c146107dc578063f2fde38b146107fb575f80fd5b8063e0c5cbb3116100b7578063e0c5cbb31461076b578063e30c39781461078a578063e71746b81461079e575f80fd5b8063c4d66de81461070e578063cb3b94071461072d578063e0c516ae1461074c575f80fd5b8063a86e9de51161013c578063a8c7c2c111610117578063a8c7c2c114610681578063ad3cb1cc146106a7578063bc47139a146106ef575f80fd5b8063a86e9de514610624578063a87deac414610643578063a8b42a8914610662575f80fd5b80638da5cb5b1161016c5780638da5cb5b146105d2578063900d294e146105e65780639675211f14610605575f80fd5b806389a4314b146105945780638c14cc21146105b3575f80fd5b806344ae9c5c1161023b578063694daf72116101f1578063715018a6116101cc578063715018a61461054d57806379ba509714610561578063816d57d314610575575f80fd5b8063694daf72146104ea5780636a8c8eb4146105095780636be317581461052e575f80fd5b80634f1ef286116102215780634f1ef286146104a257806352d1902d146104b7578063666a3588146104cb575f80fd5b806344ae9c5c146104645780634be68d2014610483575f80fd5b8063192710811161029b5780632e817ff0116102765780632e817ff01461040757806336cdd31b146104265780633e63c50a14610445575f80fd5b80631927108114610396578063275e36bf146103b55780632c7d67b7146103e8575f80fd5b80630b90dfc3116102cb5780630b90dfc3146103375780630d8e6e2c1461035657806313801ffa14610377575f80fd5b8063052896f1146102e65780630590734314610318575b5f80fd5b3480156102f1575f80fd5b506103056103003660046148fc565b610877565b6040519081526020015b60405180910390f35b348015610323575f80fd5b506103056103323660046148fc565b610971565b348015610342575f80fd5b506103056103513660046149cb565b610a5e565b348015610361575f80fd5b5061036a610e67565b60405161030f9190614a62565b348015610382575f80fd5b50610305610391366004614a74565b610ee2565b3480156103a1575f80fd5b506103056103b03660046148fc565b610fae565b3480156103c0575f80fd5b505f805160206150928339815191525b6040516001600160a01b03909116815260200161030f565b3480156103f3575f80fd5b506103056104023660046148fc565b611126565b348015610412575f80fd5b50610305610421366004614aa1565b611213565b348015610431575f80fd5b506103056104403660046148fc565b6113cf565b348015610450575f80fd5b5061030561045f3660046148fc565b61156c565b34801561046f575f80fd5b5061030561047e3660046148fc565b611659565b34801561048e575f80fd5b5061030561049d366004614b05565b611746565b6104b56104b0366004614b2f565b611a77565b005b3480156104c2575f80fd5b50610305611a96565b3480156104d6575f80fd5b506103056104e53660046148fc565b611ac4565b3480156104f5575f80fd5b506103056105043660046148fc565b611bb1565b348015610514575f80fd5b5061051c5f81565b60405160ff909116815260200161030f565b348015610539575f80fd5b506103056105483660046148fc565b611c9e565b348015610558575f80fd5b506104b5611e16565b34801561056c575f80fd5b506104b5611e29565b348015610580575f80fd5b5061030561058f3660046148fc565b611e71565b34801561059f575f80fd5b506103056105ae3660046148fc565b611f5e565b3480156105be575f80fd5b506103056105cd3660046148fc565b61204b565b3480156105dd575f80fd5b506103d0612138565b3480156105f1575f80fd5b50610305610600366004614b7a565b61216c565b348015610610575f80fd5b5061030561061f3660046148fc565b6123be565b34801561062f575f80fd5b5061030561063e3660046148fc565b6124ab565b34801561064e575f80fd5b5061030561065d3660046148fc565b612598565b34801561066d575f80fd5b5061030561067c366004614a74565b612685565b34801561068c575f80fd5b507369de3158643e738a0724418b21a35faa20cbb1c56103d0565b3480156106b2575f80fd5b5061036a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b3480156106fa575f80fd5b506103056107093660046149cb565b612746565b348015610719575f80fd5b506104b5610728366004614b93565b612b37565b348015610738575f80fd5b50610305610747366004614bac565b612c59565b348015610757575f80fd5b506103056107663660046148fc565b612d37565b348015610776575f80fd5b50610305610785366004614bd5565b612ed4565b348015610795575f80fd5b506103d06131b5565b3480156107a9575f80fd5b506103056107b8366004614b05565b6131dd565b3480156107c8575f80fd5b506103056107d73660046148fc565b613392565b3480156107e7575f80fd5b506103056107f63660046148fc565b61347f565b348015610806575f80fd5b506104b5610815366004614b93565b61356c565b348015610825575f80fd5b505f805160206150b28339815191526103d0565b348015610844575f80fd5b506103056108533660046148fc565b6135f1565b348015610863575f80fd5b50610305610872366004614b05565b6136dd565b5f61017e610885858261398e565b5f6108908660081c90565b60405162fabc1960e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020615092833981519152906303eaf064906064015f604051808303815f87803b1580156108eb575f80fd5b505af11580156108fd573d5f803e3d5ffd5b5050505061090f600e8888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f917801ccb010364b80d82085948b6ce1f7231e1e6950253ca1134a2dace31132906080015b60405180910390a15050509392505050565b5f61017e61097f858261398e565b5f61098a8660081c90565b60405163b25fd54760e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063b25fd547906064015f604051808303815f87803b1580156109e6575f80fd5b505af11580156109f8573d5f803e3d5ffd5b50505050610a0a600a888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507ff58687e1e87ebb2fe49b53f406501933e51bed3f62e278ac0bf3203a26a9e2e99060800161095f565b5f610e00610a6c858261398e565b5f610a778660081c90565b9050600160f81b808516908114610afb5760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654e65206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e640000000060648201526084015b60405180910390fd5b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020615092833981519152906399841ed7906064015f604051808303815f87803b158015610b56575f80fd5b505af1158015610b68573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a90523360248201525f805160206150b28339815191529250635faa299a9150604401602060405180830381865afa158015610bb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bdd9190614c17565b610c295760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610af2565b855160ff8316600903610c9e5780604014610c995760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610af2565b610d74565b8260ff16600a03610d0e5780608014610c995760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610af2565b8061010014610d745760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610af2565b600d8888845f805160206150b283398151915246604051602001610d9d96959493929190614c59565b60408051601f198184030181529190528051602090910120945061ffff1985166040516346ce4e4960e11b8152600481018290523360248201529095505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015610e09575f80fd5b505af1158015610e1b573d5f803e3d5ffd5b505050507f5b7bbda9449c32c1d56a33ee9be18d67a28f5faead25db7ab04fa217000cecf788888888604051610e549493929190614cc1565b60405180910390a1505050509392505050565b60606040518060400160405280600c81526020017f544648454578656375746f720000000000000000000000000000000000000000815250610ea85f613caf565b610eb26001613caf565b610ebb5f613caf565b604051602001610ece9493929190614cf6565b604051602081830303815290604052905090565b5f61017f610ef0838261398e565b5f610efb8460081c90565b60405163aa43b7f960e01b815233600482015260ff821660248201529091505f805160206150928339815191529063aa43b7f9906044015f604051808303815f87803b158015610f49575f80fd5b505af1158015610f5b573d5f803e3d5ffd5b50505050610f6a601585613d4c565b60408051868152602081018390529194507f9a9785c912b1ce9b03afbd78573bd048c160bd5a489c02f52a3eb9703a718f2491015b60405180910390a15050919050565b5f610fff610fbc858261398e565b5f610fc78660081c90565b9050600160f81b808516908190036110535760088260ff1611156110535760405162461bcd60e51b815260206004820152603e60248201527f5363616c6172206668654e6520666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f61646564206668654e6500006064820152608401610af2565b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020615092833981519152906399841ed7906064015f604051808303815f87803b1580156110ae575f80fd5b505af11580156110c0573d5f803e3d5ffd5b505050506110d2600d8888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fd43ba81a7c94579d65cbb7db5db8dcf366ff05bdecd1d927fcc99840c68571a59060800161095f565b5f61017f611134858261398e565b5f61113f8660081c90565b60405163473dceed60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063473dceed906064015f604051808303815f87803b15801561119b575f80fd5b505af11580156111ad573d5f803e3d5ffd5b505050506111bf6007888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f31a58348e92aca95ce44cfea2a1066053d8807feb5ed9bbdfe95e13a622e21f29060800161095f565b604080516060810182525f805160206150b283398151915281526001600160a01b038516602082015233918101919091525f90816112518760081c90565b905060f884901c60ff8216146112a95760405162461bcd60e51b815260206004820152600a60248201527f57726f6e672074797065000000000000000000000000000000000000000000006044820152606401610af2565b604051634d52c10760e01b81527369de3158643e738a0724418b21a35faa20cbb1c590634d52c107906112e49085908b908a90600401614d73565b6020604051808303815f875af1158015611300573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113249190614db5565b6040516346ce4e4960e11b8152600481018290523360248201529093505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015611370575f80fd5b505af1158015611382573d5f803e3d5ffd5b505050507f777462f58dda134f765b89f211d136b25f0d06d218cb2c311f1c43f2a2392b4987878787876040516113bd959493929190614dcc565b60405180910390a15050949350505050565b5f600160f81b808316146114315760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206668654469762062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610af2565b825f036114805760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610af2565b61017e61148d858261398e565b5f6114988660081c90565b60405163f7eaec6360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063f7eaec63906064015f604051808303815f87803b1580156114f4575f80fd5b505af1158015611506573d5f803e3d5ffd5b505050506115186003888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f9968f8dbde1f175af00b6630b7b30747c77be278fd2e64c281458c0d470084319060800161095f565b5f61017e61157a858261398e565b5f6115858660081c90565b604051638638282b60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290638638282b906064015f604051808303815f87803b1580156115e1575f80fd5b505af11580156115f3573d5f803e3d5ffd5b50505050611605600f8888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fa0da53ac7741df5d78f645cb77e6577ba9e246906a77e17286f285a916dff7089060800161095f565b5f61017e611667858261398e565b5f6116728660081c90565b6040516313f3d32960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020615092833981519152906313f3d329906064015f604051808303815f87803b1580156116ce575f80fd5b505af11580156116e0573d5f803e3d5ffd5b505050506116f2600b888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fd42970039fe3f91ed8c5a4aea3d626defdb62b542b70d6f0dd2b56fcfac120f59060800161095f565b604051632fd514cd60e11b8152600481018390523360248201525f905f805160206150b283398151915290635faa299a90604401602060405180830381865afa158015611795573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b99190614c17565b6118055760405162461bcd60e51b815260206004820152601d60248201527f53656e64657220646f65736e2774206f776e206374206f6e20636173740000006044820152606401610af2565b61017f611812848261398e565b61017e600160f885901c1b811661186b5760405162461bcd60e51b815260206004820152601760248201527f556e737570706f72746564206f757470757420747970650000000000000000006044820152606401610af2565b5f6118768660081c90565b9050847effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19160361190e5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74206361737420746f2073616d65207479706500000000000000006044820152606401610af2565b604051630cea149360e41b815233600482015260ff821660248201525f805160206150928339815191529063cea14930906044015f604051808303815f87803b158015611959575f80fd5b505af115801561196b573d5f803e3d5ffd5b50505050601786865f805160206150b283398151915246604051602001611996959493929190614e11565b60408051601f198184030181529190528051602090910120935061ffff19841660f086901c61ff0016176040516346ce4e4960e11b8152600481018290523360248201529094505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015611a0c575f80fd5b505af1158015611a1e573d5f803e3d5ffd5b5050604080518981526001600160f81b0319891660208201529081018790527fce79b6444dc9b93ecddbc13b55eaecf50a20eb779fa5b59f358bd16ab82a9667925060600190505b60405180910390a150505092915050565b611a7f613ecf565b611a8882613f86565b611a928282613f8e565b5050565b5f611a9f61405d565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b5f61017f611ad2858261398e565b5f611add8660081c90565b60405163cd2bd00360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063cd2bd003906064015f604051808303815f87803b158015611b39575f80fd5b505af1158015611b4b573d5f803e3d5ffd5b50505050611b5d6005888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f419268c57bdb686c5c3a209be649f9884f7c21b28195fe7c5849e62e551713149060800161095f565b5f61017e611bbf858261398e565b5f611bca8660081c90565b60405163d692278360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063d6922783906064015f604051808303815f87803b158015611c26575f80fd5b505af1158015611c38573d5f803e3d5ffd5b50505050611c4a60108888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f60922014988035600ca3a12a623206cc9ddebf14a95e0829feb779ad972a65789060800161095f565b5f610fff611cac858261398e565b5f611cb78660081c90565b9050600160f81b80851690819003611d435760088260ff161115611d435760405162461bcd60e51b815260206004820152603e60248201527f5363616c617220666865457120666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f6164656420666865457100006064820152608401610af2565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206150928339815191529063e138131e906064015f604051808303815f87803b158015611d9e575f80fd5b505af1158015611db0573d5f803e3d5ffd5b50505050611dc2600c8888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f64ec7877f22d6fdca08285a604b343d39c022789c65e3bedb5229f121bb7f3e99060800161095f565b611e1e6140a6565b611e275f6140d8565b565b3380611e336131b5565b6001600160a01b031614611e655760405163118cdaa760e01b81526001600160a01b0382166004820152602401610af2565b611e6e816140d8565b50565b5f61017e611e7f858261398e565b5f611e8a8660081c90565b604051632be8dd7960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290632be8dd79906064015f604051808303815f87803b158015611ee6575f80fd5b505af1158015611ef8573d5f803e3d5ffd5b50505050611f0a6002888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f0989d2283d5ee26a114f8459c51f9da4cda53751648900a1b7fecc5c6952f0239060800161095f565b5f61017e611f6c858261398e565b5f611f778660081c90565b604051633968721960e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020615092833981519152906372d0e432906064015f604051808303815f87803b158015611fd3575f80fd5b505af1158015611fe5573d5f803e3d5ffd5b50505050611ff76008888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f9ebe62c7110336cba03426473780c0102203aeb00d3123672eba9c2bb878cb549060800161095f565b5f61017e612059858261398e565b5f6120648660081c90565b6040516303ed3f3160e51b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290637da7e620906064015f604051808303815f87803b1580156120c0575f80fd5b505af11580156120d2573d5f803e3d5ffd5b505050506120e46001888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f6474889e10e183464e682cafbc5957864fb8682dc51a102779cabc8fc2499c1e9060800161095f565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e00610f7f60f884901c6001811b82166121e85760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610af2565b6040516302cccbd160e21b815233600482015260ff821660248201525f8051602061509283398151915290630b332f44906044015f604051808303815f87803b158015612233575f80fd5b505af1158015612245573d5f803e3d5ffd5b505084545f925090505f805160206150b283398151915246612268600143614e6d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601a86826040516020016122d293929190614e80565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529095505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015612348575f80fd5b505af115801561235a573d5f803e3d5ffd5b5050855491508590505f61236d83614ebc565b9091555050604080516001600160f81b031988168152602081018790527ff8c2522b360452dbfbd5bcbe526855aff6b9d028ee4caee8d2642a996cc29062910160405180910390a150505050919050565b5f61017e6123cc858261398e565b5f6123d78660081c90565b60405163466ac06560e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063466ac065906064015f604051808303815f87803b158015612433575f80fd5b505af1158015612445573d5f803e3d5ffd5b5050505061245760118888845f6139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f2bee1dac90f17bc8b79a023dfb22222b8786d8f30dfabfd8e49def6388b3b8889060800161095f565b5f61017e6124b9858261398e565b5f6124c48660081c90565b604051631ade267d60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290631ade267d906064015f604051808303815f87803b158015612520575f80fd5b505af1158015612532573d5f803e3d5ffd5b505050506125446013888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f411ff36379fe7481c69a4c1a025dcdd04aa4165c7dd55863adc2a33503a1ca7f9060800161095f565b5f61017e6125a6858261398e565b5f6125b18660081c90565b604051630ad2336160e41b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063ad233610906064015f604051808303815f87803b15801561260d575f80fd5b505af115801561261f573d5f803e3d5ffd5b505050506126316012888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f18267ba238338c85ae081777c793518e79a4878da40902f2a0d9bc6d2be8834e9060800161095f565b5f61017e612693838261398e565b5f61269e8460081c90565b6040516313ed41db60e31b815233600482015260ff821660248201529091505f8051602061509283398151915290639f6a0ed8906044015f604051808303815f87803b1580156126ec575f80fd5b505af11580156126fe573d5f803e3d5ffd5b5050505061270d601485613d4c565b60408051868152602081018390529194507fd44a29b8a904963175fc3746c74fbb91ee1632a7e14e9a0e6be53398529acf6c9101610f9f565b5f610e00612754858261398e565b5f61275f8660081c90565b9050600160f81b8085169081146127de5760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654571206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e64000000006064820152608401610af2565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206150928339815191529063e138131e906064015f604051808303815f87803b158015612839575f80fd5b505af115801561284b573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a90523360248201525f805160206150b28339815191529250635faa299a9150604401602060405180830381865afa15801561289c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c09190614c17565b61290c5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610af2565b855160ff8316600903612981578060401461297c5760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610af2565b612a57565b8260ff16600a036129f1578060801461297c5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610af2565b8061010014612a575760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610af2565b600c8888845f805160206150b283398151915246604051602001612a8096959493929190614c59565b60408051601f198184030181529190528051602090910120945061ffff1985166040516346ce4e4960e11b8152600481018290523360248201529095505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015612aec575f80fd5b505af1158015612afe573d5f803e3d5ffd5b505050507fdb01345c4f3b7bd8896dfe2c115602dc067bcb66e6140ac6a28555d9c228c30d88888888604051610e549493929190614cc1565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015612b815750825b90505f8267ffffffffffffffff166001148015612b9d5750303b155b905081158015612bab575080155b15612bc95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612bfd57845468ff00000000000000001916680100000000000000001785555b612c0686614110565b8315612c5157845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610fff612c67848261398e565b5f612c728560081c90565b60405163d5f0797d60e01b815233600482015260ff821660248201529091505f805160206150928339815191529063d5f0797d906044015f604051808303815f87803b158015612cc0575f80fd5b505af1158015612cd2573d5f803e3d5ffd5b50505050612ce36019878787614121565b6040805188815260208101889052908101869052606081018290529093507fcb2748038781ebdf91e7fb61259ffa009fa4d389ff38772b0784b45803b527f39060800160405180910390a150509392505050565b5f600160f81b80831614612d995760405162461bcd60e51b8152602060048201526024808201527f4f6e6c792066686552656d2062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610af2565b825f03612de85760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610af2565b61017e612df5858261398e565b5f612e008660081c90565b6040516317f83edb60e31b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206150928339815191529063bfc1f6d8906064015f604051808303815f87803b158015612e5c575f80fd5b505af1158015612e6e573d5f803e3d5ffd5b50505050612e806004888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507f5955bd79cf32dbacc40c6b8d59b5ed35e027bfbef26c4e9db048b41a3778e16b9060800161095f565b5f610e0060f883901c6001811b8216612f225760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610af2565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206150928339815191529063100747ad906044015f604051808303815f87803b158015612f6d575f80fd5b505af1158015612f7f573d5f803e3d5ffd5b5050865191505060ff8216600903612ff95780604014612ff45760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610af2565b6130cf565b8160ff16600a036130695780608014612ff45760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610af2565b80610100146130cf5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610af2565b601886865f805160206150b2833981519152466040516020016130f6959493929190614ed4565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529094505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b15801561316c575f80fd5b505af115801561317e573d5f803e3d5ffd5b505050507f1113c34f59d2144e0abd8d37fb966653a61c15142afe3c606cafbb4bbc05f485868686604051611a6693929190614f35565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0061215c565b5f6101ff60f883901c6001811b821661322b5760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610af2565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206150928339815191529063100747ad906044015f604051808303815f87803b158015613276575f80fd5b505af1158015613288573d5f803e3d5ffd5b50505050601885855f805160206150b2833981519152466040516020016132b3959493929190614e11565b60408051601f198184030181529190528051602090910120925061ffff198316600882901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529093505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015613329575f80fd5b505af115801561333b573d5f803e3d5ffd5b5050604080518881526001600160f81b0319881660208201529081018690527f11218712ed0401394352868fe9038b5e6ccbf9724007fd2c6757618044885b349250606001905060405180910390a1505092915050565b5f61017f6133a0858261398e565b5f6133ab8660081c90565b604051633980607d60e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290637300c0fa906064015f604051808303815f87803b158015613407575f80fd5b505af1158015613419573d5f803e3d5ffd5b5050505061342b6006888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fe34d43146b8cd59adb8714914fcb0a11b9c117dfe923edb15c7d929361ce11f89060800161095f565b5f61017e61348d858261398e565b5f6134988660081c90565b6040516307dbdabb60e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061509283398151915290631f6f6aec906064015f604051808303815f87803b1580156134f4575f80fd5b505af1158015613506573d5f803e3d5ffd5b505050506135186009888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fdbd92baa847015c4d6cd3a7a5baeb65aaedeb3f4598aedcadd6062107f0453189060800161095f565b6135746140a6565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b03831690811782556135b8612138565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b5f61017e6135ff858261398e565b5f61360a8660081c90565b6040516327af38ad60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020615092833981519152906327af38ad906064015f604051808303815f87803b158015613666575f80fd5b505af1158015613678573d5f803e3d5ffd5b505050506136895f888884866139e8565b60408051898152602081018990526001600160f81b0319881691810191909152606081018290529094507fca101b6655df270ab4c630a5cd2c2df7b974e16b2d53387ce9ed51591f7742ed9060800161095f565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e0061017e60f884901c6001811b82166137595760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610af2565b6137628661450c565b6137ae5760405162461bcd60e51b815260206004820152601f60248201527f5570706572426f756e64206d757374206265206120706f776572206f662032006044820152606401610af2565b604051639bf5592160e01b815233600482015260ff821660248201525f8051602061509283398151915290639bf55921906044015f604051808303815f87803b1580156137f9575f80fd5b505af115801561380b573d5f803e3d5ffd5b505084545f925090505f805160206150b28339815191524661382e600143614e6d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601b87878360405160200161389a9493929190614f63565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529095505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015613910575f80fd5b505af1158015613922573d5f803e3d5ffd5b5050855491508590505f61393583614ebc565b9091555050604080518881526001600160f81b0319881660208201529081018690527f92331e27bd97df8f1490a60822d7d55e23a39dcbf856ff4ad171be686e9df97b9060600160405180910390a15050505092915050565b5f6139998360081c90565b9050600160ff82161b82166139e35760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610af2565b505050565b604051632fd514cd60e11b8152600481018590523360248201525f905f805160206150b283398151915290635faa299a90604401602060405180830381865afa158015613a37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a5b9190614c17565b613aa75760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610af2565b6001600160f81b031983165f03613bf257604051632fd514cd60e11b8152600481018590523360248201525f805160206150b283398151915290635faa299a90604401602060405180830381865afa158015613b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b299190614c17565b613b755760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610af2565b5f613b808560081c90565b90505f613b8d8760081c90565b90508160ff168160ff1614613bef5760405162461bcd60e51b815260206004820152602260248201527f496e636f6d70617469626c6520747970657320666f72206c687320616e642072604482015261687360f01b6064820152608401610af2565b50505b858585855f805160206150b283398151915246604051602001613c1a96959493929190614fa7565b60408051601f198184030181529190528051602090910120905061ffff198116600883901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529091505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015613c90575f80fd5b505af1158015613ca2573d5f803e3d5ffd5b5050505095945050505050565b60605f613cbb8361452c565b60010190505f8167ffffffffffffffff811115613cda57613cda61492e565b6040519080825280601f01601f191660200182016040528015613d04576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084613d0e57509392505050565b604051632fd514cd60e11b8152600481018290523360248201525f905f805160206150b283398151915290635faa299a90604401602060405180830381865afa158015613d9b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613dbf9190614c17565b613e0b5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f65736e2774206f776e206374206f6e206f7000000000006044820152606401610af2565b82825f805160206150b283398151915246604051602001613e2f9493929190614ff7565b604051602081830303815290604052805190602001205f1c90505f613e548360081c90565b905061ffff198216600882901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529092505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b158015613eb2575f80fd5b505af1158015613ec4573d5f803e3d5ffd5b505050505092915050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480613f6857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316613f5c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15611e275760405163703e46dd60e11b815260040160405180910390fd5b611e6e6140a6565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015613fe8575060408051601f3d908101601f19168201909252613fe591810190614db5565b60015b61401057604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610af2565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461405357604051632a87526960e21b815260048101829052602401610af2565b6139e3838361460d565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611e275760405163703e46dd60e11b815260040160405180910390fd5b336140af612138565b6001600160a01b031614611e275760405163118cdaa760e01b8152336004820152602401610af2565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319168155611a9282614662565b6141186146d2565b611e6e81614720565b604051632fd514cd60e11b8152600481018490523360248201525f905f805160206150b283398151915290635faa299a90604401602060405180830381865afa158015614170573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141949190614c17565b6141e05760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610af2565b604051632fd514cd60e11b8152600481018490523360248201525f805160206150b283398151915290635faa299a90604401602060405180830381865afa15801561422d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142519190614c17565b61429d5760405162461bcd60e51b815260206004820152601f60248201527f53656e64657220646f65736e2774206f776e206d6964646c65206f6e206f70006044820152606401610af2565b604051632fd514cd60e11b8152600481018390523360248201525f805160206150b283398151915290635faa299a90604401602060405180830381865afa1580156142ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061430e9190614c17565b61435a5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610af2565b5f6143658560081c90565b90505f6143728560081c90565b90505f61437f8560081c90565b905060ff8316156143d25760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564207479706520666f72206c687300000000000000006044820152606401610af2565b8060ff168260ff161461444d5760405162461bcd60e51b815260206004820152602560248201527f496e636f6d70617469626c6520747970657320666f72206d6964646c6520616e60448201527f64207268730000000000000000000000000000000000000000000000000000006064820152608401610af2565b878787875f805160206150b28339815191524660405160200161447596959493929190615030565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176040516346ce4e4960e11b8152600481018290523360248201529094505f805160206150b283398151915290638d9c9c92906044015f604051808303815f87803b1580156144eb575f80fd5b505af11580156144fd573d5f803e3d5ffd5b50505050505050949350505050565b5f80821180156145265750614522600183614e6d565b8216155b92915050565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310614574577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106145a0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106145be57662386f26fc10000830492506010015b6305f5e10083106145d6576305f5e100830492506008015b61271083106145ea57612710830492506004015b606483106145fc576064830492506002015b600a83106145265760010192915050565b61461682614751565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561465a576139e382826147c7565b611a92614839565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611e2757604051631afcd79f60e31b815260040160405180910390fd5b6147286146d2565b6001600160a01b038116611e6557604051631e4fbdf760e01b81525f6004820152602401610af2565b806001600160a01b03163b5f0361478657604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610af2565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516147e39190615076565b5f60405180830381855af49150503d805f811461481b576040519150601f19603f3d011682016040523d82523d5f602084013e614820565b606091505b5091509150614830858383614858565b95945050505050565b3415611e275760405163b398979f60e01b815260040160405180910390fd5b60608261486d57614868826148b7565b6148b0565b815115801561488457506001600160a01b0384163b155b156148ad57604051639996b31560e01b81526001600160a01b0385166004820152602401610af2565b50805b9392505050565b8051156148c75780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160f81b0319811681146148f7575f80fd5b919050565b5f805f6060848603121561490e575f80fd5b8335925060208401359150614925604085016148e0565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112614951575f80fd5b813567ffffffffffffffff8082111561496c5761496c61492e565b604051601f8301601f19908116603f011681019082821181831017156149945761499461492e565b816040528381528660208588010111156149ac575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f606084860312156149dd575f80fd5b83359250602084013567ffffffffffffffff8111156149fa575f80fd5b614a0686828701614942565b925050614925604085016148e0565b5f5b83811015614a2f578181015183820152602001614a17565b50505f910152565b5f8151808452614a4e816020860160208601614a15565b601f01601f19169290920160200192915050565b602081525f6148b06020830184614a37565b5f60208284031215614a84575f80fd5b5035919050565b80356001600160a01b03811681146148f7575f80fd5b5f805f8060808587031215614ab4575f80fd5b84359350614ac460208601614a8b565b9250604085013567ffffffffffffffff811115614adf575f80fd5b614aeb87828801614942565b925050614afa606086016148e0565b905092959194509250565b5f8060408385031215614b16575f80fd5b82359150614b26602084016148e0565b90509250929050565b5f8060408385031215614b40575f80fd5b614b4983614a8b565b9150602083013567ffffffffffffffff811115614b64575f80fd5b614b7085828601614942565b9150509250929050565b5f60208284031215614b8a575f80fd5b6148b0826148e0565b5f60208284031215614ba3575f80fd5b6148b082614a8b565b5f805f60608486031215614bbe575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215614be6575f80fd5b823567ffffffffffffffff811115614bfc575f80fd5b614c0885828601614942565b925050614b26602084016148e0565b5f60208284031215614c27575f80fd5b815180151581146148b0575f80fd5b601c8110614c5257634e487b7160e01b5f52602160045260245ffd5b60f81b9052565b614c638188614c36565b8560018201525f8551614c7d816021850160208a01614a15565b6001600160f81b0319959095166021929095019182019490945260609290921b6bffffffffffffffffffffffff191660228301526036820152605601949350505050565b848152608060208201525f614cd96080830186614a37565b6001600160f81b0319949094166040830152506060015292915050565b5f8551614d07818460208a01614a15565b61103b60f11b9083019081528551614d26816002840160208a01614a15565b808201915050601760f91b8060028301528551614d4a816003850160208a01614a15565b60039201918201528351614d65816004840160208801614a15565b016004019695505050505050565b5f6001600160a01b038086511683528060208701511660208401528060408701511660408401525083606083015260a0608083015261483060a0830184614a37565b5f60208284031215614dc5575f80fd5b5051919050565b8581526001600160a01b038516602082015260a060408201525f614df360a0830186614a37565b6001600160f81b031994909416606083015250608001529392505050565b614e1b8187614c36565b60018101949094526001600160f81b031992909216602184015260601b6bffffffffffffffffffffffff191660228301526036820152605601919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561452657614526614e59565b614e8a8185614c36565b6001600160f81b03199290921660018301526fffffffffffffffffffffffffffffffff19166002820152601201919050565b5f60018201614ecd57614ecd614e59565b5060010190565b614ede8187614c36565b5f8551614ef2816001850160208a01614a15565b6001600160f81b0319959095166001929095019182019490945260609290921b6bffffffffffffffffffffffff1916600283015260168201526036019392505050565b606081525f614f476060830186614a37565b6001600160f81b03199490941660208301525060400152919050565b614f6d8186614c36565b60018101939093526001600160f81b03199190911660218301526fffffffffffffffffffffffffffffffff19166022820152603201919050565b614fb18188614c36565b600181019590955260218501939093526001600160f81b031991909116604184015260601b6bffffffffffffffffffffffff191660428301526056820152607601919050565b6150018186614c36565b600181019390935260609190911b6bffffffffffffffffffffffff191660218301526035820152605501919050565b61503a8188614c36565b60018101959095526021850193909352604184019190915260601b6bffffffffffffffffffffffff191660618301526075820152609501919050565b5f8251615087818460208701614a15565b919091019291505056fe0000000000000000000000006d5a11ac509c707c00bc3a0a113accc26c532547000000000000000000000000339ece85b9e11a3a3aa557582784a15d7f82aaf2a164736f6c6343000818000a"; - -type TFHEExecutorConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHEExecutorConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHEExecutor__factory extends ContractFactory { - constructor(...args: TFHEExecutorConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHEExecutor & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHEExecutor__factory { - return super.connect(runner) as TFHEExecutor__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHEExecutorInterface { - return new Interface(_abi) as TFHEExecutorInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHEExecutor { - return new Contract(address, _abi, runner) as unknown as TFHEExecutor; - } -} diff --git a/contracts/types/factories/contracts/TFHEExecutor.events.sol/index.ts b/contracts/types/factories/contracts/TFHEExecutor.events.sol/index.ts deleted file mode 100644 index 97428f32..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.events.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IInputVerifier__factory } from "./IInputVerifier__factory"; -export { TFHEExecutor__factory } from "./TFHEExecutor__factory"; diff --git a/contracts/types/factories/contracts/TFHEExecutor.sol/IInputVerifier__factory.ts b/contracts/types/factories/contracts/TFHEExecutor.sol/IInputVerifier__factory.ts deleted file mode 100644 index 60c0cadc..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.sol/IInputVerifier__factory.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IInputVerifier, - IInputVerifierInterface, -} from "../../../contracts/TFHEExecutor.sol/IInputVerifier"; - -const _abi = [ - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct TFHEExecutor.ContextUserInputs", - name: "context", - type: "tuple", - }, - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IInputVerifier__factory { - static readonly abi = _abi; - static createInterface(): IInputVerifierInterface { - return new Interface(_abi) as IInputVerifierInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): IInputVerifier { - return new Contract(address, _abi, runner) as unknown as IInputVerifier; - } -} diff --git a/contracts/types/factories/contracts/TFHEExecutor.sol/TFHEExecutor__factory.ts b/contracts/types/factories/contracts/TFHEExecutor.sol/TFHEExecutor__factory.ts deleted file mode 100644 index f6f6af39..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.sol/TFHEExecutor__factory.ts +++ /dev/null @@ -1,1245 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHEExecutor, - TFHEExecutorInterface, -} from "../../../contracts/TFHEExecutor.sol/TFHEExecutor"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "HANDLE_VERSION", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "cast", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheAdd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitAnd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitOr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitXor", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheDiv", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "control", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifTrue", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifFalse", - type: "uint256", - }, - ], - name: "fheIfThenElse", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMax", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMin", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMul", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNeg", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNot", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRand", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRandBounded", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRem", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheSub", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getACLAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getFHEPaymentAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getInputVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "pt", - type: "bytes", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "pt", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - { - internalType: "bytes1", - name: "inputType", - type: "bytes1", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516146b0620001005f395f81816135510152818161357a01526136df01526146b05ff3fe6080604052600436106102e2575f3560e01c806389a4314b11610186578063c4d66de8116100dc578063ec4057dc11610087578063f6859bdc11610062578063f6859bdc1461081a578063f953e42714610840578063fa33b7af1461085f575f80fd5b8063ec4057dc146107bd578063eee1833c146107dc578063f2fde38b146107fb575f80fd5b8063e0c5cbb3116100b7578063e0c5cbb31461076b578063e30c39781461078a578063e71746b81461079e575f80fd5b8063c4d66de81461070e578063cb3b94071461072d578063e0c516ae1461074c575f80fd5b8063a86e9de51161013c578063a8c7c2c111610117578063a8c7c2c114610681578063ad3cb1cc146106a7578063bc47139a146106ef575f80fd5b8063a86e9de514610624578063a87deac414610643578063a8b42a8914610662575f80fd5b80638da5cb5b1161016c5780638da5cb5b146105d2578063900d294e146105e65780639675211f14610605575f80fd5b806389a4314b146105945780638c14cc21146105b3575f80fd5b806344ae9c5c1161023b578063694daf72116101f1578063715018a6116101cc578063715018a61461054d57806379ba509714610561578063816d57d314610575575f80fd5b8063694daf72146104ea5780636a8c8eb4146105095780636be317581461052e575f80fd5b80634f1ef286116102215780634f1ef286146104a257806352d1902d146104b7578063666a3588146104cb575f80fd5b806344ae9c5c146104645780634be68d2014610483575f80fd5b8063192710811161029b5780632e817ff0116102765780632e817ff01461040757806336cdd31b146104265780633e63c50a14610445575f80fd5b80631927108114610396578063275e36bf146103b55780632c7d67b7146103e8575f80fd5b80630b90dfc3116102cb5780630b90dfc3146103375780630d8e6e2c1461035657806313801ffa14610377575f80fd5b8063052896f1146102e65780630590734314610318575b5f80fd5b3480156102f1575f80fd5b50610305610300366004613f96565b61087e565b6040519081526020015b60405180910390f35b348015610323575f80fd5b50610305610332366004613f96565b610921565b348015610342575f80fd5b50610305610351366004614065565b6109ba565b348015610361575f80fd5b5061036a610d9b565b60405161030f91906140fc565b348015610382575f80fd5b5061030561039136600461410e565b610e16565b3480156103a1575f80fd5b506103056103b0366004613f96565b610ea6565b3480156103c0575f80fd5b505f805160206146848339815191525b6040516001600160a01b03909116815260200161030f565b3480156103f3575f80fd5b50610305610402366004613f96565b610fca565b348015610412575f80fd5b5061030561042136600461413b565b611063565b348015610431575f80fd5b50610305610440366004613f96565b6111ee565b348015610450575f80fd5b5061030561045f366004613f96565b611337565b34801561046f575f80fd5b5061030561047e366004613f96565b6113d0565b34801561048e575f80fd5b5061030561049d36600461419f565b611469565b6104b56104b03660046141c9565b611764565b005b3480156104c2575f80fd5b50610305611783565b3480156104d6575f80fd5b506103056104e5366004613f96565b6117b1565b3480156104f5575f80fd5b50610305610504366004613f96565b61184a565b348015610514575f80fd5b5061051c5f81565b60405160ff909116815260200161030f565b348015610539575f80fd5b50610305610548366004613f96565b6118e3565b348015610558575f80fd5b506104b5611a07565b34801561056c575f80fd5b506104b5611a1a565b348015610580575f80fd5b5061030561058f366004613f96565b611a62565b34801561059f575f80fd5b506103056105ae366004613f96565b611afb565b3480156105be575f80fd5b506103056105cd366004613f96565b611b94565b3480156105dd575f80fd5b506103d0611c2d565b3480156105f1575f80fd5b50610305610600366004614214565b611c61565b348015610610575f80fd5b5061030561061f366004613f96565b611e7e565b34801561062f575f80fd5b5061030561063e366004613f96565b611f17565b34801561064e575f80fd5b5061030561065d366004613f96565b611fb0565b34801561066d575f80fd5b5061030561067c36600461410e565b612049565b34801561068c575f80fd5b507369de3158643e738a0724418b21a35faa20cbb1c56103d0565b3480156106b2575f80fd5b5061036a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b3480156106fa575f80fd5b50610305610709366004614065565b6120d1565b348015610719575f80fd5b506104b561072836600461422d565b612419565b348015610738575f80fd5b50610305610747366004614246565b61253b565b348015610757575f80fd5b50610305610766366004613f96565b6125cf565b348015610776575f80fd5b5061030561078536600461426f565b612718565b348015610795575f80fd5b506103d0612970565b3480156107a9575f80fd5b506103056107b836600461419f565b612998565b3480156107c8575f80fd5b506103056107d7366004613f96565b612b10565b3480156107e7575f80fd5b506103056107f6366004613f96565b612ba9565b348015610806575f80fd5b506104b561081536600461422d565b612c42565b348015610825575f80fd5b5073339ece85b9e11a3a3aa557582784a15d7f82aaf26103d0565b34801561084b575f80fd5b5061030561085a366004613f96565b612cc7565b34801561086a575f80fd5b5061030561087936600461419f565b612d5f565b5f61017e61088c8582612fd4565b5f6108978660081c90565b60405162fabc1960e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906303eaf064906064015f604051808303815f87803b1580156108f2575f80fd5b505af1158015610904573d5f803e3d5ffd5b50505050610916600e8888845f61302e565b979650505050505050565b5f61017e61092f8582612fd4565b5f61093a8660081c90565b60405163b25fd54760e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063b25fd547906064015f604051808303815f87803b158015610996575f80fd5b505af11580156109a8573d5f803e3d5ffd5b50505050610916600a8888848661302e565b5f610e006109c88582612fd4565b5f6109d38660081c90565b9050600160f81b808516908114610a575760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654e65206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e640000000060648201526084015b60405180910390fd5b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020614684833981519152906399841ed7906064015f604051808303815f87803b158015610ab2575f80fd5b505af1158015610ac4573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf29250635faa299a9150604401602060405180830381865afa158015610b1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4091906142b1565b610b8c5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b855160ff8316600903610c015780604014610bfc5760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b610cd7565b8260ff16600a03610c715780608014610bfc5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b8061010014610cd75760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b600d88888473339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001610d07969594939291906142f3565b60408051601f198184030181529190528051602090910120945061ffff1985166040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015610d7a575f80fd5b505af1158015610d8c573d5f803e3d5ffd5b50505050505050509392505050565b60606040518060400160405280600c81526020017f544648454578656375746f720000000000000000000000000000000000000000815250610ddc5f613311565b610de66001613311565b610def5f613311565b604051602001610e02949392919061435b565b604051602081830303815290604052905090565b5f61017f610e248382612fd4565b5f610e2f8460081c90565b60405163aa43b7f960e01b815233600482015260ff821660248201529091505f805160206146848339815191529063aa43b7f9906044015f604051808303815f87803b158015610e7d575f80fd5b505af1158015610e8f573d5f803e3d5ffd5b50505050610e9e6015856133ae565b949350505050565b5f610fff610eb48582612fd4565b5f610ebf8660081c90565b9050600160f81b80851690819003610f4b5760088260ff161115610f4b5760405162461bcd60e51b815260206004820152603e60248201527f5363616c6172206668654e6520666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f61646564206668654e6500006064820152608401610a4e565b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020614684833981519152906399841ed7906064015f604051808303815f87803b158015610fa6575f80fd5b505af1158015610fb8573d5f803e3d5ffd5b50505050610916600d8888845f61302e565b5f61017f610fd88582612fd4565b5f610fe38660081c90565b60405163473dceed60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063473dceed906064015f604051808303815f87803b15801561103f575f80fd5b505af1158015611051573d5f803e3d5ffd5b5050505061091660078888848661302e565b6040805160608101825273339ece85b9e11a3a3aa557582784a15d7f82aaf281526001600160a01b038516602082015233918101919091525f90816110a88760081c90565b905060f884901c60ff8216146111005760405162461bcd60e51b815260206004820152600a60248201527f57726f6e672074797065000000000000000000000000000000000000000000006044820152606401610a4e565b604051634d52c10760e01b81527369de3158643e738a0724418b21a35faa20cbb1c590634d52c1079061113b9085908b908a906004016143d8565b6020604051808303815f875af1158015611157573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117b919061441a565b6040516346ce4e4960e11b81526004810182905233602482015290935073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b1580156111ce575f80fd5b505af11580156111e0573d5f803e3d5ffd5b505050505050949350505050565b5f600160f81b808316146112505760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206668654469762062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610a4e565b825f0361129f5760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610a4e565b61017e6112ac8582612fd4565b5f6112b78660081c90565b60405163f7eaec6360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063f7eaec63906064015f604051808303815f87803b158015611313575f80fd5b505af1158015611325573d5f803e3d5ffd5b5050505061091660038888848661302e565b5f61017e6113458582612fd4565b5f6113508660081c90565b604051638638282b60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290638638282b906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b50505050610916600f8888845f61302e565b5f61017e6113de8582612fd4565b5f6113e98660081c90565b6040516313f3d32960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906313f3d329906064015f604051808303815f87803b158015611445575f80fd5b505af1158015611457573d5f803e3d5ffd5b50505050610916600b8888848661302e565b604051632fd514cd60e11b8152600481018390523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156114bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e391906142b1565b61152f5760405162461bcd60e51b815260206004820152601d60248201527f53656e64657220646f65736e2774206f776e206374206f6e20636173740000006044820152606401610a4e565b61017f61153c8482612fd4565b61017e600160f885901c1b81166115955760405162461bcd60e51b815260206004820152601760248201527f556e737570706f72746564206f757470757420747970650000000000000000006044820152606401610a4e565b5f6115a08660081c90565b9050847effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036116385760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74206361737420746f2073616d65207479706500000000000000006044820152606401610a4e565b604051630cea149360e41b815233600482015260ff821660248201525f805160206146848339815191529063cea14930906044015f604051808303815f87803b158015611683575f80fd5b505af1158015611695573d5f803e3d5ffd5b505050506017868673339ece85b9e11a3a3aa557582784a15d7f82aaf2466040516020016116c7959493929190614431565b60408051601f198184030181529190528051602090910120935061ffff19841660f086901c61ff0016175b6040516346ce4e4960e11b81526004810182905233602482015290945073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015611745575f80fd5b505af1158015611757573d5f803e3d5ffd5b5050505050505092915050565b61176c613546565b611775826135fd565b61177f8282613605565b5050565b5f61178c6136d4565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b5f61017f6117bf8582612fd4565b5f6117ca8660081c90565b60405163cd2bd00360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063cd2bd003906064015f604051808303815f87803b158015611826575f80fd5b505af1158015611838573d5f803e3d5ffd5b5050505061091660058888848661302e565b5f61017e6118588582612fd4565b5f6118638660081c90565b60405163d692278360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063d6922783906064015f604051808303815f87803b1580156118bf575f80fd5b505af11580156118d1573d5f803e3d5ffd5b5050505061091660108888845f61302e565b5f610fff6118f18582612fd4565b5f6118fc8660081c90565b9050600160f81b808516908190036119885760088260ff1611156119885760405162461bcd60e51b815260206004820152603e60248201527f5363616c617220666865457120666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f6164656420666865457100006064820152608401610a4e565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206146848339815191529063e138131e906064015f604051808303815f87803b1580156119e3575f80fd5b505af11580156119f5573d5f803e3d5ffd5b50505050610916600c8888845f61302e565b611a0f61371d565b611a185f61374f565b565b3380611a24612970565b6001600160a01b031614611a565760405163118cdaa760e01b81526001600160a01b0382166004820152602401610a4e565b611a5f8161374f565b50565b5f61017e611a708582612fd4565b5f611a7b8660081c90565b604051632be8dd7960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290632be8dd79906064015f604051808303815f87803b158015611ad7575f80fd5b505af1158015611ae9573d5f803e3d5ffd5b5050505061091660028888848661302e565b5f61017e611b098582612fd4565b5f611b148660081c90565b604051633968721960e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906372d0e432906064015f604051808303815f87803b158015611b70575f80fd5b505af1158015611b82573d5f803e3d5ffd5b5050505061091660088888848661302e565b5f61017e611ba28582612fd4565b5f611bad8660081c90565b6040516303ed3f3160e51b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290637da7e620906064015f604051808303815f87803b158015611c09575f80fd5b505af1158015611c1b573d5f803e3d5ffd5b5050505061091660018888848661302e565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e00610f7f60f884901c6001811b8216611cdd5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610a4e565b6040516302cccbd160e21b815233600482015260ff821660248201525f8051602061468483398151915290630b332f44906044015f604051808303815f87803b158015611d28575f80fd5b505af1158015611d3a573d5f803e3d5ffd5b505084545f9250905073339ece85b9e11a3a3aa557582784a15d7f82aaf246611d6460014361448d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601a8682604051602001611dce939291906144a0565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015611e4b575f80fd5b505af1158015611e5d573d5f803e3d5ffd5b5050855491508590505f611e70836144dc565b919050555050505050919050565b5f61017e611e8c8582612fd4565b5f611e978660081c90565b60405163466ac06560e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063466ac065906064015f604051808303815f87803b158015611ef3575f80fd5b505af1158015611f05573d5f803e3d5ffd5b5050505061091660118888845f61302e565b5f61017e611f258582612fd4565b5f611f308660081c90565b604051631ade267d60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290631ade267d906064015f604051808303815f87803b158015611f8c575f80fd5b505af1158015611f9e573d5f803e3d5ffd5b5050505061091660138888848661302e565b5f61017e611fbe8582612fd4565b5f611fc98660081c90565b604051630ad2336160e41b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063ad233610906064015f604051808303815f87803b158015612025575f80fd5b505af1158015612037573d5f803e3d5ffd5b5050505061091660128888848661302e565b5f61017e6120578382612fd4565b5f6120628460081c90565b6040516313ed41db60e31b815233600482015260ff821660248201529091505f8051602061468483398151915290639f6a0ed8906044015f604051808303815f87803b1580156120b0575f80fd5b505af11580156120c2573d5f803e3d5ffd5b50505050610e9e6014856133ae565b5f610e006120df8582612fd4565b5f6120ea8660081c90565b9050600160f81b8085169081146121695760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654571206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e64000000006064820152608401610a4e565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206146848339815191529063e138131e906064015f604051808303815f87803b1580156121c4575f80fd5b505af11580156121d6573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf29250635faa299a9150604401602060405180830381865afa15801561222e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225291906142b1565b61229e5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b855160ff8316600903612313578060401461230e5760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b6123e9565b8260ff16600a03612383578060801461230e5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b80610100146123e95760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b600c88888473339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001610d07969594939291906142f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156124635750825b90505f8267ffffffffffffffff16600114801561247f5750303b155b90508115801561248d575080155b156124ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156124df57845468ff00000000000000001916680100000000000000001785555b6124e886613787565b831561253357845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610fff6125498482612fd4565b5f6125548560081c90565b60405163d5f0797d60e01b815233600482015260ff821660248201529091505f805160206146848339815191529063d5f0797d906044015f604051808303815f87803b1580156125a2575f80fd5b505af11580156125b4573d5f803e3d5ffd5b505050506125c56019878787613798565b9695505050505050565b5f600160f81b808316146126315760405162461bcd60e51b8152602060048201526024808201527f4f6e6c792066686552656d2062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610a4e565b825f036126805760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610a4e565b61017e61268d8582612fd4565b5f6126988660081c90565b6040516317f83edb60e31b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063bfc1f6d8906064015f604051808303815f87803b1580156126f4575f80fd5b505af1158015612706573d5f803e3d5ffd5b5050505061091660048888848661302e565b5f610e0060f883901c6001811b82166127665760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206146848339815191529063100747ad906044015f604051808303815f87803b1580156127b1575f80fd5b505af11580156127c3573d5f803e3d5ffd5b5050865191505060ff821660090361283d57806040146128385760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b612913565b8160ff16600a036128ad57806080146128385760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b80610100146129135760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b6018868673339ece85b9e11a3a3aa557582784a15d7f82aaf2466040516020016129419594939291906144f4565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176116f2565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00611c51565b5f6101ff60f883901c6001811b82166129e65760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206146848339815191529063100747ad906044015f604051808303815f87803b158015612a31575f80fd5b505af1158015612a43573d5f803e3d5ffd5b505050506018858573339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001612a75959493929190614431565b60408051601f198184030181529190528051602090910120925061ffff198316600882901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290935073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015612af2575f80fd5b505af1158015612b04573d5f803e3d5ffd5b50505050505092915050565b5f61017f612b1e8582612fd4565b5f612b298660081c90565b604051633980607d60e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290637300c0fa906064015f604051808303815f87803b158015612b85575f80fd5b505af1158015612b97573d5f803e3d5ffd5b5050505061091660068888848661302e565b5f61017e612bb78582612fd4565b5f612bc28660081c90565b6040516307dbdabb60e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290631f6f6aec906064015f604051808303815f87803b158015612c1e575f80fd5b505af1158015612c30573d5f803e3d5ffd5b5050505061091660098888848661302e565b612c4a61371d565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255612c8e611c2d565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b5f61017e612cd58582612fd4565b5f612ce08660081c90565b6040516327af38ad60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906327af38ad906064015f604051808303815f87803b158015612d3c575f80fd5b505af1158015612d4e573d5f803e3d5ffd5b505050506109165f8888848661302e565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e0061017e60f884901c6001811b8216612ddb5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610a4e565b612de486613ba6565b612e305760405162461bcd60e51b815260206004820152601f60248201527f5570706572426f756e64206d757374206265206120706f776572206f662032006044820152606401610a4e565b604051639bf5592160e01b815233600482015260ff821660248201525f8051602061468483398151915290639bf55921906044015f604051808303815f87803b158015612e7b575f80fd5b505af1158015612e8d573d5f803e3d5ffd5b505084545f9250905073339ece85b9e11a3a3aa557582784a15d7f82aaf246612eb760014361448d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601b878783604051602001612f239493929190614555565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015612fa0575f80fd5b505af1158015612fb2573d5f803e3d5ffd5b5050855491508590505f612fc5836144dc565b91905055505050505092915050565b5f612fdf8360081c90565b9050600160ff82161b82166130295760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b505050565b604051632fd514cd60e11b8152600481018590523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613084573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a891906142b1565b6130f45760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b6001600160f81b031983165f0361324657604051632fd514cd60e11b81526004810185905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317d91906142b1565b6131c95760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610a4e565b5f6131d48560081c90565b90505f6131e18760081c90565b90508160ff168160ff16146132435760405162461bcd60e51b815260206004820152602260248201527f496e636f6d70617469626c6520747970657320666f72206c687320616e642072604482015261687360f01b6064820152608401610a4e565b50505b8585858573339ece85b9e11a3a3aa557582784a15d7f82aaf24660405160200161327596959493929190614599565b60408051601f198184030181529190528051602090910120905061ffff198116600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290915073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b1580156132f2575f80fd5b505af1158015613304573d5f803e3d5ffd5b5050505095945050505050565b60605f61331d83613bc6565b60010190505f8167ffffffffffffffff81111561333c5761333c613fc8565b6040519080825280601f01601f191660200182016040528015613366576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461337057509392505050565b604051632fd514cd60e11b8152600481018290523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613404573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061342891906142b1565b6134745760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f65736e2774206f776e206374206f6e206f7000000000006044820152606401610a4e565b828273339ece85b9e11a3a3aa557582784a15d7f82aaf24660405160200161349f94939291906145e9565b604051602081830303815290604052805190602001205f1c90505f6134c48360081c90565b905061ffff198216600882901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290925073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015613529575f80fd5b505af115801561353b573d5f803e3d5ffd5b505050505092915050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806135df57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166135d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15611a185760405163703e46dd60e11b815260040160405180910390fd5b611a5f61371d565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561365f575060408051601f3d908101601f1916820190925261365c9181019061441a565b60015b61368757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610a4e565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146136ca57604051632a87526960e21b815260048101829052602401610a4e565b6130298383613ca7565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a185760405163703e46dd60e11b815260040160405180910390fd5b33613726611c2d565b6001600160a01b031614611a185760405163118cdaa760e01b8152336004820152602401610a4e565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561177f82613cfc565b61378f613d6c565b611a5f81613dba565b604051632fd514cd60e11b8152600481018490523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156137ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061381291906142b1565b61385e5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b604051632fd514cd60e11b81526004810184905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156138b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138d691906142b1565b6139225760405162461bcd60e51b815260206004820152601f60248201527f53656e64657220646f65736e2774206f776e206d6964646c65206f6e206f70006044820152606401610a4e565b604051632fd514cd60e11b81526004810183905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399a91906142b1565b6139e65760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610a4e565b5f6139f18560081c90565b90505f6139fe8560081c90565b90505f613a0b8560081c90565b905060ff831615613a5e5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564207479706520666f72206c687300000000000000006044820152606401610a4e565b8060ff168260ff1614613ad95760405162461bcd60e51b815260206004820152602560248201527f496e636f6d70617469626c6520747970657320666f72206d6964646c6520616e60448201527f64207268730000000000000000000000000000000000000000000000000000006064820152608401610a4e565b8787878773339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001613b0896959493929190614622565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290945073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015613b85575f80fd5b505af1158015613b97573d5f803e3d5ffd5b50505050505050949350505050565b5f8082118015613bc05750613bbc60018361448d565b8216155b92915050565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613c0e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613c3a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613c5857662386f26fc10000830492506010015b6305f5e1008310613c70576305f5e100830492506008015b6127108310613c8457612710830492506004015b60648310613c96576064830492506002015b600a8310613bc05760010192915050565b613cb082613deb565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115613cf4576130298282613e61565b61177f613ed3565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611a1857604051631afcd79f60e31b815260040160405180910390fd5b613dc2613d6c565b6001600160a01b038116611a5657604051631e4fbdf760e01b81525f6004820152602401610a4e565b806001600160a01b03163b5f03613e2057604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610a4e565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051613e7d9190614668565b5f60405180830381855af49150503d805f8114613eb5576040519150601f19603f3d011682016040523d82523d5f602084013e613eba565b606091505b5091509150613eca858383613ef2565b95945050505050565b3415611a185760405163b398979f60e01b815260040160405180910390fd5b606082613f0757613f0282613f51565b613f4a565b8151158015613f1e57506001600160a01b0384163b155b15613f4757604051639996b31560e01b81526001600160a01b0385166004820152602401610a4e565b50805b9392505050565b805115613f615780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160f81b031981168114613f91575f80fd5b919050565b5f805f60608486031215613fa8575f80fd5b8335925060208401359150613fbf60408501613f7a565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112613feb575f80fd5b813567ffffffffffffffff8082111561400657614006613fc8565b604051601f8301601f19908116603f0116810190828211818310171561402e5761402e613fc8565b81604052838152866020858801011115614046575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f60608486031215614077575f80fd5b83359250602084013567ffffffffffffffff811115614094575f80fd5b6140a086828701613fdc565b925050613fbf60408501613f7a565b5f5b838110156140c95781810151838201526020016140b1565b50505f910152565b5f81518084526140e88160208601602086016140af565b601f01601f19169290920160200192915050565b602081525f613f4a60208301846140d1565b5f6020828403121561411e575f80fd5b5035919050565b80356001600160a01b0381168114613f91575f80fd5b5f805f806080858703121561414e575f80fd5b8435935061415e60208601614125565b9250604085013567ffffffffffffffff811115614179575f80fd5b61418587828801613fdc565b92505061419460608601613f7a565b905092959194509250565b5f80604083850312156141b0575f80fd5b823591506141c060208401613f7a565b90509250929050565b5f80604083850312156141da575f80fd5b6141e383614125565b9150602083013567ffffffffffffffff8111156141fe575f80fd5b61420a85828601613fdc565b9150509250929050565b5f60208284031215614224575f80fd5b613f4a82613f7a565b5f6020828403121561423d575f80fd5b613f4a82614125565b5f805f60608486031215614258575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215614280575f80fd5b823567ffffffffffffffff811115614296575f80fd5b6142a285828601613fdc565b9250506141c060208401613f7a565b5f602082840312156142c1575f80fd5b81518015158114613f4a575f80fd5b601c81106142ec57634e487b7160e01b5f52602160045260245ffd5b60f81b9052565b6142fd81886142d0565b8560018201525f8551614317816021850160208a016140af565b6001600160f81b0319959095166021929095019182019490945260609290921b6bffffffffffffffffffffffff191660228301526036820152605601949350505050565b5f855161436c818460208a016140af565b61103b60f11b908301908152855161438b816002840160208a016140af565b808201915050601760f91b80600283015285516143af816003850160208a016140af565b600392019182015283516143ca8160048401602088016140af565b016004019695505050505050565b5f6001600160a01b038086511683528060208701511660208401528060408701511660408401525083606083015260a06080830152613eca60a08301846140d1565b5f6020828403121561442a575f80fd5b5051919050565b61443b81876142d0565b60018101949094526001600160f81b031992909216602184015260601b6bffffffffffffffffffffffff191660228301526036820152605601919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115613bc057613bc0614479565b6144aa81856142d0565b6001600160f81b03199290921660018301526fffffffffffffffffffffffffffffffff19166002820152601201919050565b5f600182016144ed576144ed614479565b5060010190565b6144fe81876142d0565b5f8551614512816001850160208a016140af565b6001600160f81b0319959095166001929095019182019490945260609290921b6bffffffffffffffffffffffff1916600283015260168201526036019392505050565b61455f81866142d0565b60018101939093526001600160f81b03199190911660218301526fffffffffffffffffffffffffffffffff19166022820152603201919050565b6145a381886142d0565b600181019590955260218501939093526001600160f81b031991909116604184015260601b6bffffffffffffffffffffffff191660428301526056820152607601919050565b6145f381866142d0565b600181019390935260609190911b6bffffffffffffffffffffffff191660218301526035820152605501919050565b61462c81886142d0565b60018101959095526021850193909352604184019190915260601b6bffffffffffffffffffffffff191660618301526075820152609501919050565b5f82516146798184602087016140af565b919091019291505056fe0000000000000000000000006d5a11ac509c707c00bc3a0a113accc26c532547a164736f6c6343000818000a"; - -type TFHEExecutorConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHEExecutorConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHEExecutor__factory extends ContractFactory { - constructor(...args: TFHEExecutorConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHEExecutor & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHEExecutor__factory { - return super.connect(runner) as TFHEExecutor__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHEExecutorInterface { - return new Interface(_abi) as TFHEExecutorInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHEExecutor { - return new Contract(address, _abi, runner) as unknown as TFHEExecutor; - } -} diff --git a/contracts/types/factories/contracts/TFHEExecutor.sol/index.ts b/contracts/types/factories/contracts/TFHEExecutor.sol/index.ts deleted file mode 100644 index 97428f32..00000000 --- a/contracts/types/factories/contracts/TFHEExecutor.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IInputVerifier__factory } from "./IInputVerifier__factory"; -export { TFHEExecutor__factory } from "./TFHEExecutor__factory"; diff --git a/contracts/types/factories/contracts/index.ts b/contracts/types/factories/contracts/index.ts deleted file mode 100644 index 8a13b075..00000000 --- a/contracts/types/factories/contracts/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as inputVerifierCoprocessorSol from "./InputVerifier.coprocessor.sol"; -export * as inputVerifierNativeSol from "./InputVerifier.native.sol"; -export * as tfheExecutorEventsSol from "./TFHEExecutor.events.sol"; -export * as tfheExecutorSol from "./TFHEExecutor.sol"; -export { ACL__factory } from "./ACL__factory"; -export { FHEPayment__factory } from "./FHEPayment__factory"; -export { KMSVerifier__factory } from "./KMSVerifier__factory"; diff --git a/contracts/types/factories/examples/ACLUpgradedExample2__factory.ts b/contracts/types/factories/examples/ACLUpgradedExample2__factory.ts deleted file mode 100644 index 01e66442..00000000 --- a/contracts/types/factories/examples/ACLUpgradedExample2__factory.ts +++ /dev/null @@ -1,590 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - ACLUpgradedExample2, - ACLUpgradedExample2Interface, -} from "../../examples/ACLUpgradedExample2"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "AllowedForDecryption", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "delegatee", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "NewDelegation", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allow", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "allowForDecryption", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowTransient", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedOnBehalf", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedTransient", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "cleanTransientStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "delegateAccountForContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getTFHEExecutorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - ], - name: "isAllowedForDecryption", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "persistAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b60805161179d6100f95f395f8181610dd001528181610df90152610f5e015261179d5ff3fe608060405260043610610162575f3560e01c806379ba5097116100c6578063ad3cb1cc1161007c578063ccd9a7cd11610057578063ccd9a7cd14610436578063e30c397814610455578063f2fde38b14610469575f80fd5b8063ad3cb1cc146103b0578063b198d657146103f8578063c4d66de814610417575f80fd5b80638d9c9c92116100ac5780638d9c9c921461033f5780638da5cb5b1461035e578063a90cd91d1461038a575f80fd5b806379ba50971461030c5780637a9a598e14610320575f80fd5b8063557e10041161011b5780636330a709116101015780636330a7091461028c57806365d0509c146102d9578063715018a6146102f8575f80fd5b8063557e10041461024e5780635faa299a1461026d575f80fd5b806337e6b44f1161014b57806337e6b44f146101a65780634f1ef2861461021957806352d1902d1461022c575f80fd5b80630d8e6e2c1461016657806335334c2314610190575b5f80fd5b348015610171575f80fd5b5061017a610488565b60405161018791906113eb565b60405180910390f35b34801561019b575f80fd5b506101a46104e9565b005b3480156101b1575f80fd5b506102096101c0366004611438565b5f9182527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6040519015158152602001610187565b6101a46102273660046114a7565b610513565b348015610237575f80fd5b50610240610532565b604051908152602001610187565b348015610259575f80fd5b506101a4610268366004611547565b610560565b348015610278575f80fd5b50610209610287366004611438565b61065a565b348015610297575f80fd5b506102096102a63660046115e8565b5f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc01602052604090205460ff1690565b3480156102e4575f80fd5b506101a46102f3366004611438565b6106b7565b348015610303575f80fd5b506101a4610752565b348015610317575f80fd5b506101a4610765565b34801561032b575f80fd5b5061020961033a366004611438565b6107ad565b34801561034a575f80fd5b506101a4610359366004611438565b610800565b348015610369575f80fd5b506103726108c4565b6040516001600160a01b039091168152602001610187565b348015610395575f80fd5b5073596e6682c72946af006b27c131793f2b62527a4b610372565b3480156103bb575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610403575f80fd5b506101a46104123660046115ff565b6108f8565b348015610422575f80fd5b506101a4610431366004611627565b610aa4565b348015610441575f80fd5b50610209610450366004611640565b610bc6565b348015610460575f80fd5b50610372610c7b565b348015610474575f80fd5b506101a4610483366004611627565b610ca3565b6060604051806040016040528060038152602001621050d360ea1b8152506104af5f610d28565b6104b96003610d28565b6104c25f610d28565b6040516020016104d5949392919061168a565b604051602081830303815290604052905090565b5f5c5f805d600190810190805b8281101561050e57805c5f825d5f815d5081016104f6565b505050565b61051b610dc5565b61052482610e7c565b61052e8282610e84565b5050565b5f61053b610f53565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b80517fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc005f5b8281101561061d575f8482815181106105a0576105a0611707565b602002602001015190506105b4813361065a565b6105fc5760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064015b60405180910390fd5b5f90815260018381016020526040909120805460ff19168217905501610585565b507f2fd616621b8415a2efb27b224024340ac767797553ce6fdf4c1adefd160504c68360405161064d919061171b565b60405180910390a1505050565b5f61066583836107ad565b806106b057505f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408083206001600160a01b038616845290915290205460ff165b9392505050565b7fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc006106e2833361065a565b6107255760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f928352602090815260408084206001600160a01b0390931684529190529020805460ff19166001179055565b61075a610f9c565b6107635f610fce565b565b338061076f610c7b565b6001600160a01b0316146107a15760405163118cdaa760e01b81526001600160a01b03821660048201526024016105f3565b6107aa81610fce565b50565b5f805f84846040516020016107de92919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b60408051808303601f1901815291905280516020909101205c95945050505050565b3373596e6682c72946af006b27c131793f2b62527a4b1461086857610825823361065a565b6108685760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f828260405160200161089792919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012090506001815d60015f5c0181815d805f5d50505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b336001600160a01b038216036109765760405162461bcd60e51b815260206004820152603360248201527f636f6e7472616374416464726573732073686f756c642062652064696666657260448201527f656e742066726f6d206d73672e73656e6465720000000000000000000000000060648201526084016105f3565b335f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc02602090815260408083206001600160a01b03868116855290835281842090851684529091529020547fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc009060ff1615610a365760405162461bcd60e51b815260206004820152601160248201527f616c72656164792064656c65676174656400000000000000000000000000000060448201526064016105f3565b335f81815260028301602090815260408083206001600160a01b038881168086529184528285209088168086529352818420805460ff1916600117905590519193909290917ff03b7c0d4879b0bcbbf440794871f139c96fd13a145a8172b33b9cab5fa2830a9190a4505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610aee5750825b90505f8267ffffffffffffffff166001148015610b0a5750303b155b905081158015610b18575080155b15610b365760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b6a57845468ff00000000000000001916680100000000000000001785555b610b7386611006565b8315610bbe57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602081815260408084206001600160a01b038616855290915282205460ff168015610c3557505f858152602082815260408083206001600160a01b038816845290915290205460ff165b8015610c7157506001600160a01b038084165f90815260028301602090815260408083208a8516845282528083209388168352929052205460ff165b9695505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006108e8565b610cab610f9c565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610cef6108c4565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610d3483611017565b60010190505f8167ffffffffffffffff811115610d5357610d53611462565b6040519080825280601f01601f191660200182016040528015610d7d576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610d8757509392505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610e5e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156107635760405163703e46dd60e11b815260040160405180910390fd5b6107aa610f9c565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ede575060408051601f3d908101601f19168201909252610edb9181019061175e565b60015b610f0657604051634c9c8ce360e01b81526001600160a01b03831660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114610f4957604051632a87526960e21b8152600481018290526024016105f3565b61050e83836110f9565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107635760405163703e46dd60e11b815260040160405180910390fd5b33610fa56108c4565b6001600160a01b0316146107635760405163118cdaa760e01b81523360048201526024016105f3565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561052e8261114e565b61100e6111be565b6107aa8161120c565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061105f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061108b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106110a957662386f26fc10000830492506010015b6305f5e10083106110c1576305f5e100830492506008015b61271083106110d557612710830492506004015b606483106110e7576064830492506002015b600a83106110f3576001015b92915050565b6111028261123d565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156111465761050e82826112b3565b61052e611325565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661076357604051631afcd79f60e31b815260040160405180910390fd5b6112146111be565b6001600160a01b0381166107a157604051631e4fbdf760e01b81525f60048201526024016105f3565b806001600160a01b03163b5f0361127257604051634c9c8ce360e01b81526001600160a01b03821660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516112cf9190611775565b5f60405180830381855af49150503d805f8114611307576040519150601f19603f3d011682016040523d82523d5f602084013e61130c565b606091505b509150915061131c858383611344565b95945050505050565b34156107635760405163b398979f60e01b815260040160405180910390fd5b60608261135957611354826113a0565b6106b0565b815115801561137057506001600160a01b0384163b155b1561139957604051639996b31560e01b81526001600160a01b03851660048201526024016105f3565b5092915050565b8051156113b05780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b838110156113e35781810151838201526020016113cb565b50505f910152565b602081525f82518060208401526114098160408501602087016113c9565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611433575f80fd5b919050565b5f8060408385031215611449575f80fd5b823591506114596020840161141d565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561149f5761149f611462565b604052919050565b5f80604083850312156114b8575f80fd5b6114c18361141d565b915060208084013567ffffffffffffffff808211156114de575f80fd5b818601915086601f8301126114f1575f80fd5b81358181111561150357611503611462565b611515601f8201601f19168501611476565b9150808252878482850101111561152a575f80fd5b80848401858401375f848284010152508093505050509250929050565b5f6020808385031215611558575f80fd5b823567ffffffffffffffff8082111561156f575f80fd5b818501915085601f830112611582575f80fd5b81358181111561159457611594611462565b8060051b91506115a5848301611476565b81815291830184019184810190888411156115be575f80fd5b938501935b838510156115dc578435825293850193908501906115c3565b98975050505050505050565b5f602082840312156115f8575f80fd5b5035919050565b5f8060408385031215611610575f80fd5b6116198361141d565b91506114596020840161141d565b5f60208284031215611637575f80fd5b6106b08261141d565b5f805f8060808587031215611653575f80fd5b61165c8561141d565b9350602085013592506116716040860161141d565b915061167f6060860161141d565b905092959194509250565b5f855161169b818460208a016113c9565b61103b60f11b90830190815285516116ba816002840160208a016113c9565b808201915050601760f91b80600283015285516116de816003850160208a016113c9565b600392019182015283516116f98160048401602088016113c9565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b602080825282518282018190525f9190848201906040850190845b8181101561175257835183529284019291840191600101611736565b50909695505050505050565b5f6020828403121561176e575f80fd5b5051919050565b5f82516117868184602087016113c9565b919091019291505056fea164736f6c6343000818000a"; - -type ACLUpgradedExample2ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ACLUpgradedExample2ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ACLUpgradedExample2__factory extends ContractFactory { - constructor(...args: ACLUpgradedExample2ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - ACLUpgradedExample2 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): ACLUpgradedExample2__factory { - return super.connect(runner) as ACLUpgradedExample2__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ACLUpgradedExample2Interface { - return new Interface(_abi) as ACLUpgradedExample2Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): ACLUpgradedExample2 { - return new Contract( - address, - _abi, - runner - ) as unknown as ACLUpgradedExample2; - } -} diff --git a/contracts/types/factories/examples/ACLUpgradedExample__factory.ts b/contracts/types/factories/examples/ACLUpgradedExample__factory.ts deleted file mode 100644 index e0d3ee4d..00000000 --- a/contracts/types/factories/examples/ACLUpgradedExample__factory.ts +++ /dev/null @@ -1,584 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - ACLUpgradedExample, - ACLUpgradedExampleInterface, -} from "../../examples/ACLUpgradedExample"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "AllowedForDecryption", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "sender", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "delegatee", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "NewDelegation", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allow", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "allowForDecryption", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowTransient", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedOnBehalf", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowedTransient", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "cleanTransientStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "delegatee", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - name: "delegateAccountForContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getTFHEExecutorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - ], - name: "isAllowedForDecryption", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "persistAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b60805161179d6100f95f395f8181610dd001528181610df90152610f5e015261179d5ff3fe608060405260043610610162575f3560e01c806379ba5097116100c6578063ad3cb1cc1161007c578063ccd9a7cd11610057578063ccd9a7cd14610436578063e30c397814610455578063f2fde38b14610469575f80fd5b8063ad3cb1cc146103b0578063b198d657146103f8578063c4d66de814610417575f80fd5b80638d9c9c92116100ac5780638d9c9c921461033f5780638da5cb5b1461035e578063a90cd91d1461038a575f80fd5b806379ba50971461030c5780637a9a598e14610320575f80fd5b8063557e10041161011b5780636330a709116101015780636330a7091461028c57806365d0509c146102d9578063715018a6146102f8575f80fd5b8063557e10041461024e5780635faa299a1461026d575f80fd5b806337e6b44f1161014b57806337e6b44f146101a65780634f1ef2861461021957806352d1902d1461022c575f80fd5b80630d8e6e2c1461016657806335334c2314610190575b5f80fd5b348015610171575f80fd5b5061017a610488565b60405161018791906113eb565b60405180910390f35b34801561019b575f80fd5b506101a46104e9565b005b3480156101b1575f80fd5b506102096101c0366004611438565b5f9182527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6040519015158152602001610187565b6101a46102273660046114a7565b610513565b348015610237575f80fd5b50610240610532565b604051908152602001610187565b348015610259575f80fd5b506101a4610268366004611547565b610560565b348015610278575f80fd5b50610209610287366004611438565b61065a565b348015610297575f80fd5b506102096102a63660046115e8565b5f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc01602052604090205460ff1690565b3480156102e4575f80fd5b506101a46102f3366004611438565b6106b7565b348015610303575f80fd5b506101a4610752565b348015610317575f80fd5b506101a4610765565b34801561032b575f80fd5b5061020961033a366004611438565b6107ad565b34801561034a575f80fd5b506101a4610359366004611438565b610800565b348015610369575f80fd5b506103726108c4565b6040516001600160a01b039091168152602001610187565b348015610395575f80fd5b5073596e6682c72946af006b27c131793f2b62527a4b610372565b3480156103bb575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610403575f80fd5b506101a46104123660046115ff565b6108f8565b348015610422575f80fd5b506101a4610431366004611627565b610aa4565b348015610441575f80fd5b50610209610450366004611640565b610bc6565b348015610460575f80fd5b50610372610c7b565b348015610474575f80fd5b506101a4610483366004611627565b610ca3565b6060604051806040016040528060038152602001621050d360ea1b8152506104af5f610d28565b6104b96002610d28565b6104c25f610d28565b6040516020016104d5949392919061168a565b604051602081830303815290604052905090565b5f5c5f805d600190810190805b8281101561050e57805c5f825d5f815d5081016104f6565b505050565b61051b610dc5565b61052482610e7c565b61052e8282610e84565b5050565b5f61053b610f53565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b80517fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc005f5b8281101561061d575f8482815181106105a0576105a0611707565b602002602001015190506105b4813361065a565b6105fc5760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064015b60405180910390fd5b5f90815260018381016020526040909120805460ff19168217905501610585565b507f2fd616621b8415a2efb27b224024340ac767797553ce6fdf4c1adefd160504c68360405161064d919061171b565b60405180910390a1505050565b5f61066583836107ad565b806106b057505f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602090815260408083206001600160a01b038616845290915290205460ff165b9392505050565b7fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc006106e2833361065a565b6107255760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f928352602090815260408084206001600160a01b0390931684529190529020805460ff19166001179055565b61075a610f9c565b6107635f610fce565b565b338061076f610c7b565b6001600160a01b0316146107a15760405163118cdaa760e01b81526001600160a01b03821660048201526024016105f3565b6107aa81610fce565b50565b5f805f84846040516020016107de92919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b60408051808303601f1901815291905280516020909101205c95945050505050565b3373596e6682c72946af006b27c131793f2b62527a4b1461086857610825823361065a565b6108685760405162461bcd60e51b81526020600482015260146024820152731cd95b99195c881a5cdb89dd08185b1b1bddd95960621b60448201526064016105f3565b5f828260405160200161089792919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012090506001815d60015f5c0181815d805f5d50505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b336001600160a01b038216036109765760405162461bcd60e51b815260206004820152603360248201527f636f6e7472616374416464726573732073686f756c642062652064696666657260448201527f656e742066726f6d206d73672e73656e6465720000000000000000000000000060648201526084016105f3565b335f9081527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc02602090815260408083206001600160a01b03868116855290835281842090851684529091529020547fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc009060ff1615610a365760405162461bcd60e51b815260206004820152601160248201527f616c72656164792064656c65676174656400000000000000000000000000000060448201526064016105f3565b335f81815260028301602090815260408083206001600160a01b038881168086529184528285209088168086529352818420805460ff1916600117905590519193909290917ff03b7c0d4879b0bcbbf440794871f139c96fd13a145a8172b33b9cab5fa2830a9190a4505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610aee5750825b90505f8267ffffffffffffffff166001148015610b0a5750303b155b905081158015610b18575080155b15610b365760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b6a57845468ff00000000000000001916680100000000000000001785555b610b7386611006565b8315610bbe57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f8381527fa688f31953c2015baaf8c0a488ee1ee22eb0e05273cc1fd31ea4cbee42febc00602081815260408084206001600160a01b038616855290915282205460ff168015610c3557505f858152602082815260408083206001600160a01b038816845290915290205460ff165b8015610c7157506001600160a01b038084165f90815260028301602090815260408083208a8516845282528083209388168352929052205460ff165b9695505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006108e8565b610cab610f9c565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610cef6108c4565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610d3483611017565b60010190505f8167ffffffffffffffff811115610d5357610d53611462565b6040519080825280601f01601f191660200182016040528015610d7d576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610d8757509392505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610e5e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156107635760405163703e46dd60e11b815260040160405180910390fd5b6107aa610f9c565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ede575060408051601f3d908101601f19168201909252610edb9181019061175e565b60015b610f0657604051634c9c8ce360e01b81526001600160a01b03831660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114610f4957604051632a87526960e21b8152600481018290526024016105f3565b61050e83836110f9565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107635760405163703e46dd60e11b815260040160405180910390fd5b33610fa56108c4565b6001600160a01b0316146107635760405163118cdaa760e01b81523360048201526024016105f3565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561052e8261114e565b61100e6111be565b6107aa8161120c565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061105f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061108b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106110a957662386f26fc10000830492506010015b6305f5e10083106110c1576305f5e100830492506008015b61271083106110d557612710830492506004015b606483106110e7576064830492506002015b600a83106110f3576001015b92915050565b6111028261123d565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156111465761050e82826112b3565b61052e611325565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661076357604051631afcd79f60e31b815260040160405180910390fd5b6112146111be565b6001600160a01b0381166107a157604051631e4fbdf760e01b81525f60048201526024016105f3565b806001600160a01b03163b5f0361127257604051634c9c8ce360e01b81526001600160a01b03821660048201526024016105f3565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516112cf9190611775565b5f60405180830381855af49150503d805f8114611307576040519150601f19603f3d011682016040523d82523d5f602084013e61130c565b606091505b509150915061131c858383611344565b95945050505050565b34156107635760405163b398979f60e01b815260040160405180910390fd5b60608261135957611354826113a0565b6106b0565b815115801561137057506001600160a01b0384163b155b1561139957604051639996b31560e01b81526001600160a01b03851660048201526024016105f3565b5092915050565b8051156113b05780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b838110156113e35781810151838201526020016113cb565b50505f910152565b602081525f82518060208401526114098160408501602087016113c9565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611433575f80fd5b919050565b5f8060408385031215611449575f80fd5b823591506114596020840161141d565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561149f5761149f611462565b604052919050565b5f80604083850312156114b8575f80fd5b6114c18361141d565b915060208084013567ffffffffffffffff808211156114de575f80fd5b818601915086601f8301126114f1575f80fd5b81358181111561150357611503611462565b611515601f8201601f19168501611476565b9150808252878482850101111561152a575f80fd5b80848401858401375f848284010152508093505050509250929050565b5f6020808385031215611558575f80fd5b823567ffffffffffffffff8082111561156f575f80fd5b818501915085601f830112611582575f80fd5b81358181111561159457611594611462565b8060051b91506115a5848301611476565b81815291830184019184810190888411156115be575f80fd5b938501935b838510156115dc578435825293850193908501906115c3565b98975050505050505050565b5f602082840312156115f8575f80fd5b5035919050565b5f8060408385031215611610575f80fd5b6116198361141d565b91506114596020840161141d565b5f60208284031215611637575f80fd5b6106b08261141d565b5f805f8060808587031215611653575f80fd5b61165c8561141d565b9350602085013592506116716040860161141d565b915061167f6060860161141d565b905092959194509250565b5f855161169b818460208a016113c9565b61103b60f11b90830190815285516116ba816002840160208a016113c9565b808201915050601760f91b80600283015285516116de816003850160208a016113c9565b600392019182015283516116f98160048401602088016113c9565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b602080825282518282018190525f9190848201906040850190845b8181101561175257835183529284019291840191600101611736565b50909695505050505050565b5f6020828403121561176e575f80fd5b5051919050565b5f82516117868184602087016113c9565b919091019291505056fea164736f6c6343000818000a"; - -type ACLUpgradedExampleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ACLUpgradedExampleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class ACLUpgradedExample__factory extends ContractFactory { - constructor(...args: ACLUpgradedExampleConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - ACLUpgradedExample & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): ACLUpgradedExample__factory { - return super.connect(runner) as ACLUpgradedExample__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ACLUpgradedExampleInterface { - return new Interface(_abi) as ACLUpgradedExampleInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): ACLUpgradedExample { - return new Contract(address, _abi, runner) as unknown as ACLUpgradedExample; - } -} diff --git a/contracts/types/factories/examples/BlindAuction__factory.ts b/contracts/types/factories/examples/BlindAuction__factory.ts deleted file mode 100644 index ef13da1d..00000000 --- a/contracts/types/factories/examples/BlindAuction__factory.ts +++ /dev/null @@ -1,469 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { - Signer, - BigNumberish, - AddressLike, - ContractDeployTransaction, - ContractRunner, -} from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - BlindAuction, - BlindAuctionInterface, -} from "../../examples/BlindAuction"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_beneficiary", - type: "address", - }, - { - internalType: "contract EncryptedERC20", - name: "_tokenContract", - type: "address", - }, - { - internalType: "uint256", - name: "biddingTime", - type: "uint256", - }, - { - internalType: "bool", - name: "isStoppable", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "time", - type: "uint256", - }, - ], - name: "TooEarly", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "time", - type: "uint256", - }, - ], - name: "TooLate", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "auctionEnd", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "beneficiary", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "encryptedValue", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "bid", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "bidCounter", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "claim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "decryptWinningTicket", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "endTime", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getBid", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getDecryptedWinningTicket", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "manuallyStopped", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint64", - name: "resultDecryption", - type: "uint64", - }, - ], - name: "setDecryptedWinningTicket", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stop", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stoppable", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "ticketUser", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "tokenContract", - outputs: [ - { - internalType: "contract EncryptedERC20", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "tokenTransferred", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "withdraw", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60806040526016805462ff0000191690553480156200001c575f80fd5b506040516200208a3803806200208a8339810160408190526200003f9162000490565b33806200006557604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6200007081620002a0565b50620001db62000111604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80515f805160206200206a83398151915280546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b7f93ab6e17f2c461cce6ea5d4ec117e51dda77a64affc2b2c05f8cd440def0e70080546001600160a01b03191673096b4679d45fb675d4e2c1e4565009cec99a12b1179055600d80546001600160a01b038087166001600160a01b03199283161790925560148054928616929091169190911790556200025c8242620004ec565b600c556200026a5f620002be565b60158190556200027a90620002e3565b601680545f6013559115156101000261ffff199092169190911790555062000524915050565b600180546001600160a01b0319169055620002bb81620002ef565b50565b5f8115620002d857620002d260016200033e565b92915050565b620002d25f6200033e565b620002bb81306200034b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f620002d28282620003c4565b5f5f805160206200206a8339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015620003a8575f80fd5b505af1158015620003bb573d5f803e3d5ffd5b50505050505050565b5f805f805160206200206a8339815191526001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af11580156200044d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200047391906200050c565b949350505050565b6001600160a01b0381168114620002bb575f80fd5b5f805f8060808587031215620004a4575f80fd5b8451620004b1816200047b565b6020860151909450620004c4816200047b565b6040860151606087015191945092508015158114620004e1575f80fd5b939692955090935050565b80820180821115620002d257634e487b7160e01b5f52601160045260245ffd5b5f602082840312156200051d575f80fd5b5051919050565b611b3880620005325f395ff3fe608060405234801561000f575f80fd5b5060043610610179575f3560e01c806379ba5097116100d2578063c8b342ab11610088578063edfdc41c11610063578063edfdc41c146102e0578063f2fde38b146102f3578063f66bdeae14610306575f80fd5b8063c8b342ab14610294578063c970214f146102bc578063e30c3978146102cf575f80fd5b806392eefbdf116100b857806392eefbdf1461025d578063bb4872de14610265578063c5822c0d14610287575f80fd5b806379ba5097146102455780638da5cb5b1461024d575f80fd5b806338af3eed116101325780634e71d92d1161010d5780634e71d92d1461022257806355a373d61461022a578063715018a61461023d575f80fd5b806338af3eed146101c75780633ccfd60b146101f25780634bb7ce65146101fa575f80fd5b80632a24f46c116101625780632a24f46c146101a35780633197cbb6146101ab57806338263e82146101b4575f80fd5b806303f693541461017d57806307da68f514610199575b5f80fd5b61018660135481565b6040519081526020015b60405180910390f35b6101a1610327565b005b6101a1610355565b610186600c5481565b6101a16101c2366004611876565b61044e565b600d546101da906001600160a01b031681565b6040516001600160a01b039091168152602001610190565b6101a1610941565b6101866102083660046118eb565b6001600160a01b03165f9081526011602052604090205490565b6101a1610a95565b6014546101da906001600160a01b031681565b6101a1610b67565b6101a1610b7a565b5f546001600160a01b03166101da565b6101a1610bbb565b60165461027790610100900460ff1681565b6040519015158152602001610190565b6016546102779060ff1681565b6101866102a23660046118eb565b6001600160a01b03165f9081526012602052604090205490565b6101a16102ca366004611911565b610c5e565b6001546001600160a01b03166101da565b6016546102779062010000900460ff1681565b6101a16103013660046118eb565b610cb8565b61030e610d35565b60405167ffffffffffffffff9091168152602001610190565b61032f610dc9565b601654610100900460ff16610342575f80fd5b6016805462ff0000191662010000179055565b600c544210801561036f575060165462010000900460ff16155b1561039c57600c54604051630a8d68c960e21b815260040161039391815260200190565b60405180910390fd5b60165460ff16156103ab575f80fd5b6016805460ff19166001179055600e546014546103d191906001600160a01b0316610df5565b601454600d54600e5460405163a9059cbb60e01b81526001600160a01b039283166004820152602481019190915291169063a9059cbb906044016020604051808303815f875af1158015610427573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044b919061194b565b50565b600c544210158061046c575060165462010000900460ff1615156001145b1561049057600c5460405163348f2b4160e11b815260040161039391815260200190565b5f6104d08484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610dff92505050565b335f9081526012602052604081205491925081156106b3576014546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801561052e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610552919061196a565b90505f61055f8486610e15565b90505f61056c8686610e43565b90505f610582838361057d5f610e71565b610e7d565b60145490915061059c9082906001600160a01b0316610df5565b6014546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303815f875af11580156105f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610614919061194b565b506014546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f919061196a565b905061068b8186610e43565b95505f6106988888610e91565b335f9081526012602052604090205550610850945050505050565b60138054905f6106c283611995565b90915550506014546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801561070d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610731919061196a565b60145490915061074b9085906001600160a01b0316610df5565b6014546040516323b872dd60e01b8152336004820152306024820152604481018690526001600160a01b03909116906323b872dd906064016020604051808303815f875af115801561079f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c3919061194b565b506014546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801561080a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082e919061196a565b905061083a8183610e43565b335f908152601260205260409020819055925050505b335f9081526012602052604090205461086881610ebf565b6108728133610ec9565b5f61087b610ed3565b90505f610889600e54151590565b156108b8576108b161089b855f610ee3565b335f908152601160205260409020548490610e7d565b90506108bb565b50805b335f908152601160205260409020819055600e546108e257600e839055600f819055610916565b5f6108ef600e5485610e15565b90506108fe8185600e54610e7d565b600e819055506109118183600f54610e7d565b600f55505b610921600e54610ebf565b61092c600f54610ebf565b6109368133610ec9565b505050505050505050565b600c544210801561095b575060165462010000900460ff16155b1561097f57600c54604051630a8d68c960e21b815260040161039391815260200190565b335f90815260126020908152604080832054600f546011909352908320549092916109a991610f0b565b90505f6109ba828461057d5f610e71565b6014549091506109d49082906001600160a01b0316610df5565b60145460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610a22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a46919061194b565b505f610a6983610a555f610e71565b335f90815260126020526040902054610e7d565b335f9081526012602052604090208190559050610a8581610ebf565b610a8f8133610ec9565b50505050565b600c5442108015610aaf575060165462010000900460ff16155b15610ad357600c54604051630a8d68c960e21b815260040161039391815260200190565b600f54335f908152601160205260408120549091610b0591610af59190610f39565b610b00601554610f67565b610f71565b9050610b1381601554610f7d565b6015819055610b2190610ebf565b5f610b2f82610a555f610e71565b335f9081526012602052604090208190559050610b4b81610ebf565b335f81815260126020526040902054610b6391610ec9565b5050565b610b6f610dc9565b610b785f610f89565b565b60015433906001600160a01b03168114610bb25760405163118cdaa760e01b81526001600160a01b0382166004820152602401610393565b61044b81610f89565b600c5442108015610bd5575060165462010000900460ff16155b15610bf957600c54604051630a8d68c960e21b815260040161039391815260200190565b6040805160018082528183019092525f9160208083019080368337019050509050610c23600f5490565b815f81518110610c3557610c356119ad565b6020908102919091010152610b638163c970214f60e01b5f610c584260646119c1565b5f610faf565b7f93ab6e17f2c461cce6ea5d4ec117e51dda77a64affc2b2c05f8cd440def0e700546001600160a01b03163314610c93575f80fd5b6010805467ffffffffffffffff191667ffffffffffffffff9290921691909117905550565b610cc0610dc9565b600180546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091168117909155610cfd5f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6010545f9067ffffffffffffffff168103610db85760405162461bcd60e51b815260206004820152602960248201527f57696e6e696e67207469636b657420686173206e6f74206265656e206465637260448201527f79707465642079657400000000000000000000000000000000000000000000006064820152608401610393565b5060105467ffffffffffffffff1690565b5f546001600160a01b03163314610b785760405163118cdaa760e01b8152336004820152602401610393565b610b6382826110c6565b5f610e0c8383600561113a565b90505b92915050565b5f82610e2757610e245f610e71565b92505b81610e3857610e355f610e71565b91505b610e0c83835f611238565b5f82610e5557610e525f610e71565b92505b81610e6657610e635f610e71565b91505b610e0c83835f6112f5565b5f610e0f82600561136c565b5f610e898484846113ff565b949350505050565b5f82610ea357610ea05f610e71565b92505b81610eb457610eb15f610e71565b91505b610e0c83835f611495565b61044b813061150c565b610b63828261150c565b5f610ede6005611552565b905090565b5f82610ef557610ef25f610e71565b92505b610e0c838367ffffffffffffffff1660016115f0565b5f82610f1d57610f1a5f610e71565b92505b81610f2e57610f2b5f610e71565b91505b610e0c83835f6115f0565b5f82610f4b57610f485f610e71565b92505b81610f5c57610f595f610e71565b91505b610e0c83835f611667565b5f610e0f826116de565b5f610e0c83835f61172c565b5f610e0c83835f6117a3565b6001805473ffffffffffffffffffffffffffffffffffffffff1916905561044b8161181a565b5f80516020611aec833981519152805460405163155f840160e21b81525f92916001600160a01b03169063557e100490610fed908a90600401611a0e565b5f604051808303815f87803b158015611004575f80fd5b505af1158015611016573d5f803e3d5ffd5b505050505f6110427f93ab6e17f2c461cce6ea5d4ec117e51dda77a64affc2b2c05f8cd440def0e70090565b8054604051634c0d927760e01b81529192506001600160a01b031690634c0d92779061107a908b908b908b908b908b90600401611a20565b6020604051808303815f875af1158015611096573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ba919061196a565b98975050505050505050565b5f80516020611aec83398151915280546040516346ce4e4960e11b8152600481018590526001600160a01b03848116602483015290911690638d9c9c92906044015b5f604051808303815f87803b15801561111f575f80fd5b505af1158015611131573d5f803e3d5ffd5b50505050505050565b5f80516020611b0c833981519152546040516302e817ff60e41b81525f915f80516020611aec833981519152916001600160a01b0390911690632e817ff0906111919088903390899060f88a901b90600401611a7a565b6020604051808303815f875af11580156111ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d1919061196a565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b15801561121a575f80fd5b505af115801561122c573d5f803e3d5ffd5b50505050509392505050565b5f80821561124b5750600160f81b61124e565b505f5b5f80516020611b0c83398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b031690639675211f906064015b6020604051808303815f875af11580156112c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112eb919061196a565b9695505050505050565b5f8082156113085750600160f81b61130b565b505f5b5f80516020611b0c83398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b031690638c14cc21906064016112ab565b5f805f80516020611aec8339815191526001810154604051631ce2e8d760e31b8152600481018790526001600160f81b031960f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af11580156113db573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e89919061196a565b5f805f80516020611aec833981519152600181015460405163cb3b940760e01b81526004810188905260248101879052604481018690529192506001600160a01b03169063cb3b9407906064016020604051808303815f875af1158015611468573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148c919061196a565b95945050505050565b5f8082156114a85750600160f81b6114ab565b505f5b5f80516020611b0c8339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b03169063f953e427906064016112ab565b5f80516020611aec8339815191528054604051631974142760e21b8152600481018590526001600160a01b038481166024830152909116906365d0509c90604401611108565b5f80516020611b0c8339815191525460405163480694a760e11b815260f883901b6001600160f81b03191660048201525f915f80516020611aec833981519152916001600160a01b039091169063900d294e906024015b6020604051808303815f875af11580156115c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e9919061196a565b9392505050565b5f8082156116035750600160f81b611606565b505f5b5f80516020611b0c83398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b0316906319271081906064016112ab565b5f80821561167a5750600160f81b61167d565b505f5b5f80516020611b0c83398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b031690636be31758906064016112ab565b5f80516020611b0c833981519152546040516309c00ffd60e11b8152600481018390525f915f80516020611aec833981519152916001600160a01b03909116906313801ffa906024016115a9565b5f80821561173f5750600160f81b611742565b505f5b5f80516020611b0c83398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b03169063666a3588906064016112ab565b5f8082156117b65750600160f81b6117b9565b505f5b5f80516020611b0c83398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020611aec833981519152916001600160a01b03169063ec4057dc906064016112ab565b5f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f805f60408486031215611888575f80fd5b83359250602084013567ffffffffffffffff808211156118a6575f80fd5b818601915086601f8301126118b9575f80fd5b8135818111156118c7575f80fd5b8760208285010111156118d8575f80fd5b6020830194508093505050509250925092565b5f602082840312156118fb575f80fd5b81356001600160a01b03811681146115e9575f80fd5b5f8060408385031215611922575f80fd5b82359150602083013567ffffffffffffffff81168114611940575f80fd5b809150509250929050565b5f6020828403121561195b575f80fd5b815180151581146115e9575f80fd5b5f6020828403121561197a575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b5f600182016119a6576119a6611981565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610e0f57610e0f611981565b5f815180845260208085019450602084015f5b83811015611a03578151875295820195908201906001016119e7565b509495945050505050565b602081525f610e0c60208301846119d4565b60a081525f611a3260a08301886119d4565b7fffffffff0000000000000000000000000000000000000000000000000000000096909616602083015250604081019390935260608301919091521515608090910152919050565b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b81811015611abc5786810183015185820160a001528201611aa0565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b831660608301529594505050505056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000aed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600"; - -type BlindAuctionConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: BlindAuctionConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class BlindAuction__factory extends ContractFactory { - constructor(...args: BlindAuctionConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - _beneficiary: AddressLike, - _tokenContract: AddressLike, - biddingTime: BigNumberish, - isStoppable: boolean, - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction( - _beneficiary, - _tokenContract, - biddingTime, - isStoppable, - overrides || {} - ); - } - override deploy( - _beneficiary: AddressLike, - _tokenContract: AddressLike, - biddingTime: BigNumberish, - isStoppable: boolean, - overrides?: NonPayableOverrides & { from?: string } - ) { - return super.deploy( - _beneficiary, - _tokenContract, - biddingTime, - isStoppable, - overrides || {} - ) as Promise< - BlindAuction & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): BlindAuction__factory { - return super.connect(runner) as BlindAuction__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): BlindAuctionInterface { - return new Interface(_abi) as BlindAuctionInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): BlindAuction { - return new Contract(address, _abi, runner) as unknown as BlindAuction; - } -} diff --git a/contracts/types/factories/examples/Counter__factory.ts b/contracts/types/factories/examples/Counter__factory.ts deleted file mode 100644 index 2a465981..00000000 --- a/contracts/types/factories/examples/Counter__factory.ts +++ /dev/null @@ -1,81 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { Counter, CounterInterface } from "../../examples/Counter"; - -const _abi = [ - { - inputs: [], - name: "currentValue", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "increment", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5060cb8061001c5f395ff3fe6080604052348015600e575f80fd5b50600436106030575f3560e01c8063698996f8146034578063d09de08a14604f575b5f80fd5b5f546040805163ffffffff9092168252519081900360200190f35b60556057565b005b5f8054600191908190606f90849063ffffffff16608f565b92506101000a81548163ffffffff021916908363ffffffff160217905550565b63ffffffff81811683821601908082111560b757634e487b7160e01b5f52601160045260245ffd5b509291505056fea164736f6c6343000818000a"; - -type CounterConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: CounterConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Counter__factory extends ContractFactory { - constructor(...args: CounterConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Counter & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Counter__factory { - return super.connect(runner) as Counter__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): CounterInterface { - return new Interface(_abi) as CounterInterface; - } - static connect(address: string, runner?: ContractRunner | null): Counter { - return new Contract(address, _abi, runner) as unknown as Counter; - } -} diff --git a/contracts/types/factories/examples/EncryptedERC20__factory.ts b/contracts/types/factories/examples/EncryptedERC20__factory.ts deleted file mode 100644 index 83244dd5..00000000 --- a/contracts/types/factories/examples/EncryptedERC20__factory.ts +++ /dev/null @@ -1,536 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - EncryptedERC20, - EncryptedERC20Interface, -} from "../../examples/EncryptedERC20"; - -const _abi = [ - { - inputs: [ - { - internalType: "string", - name: "name_", - type: "string", - }, - { - internalType: "string", - name: "symbol_", - type: "string", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "owner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "Approval", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - { - indexed: false, - internalType: "uint64", - name: "amount", - type: "uint64", - }, - ], - name: "Mint", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "from", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "to", - type: "address", - }, - ], - name: "Transfer", - type: "event", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - { - internalType: "address", - name: "spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "euint64", - name: "amount", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "spender", - type: "address", - }, - { - internalType: "einput", - name: "encryptedAmount", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "wallet", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "decimals", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "mintedAmount", - type: "uint64", - }, - ], - name: "mint", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "name", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "symbol", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "totalSupply", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "einput", - name: "encryptedAmount", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "euint64", - name: "amount", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "euint64", - name: "amount", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "from", - type: "address", - }, - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "einput", - name: "encryptedAmount", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506040516200197d3803806200197d83398101604081905262000033916200033b565b33806200005957604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b620000648162000131565b506200010b62000105604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b6200014f565b60026200011983826200042b565b5060036200012882826200042b565b505050620004f7565b600180546001600160a01b03191690556200014c816200022b565b50565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126200029e575f80fd5b81516001600160401b0380821115620002bb57620002bb6200027a565b604051601f8301601f19908116603f01168101908282118183101715620002e657620002e66200027a565b816040528381526020925086602085880101111562000303575f80fd5b5f91505b8382101562000326578582018301518183018401529082019062000307565b5f602085830101528094505050505092915050565b5f80604083850312156200034d575f80fd5b82516001600160401b038082111562000364575f80fd5b62000372868387016200028e565b9350602085015191508082111562000388575f80fd5b5062000397858286016200028e565b9150509250929050565b600181811c90821680620003b657607f821691505b602082108103620003d557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200042657805f5260205f20601f840160051c81016020851015620004025750805b601f840160051c820191505b8181101562000423575f81556001016200040e565b50505b505050565b81516001600160401b038111156200044757620004476200027a565b6200045f81620004588454620003a1565b84620003db565b602080601f83116001811462000495575f84156200047d5750858301515b5f19600386901b1c1916600185901b178555620004ef565b5f85815260208120601f198616915b82811015620004c557888601518255948401946001909101908401620004a4565b5085821015620004e357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b61147880620005055f395ff3fe608060405234801561000f575f80fd5b506004361061012f575f3560e01c80638da5cb5b116100ad578063b32c10011161007d578063e30c397811610063578063e30c3978146102a1578063f2fde38b146102b2578063fb9d09c8146102c5575f80fd5b8063b32c10011461027b578063dd62ed3e1461028e575f80fd5b80638da5cb5b1461022957806395d89b411461024d5780639a09435214610255578063a9059cbb14610268575f80fd5b8063313ce56711610102578063715018a6116100e8578063715018a61461020457806379ba50971461020e5780637b7e0a5a14610216575f80fd5b8063313ce567146101b457806370a08231146101ce575f80fd5b806306fdde0314610133578063095ea7b31461015157806318160ddd1461017457806323b872dd146101a1575b5f80fd5b61013b6102d8565b6040516101489190611167565b60405180910390f35b61016461015f366004611194565b610368565b6040519015158152602001610148565b600154600160a01b900467ffffffffffffffff1660405167ffffffffffffffff9091168152602001610148565b6101646101af3660046111bc565b6103d0565b6101bc600681565b60405160ff9091168152602001610148565b6101f66101dc3660046111f5565b6001600160a01b03165f9081526004602052604090205490565b604051908152602001610148565b61020c610409565b005b61020c61041c565b610164610224366004611253565b610465565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610148565b61013b6104a9565b6101646102633660046112a9565b6104b8565b610164610276366004611194565b61050a565b610164610289366004611253565b61054e565b6101f661029c366004611313565b610592565b6001546001600160a01b0316610235565b61020c6102c03660046111f5565b6105c1565b61020c6102d3366004611344565b61063e565b6060600280546102e79061136b565b80601f01602080910402602001604051908101604052809291908181526020018280546103139061136b565b801561035e5780601f106103355761010080835404028352916020019161035e565b820191905f5260205f20905b81548152906001019060200180831161034157829003601f168201915b5050505050905090565b5f610372826107e3565b61037a575f80fd5b336103868185856107f4565b836001600160a01b0316816001600160a01b03167ff37f546c25e850257cc0c94f92bec94a17e2f0e884ddda268a25d8144b70eb6a60405160405180910390a35060019392505050565b5f6103da826107e3565b6103e2575f80fd5b335f6103ef86838661083d565b90506103fd868686846108ce565b50600195945050505050565b6104116109d1565b61041a5f6109fd565b565b60015433906001600160a01b031681146104595760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b610462816109fd565b50565b5f6103fd856102768686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a2392505050565b6060600380546102e79061136b565b5f6104fd86866101af8787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a2392505050565b5060019695505050505050565b5f610514826107e3565b61051c575f80fd5b335f90815260046020526040812054610536908490610a30565b9050610544338585846108ce565b5060019392505050565b5f6103fd8561015f8686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610a2392505050565b6001600160a01b038083165f9081526005602090815260408083209385168352929052908120545b9392505050565b6105c96109d1565b600180546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff1990911681179091556106065f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6106466109d1565b61068360045f61065d5f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f205482610a5e565b60045f6106975f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f20819055506106f660045f6106d15f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f2054610a86565b61074360045f61070d5f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f205461073e5f546001600160a01b031690565b610a90565b600154610762908290600160a01b900467ffffffffffffffff166113a3565b600180547fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff16600160a01b67ffffffffffffffff938416021790555f54604080519284168352516001600160a01b03909116917f9109de113672aaca72ede8bc906f7aafabee865311ac020fb15c71edf94a0a01919081900360200190a250565b5f6107ee8233610a9e565b92915050565b6001600160a01b038084165f90815260056020908152604080832093861683529290522081905561082481610a86565b61082e8184610a90565b6108388183610a90565b505050565b6001600160a01b038084165f9081526005602090815260408083209386168352929052908120545f61086f8483610a30565b6001600160a01b0387165f9081526004602052604081205491925090610896908690610a30565b90505f6108a38284610b2a565b90506108c388886108be846108b8898c610b36565b89610b64565b6107f4565b979650505050505050565b5f6108e282846108dd5f610b70565b610b64565b6001600160a01b0385165f90815260046020526040812054919250906109089083610b7c565b6001600160a01b0386165f908152600460205260409020819055905061092d81610a86565b6109378186610a90565b6001600160a01b0386165f908152600460205260408120546109599084610b36565b6001600160a01b0388165f908152600460205260409020819055905061097e81610a86565b6109888188610a90565b856001600160a01b0316876001600160a01b03167f4853ae1b4d437c4255ac16cd3ceda3465975023f27cb141584cd9d44440fed8260405160405180910390a350505050505050565b5f546001600160a01b0316331461041a5760405163118cdaa760e01b8152336004820152602401610450565b6001805473ffffffffffffffffffffffffffffffffffffffff1916905561046281610baa565b5f6105ba83836005610c06565b5f82610a4257610a3f5f610b70565b92505b81610a5357610a505f610b70565b91505b6105ba83835f610d17565b5f82610a7057610a6d5f610b70565b92505b6105ba838367ffffffffffffffff166001610de7565b6104628130610e71565b610a9a8282610e71565b5050565b5f805f8051602061144c8339815191528054604051632fd514cd60e11b8152600481018790526001600160a01b038681166024830152929350911690635faa299a90604401602060405180830381865afa158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906113d7565b949350505050565b5f6105ba83835f610ee7565b5f82610b4857610b455f610b70565b92505b81610b5957610b565f610b70565b91505b6105ba83835f610f71565b5f610b22848484610ffb565b5f6107ee826005611091565b5f82610b8e57610b8b5f610b70565b92505b81610b9f57610b9c5f610b70565b91505b6105ba83835f610de7565b5f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601546040516302e817ff60e41b81525f915f8051602061144c833981519152916001600160a01b0390911690632e817ff090610c709088903390899060f88a901b906004016113f6565b6020604051808303815f875af1158015610c8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb09190611434565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015610cf9575f80fd5b505af1158015610d0b573d5f803e3d5ffd5b50505050509392505050565b5f808215610d2a5750600160f81b610d2d565b505f5b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061144c833981519152916001600160a01b03169063694daf72906064015b6020604051808303815f875af1158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd9190611434565b9695505050505050565b5f808215610dfa5750600160f81b610dfd565b505f5b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6015460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061144c833981519152916001600160a01b03169063f953e42790606401610d9d565b5f5f8051602061144c8339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015610ecc575f80fd5b505af1158015610ede573d5f803e3d5ffd5b50505050505050565b5f808215610efa5750600160f81b610efd565b505f5b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60154604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061144c833981519152916001600160a01b03169063666a358890606401610d9d565b5f808215610f845750600160f81b610f87565b505f5b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60154604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061144c833981519152916001600160a01b031690638c14cc2190606401610d9d565b5f805f8051602061144c833981519152600181015460405163cb3b940760e01b81526004810188905260248101879052604481018690529192506001600160a01b03169063cb3b9407906064016020604051808303815f875af1158015611064573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110889190611434565b95945050505050565b5f805f8051602061144c8339815191526001810154604051631ce2e8d760e31b8152600481018790526001600160f81b031960f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af1158015611100573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190611434565b5f81518084525f5b818110156111485760208185018101518683018201520161112c565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6105ba6020830184611124565b80356001600160a01b038116811461118f575f80fd5b919050565b5f80604083850312156111a5575f80fd5b6111ae83611179565b946020939093013593505050565b5f805f606084860312156111ce575f80fd5b6111d784611179565b92506111e560208501611179565b9150604084013590509250925092565b5f60208284031215611205575f80fd5b6105ba82611179565b5f8083601f84011261121e575f80fd5b50813567ffffffffffffffff811115611235575f80fd5b60208301915083602082850101111561124c575f80fd5b9250929050565b5f805f8060608587031215611266575f80fd5b61126f85611179565b935060208501359250604085013567ffffffffffffffff811115611291575f80fd5b61129d8782880161120e565b95989497509550505050565b5f805f805f608086880312156112bd575f80fd5b6112c686611179565b94506112d460208701611179565b935060408601359250606086013567ffffffffffffffff8111156112f6575f80fd5b6113028882890161120e565b969995985093965092949392505050565b5f8060408385031215611324575f80fd5b61132d83611179565b915061133b60208401611179565b90509250929050565b5f60208284031215611354575f80fd5b813567ffffffffffffffff811681146105ba575f80fd5b600181811c9082168061137f57607f821691505b60208210810361139d57634e487b7160e01b5f52602260045260245ffd5b50919050565b67ffffffffffffffff8181168382160190808211156113d057634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f602082840312156113e7575f80fd5b815180151581146105ba575f80fd5b8481526001600160a01b0384166020820152608060408201525f61141d6080830185611124565b905060ff60f81b8316606083015295945050505050565b5f60208284031215611444575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600a164736f6c6343000818000a"; - -type EncryptedERC20ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: EncryptedERC20ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class EncryptedERC20__factory extends ContractFactory { - constructor(...args: EncryptedERC20ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - name_: string, - symbol_: string, - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(name_, symbol_, overrides || {}); - } - override deploy( - name_: string, - symbol_: string, - overrides?: NonPayableOverrides & { from?: string } - ) { - return super.deploy(name_, symbol_, overrides || {}) as Promise< - EncryptedERC20 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): EncryptedERC20__factory { - return super.connect(runner) as EncryptedERC20__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): EncryptedERC20Interface { - return new Interface(_abi) as EncryptedERC20Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): EncryptedERC20 { - return new Contract(address, _abi, runner) as unknown as EncryptedERC20; - } -} diff --git a/contracts/types/factories/examples/FHEPaymentUpgradedExample__factory.ts b/contracts/types/factories/examples/FHEPaymentUpgradedExample__factory.ts deleted file mode 100644 index c4ed2952..00000000 --- a/contracts/types/factories/examples/FHEPaymentUpgradedExample__factory.ts +++ /dev/null @@ -1,1167 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - FHEPaymentUpgradedExample, - FHEPaymentUpgradedExampleInterface, -} from "../../examples/FHEPaymentUpgradedExample"; - -const _abi = [ - { - inputs: [], - name: "AccountNotEnoughFunded", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [], - name: "AllContractsNotAuthorized", - type: "error", - }, - { - inputs: [], - name: "AlreadyAuthorizedAllContracts", - type: "error", - }, - { - inputs: [], - name: "AlreadyWhitelistedContract", - type: "error", - }, - { - inputs: [], - name: "CallerMustBeTFHEExecutorContract", - type: "error", - }, - { - inputs: [], - name: "ContractNotWhitelisted", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FHEGasBlockLimitExceeded", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [], - name: "OnlyScalarOperationsAreSupported", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "RecoveryFailed", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - inputs: [], - name: "UnsupportedOperation", - type: "error", - }, - { - inputs: [], - name: "WithdrawalFailed", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "authorizeAllContracts", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "becomeTransientSpender", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "depositETH", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "didAuthorizeAllContracts", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "user", - type: "address", - }, - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "didWhitelistContract", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getAvailableDepositsETH", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getClaimableUsedFHEGas", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getTFHEExecutorAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForCast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheAdd", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitAnd", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitOr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheBitXor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheDiv", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheEq", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheGe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheGt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheLe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheLt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMax", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMin", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheMul", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheNe", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheNeg", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheNot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheRand", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForFheRandBounded", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRem", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRotl", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheRotr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheShl", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheShr", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "payForFheSub", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForIfThenElse", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "payer", - type: "address", - }, - { - internalType: "uint8", - name: "resultType", - type: "uint8", - }, - ], - name: "payForTrivialEncrypt", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "recoverBurntFunds", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "removeAuthorizationAllContracts", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "removeWhitelistedContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stopBeingTransientSpender", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "dappContract", - type: "address", - }, - ], - name: "whitelistContract", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "withdrawETH", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051612fa3620001005f395f818161265c0152818161268501526127ea0152612fa35ff3fe608060405260043610610324575f3560e01c806379ba5097116101a7578063b25fd547116100e7578063d5f0797d11610092578063e30c39781161006d578063e30c397814610802578063f2fde38b14610816578063f7eaec6314610835578063fee4975514610854575f80fd5b8063d5f0797d146107e3578063d692278314610328578063e138131e14610660575f80fd5b8063c4d66de8116100c2578063c4d66de8146107a5578063cd2bd00314610573578063cea14930146107c4575f80fd5b8063b25fd547146103e4578063bdb4401014610772578063bfc1f6d814610786575f80fd5b80639d53862811610152578063aa29aeec1161012d578063aa29aeec146106f7578063aa43b7f91461070b578063ad23361014610469578063ad3cb1cc1461072a575f80fd5b80639d5386281461069e5780639f6a0ed8146106b2578063a90cd91d146106d1575f80fd5b80638da5cb5b116101825780638da5cb5b1461063457806399841ed7146106605780639bf559211461067f575f80fd5b806379ba5097146106205780637da7e620146104e45780638638282b14610328575f80fd5b806327af38ad11610272578063473dceed1161021d578063577244bd116101f8578063577244bd146105b9578063715018a61461060c57806372d0e432146103e45780637300c0fa14610573575f80fd5b8063473dceed146105735780634f1ef2861461059257806352d1902d146105a5575f80fd5b806336118b521161024d57806336118b52146105355780633a0e6d4314610554578063466ac06514610328575f80fd5b806327af38ad146104e45780632be8dd79146105035780632d2da80614610522575f80fd5b806313f3d329116102d25780631db04264116102ad5780631db04264146104885780631f6f6aec146103e4578063262794d8146104a7575f80fd5b806313f3d329146103e45780631761d370146104035780631ade267d14610469575f80fd5b80630d8e6e2c116103025780630d8e6e2c1461037c5780630ff24ee2146103a6578063100747ad146103c5575f80fd5b806303eaf064146103285780630832968e146103495780630b332f441461035d575b5f80fd5b348015610333575f80fd5b50610347610342366004612c50565b610873565b005b348015610354575f80fd5b506103476109af565b348015610368575f80fd5b50610347610377366004612ca0565b610a26565b348015610387575f80fd5b50610390610b7a565b60405161039d9190612cf3565b60405180910390f35b3480156103b1575f80fd5b506103476103c0366004612d25565b610bf5565b3480156103d0575f80fd5b506103476103df366004612ca0565b610c96565b3480156103ef575f80fd5b506103476103fe366004612c50565b610de1565b34801561040e575f80fd5b5061045961041d366004612d25565b6001600160a01b03165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e04602052604090205460ff1690565b604051901515815260200161039d565b348015610474575f80fd5b50610347610483366004612c50565b610f7b565b348015610493575f80fd5b506103476104a2366004612d25565b61111c565b3480156104b2575f80fd5b507f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e02545b60405190815260200161039d565b3480156104ef575f80fd5b506103476104fe366004612c50565b6111cf565b34801561050e575f80fd5b5061034761051d366004612c50565b6112de565b610347610530366004612d25565b61147f565b348015610540575f80fd5b5061034761054f366004612d3e565b6114dd565b34801561055f575f80fd5b5061034761056e366004612d25565b61159d565b34801561057e575f80fd5b5061034761058d366004612c50565b611642565b6103476105a0366004612d73565b611704565b3480156105b0575f80fd5b506104d661171f565b3480156105c4575f80fd5b506104d66105d3366004612d25565b6001600160a01b03165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e03602052604090205490565b348015610617575f80fd5b5061034761174d565b34801561062b575f80fd5b50610347611760565b34801561063f575f80fd5b506106486117ad565b6040516001600160a01b03909116815260200161039d565b34801561066b575f80fd5b5061034761067a366004612c50565b6117e1565b34801561068a575f80fd5b50610347610699366004612ca0565b611963565b3480156106a9575f80fd5b50610347611a47565b3480156106bd575f80fd5b506103476106cc366004612ca0565b611a4c565b3480156106dc575f80fd5b5073596e6682c72946af006b27c131793f2b62527a4b610648565b348015610702575f80fd5b50610347611b2f565b348015610716575f80fd5b50610347610725366004612ca0565b611b34565b348015610735575f80fd5b506103906040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b34801561077d575f80fd5b50610347611c27565b348015610791575f80fd5b506103476107a0366004612c50565b611ca3565b3480156107b0575f80fd5b506103476107bf366004612d25565b611db5565b3480156107cf575f80fd5b506103476107de366004612ca0565b611ed7565b3480156107ee575f80fd5b506103476107fd366004612ca0565b611fc2565b34801561080d575f80fd5b50610648612117565b348015610821575f80fd5b50610347610830366004612d25565b61213f565b348015610840575f80fd5b5061034761084f366004612c50565b6121c4565b34801561085f575f80fd5b5061045961086e366004612e2f565b6122d6565b3373596e6682c72946af006b27c131793f2b62527a4b146108a7576040516378d178a160e01b815260040160405180910390fd5b6108af612324565b6001600160f81b03198116600160f81b0361098a578160ff166001036108e1576108dc8362011170612348565b6109a2565b8160ff166002036108f9576108dc8362014050612348565b8160ff16600303610911576108dc8362019a28612348565b8160ff16600403610929576108dc836201f400612348565b8160ff16600503610941576108dc8362026160612348565b8160ff16600603610959576108dc836202e630612348565b8160ff16600803610971576108dc8362038658612348565b604051639ba6061b60e01b815260040160405180910390fd5b8160ff166001036108e1576108dc8362011170612348565b6109aa61252f565b505050565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0460205260409020545f80516020612f778339815191529060ff16610a0b57604051621c262560e81b815260040160405180910390fd5b335f908152600490910160205260409020805460ff19169055565b3373596e6682c72946af006b27c131793f2b62527a4b14610a5a576040516378d178a160e01b815260040160405180910390fd5b610a62612324565b8060ff165f03610a7e57610a7982620186a0612348565b610b6e565b8060ff16600103610a9657610a7982620186a0612348565b8060ff16600203610aae57610a7982620186a0612348565b8060ff16600303610ac657610a7982620186a0612348565b8060ff16600403610ade57610a7982620186a0612348565b8060ff16600503610af657610a7982620186a0612348565b8060ff16600603610b0e57610a7982620186a0612348565b8060ff16600803610b2657610a7982620186a0612348565b8060ff16600903610b3e57610a798262030d40612348565b8060ff16600a03610b5657610a7982620493e0612348565b8060ff16600b0361097157610a798262061a80612348565b610b7661252f565b5050565b60606040518060400160405280600a81526020017f4648455061796d656e7400000000000000000000000000000000000000000000815250610bbb5f612582565b610bc56002612582565b610bce5f612582565b604051602001610be19493929190612e57565b604051602081830303815290604052905090565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083206001600160a01b03851684529091529020545f80516020612f778339815191529060ff16610c6657604051632ff3629f60e21b815260040160405180910390fd5b335f9081526005909101602090815260408083206001600160a01b0394909416835292905220805460ff19169055565b3373596e6682c72946af006b27c131793f2b62527a4b14610cca576040516378d178a160e01b815260040160405180910390fd5b610cd2612324565b8060ff165f03610ce757610a79826064612348565b8060ff16600103610cfd57610a79826064612348565b8060ff16600203610d1357610a79826064612348565b8060ff16600303610d2957610a798260c8612348565b8060ff16600403610d4057610a798261012c612348565b8060ff16600503610d5757610a7982610258612348565b8060ff16600603610d6e57610a798261028a612348565b8060ff16600703610d8557610a79826102bc612348565b8060ff16600803610d9c57610a7982610320612348565b8060ff16600903610db357610a7982610640612348565b8060ff16600a03610dca57610a7982610c80612348565b8060ff16600b0361097157610a7982611900612348565b3373596e6682c72946af006b27c131793f2b62527a4b14610e15576040516378d178a160e01b815260040160405180910390fd5b610e1d612324565b6001600160f81b03198116600160f81b03610ed3578160ff16600103610e49576108dc836188b8612348565b8160ff16600203610e60576108dc836188b8612348565b8160ff16600303610e77576108dc836188b8612348565b8160ff16600403610e8e576108dc836188b8612348565b8160ff16600503610ea5576108dc83619470612348565b8160ff16600603610ebc576108dc8361a028612348565b8160ff16600803610971576108dc8361abe0612348565b8160ff16600103610eeb576108dc836201c520612348565b8160ff16600203610f03576108dc8362020788612348565b8160ff16600303610f1b576108dc83620255a8612348565b8160ff16600403610f33576108dc836202cad8612348565b8160ff16600503610f4b576108dc83620376b8612348565b8160ff16600603610f63576108dc8362044d90612348565b8160ff16600803610971576108dc8362055730612348565b3373596e6682c72946af006b27c131793f2b62527a4b14610faf576040516378d178a160e01b815260040160405180910390fd5b610fb7612324565b6001600160f81b03198116600160f81b03611074578160ff16600103610fe4576108dc836201d8a8612348565b8160ff16600203610ffc576108dc836201f400612348565b8160ff16600303611014576108dc83620249f0612348565b8160ff1660040361102c576108dc83620280a0612348565b8160ff16600503611044576108dc836202ee00612348565b8160ff1660060361105c576108dc8362036ee8612348565b8160ff16600803610971576108dc8362040740612348565b8160ff1660010361108c576108dc836201d8a8612348565b8160ff166002036110a4576108dc836201f400612348565b8160ff166003036110bc576108dc83620255a8612348565b8160ff166004036110d4576108dc836202cad8612348565b8160ff166005036110ec576108dc8362033450612348565b8160ff16600603611104576108dc836203ad68612348565b8160ff16600803610971576108dc8362043a08612348565b61112461261f565b7f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0280545f918290556040515f80516020612f7783398151915292906001600160a01b0385169083908381818185875af1925050503d805f81146111a2576040519150601f19603f3d011682016040523d82523d5f602084013e6111a7565b606091505b50509050806111c95760405163a4b6690960e01b815260040160405180910390fd5b50505050565b3373596e6682c72946af006b27c131793f2b62527a4b14611203576040516378d178a160e01b815260040160405180910390fd5b61120b612324565b6001600160f81b03198116600160f81b036112c7578160ff16600103611237576108dc8361fde8612348565b8160ff1660020361124f576108dc8362016f30612348565b8160ff16600303611267576108dc8362020788612348565b8160ff1660040361127f576108dc83620278d0612348565b8160ff16600503611297576108dc836202de60612348565b8160ff166006036112af576108dc8362035390612348565b8160ff16600803610971576108dc836203dc48612348565b8160ff16600103611237576108dc8361fde8612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611312576040516378d178a160e01b815260040160405180910390fd5b61131a612324565b6001600160f81b03198116600160f81b036113d7578160ff16600103611347576108dc83620157c0612348565b8160ff1660020361135f576108dc8362026d18612348565b8160ff16600303611377576108dc8362032c80612348565b8160ff1660040361138f576108dc8362040740612348565b8160ff166005036113a7576108dc8362056ea0612348565b8160ff166006036113bf576108dc8362075300612348565b8160ff16600803610971576108dc836209df58612348565b8160ff166001036113ef576108dc83620249f0612348565b8160ff16600203611407576108dc8362030188612348565b8160ff1660030361141f576108dc836203ff70612348565b8160ff16600403611437576108dc8362057a58612348565b8160ff1660050361144f576108dc836209c7e8612348565b8160ff16600603611467576108dc83621178a8612348565b8160ff16600803610971576108dc83621f3448612348565b6001600160a01b0381165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e036020526040812080545f80516020612f77833981519152923492916114d4908490612ee8565b90915550505050565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e036020526040812080545f80516020612f7783398151915292859291611529908490612efb565b90915550506040515f906001600160a01b0384169085908381818185875af1925050503d805f8114611576576040519150601f19603f3d011682016040523d82523d5f602084013e61157b565b606091505b50509050806111c9576040516327fcd9d160e01b815260040160405180910390fd5b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083206001600160a01b03851684529091529020545f80516020612f778339815191529060ff161561160f57604051639ad3410b60e01b815260040160405180910390fd5b335f9081526005909101602090815260408083206001600160a01b0394909416835292905220805460ff19166001179055565b3373596e6682c72946af006b27c131793f2b62527a4b14611676576040516378d178a160e01b815260040160405180910390fd5b61167e612324565b6001600160f81b03198116600160f81b036116ee578160ff165f036116a9576108dc83616590612348565b8160ff166001036116c0576108dc83617d00612348565b8160ff166002036116d7576108dc836184d0612348565b8160ff16600303610e77576108dc836184d0612348565b8160ff165f036116a9576108dc83616590612348565b61170c612651565b61171582612708565b610b768282612710565b5f6117286127df565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61175561261f565b61175e5f612828565b565b338061176a612117565b6001600160a01b0316146117a15760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6117aa81612828565b50565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b3373596e6682c72946af006b27c131793f2b62527a4b14611815576040516378d178a160e01b815260040160405180910390fd5b61181d612324565b6001600160f81b03198116600160f81b0361194d578160ff165f03611848576108dc8361bf68612348565b8160ff1660010361185f576108dc8361c738612348565b8160ff16600203611876576108dc8361cf08612348565b8160ff1660030361188d576108dc8361d2f0612348565b8160ff166004036118a5576108dc8362014050612348565b8160ff166005036118bd576108dc8362014ff0612348565b8160ff166006036118d5576108dc83620157c0612348565b8160ff166007036118ed576108dc8362015f90612348565b8160ff16600803611905576108dc83620186a0612348565b8160ff1660090361191d576108dc83620249f0612348565b8160ff16600a03611935576108dc8362030d40612348565b8160ff16600b03610971576108dc83620493e0612348565b8160ff165f03611848576108dc8361bf68612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611997576040516378d178a160e01b815260040160405180910390fd5b61199f612324565b8060ff166001036119b757610a7982620186a0612348565b8060ff166002036119cf57610a7982620186a0612348565b8060ff166003036119e757610a7982620186a0612348565b8060ff166004036119ff57610a7982620186a0612348565b8060ff16600503611a1757610a7982620186a0612348565b8060ff16600603611a2f57610a7982620186a0612348565b8060ff1660080361097157610a7982620186a0612348565b335f5d565b3373596e6682c72946af006b27c131793f2b62527a4b14611a80576040516378d178a160e01b815260040160405180910390fd5b611a88612324565b8060ff16600103611a9f57610a798261ea60612348565b8060ff16600203611ab757610a798262017318612348565b8060ff16600303611acf57610a79826201ffb8612348565b8060ff16600403611ae757610a798262027100612348565b8060ff16600503611aff57610a798262030958612348565b8060ff16600603611b1757610a79826203c8c0612348565b8060ff1660080361097157610a79826204b708612348565b5f805d565b3373596e6682c72946af006b27c131793f2b62527a4b14611b68576040516378d178a160e01b815260040160405180910390fd5b611b70612324565b8060ff165f03611b8657610a7982617530612348565b8060ff16600103611b9d57610a79826180e8612348565b8060ff16600203611bb457610a79826184d0612348565b8060ff16600303611bcb57610a79826188b8612348565b8060ff16600403611be257610a7982618ca0612348565b8060ff16600503611bf957610a7982619088612348565b8060ff16600603611c1057610a7982619470612348565b8060ff1660080361097157610a7982619858612348565b335f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e0460205260409020545f80516020612f778339815191529060ff1615611c8557604051635f2223a360e11b815260040160405180910390fd5b335f908152600490910160205260409020805460ff19166001179055565b3373596e6682c72946af006b27c131793f2b62527a4b14611cd7576040516378d178a160e01b815260040160405180910390fd5b611cdf612324565b600160f81b6001600160f81b0319821614611d0d57604051636aa9eb0560e01b815260040160405180910390fd5b8160ff16600103611d25576108dc8362045d30612348565b8160ff16600203611d3d576108dc83620704e0612348565b8160ff16600303611d55576108dc8362097db0612348565b8160ff16600403611d6d576108dc83620c4888612348565b8160ff16600503611d85576108dc836210b558612348565b8160ff16600603611d9d576108dc836216df78612348565b8160ff16600803610971576108dc83621f4fa0612348565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015611dff5750825b90505f8267ffffffffffffffff166001148015611e1b5750303b155b905081158015611e29575080155b15611e475760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611e7b57845468ff00000000000000001916680100000000000000001785555b611e8486612860565b8315611ecf57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b3373596e6682c72946af006b27c131793f2b62527a4b14611f0b576040516378d178a160e01b815260040160405180910390fd5b611f13612324565b8060ff165f03611f2857610a798260c8612348565b8060ff16600103611f3e57610a798260c8612348565b8060ff16600203611f5457610a798260c8612348565b8060ff16600303611f6a57610a798260c8612348565b8060ff16600403611f8057610a798260c8612348565b8060ff16600503611f9657610a798260c8612348565b8060ff16600603611fac57610a798260c8612348565b8060ff1660080361097157610a798260c8612348565b3373596e6682c72946af006b27c131793f2b62527a4b14611ff6576040516378d178a160e01b815260040160405180910390fd5b611ffe612324565b8060ff165f0361201457610a798261a7f8612348565b8060ff1660010361202b57610a798261afc8612348565b8060ff1660020361204257610a798261b798612348565b8060ff1660030361205957610a798261b798612348565b8060ff1660040361207057610a798261c350612348565b8060ff1660050361208757610a798261cf08612348565b8060ff1660060361209f57610a798262011170612348565b8060ff166007036120b757610a798262013880612348565b8060ff166008036120cf57610a798262015f90612348565b8060ff166009036120e757610a7982620249f0612348565b8060ff16600a036120ff57610a798262030d40612348565b8060ff16600b0361097157610a7982620493e0612348565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c006117d1565b61214761261f565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b038316908117825561218b6117ad565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b3373596e6682c72946af006b27c131793f2b62527a4b146121f8576040516378d178a160e01b815260040160405180910390fd5b612200612324565b600160f81b6001600160f81b031982161461222e57604051636aa9eb0560e01b815260040160405180910390fd5b8160ff16600103612246576108dc8362021ef8612348565b8160ff1660020361225e576108dc836203a1b0612348565b8160ff16600303612276576108dc836204ca90612348565b8160ff1660040361228e576108dc83620612b0612348565b8160ff166005036122a6576108dc836208e940612348565b8160ff166006036122be576108dc83620d13a8612348565b8160ff16600803610971576108dc8362133210612348565b6001600160a01b038281165f9081527f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e05602090815260408083209385168352929052205460ff165b92915050565b5f80516020612f7783398151915280544390811115610b765781555f600190910155565b5f80516020612f778339815191525f620f4240612365823a612f0e565b61236f9190612f25565b90505f80821161237f575f612381565b815b90505f61238e8583612f0e565b6001600160a01b0387165f908152600386016020526040902054909150808211156124d4575f5c6001600160a01b038116156123ca57806123cc565b325b6001600160a01b0381165f90815260048801602052604090205490915060ff168061241d57506001600160a01b038082165f9081526005880160209081526040808320938c168352929052205460ff165b156124b5576001600160a01b0381165f9081526003870160205260409020548084111561245d5760405163ba2b1f1560e01b815260040160405180910390fd5b6001600160a01b0382165f908152600388016020526040812085830390556001880180548a929061248f908490612ee8565b9250508190555083876002015f8282546124a99190612ee8565b909155506124ce915050565b60405163ba2b1f1560e01b815260040160405180910390fd5b50612526565b6001600160a01b0387165f90815260038601602052604081208383039055600186018054889290612506908490612ee8565b9250508190555081856002015f8282546125209190612ee8565b90915550505b50505050505050565b7f4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e01545f80516020612f778339815191529062989680116117aa5760405163964fa5eb60e01b815260040160405180910390fd5b60605f61258e83612871565b60010190505f8167ffffffffffffffff8111156125ad576125ad612d5f565b6040519080825280601f01601f1916602001820160405280156125d7576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846125e157509392505050565b336126286117ad565b6001600160a01b03161461175e5760405163118cdaa760e01b8152336004820152602401611798565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806126ea57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166126de7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b1561175e5760405163703e46dd60e11b815260040160405180910390fd5b6117aa61261f565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561276a575060408051601f3d908101601f1916820190925261276791810190612f44565b60015b61279257604051634c9c8ce360e01b81526001600160a01b0383166004820152602401611798565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146127d557604051632a87526960e21b815260048101829052602401611798565b6109aa8383612952565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461175e5760405163703e46dd60e11b815260040160405180910390fd5b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319168155610b76826129a7565b612868612a17565b6117aa81612a65565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106128b9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106128e5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061290357662386f26fc10000830492506010015b6305f5e100831061291b576305f5e100830492506008015b612710831061292f57612710830492506004015b60648310612941576064830492506002015b600a831061231e5760010192915050565b61295b82612a96565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561299f576109aa8282612b0c565b610b76612b7e565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661175e57604051631afcd79f60e31b815260040160405180910390fd5b612a6d612a17565b6001600160a01b0381166117a157604051631e4fbdf760e01b81525f6004820152602401611798565b806001600160a01b03163b5f03612acb57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401611798565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051612b289190612f5b565b5f60405180830381855af49150503d805f8114612b60576040519150601f19603f3d011682016040523d82523d5f602084013e612b65565b606091505b5091509150612b75858383612b9d565b95945050505050565b341561175e5760405163b398979f60e01b815260040160405180910390fd5b606082612bb257612bad82612bfc565b612bf5565b8151158015612bc957506001600160a01b0384163b155b15612bf257604051639996b31560e01b81526001600160a01b0385166004820152602401611798565b50805b9392505050565b805115612c0c5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160a01b0381168114612c3b575f80fd5b919050565b803560ff81168114612c3b575f80fd5b5f805f60608486031215612c62575f80fd5b612c6b84612c25565b9250612c7960208501612c40565b915060408401356001600160f81b031981168114612c95575f80fd5b809150509250925092565b5f8060408385031215612cb1575f80fd5b612cba83612c25565b9150612cc860208401612c40565b90509250929050565b5f5b83811015612ceb578181015183820152602001612cd3565b50505f910152565b602081525f8251806020840152612d11816040850160208701612cd1565b601f01601f19169190910160400192915050565b5f60208284031215612d35575f80fd5b612bf582612c25565b5f8060408385031215612d4f575f80fd5b82359150612cc860208401612c25565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215612d84575f80fd5b612d8d83612c25565b9150602083013567ffffffffffffffff80821115612da9575f80fd5b818501915085601f830112612dbc575f80fd5b813581811115612dce57612dce612d5f565b604051601f8201601f19908116603f01168101908382118183101715612df657612df6612d5f565b81604052828152886020848701011115612e0e575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f8060408385031215612e40575f80fd5b612e4983612c25565b9150612cc860208401612c25565b5f8551612e68818460208a01612cd1565b61103b60f11b9083019081528551612e87816002840160208a01612cd1565b808201915050601760f91b8060028301528551612eab816003850160208a01612cd1565b60039201918201528351612ec6816004840160208801612cd1565b016004019695505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561231e5761231e612ed4565b8181038181111561231e5761231e612ed4565b808202811582820484141761231e5761231e612ed4565b5f82612f3f57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612f54575f80fd5b5051919050565b5f8251612f6c818460208701612cd1565b919091019291505056fe4c5af501c90907b9fb888b6dd79405547def38a1dc3110f42d77f5dbc3222e00a164736f6c6343000818000a"; - -type FHEPaymentUpgradedExampleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: FHEPaymentUpgradedExampleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class FHEPaymentUpgradedExample__factory extends ContractFactory { - constructor(...args: FHEPaymentUpgradedExampleConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - FHEPaymentUpgradedExample & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): FHEPaymentUpgradedExample__factory { - return super.connect(runner) as FHEPaymentUpgradedExample__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): FHEPaymentUpgradedExampleInterface { - return new Interface(_abi) as FHEPaymentUpgradedExampleInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): FHEPaymentUpgradedExample { - return new Contract( - address, - _abi, - runner - ) as unknown as FHEPaymentUpgradedExample; - } -} diff --git a/contracts/types/factories/examples/GatewayContractUpgradedExample__factory.ts b/contracts/types/factories/examples/GatewayContractUpgradedExample__factory.ts deleted file mode 100644 index a84d65ee..00000000 --- a/contracts/types/factories/examples/GatewayContractUpgradedExample__factory.ts +++ /dev/null @@ -1,624 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - GatewayContractUpgradedExample, - GatewayContractUpgradedExampleInterface, -} from "../../examples/GatewayContractUpgradedExample"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "relayer", - type: "address", - }, - ], - name: "AddedRelayer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256[]", - name: "cts", - type: "uint256[]", - }, - { - indexed: false, - internalType: "address", - name: "contractCaller", - type: "address", - }, - { - indexed: false, - internalType: "bytes4", - name: "callbackSelector", - type: "bytes4", - }, - { - indexed: false, - internalType: "uint256", - name: "msgValue", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "maxTimestamp", - type: "uint256", - }, - { - indexed: false, - internalType: "bool", - name: "passSignaturesToCaller", - type: "bool", - }, - ], - name: "EventDecryption", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "relayer", - type: "address", - }, - ], - name: "RemovedRelayer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - indexed: false, - internalType: "bool", - name: "success", - type: "bool", - }, - { - indexed: false, - internalType: "bytes", - name: "result", - type: "bytes", - }, - ], - name: "ResultCallback", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "relayerAddress", - type: "address", - }, - ], - name: "addRelayer", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedCts", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "fulfillRequest", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "getCounter", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getKmsVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getMAX_DELAY", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_gatewayOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - ], - name: "isExpiredOrFulfilled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isRelayer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "input", - type: "bytes", - }, - ], - name: "removeOffset", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "relayerAddress", - type: "address", - }, - ], - name: "removeRelayer", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "ctsHandles", - type: "uint256[]", - }, - { - internalType: "bytes4", - name: "callbackSelector", - type: "bytes4", - }, - { - internalType: "uint256", - name: "msgValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxTimestamp", - type: "uint256", - }, - { - internalType: "bool", - name: "passSignaturesToCaller", - type: "bool", - }, - ], - name: "requestDecryption", - outputs: [ - { - internalType: "uint256", - name: "initialCounter", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051611f0e6100f95f395f8181611288015281816112b1015261141b0152611f0e5ff3fe608060405260043610610157575f3560e01c8063715018a6116100bb578063b9244e1d11610071578063dd39f00d11610057578063dd39f00d146103d2578063e30c3978146103f1578063f2fde38b14610405575f80fd5b8063b9244e1d146103a0578063c4d66de8146103b3575f80fd5b80638ada066e116100a15780638ada066e146103115780638da5cb5b14610344578063ad3cb1cc14610358575f80fd5b8063715018a6146102e957806379ba5097146102fd575f80fd5b80634f1ef28611610110578063541d5548116100f6578063541d55481461023a57806360f0a5ac14610290578063651161e5146102af575f80fd5b80634f1ef2861461021157806352d1902d14610226575f80fd5b806333ba72a51161014057806333ba72a5146101a457806335a30d97146101c35780634c0d9277146101f2575f80fd5b80630d8e6e2c1461015b5780632538d86d14610185575b5f80fd5b348015610166575f80fd5b5061016f610424565b60405161017c91906118d6565b60405180910390f35b348015610190575f80fd5b50620151805b60405190815260200161017c565b3480156101af575f80fd5b5061016f6101be366004611999565b61049f565b3480156101ce575f80fd5b506101e26101dd3660046119cb565b61057a565b604051901515815260200161017c565b3480156101fd575f80fd5b5061019661020c366004611a16565b61060e565b61022461021f366004611acb565b610847565b005b348015610231575f80fd5b50610196610866565b348015610245575f80fd5b506101e2610254366004611b16565b6001600160a01b03165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa01602052604090205460ff1690565b34801561029b575f80fd5b506102246102aa366004611b16565b610894565b3480156102ba575f80fd5b5073208de73316e44722e16f6ddff40881a3e4f861045b6040516001600160a01b03909116815260200161017c565b3480156102f4575f80fd5b5061022461098f565b348015610308575f80fd5b506102246109a2565b34801561031c575f80fd5b507f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0054610196565b34801561034f575f80fd5b506102d16109ea565b348015610363575f80fd5b5061016f6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6102246103ae366004611b2f565b610a1e565b3480156103be575f80fd5b506102246103cd366004611b16565b610f10565b3480156103dd575f80fd5b506102246103ec366004611b16565b611032565b3480156103fc575f80fd5b506102d1611133565b348015610410575f80fd5b5061022461041f366004611b16565b61115b565b60606040518060400160405280600f81526020017f47617465776179436f6e747261637400000000000000000000000000000000008152506104655f6111e0565b61046f60026111e0565b6104785f6111e0565b60405160200161048b9493929190611c19565b604051602081830303815290604052905090565b60605f602083516104b09190611caa565b90505f8167ffffffffffffffff8111156104cc576104cc6118e8565b6040519080825280601f01601f1916602001820160405280156104f6576020820181803683370190505b5090505f5b82811015610572578461050f826020611cbd565b8151811061051f5761051f611cd0565b602001015160f81c60f81b82828151811061053c5761053c611cd0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053506001016104fb565b509392505050565b5f8181527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0360205260408120547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0090429060ff168061060657505f8481526002830160205260409020600301548111801561060657505f84815260028301602052604090206003015415155b949350505050565b5f42831161066e5760405162461bcd60e51b815260206004820152602260248201527f6d617854696d657374616d70206d757374206265206120667574757265206461604482015261746560f01b60648201526084015b60405180910390fd5b61067b6201518042611cbd565b8311156106ca5760405162461bcd60e51b815260206004820152601f60248201527f6d617854696d657374616d70206578636565646564204d41585f44454c4159006044820152606401610665565b507f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0080545f8181527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa02602052604081209192919088905b8181101561076557828b8b8381811061073c5761073c611cd0565b8354600180820186555f9586526020958690209290950293909301359201919091555001610721565b506001820180547fffffffffffffffff00000000000000000000000000000000000000000000000016337fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff811691909117600160a01b60e08c901c0217909155600283018890556003830187905560048301805460ff191687151517905560405185917f2dc9f5cb271a872eb89f488a1d216ded8a5b96226ca01f8d3128e028ae5459f891610820918e918e91908e908e908e908e90611ce4565b60405180910390a28254835f61083583611d68565b91905055505050509695505050505050565b61084f61127d565b61085882611334565b610862828261133c565b5050565b5f61086f611410565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61089c611459565b6001600160a01b0381165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff166109445760405162461bcd60e51b815260206004820152601860248201527f41646472657373206973206e6f7420612072656c6179657200000000000000006044820152606401610665565b6001600160a01b0382165f818152600183016020526040808220805460ff19169055517ff29639ce9f9f4d0a646c7c99291b0b1d3ca3a017b8f543d03d79d9f6fc4c58249190a25050565b610997611459565b6109a05f61148b565b565b33806109ac611133565b6001600160a01b0316146109de5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610665565b6109e78161148b565b50565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b335f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff16610abd5760405162461bcd60e51b815260206004820152600b60248201527f4e6f742072656c617965720000000000000000000000000000000000000000006044820152606401610665565b5f8481527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa02602052604090819020905163dd66628760e01b81527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009173208de73316e44722e16f6ddff40881a3e4f861049163dd66628791610b5c9173339ece85b9e11a3a3aa557582784a15d7f82aaf2919089908990600401611dd8565b6020604051808303815f875af1158015610b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611e5a565b610bf25760405162461bcd60e51b815260206004820152602160248201527f4b4d53207369676e617475726520766572696669636174696f6e206661696c656044820152601960fa1b6064820152608401610665565b5f85815260038201602052604090205460ff1615610c525760405162461bcd60e51b815260206004820152601c60248201527f5265717565737420697320616c72656164792066756c66696c6c6564000000006044820152606401610665565b5f85815260028201602090815260408083208151815460e09481028201850190935260c08101838152909391928492849190840182828015610cb157602002820191905f5260205f20905b815481526020019060010190808311610c9d575b505050918352505060018201546001600160a01b0381166020830152600160a01b900460e01b6001600160e01b031916604082015260028201546060820152600382015460808083019190915260049092015460ff16151560a090910152810151909150421115610d645760405162461bcd60e51b815260206004820152600860248201527f546f6f206c6174650000000000000000000000000000000000000000000000006044820152606401610665565b5f816040015187604051602401610d7d91815260200190565b60408051601f19818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199095169490941790935260a0850151905191935091610dde9184918a9101611e75565b60405160208183030381529060405291508015610e4b575f86604051602001610e079190611ea3565b60405160208183030381529060405290505f610e228261049f565b90508381604051602001610e37929190611e75565b604051602081830303815290604052935050505b5f8084602001516001600160a01b0316856060015185604051610e6e9190611eb5565b5f6040518083038185875af1925050503d805f8114610ea8576040519150601f19603f3d011682016040523d82523d5f602084013e610ead565b606091505b5091509150897fb0f2a12a0cc059295d0e43aaf8b9eebb32b58c03c68f5406fbf345c3a226bedd8383604051610ee4929190611ed0565b60405180910390a25050505f968752505060030160205250506040909120805460ff1916600117905550565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610f5a5750825b90505f8267ffffffffffffffff166001148015610f765750303b155b905081158015610f84575080155b15610fa25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fd657845468ff00000000000000001916680100000000000000001785555b610fdf866114c3565b831561102a57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61103a611459565b6001600160a01b0381165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff16156110e35760405162461bcd60e51b815260206004820152601a60248201527f4164647265737320697320616c72656164792072656c617965720000000000006044820152606401610665565b6001600160a01b0382165f81815260018381016020526040808320805460ff1916909217909155517fd68caa126e02d8ca92285deaa53a0d5d4f692e587b00422ce504661cc74361bc9190a25050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610a0e565b611163611459565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b03831690811782556111a76109ea565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f6111ec836114d4565b60010190505f8167ffffffffffffffff81111561120b5761120b6118e8565b6040519080825280601f01601f191660200182016040528015611235576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461123f57509392505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061131657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661130a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156109a05760405163703e46dd60e11b815260040160405180910390fd5b6109e7611459565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611396575060408051601f3d908101601f1916820190925261139391810190611eea565b60015b6113be57604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610665565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461140157604051632a87526960e21b815260048101829052602401610665565b61140b83836115b6565b505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109a05760405163703e46dd60e11b815260040160405180910390fd5b336114626109ea565b6001600160a01b0316146109a05760405163118cdaa760e01b8152336004820152602401610665565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b03191681556108628261160b565b6114cb61167b565b6109e7816116c9565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061151c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611548576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061156657662386f26fc10000830492506010015b6305f5e100831061157e576305f5e100830492506008015b612710831061159257612710830492506004015b606483106115a4576064830492506002015b600a83106115b0576001015b92915050565b6115bf826116fa565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156116035761140b8282611770565b6108626117e2565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166109a057604051631afcd79f60e31b815260040160405180910390fd5b6116d161167b565b6001600160a01b0381166109de57604051631e4fbdf760e01b81525f6004820152602401610665565b806001600160a01b03163b5f0361172f57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610665565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b03168460405161178c9190611eb5565b5f60405180830381855af49150503d805f81146117c4576040519150601f19603f3d011682016040523d82523d5f602084013e6117c9565b606091505b50915091506117d9858383611801565b95945050505050565b34156109a05760405163b398979f60e01b815260040160405180910390fd5b6060826118165761181182611860565b611859565b815115801561182d57506001600160a01b0384163b155b1561185657604051639996b31560e01b81526001600160a01b0385166004820152602401610665565b50805b9392505050565b8051156118705780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b838110156118a357818101518382015260200161188b565b50505f910152565b5f81518084526118c2816020860160208601611889565b601f01601f19169290920160200192915050565b602081525f61185960208301846118ab565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611925576119256118e8565b604052919050565b5f82601f83011261193c575f80fd5b813567ffffffffffffffff811115611956576119566118e8565b611969601f8201601f19166020016118fc565b81815284602083860101111561197d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156119a9575f80fd5b813567ffffffffffffffff8111156119bf575f80fd5b6106068482850161192d565b5f602082840312156119db575f80fd5b5035919050565b80356001600160e01b0319811681146119f9575f80fd5b919050565b80151581146109e7575f80fd5b80356119f9816119fe565b5f805f805f8060a08789031215611a2b575f80fd5b863567ffffffffffffffff80821115611a42575f80fd5b818901915089601f830112611a55575f80fd5b813581811115611a63575f80fd5b8a60208260051b8501011115611a77575f80fd5b602092830198509650611a8d91890190506119e2565b93506040870135925060608701359150611aa960808801611a0b565b90509295509295509295565b80356001600160a01b03811681146119f9575f80fd5b5f8060408385031215611adc575f80fd5b611ae583611ab5565b9150602083013567ffffffffffffffff811115611b00575f80fd5b611b0c8582860161192d565b9150509250929050565b5f60208284031215611b26575f80fd5b61185982611ab5565b5f805f60608486031215611b41575f80fd5b8335925060208085013567ffffffffffffffff80821115611b60575f80fd5b611b6c8883890161192d565b94506040870135915080821115611b81575f80fd5b818701915087601f830112611b94575f80fd5b813581811115611ba657611ba66118e8565b8060051b611bb58582016118fc565b918252838101850191858101908b841115611bce575f80fd5b86860192505b83831015611c0857823585811115611bea575f80fd5b611bf88d89838a010161192d565b8352509186019190860190611bd4565b809750505050505050509250925092565b5f8551611c2a818460208a01611889565b61103b60f11b9083019081528551611c49816002840160208a01611889565b808201915050601760f91b8060028301528551611c6d816003850160208a01611889565b60039201918201528351611c88816004840160208801611889565b016004019695505050505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156115b0576115b0611c96565b808201808211156115b0576115b0611c96565b634e487b7160e01b5f52603260045260245ffd5b60c081528660c08201525f7f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881115611d1b575f80fd5b8760051b808a60e08501376001600160a01b03979097166020830152506001600160e01b031994909416604085015260608401929092526080830152151560a08201520160e00192915050565b5f60018201611d7957611d79611c96565b5060010190565b5f8282518085526020808601955060208260051b840101602086015f5b84811015611dcb57601f19868403018952611db98383516118ab565b98840198925090830190600101611d9d565b5090979650505050505050565b5f608082016001600160a01b038716835260206080602085015281875480845260a086019150885f5260205f2093505f5b81811015611e2557845483526001948501949284019201611e09565b50508481036040860152611e3981886118ab565b925050508281036060840152611e4f8185611d80565b979650505050505050565b5f60208284031215611e6a575f80fd5b8151611859816119fe565b5f8351611e86818460208801611889565b835190830190611e9a818360208801611889565b01949350505050565b602081525f6118596020830184611d80565b5f8251611ec6818460208701611889565b9190910192915050565b8215158152604060208201525f61060660408301846118ab565b5f60208284031215611efa575f80fd5b505191905056fea164736f6c6343000818000a"; - -type GatewayContractUpgradedExampleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayContractUpgradedExampleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayContractUpgradedExample__factory extends ContractFactory { - constructor(...args: GatewayContractUpgradedExampleConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - GatewayContractUpgradedExample & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): GatewayContractUpgradedExample__factory { - return super.connect(runner) as GatewayContractUpgradedExample__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayContractUpgradedExampleInterface { - return new Interface(_abi) as GatewayContractUpgradedExampleInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): GatewayContractUpgradedExample { - return new Contract( - address, - _abi, - runner - ) as unknown as GatewayContractUpgradedExample; - } -} diff --git a/contracts/types/factories/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample__factory.ts b/contracts/types/factories/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample__factory.ts deleted file mode 100644 index 8413fcc1..00000000 --- a/contracts/types/factories/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample__factory.ts +++ /dev/null @@ -1,632 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - KMSVerifierUpgradedExample, - KMSVerifierUpgradedExampleInterface, -} from "../../../examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [], - name: "ECDSAInvalidSignature", - type: "error", - }, - { - inputs: [ - { - internalType: "uint256", - name: "length", - type: "uint256", - }, - ], - name: "ECDSAInvalidSignatureLength", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "s", - type: "bytes32", - }, - ], - name: "ECDSAInvalidSignatureS", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [], - name: "EIP712DomainChanged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "SignerAdded", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "SignerRemoved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "CIPHERTEXTVERIFICATION_KMS_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "addSigner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "eip712Domain", - outputs: [ - { - internalType: "bytes1", - name: "fields", - type: "bytes1", - }, - { - internalType: "string", - name: "name", - type: "string", - }, - { - internalType: "string", - name: "version", - type: "string", - }, - { - internalType: "uint256", - name: "chainId", - type: "uint256", - }, - { - internalType: "address", - name: "verifyingContract", - type: "address", - }, - { - internalType: "bytes32", - name: "salt", - type: "bytes32", - }, - { - internalType: "uint256[]", - name: "extensions", - type: "uint256[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getSigners", - outputs: [ - { - internalType: "address[]", - name: "", - type: "address[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getThreshold", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [], - name: "get_CIPHERTEXTVERIFICATION_KMS_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "get_DECRYPTIONRESULT_TYPE", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isSigner", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "signer", - type: "address", - }, - ], - name: "removeSigner", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - { - internalType: "bytes", - name: "decryptedResult", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "verifyDecryptionEIP712KMSSignatures", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "bytes32", - name: "hashOfCiphertext", - type: "bytes32", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "address", - name: "contractAddress", - type: "address", - }, - ], - internalType: "struct KMSVerifier.CiphertextVerificationForKMS", - name: "cv", - type: "tuple", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "verifyInputEIP712KMSSignatures", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051612592620001005f395f818161119e015281816111c7015261132c01526125925ff3fe608060405260043610610162575f3560e01c80638da5cb5b116100c6578063dd6662871161007c578063e75235b811610057578063e75235b8146103dd578063eb12d61e14610410578063f2fde38b1461042f575f80fd5b8063dd66628714610396578063e30c3978146103b5578063e6c51123146103c9575f80fd5b806394cf795e116100ac57806394cf795e1461030e578063ad3cb1cc1461032f578063c4d66de814610377575f80fd5b80638da5cb5b146102ce57806392bacce4146102fa575f80fd5b806352d1902d1161011b57806379ba50971161010157806379ba50971461023d5780637df73e271461025157806384b0196e146102a7575f80fd5b806352d1902d14610207578063715018a614610229575f80fd5b80630e66e3f21161014b5780630e66e3f2146101b15780631994b168146101e05780634f1ef286146101f4575f80fd5b80630d8e6e2c146101665780630e316ab714610190575b5f80fd5b348015610171575f80fd5b5061017a61044e565b6040516101879190611d93565b60405180910390f35b34801561019b575f80fd5b506101af6101aa366004611dc0565b6104b7565b005b3480156101bc575f80fd5b506101d06101cb366004611f38565b6106b8565b6040519015158152602001610187565b3480156101eb575f80fd5b5061017a6106d9565b6101af610202366004611fe4565b6106f9565b348015610212575f80fd5b5061021b610718565b604051908152602001610187565b348015610234575f80fd5b506101af610746565b348015610248575f80fd5b506101af610759565b34801561025c575f80fd5b506101d061026b366004611dc0565b6001600160a01b03165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602052604090205460ff1690565b3480156102b2575f80fd5b506102bb61079e565b6040516101879796959493929190612025565b3480156102d9575f80fd5b506102e2610862565b6040516001600160a01b039091168152602001610187565b348015610305575f80fd5b5061017a610896565b348015610319575f80fd5b506103226108b6565b60405161018791906120bc565b34801561033a575f80fd5b5061017a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b348015610382575f80fd5b506101af610391366004611dc0565b610938565b3480156103a1575f80fd5b506101d06103b0366004612108565b610aa0565b3480156103c0575f80fd5b506102e2610ae6565b3480156103d4575f80fd5b5061017a610b0e565b3480156103e8575f80fd5b507f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89025461021b565b34801561041b575f80fd5b506101af61042a366004611dc0565b610b2a565b34801561043a575f80fd5b506101af610449366004611dc0565b610cbc565b60606040518060400160405280600b81526020016a25a6a9ab32b934b334b2b960a91b81525061047d5f610d41565b6104876002610d41565b6104905f610d41565b6040516020016104a394939291906121f0565b604051602081830303815290604052905090565b6104bf610dde565b6001600160a01b0381165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602081905260409091205460ff166105595760405162461bcd60e51b8152602060048201526024808201527f4b4d5356657269666965723a2041646472657373206973206e6f74206120736960448201526333b732b960e11b60648201526084015b60405180910390fd5b6001600160a01b0382165f908152602082905260408120805460ff191690555b60018201548110156106b257826001600160a01b03168260010182815481106105a4576105a461226d565b5f918252602090912001546001600160a01b0316036106aa576001808301805490916105cf91612295565b815481106105df576105df61226d565b5f918252602090912001546001830180546001600160a01b03909216918390811061060c5761060c61226d565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508160010180548061064a5761064a6122a8565b5f8281526020902081015f1990810180546001600160a01b0319169055019055610672610e10565b6040516001600160a01b038416907f3525e22824a8a7df2c9a6029941c824cf95b6447f1e13d5128fd3826d35afe8b905f90a2505050565b600101610579565b50505b50565b5f806106c384610e80565b90506106cf8184610f09565b9150505b92915050565b60606040518060a001604052806075815260200161251160759139905090565b610701611193565b61070a8261124a565b6107148282611252565b5050565b5f610721611321565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61074e610dde565b6107575f61136a565b565b3380610763610ae6565b6001600160a01b0316146107955760405163118cdaa760e01b81526001600160a01b0382166004820152602401610550565b6106b58161136a565b5f60608082808083817fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10080549091501580156107dc57506001810154155b6108285760405162461bcd60e51b815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152606401610550565b6108306113a2565b61083861146c565b604080515f80825260208201909252600f60f81b9c939b5091995046985030975095509350915050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b60606040518060800160405280605081526020016124c160509139905090565b60605f7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89006001810180546040805160208084028201810190925282815293945083018282801561092d57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161090f575b505050505091505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156109825750825b90505f8267ffffffffffffffff16600114801561099e5750303b155b9050811580156109ac575080155b156109ca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109fe57845468ff00000000000000001916680100000000000000001785555b610a07866114bd565b610a4d6040518060400160405280600b81526020016a25a6a9ab32b934b334b2b960a91b815250604051806040016040528060018152602001603160f81b8152506114ce565b8315610a9857845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b604080516060810182526001600160a01b0386168152602081018590529081018390525f9081610acf826114e0565b9050610adb8185610f09565b979650505050505050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610886565b6040518060a00160405280607581526020016125116075913981565b610b32610dde565b6001600160a01b038116610b885760405162461bcd60e51b815260206004820152601c60248201527f4b4d5356657269666965723a2041646472657373206973206e756c6c000000006044820152606401610550565b6001600160a01b0381165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602081905260409091205460ff1615610c385760405162461bcd60e51b815260206004820152602860248201527f4b4d5356657269666965723a204164647265737320697320616c72656164792060448201527f61207369676e65720000000000000000000000000000000000000000000000006064820152608401610550565b6001600160a01b0382165f818152602083815260408220805460ff1916600190811790915584810180549182018155835291200180546001600160a01b0319169091179055610c85610e10565b6040516001600160a01b038316907f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f24905f90a25050565b610cc4610dde565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255610d08610862565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f610d4d8361156a565b60010190505f8167ffffffffffffffff811115610d6c57610d6c611dd9565b6040519080825280601f01601f191660200182016040528015610d96576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610da057509392505050565b33610de7610862565b6001600160a01b0316146107575760405163118cdaa760e01b8152336004820152602401610550565b7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8901547f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce890090600390610e6390600190612295565b610e6d91906122bc565b610e789060016122db565b600290910155565b5f6106d36040518060a001604052806075815260200161251160759139805160209182012084518583015160408088015160608901519151610eee96919291019485526001600160a01b03938416602086015260408501929092528216606084015216608082015260a00190565b6040516020818303038152906040528051906020012061164b565b80515f9080610f665760405162461bcd60e51b815260206004820152602360248201527f4b6d7356657269666965723a206e6f207369676e6174757265732070726f766960448201526219195960ea1b6064820152608401610550565b5f610f8f7f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce89025490565b9050808210156110075760405162461bcd60e51b815260206004820152603d60248201527f4b6d7356657269666965723a206174206c65617374207468726573686f6c642060448201527f6e756d626572206f66207369676e6174757265732072657175697265640000006064820152608401610550565b5f8267ffffffffffffffff81111561102157611021611dd9565b60405190808252806020026020018201604052801561104a578160200160208202803683370190505b5090505f805b8481101561117c575f61107c8989848151811061106f5761106f61226d565b6020026020010151611677565b90506110be816001600160a01b03165f9081527f7e81a744be86773af8644dd7304fa1dc9350ccabf16cfcaa614ddb78b4ce8900602052604090205460ff1690565b61110a5760405162461bcd60e51b815260206004820152601f60248201527f4b6d7356657269666965723a20496e76616c6964204b4d53207369676e6572006044820152606401610550565b805c61115357808484815181106111235761112361226d565b6001600160a01b039092166020928302919091019091015282611145816122ee565b935050611153816001611683565b84831061117357611164848461168a565b600196505050505050506106d3565b50600101611050565b50611187828261168a565b505f9695505050505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061122c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156107575760405163703e46dd60e11b815260040160405180910390fd5b6106b5610dde565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156112ac575060408051601f3d908101601f191682019092526112a991810190612306565b60015b6112d457604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610550565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461131757604051632a87526960e21b815260048101829052602401610550565b6106b283836116bf565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107575760405163703e46dd60e11b815260040160405180910390fd5b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561071482611714565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10280546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100916113f39061231d565b80601f016020809104026020016040519081016040528092919081815260200182805461141f9061231d565b801561092d5780601f106114415761010080835404028352916020019161092d565b820191905f5260205f20905b81548152906001019060200180831161144d5750939695505050505050565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10380546060917fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d100916113f39061231d565b6114c5611784565b6106b5816117d2565b6114d6611784565b6107148282611803565b5f6106d36040518060800160405280605081526020016124c16050913980519060200120835f0151846020015160405160200161151d9190612355565b60408051808303601f19018152828252805160209182012088830151805190830120918401959095526001600160a01b03909316908201526060810192909252608082015260a001610eee565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115b2577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106115de576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115fc57662386f26fc10000830492506010015b6305f5e1008310611614576305f5e100830492506008015b612710831061162857612710830492506004015b6064831061163a576064830492506002015b600a83106106d35760010192915050565b5f6106d3611657611875565b8360405161190160f01b8152600281019290925260228201526042902090565b5f806106cf8484611883565b80825d5050565b5f5b818110156106b2576116b78382815181106116a9576116a961226d565b60200260200101515f611683565b60010161168c565b6116c8826118ab565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561170c576106b28282611921565b610714611993565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661075757604051631afcd79f60e31b815260040160405180910390fd5b6117da611784565b6001600160a01b03811661079557604051631e4fbdf760e01b81525f6004820152602401610550565b61180b611784565b7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d1007fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10261185784826123d5565b506003810161186683826123d5565b505f8082556001909101555050565b5f61187e6119b2565b905090565b5f805f806118918686611a25565b9250925092506118a18282611a6e565b5090949350505050565b806001600160a01b03163b5f036118e057604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610550565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b03168460405161193d9190612491565b5f60405180830381855af49150503d805f8114611975576040519150601f19603f3d011682016040523d82523d5f602084013e61197a565b606091505b509150915061198a858383611b26565b95945050505050565b34156107575760405163b398979f60e01b815260040160405180910390fd5b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6119dc611b85565b6119e4611c00565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b5f805f8351604103611a5c576020840151604085015160608601515f1a611a4e88828585611c55565b955095509550505050611a67565b505081515f91506002905b9250925092565b5f826003811115611a8157611a816124ac565b03611a8a575050565b6001826003811115611a9e57611a9e6124ac565b03611abc5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611ad057611ad06124ac565b03611af15760405163fce698f760e01b815260048101829052602401610550565b6003826003811115611b0557611b056124ac565b03610714576040516335e2f38360e21b815260048101829052602401610550565b606082611b3b57611b3682611d1d565b611b7e565b8151158015611b5257506001600160a01b0384163b155b15611b7b57604051639996b31560e01b81526001600160a01b0385166004820152602401610550565b50805b9392505050565b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611bb06113a2565b805190915015611bc857805160209091012092915050565b81548015611bd7579392505050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470935050505090565b5f7fa16a46d94261c7517cc8ff89f61c0ce93598e3c849801011dee649a6a557d10081611c2b61146c565b805190915015611c4357805160209091012092915050565b60018201548015611bd7579392505050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611c8e57505f91506003905082611d13565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611cdf573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b038116611d0a57505f925060019150829050611d13565b92505f91508190505b9450945094915050565b805115611d2d5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b83811015611d60578181015183820152602001611d48565b50505f910152565b5f8151808452611d7f816020860160208601611d46565b601f01601f19169290920160200192915050565b602081525f611b7e6020830184611d68565b80356001600160a01b0381168114611dbb575f80fd5b919050565b5f60208284031215611dd0575f80fd5b611b7e82611da5565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e1657611e16611dd9565b604052919050565b5f67ffffffffffffffff821115611e3757611e37611dd9565b5060051b60200190565b5f82601f830112611e50575f80fd5b813567ffffffffffffffff811115611e6a57611e6a611dd9565b611e7d601f8201601f1916602001611ded565b818152846020838601011115611e91575f80fd5b816020850160208301375f918101602001919091529392505050565b5f82601f830112611ebc575f80fd5b81356020611ed1611ecc83611e1e565b611ded565b82815260059290921b84018101918181019086841115611eef575f80fd5b8286015b84811015611f2d57803567ffffffffffffffff811115611f11575f80fd5b611f1f8986838b0101611e41565b845250918301918301611ef3565b509695505050505050565b5f8082840360a0811215611f4a575f80fd5b6080811215611f57575f80fd5b506040516080810167ffffffffffffffff8282108183111715611f7c57611f7c611dd9565b81604052611f8986611da5565b835260208601356020840152611fa160408701611da5565b6040840152611fb260608701611da5565b606084015291935060808501359180831115611fcc575f80fd5b5050611fda85828601611ead565b9150509250929050565b5f8060408385031215611ff5575f80fd5b611ffe83611da5565b9150602083013567ffffffffffffffff811115612019575f80fd5b611fda85828601611e41565b60ff60f81b881681525f602060e0602084015261204560e084018a611d68565b8381036040850152612057818a611d68565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825260208088019350909101905f5b818110156120aa5783518352928401929184019160010161208e565b50909c9b505050505050505050505050565b602080825282518282018190525f9190848201906040850190845b818110156120fc5783516001600160a01b0316835292840192918401916001016120d7565b50909695505050505050565b5f805f806080858703121561211b575f80fd5b61212485611da5565b935060208086013567ffffffffffffffff80821115612141575f80fd5b818801915088601f830112612154575f80fd5b8135612162611ecc82611e1e565b81815260059190911b8301840190848101908b831115612180575f80fd5b938501935b8285101561219e57843582529385019390850190612185565b9750505060408801359250808311156121b5575f80fd5b6121c189848a01611e41565b945060608801359250808311156121d6575f80fd5b50506121e487828801611ead565b91505092959194509250565b5f8551612201818460208a01611d46565b61103b60f11b9083019081528551612220816002840160208a01611d46565b808201915050601760f91b8060028301528551612244816003850160208a01611d46565b6003920191820152835161225f816004840160208801611d46565b016004019695505050505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156106d3576106d3612281565b634e487b7160e01b5f52603160045260245ffd5b5f826122d657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156106d3576106d3612281565b5f600182016122ff576122ff612281565b5060010190565b5f60208284031215612316575f80fd5b5051919050565b600181811c9082168061233157607f821691505b60208210810361234f57634e487b7160e01b5f52602260045260245ffd5b50919050565b81515f9082906020808601845b8381101561237e57815185529382019390820190600101612362565b50929695505050505050565b601f8211156106b257805f5260205f20601f840160051c810160208510156123af5750805b601f840160051c820191505b818110156123ce575f81556001016123bb565b5050505050565b815167ffffffffffffffff8111156123ef576123ef611dd9565b612403816123fd845461231d565b8461238a565b602080601f831160018114612436575f841561241f5750858301515b5f19600386901b1c1916600185901b178555610a98565b5f85815260208120601f198616915b8281101561246457888601518255948401946001909101908401612445565b508582101561248157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f82516124a2818460208701611d46565b9190910192915050565b634e487b7160e01b5f52602160045260245ffdfe44656372797074696f6e526573756c7428616464726573732061636c416464726573732c75696e743235365b5d2068616e646c65734c6973742c627974657320646563727970746564526573756c742943697068657274657874566572696669636174696f6e466f724b4d5328616464726573732061636c416464726573732c6279746573333220686173684f66436970686572746578742c616464726573732075736572416464726573732c6164647265737320636f6e74726163744164647265737329a164736f6c6343000818000a"; - -type KMSVerifierUpgradedExampleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: KMSVerifierUpgradedExampleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class KMSVerifierUpgradedExample__factory extends ContractFactory { - constructor(...args: KMSVerifierUpgradedExampleConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - KMSVerifierUpgradedExample & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): KMSVerifierUpgradedExample__factory { - return super.connect(runner) as KMSVerifierUpgradedExample__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): KMSVerifierUpgradedExampleInterface { - return new Interface(_abi) as KMSVerifierUpgradedExampleInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): KMSVerifierUpgradedExample { - return new Contract( - address, - _abi, - runner - ) as unknown as KMSVerifierUpgradedExample; - } -} diff --git a/contracts/types/factories/examples/KMSUpgradedExample.sol/index.ts b/contracts/types/factories/examples/KMSUpgradedExample.sol/index.ts deleted file mode 100644 index 15db7336..00000000 --- a/contracts/types/factories/examples/KMSUpgradedExample.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { KMSVerifierUpgradedExample__factory } from "./KMSVerifierUpgradedExample__factory"; diff --git a/contracts/types/factories/examples/PaymentLimit__factory.ts b/contracts/types/factories/examples/PaymentLimit__factory.ts deleted file mode 100644 index 81af880d..00000000 --- a/contracts/types/factories/examples/PaymentLimit__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { PayableOverrides } from "../../common"; -import type { - PaymentLimit, - PaymentLimitInterface, -} from "../../examples/PaymentLimit"; - -const _abi = [ - { - inputs: [], - stateMutability: "payable", - type: "constructor", - }, - { - inputs: [], - name: "aboveBlockFHEGasLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "underBlockFHEGasLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "wayunderBlockFHEGasLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x5f608081905260a081905260c081905260e05261018060405273339ece85b9e11a3a3aa557582784a15d7f82aaf261010081905273596e6682c72946af006b27c131793f2b62527a4b610120819052736d5a11ac509c707c00bc3a0a113accc26c53254761014081905273208de73316e44722e16f6ddff40881a3e4f861046101608190527fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b031990811690951790557fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601805485169093179092557fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054841690911790557fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea603805490921617905561013f34610144565b6101c8565b5f7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006002810154604051631696d40360e11b81523060048201529192506001600160a01b031690632d2da8069084906024015f604051808303818588803b1580156101ad575f80fd5b505af11580156101bf573d5f803e3d5ffd5b50505050505050565b610313806101d55f395ff3fe608060405234801561000f575f80fd5b506004361061003e575f3560e01c80622e19a5146100425780633a4114db1461004c578063f688815614610054575b5f80fd5b61004a61005c565b005b61004a61008e565b61004a6100bb565b5f61006760026100e8565b90505f805b600f8110156100895761007f82846100fa565b915060010161006c565b505050565b5f61009960026100e8565b90505f805b6003811015610089576100b182846100fa565b915060010161009e565b5f6100c660026100e8565b90505f805b6010811015610089576100de82846100fa565b91506001016100cb565b5f6100f482600561012f565b92915050565b5f8261010c576101095f6100e8565b92505b8161011d5761011a5f6100e8565b91505b61012883835f610202565b9392505050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b16602482015291925073ffffffffffffffffffffffffffffffffffffffff169063e71746b8906044016020604051808303815f875af11580156101d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101fa91906102ef565b949350505050565b5f8082156102155750600160f81b610218565b505f5b5f7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600600181015460405163816d57d360e01b815260048101899052602481018890527fff000000000000000000000000000000000000000000000000000000000000008516604482015291925073ffffffffffffffffffffffffffffffffffffffff169063816d57d3906064016020604051808303815f875af11580156102c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e591906102ef565b9695505050505050565b5f602082840312156102ff575f80fd5b505191905056fea164736f6c6343000818000a"; - -type PaymentLimitConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: PaymentLimitConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class PaymentLimit__factory extends ContractFactory { - constructor(...args: PaymentLimitConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: PayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: PayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - PaymentLimit & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): PaymentLimit__factory { - return super.connect(runner) as PaymentLimit__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): PaymentLimitInterface { - return new Interface(_abi) as PaymentLimitInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): PaymentLimit { - return new Contract(address, _abi, runner) as unknown as PaymentLimit; - } -} diff --git a/contracts/types/factories/examples/Rand__factory.ts b/contracts/types/factories/examples/Rand__factory.ts deleted file mode 100644 index 36f2607d..00000000 --- a/contracts/types/factories/examples/Rand__factory.ts +++ /dev/null @@ -1,404 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { Rand, RandInterface } from "../../examples/Rand"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "failingCall", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate1024", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "upperBound", - type: "uint128", - }, - ], - name: "generate128UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "upperBound", - type: "uint16", - }, - ], - name: "generate16UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate2048", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - ], - name: "generate256UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "upperBound", - type: "uint32", - }, - ], - name: "generate32UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "upperBound", - type: "uint8", - }, - ], - name: "generate4UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate512", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate64Reverting", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "upperBound", - type: "uint64", - }, - ], - name: "generate64UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generate8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "upperBound", - type: "uint8", - }, - ], - name: "generate8UpperBound", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "generateBool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "value1024", - outputs: [ - { - internalType: "ebytes128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value2048", - outputs: [ - { - internalType: "ebytes256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value512", - outputs: [ - { - internalType: "ebytes64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value64Bounded", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "value8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "valueb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5061018a6100ae604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b610972806101975f395ff3fe608060405234801561000f575f80fd5b50600436106101e7575f3560e01c80638a7e993f11610109578063c36b470c1161009e578063d8a33f081161006e578063d8a33f081461032c578063e354c2301461033f578063f7b0217514610347578063ffc789bc1461034f575f80fd5b8063c36b470c146102eb578063c9056ffb146102fe578063d4795dd614610311578063d868846d14610319575f80fd5b80639be3bc96116100d95780639be3bc96146102be578063b3aaa586146102c7578063bc6ab4e6146102d0578063bd26d5b5146102e3575f80fd5b80638a7e993f1461029d5780638cf68056146102a65780639395773c146102ae57806398de4cee146102b6575f80fd5b806341430b271161017f5780635e5e128b1161014f5780635e5e128b14610272578063783842c91461027a57806378c9f534146102825780637d1b6aad14610295575f80fd5b806341430b271461024f57806344e63c1a146102575780634622a64514610260578063517f5fa714610269575f80fd5b80631d81523e116101ba5780631d81523e1461022c5780632192cd44146102355780632d61bb421461023d57806337562a1a14610246575f80fd5b80630e6433d1146101eb578063135870d5146102065780631a3a358b1461020f5780631b695ea014610219575b5f80fd5b6101f460025481565b60405190815260200160405180910390f35b6101f460035481565b610217610357565b005b61021761022736600461087d565b61036f565b6101f460095481565b610217610389565b6101f460085481565b6101f460065481565b61021761039f565b6101f460075481565b6101f460045481565b6101f460015481565b6102176103b5565b6101f45f5481565b6102176102903660046108a4565b6103cb565b6102176103e2565b6101f460055481565b6102176103f8565b61021761040e565b610217610424565b6101f4600b5481565b6101f4600a5481565b6102176102de3660046108c7565b61043a565b610217610451565b6102176102f93660046108e8565b610467565b61021761030c366004610917565b61047e565b610217610495565b610217610327366004610937565b6104ab565b61021761033a366004610917565b6104c2565b6102176104d9565b6102176104ee565b610217610504565b61035f610567565b600181905561036d90610577565b565b61037881610581565b600581905561038690610577565b50565b61039161059d565b600b81905561036d90610577565b6103a76105a8565b600381905561036d90610577565b6103bd6105b3565b600781905561036d90610577565b6103d4816105be565b600481905561038690610577565b6103ea6105d0565b600481905561036d90610577565b6104006105db565b600a81905561036d90610577565b6104166105e6565b600881905561036d90610577565b61042c6105f1565b60058190556101e790610577565b610443816105fc565b600381905561038690610577565b6104596105f1565b600581905561036d90610577565b6104708161060c565b600781905561038690610577565b6104878161062a565b600281905561038690610577565b61049d610639565b600981905561036d90610577565b6104b481610644565b600881905561038690610577565b6104cb81610650565b600181905561038690610577565b6104e161065f565b5f81905561036d90610577565b6104f6610669565b600281905561036d90610577565b306001600160a01b03166398de4cee6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561053c575f80fd5b505af192505050801561054d575060015b50610559610400610581565b600681905561036d90610577565b5f6105726001610670565b905090565b610386813061072e565b5f6105978267ffffffffffffffff1660056107b7565b92915050565b5f610572600b610670565b5f6105726003610670565b5f6105726006610670565b5f6105978263ffffffff1660046107b7565b5f6105726004610670565b5f610572600a610670565b5f6105726008610670565b5f6105726005610670565b5f6105978261ffff1660036107b7565b5f610597826fffffffffffffffffffffffffffffffff1660066107b7565b5f6105978260ff1660026107b7565b5f6105726009610670565b5f6105978260086107b7565b5f6105978260ff1660016107b7565b5f6105725f610670565b5f61057260025b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600600181015460405163480694a760e11b81527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660048201529192506001600160a01b03169063900d294e906024016020604051808303815f875af1158015610703573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610727919061094e565b9392505050565b5f7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6008054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b15801561079c575f80fd5b505af11580156107ae573d5f803e3d5ffd5b50505050505050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600600181015460405163fa33b7af60e01b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063fa33b7af906044016020604051808303815f875af1158015610851573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610875919061094e565b949350505050565b5f6020828403121561088d575f80fd5b813567ffffffffffffffff81168114610727575f80fd5b5f602082840312156108b4575f80fd5b813563ffffffff81168114610727575f80fd5b5f602082840312156108d7575f80fd5b813561ffff81168114610727575f80fd5b5f602082840312156108f8575f80fd5b81356fffffffffffffffffffffffffffffffff81168114610727575f80fd5b5f60208284031215610927575f80fd5b813560ff81168114610727575f80fd5b5f60208284031215610947575f80fd5b5035919050565b5f6020828403121561095e575f80fd5b505191905056fea164736f6c6343000818000a"; - -type RandConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: RandConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Rand__factory extends ContractFactory { - constructor(...args: RandConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Rand & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Rand__factory { - return super.connect(runner) as Rand__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): RandInterface { - return new Interface(_abi) as RandInterface; - } - static connect(address: string, runner?: ContractRunner | null): Rand { - return new Contract(address, _abi, runner) as unknown as Rand; - } -} diff --git a/contracts/types/factories/examples/Reencrypt__factory.ts b/contracts/types/factories/examples/Reencrypt__factory.ts deleted file mode 100644 index cca9e484..00000000 --- a/contracts/types/factories/examples/Reencrypt__factory.ts +++ /dev/null @@ -1,222 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { Reencrypt, ReencryptInterface } from "../../examples/Reencrypt"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "xAddress", - outputs: [ - { - internalType: "eaddress", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xBool", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "xUint8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes128", - outputs: [ - { - internalType: "ebytes128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes256", - outputs: [ - { - internalType: "ebytes256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes64", - outputs: [ - { - internalType: "ebytes64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b50620000b7620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b6200036c565b620000c3600162000427565b5f819055620000d2906200044c565b5f54620000e0903362000458565b620000ec600462000468565b6001819055620000fc906200044c565b6001546200010b903362000458565b62000117602a62000476565b600281905562000127906200044c565b60025462000136903362000458565b62000142601062000484565b600381905562000152906200044c565b60035462000161903362000458565b6200016d602062000492565b60048190556200017d906200044c565b6004546200018c903362000458565b6200019e6010600160401b03620004a0565b6005819055620001ae906200044c565b600554620001bd903362000458565b620001d86f6d4b2086ba8e3d2104fbf4a8dfe9679d620004ae565b6006819055620001e8906200044c565b600654620001f7903362000458565b62000216738ba1f109551bd432803012645ac136ddd64dba72620004bc565b600781905562000226906200044c565b60075462000235903362000458565b620002607fa43c19c9c19fe2135e77133e55174fcb100521116fcad4e3a2e977a66c41ff11620004d3565b600881905562000270906200044c565b6008546200027f903362000458565b620002ad620002a760405180606001604052806037815260200162000d0860379139620004e1565b62000628565b6009819055620002bd906200044c565b600954620002cc903362000458565b620002fa620002f46040518060800160405280605f815260200162000ca9605f913962000636565b62000773565b600a8190556200030a906200044c565b600a5462000319903362000458565b62000347620003416040518060c001604052806095815260200162000d5f6095913962000781565b620008c2565b600b81905562000357906200044c565b600b5462000366903362000458565b62000b1e565b80515f8051602062000c8983398151915280546001600160a01b03199081166001600160a01b039384161790915560208301515f8051602062000d3f8339815191528054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b50565b5f811562000441576200043b6001620008d0565b92915050565b6200043b5f620008d0565b620004248130620008dd565b620004648282620008dd565b5050565b5f6200043b82600162000956565b5f6200043b82600262000956565b5f6200043b82600362000956565b5f6200043b82600462000956565b5f6200043b82600562000956565b5f6200043b82600662000956565b5f6200043b6001600160a01b038316600762000956565b5f6200043b82600862000956565b60606040825111156200053b5760405162461bcd60e51b815260206004820152601660248201527f496e70757420657863656564732036342062797465730000000000000000000060448201526064015b60405180910390fd5b604080518181526060810182525f916020820181803683370190505090505f835160406200056a919062000a6c565b90505f5b81811015620005af575f60f81b83828151811062000590576200059062000a82565b60200101906001600160f81b03191690815f1a9053506001016200056e565b505f5b84518110156200061f57848181518110620005d157620005d162000a82565b01602001516001600160f81b03191683620005ed838562000a96565b8151811062000600576200060062000a82565b60200101906001600160f81b03191690815f1a905350600101620005b2565b50909392505050565b5f6200043b82600962000a01565b60606080825111156200068c5760405162461bcd60e51b815260206004820152601760248201527f496e707574206578636565647320313238206279746573000000000000000000604482015260640162000532565b60408051608080825260a082019092525f916020820181803683370190505090505f83516080620006be919062000a6c565b90505f5b8181101562000703575f60f81b838281518110620006e457620006e462000a82565b60200101906001600160f81b03191690815f1a905350600101620006c2565b505f5b84518110156200061f5784818151811062000725576200072562000a82565b01602001516001600160f81b0319168362000741838562000a96565b8151811062000754576200075462000a82565b60200101906001600160f81b03191690815f1a90535060010162000706565b5f6200043b82600a62000a01565b606061010082511115620007d85760405162461bcd60e51b815260206004820152601760248201527f496e707574206578636565647320323536206279746573000000000000000000604482015260640162000532565b6040805161010080825261012082019092525f916020820181803683370190505090505f83516101006200080d919062000a6c565b90505f5b8181101562000852575f60f81b83828151811062000833576200083362000a82565b60200101906001600160f81b03191690815f1a90535060010162000811565b505f5b84518110156200061f5784818151811062000874576200087462000a82565b01602001516001600160f81b0319168362000890838562000a96565b81518110620008a357620008a362000a82565b60200101906001600160f81b03191690815f1a90535060010162000855565b5f6200043b82600b62000a01565b5f6200043b828262000956565b5f5f8051602062000c898339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b1580156200093a575f80fd5b505af11580156200094d573d5f803e3d5ffd5b50505050505050565b5f8051602062000d3f83398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f8051602062000c89833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015620009d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620009f9919062000aac565b949350505050565b5f8051602062000d3f8339815191525460405163e0c5cbb360e01b81525f915f8051602062000c89833981519152916001600160a01b039091169063e0c5cbb390620009b690879060f888901b9060040162000ac4565b634e487b7160e01b5f52601160045260245ffd5b818103818111156200043b576200043b62000a58565b634e487b7160e01b5f52603260045260245ffd5b808201808211156200043b576200043b62000a58565b5f6020828403121562000abd575f80fd5b5051919050565b604081525f83518060408401525f5b8181101562000af2576020818701810151606086840101520162000ad3565b505f606082850101526060601f19601f83011684010191505060ff60f81b831660208301529392505050565b61015d8062000b2c5f395ff3fe608060405234801561000f575f80fd5b50600436106100cf575f3560e01c80637b30c9e51161007d578063b7e7eb7711610058578063b7e7eb7714610135578063c8779aca1461013e578063ce12cc8314610147575f80fd5b80637b30c9e51461011b5780638e5bbd9614610124578063939836cd1461012c575f80fd5b80634c4ef3c9116100ad5780634c4ef3c9146101005780636319a6011461010957806365ca063614610112575f80fd5b8063269f0c5f146100d357806326c3e487146100ee578063378ccfd0146100f7575b5f80fd5b6100dc60015481565b60405190815260200160405180910390f35b6100dc60085481565b6100dc60055481565b6100dc600b5481565b6100dc60045481565b6100dc60095481565b6100dc60065481565b6100dc5f5481565b6100dc60025481565b6100dc60075481565b6100dc600a5481565b6100dc6003548156fea164736f6c6343000818000aed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60013e7819123de6e2870c7e83bb764508e22d7c3ab8a5aee6bdfb26355ef0d3f1977d651b83bf5f78634fa360aa14debdc3daa6a587b5c2fb1710ab4d6677e62a8577f2d9fecc190ad8b11c9f0a5ec3138b27da1f055437af8c90a9495dad23019d179e0cc7e816dc944582ed4f5652f5951900098fc2e0a15a7ea4dc8cfa4e3b6c54beea5ee95e56b728762f659347ce1d4aa1b05fcc5ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601d179e0cc7e816dc944582ed4f5652f5951900098fc2e0a15a7ea4dc8cfa4e3b6c54beea5ee95e56b728762f659347ce1d4aa1b05fcc513e7819123de6e2870c7e83bb764508e22d7c3ab8a5aee6bdfb26355ef0d3f1977d651b83bf5f78634fa360aa14debdc3daa6a587b5c2fb1710ab4d6677e62a8577f2d9fecc190ad8b11c9f0a5ec3138b27da1f055437af8c90a9495dad230"; - -type ReencryptConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: ReencryptConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Reencrypt__factory extends ContractFactory { - constructor(...args: ReencryptConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Reencrypt & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Reencrypt__factory { - return super.connect(runner) as Reencrypt__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ReencryptInterface { - return new Interface(_abi) as ReencryptInterface; - } - static connect(address: string, runner?: ContractRunner | null): Reencrypt { - return new Contract(address, _abi, runner) as unknown as Reencrypt; - } -} diff --git a/contracts/types/factories/examples/Regression1__factory.ts b/contracts/types/factories/examples/Regression1__factory.ts deleted file mode 100644 index 2f9f2a17..00000000 --- a/contracts/types/factories/examples/Regression1__factory.ts +++ /dev/null @@ -1,177 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - Regression1, - Regression1Interface, -} from "../../examples/Regression1"; - -const _abi = [ - { - inputs: [], - name: "IndexOutOfBound", - type: "error", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "id", - type: "bytes32", - }, - { - internalType: "string", - name: "serviceType", - type: "string", - }, - { - internalType: "string", - name: "serviceEndpoint", - type: "string", - }, - ], - internalType: "struct Regression1.Service[]", - name: "services", - type: "tuple[]", - }, - ], - name: "addServices", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "id", - type: "address", - }, - ], - name: "getServices", - outputs: [ - { - components: [ - { - internalType: "bytes32", - name: "id", - type: "bytes32", - }, - { - internalType: "string", - name: "serviceType", - type: "string", - }, - { - internalType: "string", - name: "serviceEndpoint", - type: "string", - }, - ], - internalType: "struct Regression1.Service[]", - name: "", - type: "tuple[]", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "id", - type: "address", - }, - ], - name: "metadata", - outputs: [ - { - internalType: "uint256", - name: "created", - type: "uint256", - }, - { - internalType: "uint256", - name: "lastUpdated", - type: "uint256", - }, - { - internalType: "uint256", - name: "versionId", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "serviceIndex", - type: "uint256", - }, - ], - name: "removeService", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b50610a748061001d5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632ba215721461004e57806366e3d65c1461009c5780639b66b139146100b1578063b2532a45146100c4575b5f80fd5b61007c61005c3660046104e0565b5f6020819052908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060015b60405180910390f35b6100af6100aa36600461050d565b6100e4565b005b6100af6100bf36600461057c565b610171565b6100d76100d23660046104e0565b6102f3565b60405161009391906105d6565b5f5b8181101561014b57335f90815260016020526040902083838381811061010e5761010e610667565b9050602002810190610120919061067b565b81546001810183555f92835260209092209091600302016101418282610835565b50506001016100e6565b5050335f9081526020819052604090204280825560018083019190915560029091015550565b335f90815260016020526040902054811061019f5760405163d3482f7b60e01b815260040160405180910390fd5b805b335f908152600160208190526040909120546101bd919061093a565b81101561027557335f908152600160208190526040909120906101e1908390610953565b815481106101f1576101f1610667565b905f5260205f20906003020160015f336001600160a01b03166001600160a01b031681526020019081526020015f20828154811061023157610231610667565b5f9182526020909120825460039092020190815560018082019061025790840182610966565b5060028181019061026a90840182610966565b5050506001016101a1565b50335f90815260016020526040902080548061029357610293610a3b565b5f8281526020812060035f1990930192830201818155906102b7600183018261048e565b6102c4600283015f61048e565b50509055335f9081526020819052604081204260018201556002018054916102eb83610a4f565b919050555050565b6001600160a01b0381165f908152600160209081526040808320805482518185028101850190935280835260609492939192909184015b82821015610483578382905f5260205f2090600302016040518060600160405290815f8201548152602001600182018054610364906106f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610390906106f7565b80156103db5780601f106103b2576101008083540402835291602001916103db565b820191905f5260205f20905b8154815290600101906020018083116103be57829003601f168201915b505050505081526020016002820180546103f4906106f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610420906106f7565b801561046b5780601f106104425761010080835404028352916020019161046b565b820191905f5260205f20905b81548152906001019060200180831161044e57829003601f168201915b5050505050815250508152602001906001019061032a565b505050509050919050565b50805461049a906106f7565b5f825580601f106104a9575050565b601f0160209004905f5260205f20908101906104c591906104c8565b50565b5b808211156104dc575f81556001016104c9565b5090565b5f602082840312156104f0575f80fd5b81356001600160a01b0381168114610506575f80fd5b9392505050565b5f806020838503121561051e575f80fd5b823567ffffffffffffffff80821115610535575f80fd5b818501915085601f830112610548575f80fd5b813581811115610556575f80fd5b8660208260051b850101111561056a575f80fd5b60209290920196919550909350505050565b5f6020828403121561058c575f80fd5b5035919050565b5f81518084525f5b818110156105b75760208185018101518683018201520161059b565b505f602082860101526020601f19601f83011685010191505092915050565b5f60208083018184528085518083526040925060408601915060408160051b8701018488015f5b8381101561065957603f19898403018552815160608151855288820151818a87015261062b82870182610593565b915050878201519150848103888601526106458183610593565b9689019694505050908601906001016105fd565b509098975050505050505050565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e1983360301811261068f575f80fd5b9190910192915050565b5f808335601e198436030181126106ae575f80fd5b83018035915067ffffffffffffffff8211156106c8575f80fd5b6020019150368190038213156106dc575f80fd5b9250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061070b57607f821691505b60208210810361072957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561077657805f5260205f20601f840160051c810160208510156107545750805b601f840160051c820191505b81811015610773575f8155600101610760565b50505b505050565b67ffffffffffffffff831115610793576107936106e3565b6107a7836107a183546106f7565b8361072f565b5f601f8411600181146107d8575f85156107c15750838201355b5f19600387901b1c1916600186901b178355610773565b5f83815260208120601f198716915b8281101561080757868501358255602094850194600190920191016107e7565b5086821015610823575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b813581556001808201602061084d6020860186610699565b67ffffffffffffffff811115610865576108656106e3565b6108798161087386546106f7565b8661072f565b5f601f8211600181146108aa575f83156108935750838201355b5f19600385901b1c1916600184901b1786556108fe565b5f86815260208120601f198516915b828110156108d657868501358255938701939089019087016108b9565b50848210156108f2575f1960f88660031b161c19848701351681555b505060018360011b0186555b505050505050506109126040830183610699565b61092081836002860161077b565b50505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561094d5761094d610926565b92915050565b8082018082111561094d5761094d610926565b818103610971575050565b61097b82546106f7565b67ffffffffffffffff811115610993576109936106e3565b6109a7816109a184546106f7565b8461072f565b5f601f8211600181146109d8575f83156109c15750848201545b5f19600385901b1c1916600184901b178455610773565b5f8581526020808220868352908220601f198616925b83811015610a0e57828601548255600195860195909101906020016109ee565b5085831015610a2b57818501545f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603160045260245ffd5b5f60018201610a6057610a60610926565b506001019056fea164736f6c6343000818000a"; - -type Regression1ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: Regression1ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class Regression1__factory extends ContractFactory { - constructor(...args: Regression1ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - Regression1 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): Regression1__factory { - return super.connect(runner) as Regression1__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): Regression1Interface { - return new Interface(_abi) as Regression1Interface; - } - static connect(address: string, runner?: ContractRunner | null): Regression1 { - return new Contract(address, _abi, runner) as unknown as Regression1; - } -} diff --git a/contracts/types/factories/examples/SmartAccount__factory.ts b/contracts/types/factories/examples/SmartAccount__factory.ts deleted file mode 100644 index 182d9c96..00000000 --- a/contracts/types/factories/examples/SmartAccount__factory.ts +++ /dev/null @@ -1,215 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - SmartAccount, - SmartAccountInterface, -} from "../../examples/SmartAccount"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "address", - name: "target", - type: "address", - }, - { - internalType: "uint256", - name: "value", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - internalType: "struct SmartAccount.Transaction[]", - name: "transactions", - type: "tuple[]", - }, - ], - name: "executeBatch", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b50338061003557604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61003e81610044565b506100af565b600180546001600160a01b031916905561005d81610060565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6105d8806100bc5f395ff3fe608060405260043610610063575f3560e01c80638da5cb5b116100415780638da5cb5b146100a4578063e30c3978146100d8578063f2fde38b146100f5575f80fd5b806334fcd5be14610067578063715018a61461007c57806379ba509714610090575b5f80fd5b61007a610075366004610412565b610114565b005b348015610087575f80fd5b5061007a61020c565b34801561009b575f80fd5b5061007a61021f565b3480156100af575f80fd5b505f546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b3480156100e3575f80fd5b506001546001600160a01b03166100bc565b348015610100575f80fd5b5061007a61010f36600461056b565b610263565b61011c6102e0565b5f5b8151811015610208575f82828151811061013a5761013a61058b565b602002602001015190505f815f01516001600160a01b031682602001518360400151604051610169919061059f565b5f6040518083038185875af1925050503d805f81146101a3576040519150601f19603f3d011682016040523d82523d5f602084013e6101a8565b606091505b50509050806101fe5760405162461bcd60e51b815260206004820152601260248201527f5472616e73616374696f6e206661696c6564000000000000000000000000000060448201526064015b60405180910390fd5b505060010161011e565b5050565b6102146102e0565b61021d5f61030c565b565b60015433906001600160a01b031681146102575760405163118cdaa760e01b81526001600160a01b03821660048201526024016101f5565b6102608161030c565b50565b61026b6102e0565b600180546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff1990911681179091556102a85f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f546001600160a01b0316331461021d5760405163118cdaa760e01b81523360048201526024016101f5565b6001805473ffffffffffffffffffffffffffffffffffffffff19169055610260815f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b6040516060810167ffffffffffffffff811182821017156103c0576103c0610389565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156103ef576103ef610389565b604052919050565b80356001600160a01b038116811461040d575f80fd5b919050565b5f6020808385031215610423575f80fd5b823567ffffffffffffffff8082111561043a575f80fd5b818501915085601f83011261044d575f80fd5b81358181111561045f5761045f610389565b8060051b61046e8582016103c6565b9182528381018501918581019089841115610487575f80fd5b86860192505b8383101561055e578235858111156104a3575f80fd5b86016060601f19828d0381018213156104ba575f80fd5b6104c261039d565b6104cd8b85016103f7565b81526040848101358c8301529284013592898411156104ea575f80fd5b83850194508e603f8601126104fd575f80fd5b8b85013593508984111561051357610513610389565b6105238c84601f870116016103c6565b92508383528e81858701011115610538575f80fd5b838186018d8501375f9383018c019390935291820152835250918601919086019061048d565b9998505050505050505050565b5f6020828403121561057b575f80fd5b610584826103f7565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b5f82515f5b818110156105be57602081860181015185830152016105a4565b505f92019182525091905056fea164736f6c6343000818000a"; - -type SmartAccountConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SmartAccountConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SmartAccount__factory extends ContractFactory { - constructor(...args: SmartAccountConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - SmartAccount & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): SmartAccount__factory { - return super.connect(runner) as SmartAccount__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SmartAccountInterface { - return new Interface(_abi) as SmartAccountInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): SmartAccount { - return new Contract(address, _abi, runner) as unknown as SmartAccount; - } -} diff --git a/contracts/types/factories/examples/TFHEExecutorUpgradedExample__factory.ts b/contracts/types/factories/examples/TFHEExecutorUpgradedExample__factory.ts deleted file mode 100644 index f51e8bf1..00000000 --- a/contracts/types/factories/examples/TFHEExecutorUpgradedExample__factory.ts +++ /dev/null @@ -1,1246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - TFHEExecutorUpgradedExample, - TFHEExecutorUpgradedExampleInterface, -} from "../../examples/TFHEExecutorUpgradedExample"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "HANDLE_VERSION", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "cast", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheAdd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitAnd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitOr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitXor", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheDiv", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "control", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifTrue", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifFalse", - type: "uint256", - }, - ], - name: "fheIfThenElse", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMax", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMin", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMul", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNeg", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNot", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRand", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRandBounded", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRem", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheSub", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getACLAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getFHEPaymentAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getInputVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "initialOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "pt", - type: "bytes", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "pt", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "address", - name: "userAddress", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - { - internalType: "bytes1", - name: "inputType", - type: "bytes1", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a06040523060805234801562000014575f80fd5b506200001f62000025565b620000d9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000765760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516146b0620001005f395f81816135510152818161357a01526136df01526146b05ff3fe6080604052600436106102e2575f3560e01c806389a4314b11610186578063c4d66de8116100dc578063ec4057dc11610087578063f6859bdc11610062578063f6859bdc1461081a578063f953e42714610840578063fa33b7af1461085f575f80fd5b8063ec4057dc146107bd578063eee1833c146107dc578063f2fde38b146107fb575f80fd5b8063e0c5cbb3116100b7578063e0c5cbb31461076b578063e30c39781461078a578063e71746b81461079e575f80fd5b8063c4d66de81461070e578063cb3b94071461072d578063e0c516ae1461074c575f80fd5b8063a86e9de51161013c578063a8c7c2c111610117578063a8c7c2c114610681578063ad3cb1cc146106a7578063bc47139a146106ef575f80fd5b8063a86e9de514610624578063a87deac414610643578063a8b42a8914610662575f80fd5b80638da5cb5b1161016c5780638da5cb5b146105d2578063900d294e146105e65780639675211f14610605575f80fd5b806389a4314b146105945780638c14cc21146105b3575f80fd5b806344ae9c5c1161023b578063694daf72116101f1578063715018a6116101cc578063715018a61461054d57806379ba509714610561578063816d57d314610575575f80fd5b8063694daf72146104ea5780636a8c8eb4146105095780636be317581461052e575f80fd5b80634f1ef286116102215780634f1ef286146104a257806352d1902d146104b7578063666a3588146104cb575f80fd5b806344ae9c5c146104645780634be68d2014610483575f80fd5b8063192710811161029b5780632e817ff0116102765780632e817ff01461040757806336cdd31b146104265780633e63c50a14610445575f80fd5b80631927108114610396578063275e36bf146103b55780632c7d67b7146103e8575f80fd5b80630b90dfc3116102cb5780630b90dfc3146103375780630d8e6e2c1461035657806313801ffa14610377575f80fd5b8063052896f1146102e65780630590734314610318575b5f80fd5b3480156102f1575f80fd5b50610305610300366004613f96565b61087e565b6040519081526020015b60405180910390f35b348015610323575f80fd5b50610305610332366004613f96565b610921565b348015610342575f80fd5b50610305610351366004614065565b6109ba565b348015610361575f80fd5b5061036a610d9b565b60405161030f91906140fc565b348015610382575f80fd5b5061030561039136600461410e565b610e16565b3480156103a1575f80fd5b506103056103b0366004613f96565b610ea6565b3480156103c0575f80fd5b505f805160206146848339815191525b6040516001600160a01b03909116815260200161030f565b3480156103f3575f80fd5b50610305610402366004613f96565b610fca565b348015610412575f80fd5b5061030561042136600461413b565b611063565b348015610431575f80fd5b50610305610440366004613f96565b6111ee565b348015610450575f80fd5b5061030561045f366004613f96565b611337565b34801561046f575f80fd5b5061030561047e366004613f96565b6113d0565b34801561048e575f80fd5b5061030561049d36600461419f565b611469565b6104b56104b03660046141c9565b611764565b005b3480156104c2575f80fd5b50610305611783565b3480156104d6575f80fd5b506103056104e5366004613f96565b6117b1565b3480156104f5575f80fd5b50610305610504366004613f96565b61184a565b348015610514575f80fd5b5061051c5f81565b60405160ff909116815260200161030f565b348015610539575f80fd5b50610305610548366004613f96565b6118e3565b348015610558575f80fd5b506104b5611a07565b34801561056c575f80fd5b506104b5611a1a565b348015610580575f80fd5b5061030561058f366004613f96565b611a62565b34801561059f575f80fd5b506103056105ae366004613f96565b611afb565b3480156105be575f80fd5b506103056105cd366004613f96565b611b94565b3480156105dd575f80fd5b506103d0611c2d565b3480156105f1575f80fd5b50610305610600366004614214565b611c61565b348015610610575f80fd5b5061030561061f366004613f96565b611e7e565b34801561062f575f80fd5b5061030561063e366004613f96565b611f17565b34801561064e575f80fd5b5061030561065d366004613f96565b611fb0565b34801561066d575f80fd5b5061030561067c36600461410e565b612049565b34801561068c575f80fd5b507369de3158643e738a0724418b21a35faa20cbb1c56103d0565b3480156106b2575f80fd5b5061036a6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b3480156106fa575f80fd5b50610305610709366004614065565b6120d1565b348015610719575f80fd5b506104b561072836600461422d565b612419565b348015610738575f80fd5b50610305610747366004614246565b61253b565b348015610757575f80fd5b50610305610766366004613f96565b6125cf565b348015610776575f80fd5b5061030561078536600461426f565b612718565b348015610795575f80fd5b506103d0612970565b3480156107a9575f80fd5b506103056107b836600461419f565b612998565b3480156107c8575f80fd5b506103056107d7366004613f96565b612b10565b3480156107e7575f80fd5b506103056107f6366004613f96565b612ba9565b348015610806575f80fd5b506104b561081536600461422d565b612c42565b348015610825575f80fd5b5073339ece85b9e11a3a3aa557582784a15d7f82aaf26103d0565b34801561084b575f80fd5b5061030561085a366004613f96565b612cc7565b34801561086a575f80fd5b5061030561087936600461419f565b612d5f565b5f61017e61088c8582612fd4565b5f6108978660081c90565b60405162fabc1960e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906303eaf064906064015f604051808303815f87803b1580156108f2575f80fd5b505af1158015610904573d5f803e3d5ffd5b50505050610916600e8888845f61302e565b979650505050505050565b5f61017e61092f8582612fd4565b5f61093a8660081c90565b60405163b25fd54760e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063b25fd547906064015f604051808303815f87803b158015610996575f80fd5b505af11580156109a8573d5f803e3d5ffd5b50505050610916600a8888848661302e565b5f610e006109c88582612fd4565b5f6109d38660081c90565b9050600160f81b808516908114610a575760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654e65206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e640000000060648201526084015b60405180910390fd5b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020614684833981519152906399841ed7906064015f604051808303815f87803b158015610ab2575f80fd5b505af1158015610ac4573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf29250635faa299a9150604401602060405180830381865afa158015610b1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4091906142b1565b610b8c5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b855160ff8316600903610c015780604014610bfc5760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b610cd7565b8260ff16600a03610c715780608014610bfc5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b8061010014610cd75760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b600d88888473339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001610d07969594939291906142f3565b60408051601f198184030181529190528051602090910120945061ffff1985166040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015610d7a575f80fd5b505af1158015610d8c573d5f803e3d5ffd5b50505050505050509392505050565b60606040518060400160405280600c81526020017f544648454578656375746f720000000000000000000000000000000000000000815250610ddc5f613311565b610de66002613311565b610def5f613311565b604051602001610e02949392919061435b565b604051602081830303815290604052905090565b5f61017f610e248382612fd4565b5f610e2f8460081c90565b60405163aa43b7f960e01b815233600482015260ff821660248201529091505f805160206146848339815191529063aa43b7f9906044015f604051808303815f87803b158015610e7d575f80fd5b505af1158015610e8f573d5f803e3d5ffd5b50505050610e9e6015856133ae565b949350505050565b5f610fff610eb48582612fd4565b5f610ebf8660081c90565b9050600160f81b80851690819003610f4b5760088260ff161115610f4b5760405162461bcd60e51b815260206004820152603e60248201527f5363616c6172206668654e6520666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f61646564206668654e6500006064820152608401610a4e565b6040516399841ed760e01b815233600482015260ff831660248201526001600160f81b0319821660448201525f80516020614684833981519152906399841ed7906064015f604051808303815f87803b158015610fa6575f80fd5b505af1158015610fb8573d5f803e3d5ffd5b50505050610916600d8888845f61302e565b5f61017f610fd88582612fd4565b5f610fe38660081c90565b60405163473dceed60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063473dceed906064015f604051808303815f87803b15801561103f575f80fd5b505af1158015611051573d5f803e3d5ffd5b5050505061091660078888848661302e565b6040805160608101825273339ece85b9e11a3a3aa557582784a15d7f82aaf281526001600160a01b038516602082015233918101919091525f90816110a88760081c90565b905060f884901c60ff8216146111005760405162461bcd60e51b815260206004820152600a60248201527f57726f6e672074797065000000000000000000000000000000000000000000006044820152606401610a4e565b604051634d52c10760e01b81527369de3158643e738a0724418b21a35faa20cbb1c590634d52c1079061113b9085908b908a906004016143d8565b6020604051808303815f875af1158015611157573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117b919061441a565b6040516346ce4e4960e11b81526004810182905233602482015290935073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b1580156111ce575f80fd5b505af11580156111e0573d5f803e3d5ffd5b505050505050949350505050565b5f600160f81b808316146112505760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206668654469762062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610a4e565b825f0361129f5760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610a4e565b61017e6112ac8582612fd4565b5f6112b78660081c90565b60405163f7eaec6360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063f7eaec63906064015f604051808303815f87803b158015611313575f80fd5b505af1158015611325573d5f803e3d5ffd5b5050505061091660038888848661302e565b5f61017e6113458582612fd4565b5f6113508660081c90565b604051638638282b60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290638638282b906064015f604051808303815f87803b1580156113ac575f80fd5b505af11580156113be573d5f803e3d5ffd5b50505050610916600f8888845f61302e565b5f61017e6113de8582612fd4565b5f6113e98660081c90565b6040516313f3d32960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906313f3d329906064015f604051808303815f87803b158015611445575f80fd5b505af1158015611457573d5f803e3d5ffd5b50505050610916600b8888848661302e565b604051632fd514cd60e11b8152600481018390523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156114bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e391906142b1565b61152f5760405162461bcd60e51b815260206004820152601d60248201527f53656e64657220646f65736e2774206f776e206374206f6e20636173740000006044820152606401610a4e565b61017f61153c8482612fd4565b61017e600160f885901c1b81166115955760405162461bcd60e51b815260206004820152601760248201527f556e737570706f72746564206f757470757420747970650000000000000000006044820152606401610a4e565b5f6115a08660081c90565b9050847effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168160f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036116385760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74206361737420746f2073616d65207479706500000000000000006044820152606401610a4e565b604051630cea149360e41b815233600482015260ff821660248201525f805160206146848339815191529063cea14930906044015f604051808303815f87803b158015611683575f80fd5b505af1158015611695573d5f803e3d5ffd5b505050506017868673339ece85b9e11a3a3aa557582784a15d7f82aaf2466040516020016116c7959493929190614431565b60408051601f198184030181529190528051602090910120935061ffff19841660f086901c61ff0016175b6040516346ce4e4960e11b81526004810182905233602482015290945073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015611745575f80fd5b505af1158015611757573d5f803e3d5ffd5b5050505050505092915050565b61176c613546565b611775826135fd565b61177f8282613605565b5050565b5f61178c6136d4565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b5f61017f6117bf8582612fd4565b5f6117ca8660081c90565b60405163cd2bd00360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063cd2bd003906064015f604051808303815f87803b158015611826575f80fd5b505af1158015611838573d5f803e3d5ffd5b5050505061091660058888848661302e565b5f61017e6118588582612fd4565b5f6118638660081c90565b60405163d692278360e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063d6922783906064015f604051808303815f87803b1580156118bf575f80fd5b505af11580156118d1573d5f803e3d5ffd5b5050505061091660108888845f61302e565b5f610fff6118f18582612fd4565b5f6118fc8660081c90565b9050600160f81b808516908190036119885760088260ff1611156119885760405162461bcd60e51b815260206004820152603e60248201527f5363616c617220666865457120666f722065627974657358585820747970657360448201527f206d7573742075736520746865206f7665726c6f6164656420666865457100006064820152608401610a4e565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206146848339815191529063e138131e906064015f604051808303815f87803b1580156119e3575f80fd5b505af11580156119f5573d5f803e3d5ffd5b50505050610916600c8888845f61302e565b611a0f61371d565b611a185f61374f565b565b3380611a24612970565b6001600160a01b031614611a565760405163118cdaa760e01b81526001600160a01b0382166004820152602401610a4e565b611a5f8161374f565b50565b5f61017e611a708582612fd4565b5f611a7b8660081c90565b604051632be8dd7960e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290632be8dd79906064015f604051808303815f87803b158015611ad7575f80fd5b505af1158015611ae9573d5f803e3d5ffd5b5050505061091660028888848661302e565b5f61017e611b098582612fd4565b5f611b148660081c90565b604051633968721960e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906372d0e432906064015f604051808303815f87803b158015611b70575f80fd5b505af1158015611b82573d5f803e3d5ffd5b5050505061091660088888848661302e565b5f61017e611ba28582612fd4565b5f611bad8660081c90565b6040516303ed3f3160e51b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290637da7e620906064015f604051808303815f87803b158015611c09575f80fd5b505af1158015611c1b573d5f803e3d5ffd5b5050505061091660018888848661302e565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e00610f7f60f884901c6001811b8216611cdd5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610a4e565b6040516302cccbd160e21b815233600482015260ff821660248201525f8051602061468483398151915290630b332f44906044015f604051808303815f87803b158015611d28575f80fd5b505af1158015611d3a573d5f803e3d5ffd5b505084545f9250905073339ece85b9e11a3a3aa557582784a15d7f82aaf246611d6460014361448d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601a8682604051602001611dce939291906144a0565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015611e4b575f80fd5b505af1158015611e5d573d5f803e3d5ffd5b5050855491508590505f611e70836144dc565b919050555050505050919050565b5f61017e611e8c8582612fd4565b5f611e978660081c90565b60405163466ac06560e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063466ac065906064015f604051808303815f87803b158015611ef3575f80fd5b505af1158015611f05573d5f803e3d5ffd5b5050505061091660118888845f61302e565b5f61017e611f258582612fd4565b5f611f308660081c90565b604051631ade267d60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290631ade267d906064015f604051808303815f87803b158015611f8c575f80fd5b505af1158015611f9e573d5f803e3d5ffd5b5050505061091660138888848661302e565b5f61017e611fbe8582612fd4565b5f611fc98660081c90565b604051630ad2336160e41b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063ad233610906064015f604051808303815f87803b158015612025575f80fd5b505af1158015612037573d5f803e3d5ffd5b5050505061091660128888848661302e565b5f61017e6120578382612fd4565b5f6120628460081c90565b6040516313ed41db60e31b815233600482015260ff821660248201529091505f8051602061468483398151915290639f6a0ed8906044015f604051808303815f87803b1580156120b0575f80fd5b505af11580156120c2573d5f803e3d5ffd5b50505050610e9e6014856133ae565b5f610e006120df8582612fd4565b5f6120ea8660081c90565b9050600160f81b8085169081146121695760405162461bcd60e51b815260206004820152603c60248201527f4f7665726c6f61646564206668654571206973206f6e6c7920666f722073636160448201527f6c617220656279746573585858207365636f6e64206f706572616e64000000006064820152608401610a4e565b60405163709c098f60e11b815233600482015260ff831660248201526001600160f81b0319821660448201525f805160206146848339815191529063e138131e906064015f604051808303815f87803b1580156121c4575f80fd5b505af11580156121d6573d5f803e3d5ffd5b5050604051632fd514cd60e11b8152600481018a905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf29250635faa299a9150604401602060405180830381865afa15801561222e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061225291906142b1565b61229e5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b855160ff8316600903612313578060401461230e5760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b6123e9565b8260ff16600a03612383578060801461230e5760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b80610100146123e95760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b600c88888473339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001610d07969594939291906142f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156124635750825b90505f8267ffffffffffffffff16600114801561247f5750303b155b90508115801561248d575080155b156124ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156124df57845468ff00000000000000001916680100000000000000001785555b6124e886613787565b831561253357845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b5f610fff6125498482612fd4565b5f6125548560081c90565b60405163d5f0797d60e01b815233600482015260ff821660248201529091505f805160206146848339815191529063d5f0797d906044015f604051808303815f87803b1580156125a2575f80fd5b505af11580156125b4573d5f803e3d5ffd5b505050506125c56019878787613798565b9695505050505050565b5f600160f81b808316146126315760405162461bcd60e51b8152602060048201526024808201527f4f6e6c792066686552656d2062792061207363616c617220697320737570706f6044820152631c9d195960e21b6064820152608401610a4e565b825f036126805760405162461bcd60e51b815260206004820152601560248201527f436f756c64206e6f7420646976696465206279203000000000000000000000006044820152606401610a4e565b61017e61268d8582612fd4565b5f6126988660081c90565b6040516317f83edb60e31b815233600482015260ff82166024820152600160f81b8616604482018190529192505f805160206146848339815191529063bfc1f6d8906064015f604051808303815f87803b1580156126f4575f80fd5b505af1158015612706573d5f803e3d5ffd5b5050505061091660048888848661302e565b5f610e0060f883901c6001811b82166127665760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206146848339815191529063100747ad906044015f604051808303815f87803b1580156127b1575f80fd5b505af11580156127c3573d5f803e3d5ffd5b5050865191505060ff821660090361283d57806040146128385760405162461bcd60e51b815260206004820152602a60248201527f4279746573206172726179206c656e677468206f6620427974657336342073686044820152691bdd5b19081899480d8d60b21b6064820152608401610a4e565b612913565b8160ff16600a036128ad57806080146128385760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573313238207360448201526b0d0deead8c840c4ca406264760a31b6064820152608401610a4e565b80610100146129135760405162461bcd60e51b815260206004820152602c60248201527f4279746573206172726179206c656e677468206f66204279746573323536207360448201526b3437bab63210313290191a9b60a11b6064820152608401610a4e565b6018868673339ece85b9e11a3a3aa557582784a15d7f82aaf2466040516020016129419594939291906144f4565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176116f2565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00611c51565b5f6101ff60f883901c6001811b82166129e65760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b60405163100747ad60e01b815233600482015260ff821660248201525f805160206146848339815191529063100747ad906044015f604051808303815f87803b158015612a31575f80fd5b505af1158015612a43573d5f803e3d5ffd5b505050506018858573339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001612a75959493929190614431565b60408051601f198184030181529190528051602090910120925061ffff198316600882901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290935073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015612af2575f80fd5b505af1158015612b04573d5f803e3d5ffd5b50505050505092915050565b5f61017f612b1e8582612fd4565b5f612b298660081c90565b604051633980607d60e11b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290637300c0fa906064015f604051808303815f87803b158015612b85575f80fd5b505af1158015612b97573d5f803e3d5ffd5b5050505061091660068888848661302e565b5f61017e612bb78582612fd4565b5f612bc28660081c90565b6040516307dbdabb60e21b815233600482015260ff82166024820152600160f81b8616604482018190529192505f8051602061468483398151915290631f6f6aec906064015f604051808303815f87803b158015612c1e575f80fd5b505af1158015612c30573d5f803e3d5ffd5b5050505061091660098888848661302e565b612c4a61371d565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b0383169081178255612c8e611c2d565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b5f61017e612cd58582612fd4565b5f612ce08660081c90565b6040516327af38ad60e01b815233600482015260ff82166024820152600160f81b8616604482018190529192505f80516020614684833981519152906327af38ad906064015f604051808303815f87803b158015612d3c575f80fd5b505af1158015612d4e573d5f803e3d5ffd5b505050506109165f8888848661302e565b5f7fa436a06f0efce5ea38c956a21e24202a59b3b746d48a23fb52b4a5bc33fe3e0061017e60f884901c6001811b8216612ddb5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564206572616e646f6d207479706500000000000000006044820152606401610a4e565b612de486613ba6565b612e305760405162461bcd60e51b815260206004820152601f60248201527f5570706572426f756e64206d757374206265206120706f776572206f662032006044820152606401610a4e565b604051639bf5592160e01b815233600482015260ff821660248201525f8051602061468483398151915290639bf55921906044015f604051808303815f87803b158015612e7b575f80fd5b505af1158015612e8d573d5f803e3d5ffd5b505084545f9250905073339ece85b9e11a3a3aa557582784a15d7f82aaf246612eb760014361448d565b60408051602081019590955260609390931b6bffffffffffffffffffffffff191692840192909252605483015240607482015242609482015260b401604051602081830303815290604052805190602001209050601b878783604051602001612f239493929190614555565b60408051601f198184030181529190528051602090910120945061ffff198516600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290955073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015612fa0575f80fd5b505af1158015612fb2573d5f803e3d5ffd5b5050855491508590505f612fc5836144dc565b91905055505050505092915050565b5f612fdf8360081c90565b9050600160ff82161b82166130295760405162461bcd60e51b815260206004820152601060248201526f556e737570706f72746564207479706560801b6044820152606401610a4e565b505050565b604051632fd514cd60e11b8152600481018590523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613084573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130a891906142b1565b6130f45760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b6001600160f81b031983165f0361324657604051632fd514cd60e11b81526004810185905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613159573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317d91906142b1565b6131c95760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610a4e565b5f6131d48560081c90565b90505f6131e18760081c90565b90508160ff168160ff16146132435760405162461bcd60e51b815260206004820152602260248201527f496e636f6d70617469626c6520747970657320666f72206c687320616e642072604482015261687360f01b6064820152608401610a4e565b50505b8585858573339ece85b9e11a3a3aa557582784a15d7f82aaf24660405160200161327596959493929190614599565b60408051601f198184030181529190528051602090910120905061ffff198116600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290915073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b1580156132f2575f80fd5b505af1158015613304573d5f803e3d5ffd5b5050505095945050505050565b60605f61331d83613bc6565b60010190505f8167ffffffffffffffff81111561333c5761333c613fc8565b6040519080825280601f01601f191660200182016040528015613366576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461337057509392505050565b604051632fd514cd60e11b8152600481018290523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613404573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061342891906142b1565b6134745760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f65736e2774206f776e206374206f6e206f7000000000006044820152606401610a4e565b828273339ece85b9e11a3a3aa557582784a15d7f82aaf24660405160200161349f94939291906145e9565b604051602081830303815290604052805190602001205f1c90505f6134c48360081c90565b905061ffff198216600882901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290925073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015613529575f80fd5b505af115801561353b573d5f803e3d5ffd5b505050505092915050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806135df57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166135d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15611a185760405163703e46dd60e11b815260040160405180910390fd5b611a5f61371d565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561365f575060408051601f3d908101601f1916820190925261365c9181019061441a565b60015b61368757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610a4e565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81146136ca57604051632a87526960e21b815260048101829052602401610a4e565b6130298383613ca7565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611a185760405163703e46dd60e11b815260040160405180910390fd5b33613726611c2d565b6001600160a01b031614611a185760405163118cdaa760e01b8152336004820152602401610a4e565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b031916815561177f82613cfc565b61378f613d6c565b611a5f81613dba565b604051632fd514cd60e11b8152600481018490523360248201525f9073339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156137ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061381291906142b1565b61385e5760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e206c6873206f6e206f70000000006044820152606401610a4e565b604051632fd514cd60e11b81526004810184905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa1580156138b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138d691906142b1565b6139225760405162461bcd60e51b815260206004820152601f60248201527f53656e64657220646f65736e2774206f776e206d6964646c65206f6e206f70006044820152606401610a4e565b604051632fd514cd60e11b81526004810183905233602482015273339ece85b9e11a3a3aa557582784a15d7f82aaf290635faa299a90604401602060405180830381865afa158015613976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399a91906142b1565b6139e65760405162461bcd60e51b815260206004820152601c60248201527f53656e64657220646f65736e2774206f776e20726873206f6e206f70000000006044820152606401610a4e565b5f6139f18560081c90565b90505f6139fe8560081c90565b90505f613a0b8560081c90565b905060ff831615613a5e5760405162461bcd60e51b815260206004820152601860248201527f556e737570706f72746564207479706520666f72206c687300000000000000006044820152606401610a4e565b8060ff168260ff1614613ad95760405162461bcd60e51b815260206004820152602560248201527f496e636f6d70617469626c6520747970657320666f72206d6964646c6520616e60448201527f64207268730000000000000000000000000000000000000000000000000000006064820152608401610a4e565b8787878773339ece85b9e11a3a3aa557582784a15d7f82aaf246604051602001613b0896959493929190614622565b60408051601f198184030181529190528051602090910120935061ffff198416600883901b61ff0016176040516346ce4e4960e11b81526004810182905233602482015290945073339ece85b9e11a3a3aa557582784a15d7f82aaf290638d9c9c92906044015f604051808303815f87803b158015613b85575f80fd5b505af1158015613b97573d5f803e3d5ffd5b50505050505050949350505050565b5f8082118015613bc05750613bbc60018361448d565b8216155b92915050565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613c0e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613c3a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613c5857662386f26fc10000830492506010015b6305f5e1008310613c70576305f5e100830492506008015b6127108310613c8457612710830492506004015b60648310613c96576064830492506002015b600a8310613bc05760010192915050565b613cb082613deb565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115613cf4576130298282613e61565b61177f613ed3565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611a1857604051631afcd79f60e31b815260040160405180910390fd5b613dc2613d6c565b6001600160a01b038116611a5657604051631e4fbdf760e01b81525f6004820152602401610a4e565b806001600160a01b03163b5f03613e2057604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610a4e565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b031684604051613e7d9190614668565b5f60405180830381855af49150503d805f8114613eb5576040519150601f19603f3d011682016040523d82523d5f602084013e613eba565b606091505b5091509150613eca858383613ef2565b95945050505050565b3415611a185760405163b398979f60e01b815260040160405180910390fd5b606082613f0757613f0282613f51565b613f4a565b8151158015613f1e57506001600160a01b0384163b155b15613f4757604051639996b31560e01b81526001600160a01b0385166004820152602401610a4e565b50805b9392505050565b805115613f615780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160f81b031981168114613f91575f80fd5b919050565b5f805f60608486031215613fa8575f80fd5b8335925060208401359150613fbf60408501613f7a565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112613feb575f80fd5b813567ffffffffffffffff8082111561400657614006613fc8565b604051601f8301601f19908116603f0116810190828211818310171561402e5761402e613fc8565b81604052838152866020858801011115614046575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f60608486031215614077575f80fd5b83359250602084013567ffffffffffffffff811115614094575f80fd5b6140a086828701613fdc565b925050613fbf60408501613f7a565b5f5b838110156140c95781810151838201526020016140b1565b50505f910152565b5f81518084526140e88160208601602086016140af565b601f01601f19169290920160200192915050565b602081525f613f4a60208301846140d1565b5f6020828403121561411e575f80fd5b5035919050565b80356001600160a01b0381168114613f91575f80fd5b5f805f806080858703121561414e575f80fd5b8435935061415e60208601614125565b9250604085013567ffffffffffffffff811115614179575f80fd5b61418587828801613fdc565b92505061419460608601613f7a565b905092959194509250565b5f80604083850312156141b0575f80fd5b823591506141c060208401613f7a565b90509250929050565b5f80604083850312156141da575f80fd5b6141e383614125565b9150602083013567ffffffffffffffff8111156141fe575f80fd5b61420a85828601613fdc565b9150509250929050565b5f60208284031215614224575f80fd5b613f4a82613f7a565b5f6020828403121561423d575f80fd5b613f4a82614125565b5f805f60608486031215614258575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215614280575f80fd5b823567ffffffffffffffff811115614296575f80fd5b6142a285828601613fdc565b9250506141c060208401613f7a565b5f602082840312156142c1575f80fd5b81518015158114613f4a575f80fd5b601c81106142ec57634e487b7160e01b5f52602160045260245ffd5b60f81b9052565b6142fd81886142d0565b8560018201525f8551614317816021850160208a016140af565b6001600160f81b0319959095166021929095019182019490945260609290921b6bffffffffffffffffffffffff191660228301526036820152605601949350505050565b5f855161436c818460208a016140af565b61103b60f11b908301908152855161438b816002840160208a016140af565b808201915050601760f91b80600283015285516143af816003850160208a016140af565b600392019182015283516143ca8160048401602088016140af565b016004019695505050505050565b5f6001600160a01b038086511683528060208701511660208401528060408701511660408401525083606083015260a06080830152613eca60a08301846140d1565b5f6020828403121561442a575f80fd5b5051919050565b61443b81876142d0565b60018101949094526001600160f81b031992909216602184015260601b6bffffffffffffffffffffffff191660228301526036820152605601919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115613bc057613bc0614479565b6144aa81856142d0565b6001600160f81b03199290921660018301526fffffffffffffffffffffffffffffffff19166002820152601201919050565b5f600182016144ed576144ed614479565b5060010190565b6144fe81876142d0565b5f8551614512816001850160208a016140af565b6001600160f81b0319959095166001929095019182019490945260609290921b6bffffffffffffffffffffffff1916600283015260168201526036019392505050565b61455f81866142d0565b60018101939093526001600160f81b03199190911660218301526fffffffffffffffffffffffffffffffff19166022820152603201919050565b6145a381886142d0565b600181019590955260218501939093526001600160f81b031991909116604184015260601b6bffffffffffffffffffffffff191660428301526056820152607601919050565b6145f381866142d0565b600181019390935260609190911b6bffffffffffffffffffffffff191660218301526035820152605501919050565b61462c81886142d0565b60018101959095526021850193909352604184019190915260601b6bffffffffffffffffffffffff191660618301526075820152609501919050565b5f82516146798184602087016140af565b919091019291505056fe0000000000000000000000006d5a11ac509c707c00bc3a0a113accc26c532547a164736f6c6343000818000a"; - -type TFHEExecutorUpgradedExampleConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHEExecutorUpgradedExampleConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHEExecutorUpgradedExample__factory extends ContractFactory { - constructor(...args: TFHEExecutorUpgradedExampleConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHEExecutorUpgradedExample & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): TFHEExecutorUpgradedExample__factory { - return super.connect(runner) as TFHEExecutorUpgradedExample__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHEExecutorUpgradedExampleInterface { - return new Interface(_abi) as TFHEExecutorUpgradedExampleInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHEExecutorUpgradedExample { - return new Contract( - address, - _abi, - runner - ) as unknown as TFHEExecutorUpgradedExample; - } -} diff --git a/contracts/types/factories/examples/TestAsyncDecrypt__factory.ts b/contracts/types/factories/examples/TestAsyncDecrypt__factory.ts deleted file mode 100644 index c97baeef..00000000 --- a/contracts/types/factories/examples/TestAsyncDecrypt__factory.ts +++ /dev/null @@ -1,1184 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - TestAsyncDecrypt, - TestAsyncDecryptInterface, -} from "../../examples/TestAsyncDecrypt"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "decryptedInput", - type: "address", - }, - ], - name: "callbackAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "address", - name: "decryptedInput1", - type: "address", - }, - { - internalType: "address", - name: "decryptedInput2", - type: "address", - }, - ], - name: "callbackAddresses", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bool", - name: "decryptedInput", - type: "bool", - }, - ], - name: "callbackBool", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bool", - name: "decryptedInput", - type: "bool", - }, - ], - name: "callbackBoolInfinite", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bool", - name: "decryptedInput", - type: "bool", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "callbackBoolTrustless", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedInput", - type: "bytes", - }, - ], - name: "callbackBytes128", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedInput", - type: "bytes", - }, - ], - name: "callbackBytes256", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedInput", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "callbackBytes256Trustless", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedInput", - type: "bytes", - }, - ], - name: "callbackBytes64", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bool", - name: "decBool_1", - type: "bool", - }, - { - internalType: "bool", - name: "decBool_2", - type: "bool", - }, - { - internalType: "uint8", - name: "decUint4", - type: "uint8", - }, - { - internalType: "uint8", - name: "decUint8", - type: "uint8", - }, - { - internalType: "uint16", - name: "decUint16", - type: "uint16", - }, - { - internalType: "uint32", - name: "decUint32", - type: "uint32", - }, - { - internalType: "uint64", - name: "decUint64_1", - type: "uint64", - }, - { - internalType: "uint64", - name: "decUint64_2", - type: "uint64", - }, - { - internalType: "uint64", - name: "decUint64_3", - type: "uint64", - }, - { - internalType: "address", - name: "decAddress", - type: "address", - }, - ], - name: "callbackMixed", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "bool", - name: "decBool", - type: "bool", - }, - { - internalType: "address", - name: "decAddress", - type: "address", - }, - { - internalType: "bytes", - name: "bytesRes", - type: "bytes", - }, - { - internalType: "bytes", - name: "bytesRes2", - type: "bytes", - }, - ], - name: "callbackMixedBytes256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bool", - name: "decBool", - type: "bool", - }, - { - internalType: "bytes", - name: "bytesRes", - type: "bytes", - }, - { - internalType: "address", - name: "decAddress", - type: "address", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "callbackMixedBytes256Trustless", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint128", - name: "decryptedInput", - type: "uint128", - }, - ], - name: "callbackUint128", - outputs: [ - { - internalType: "uint128", - name: "", - type: "uint128", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint16", - name: "decryptedInput", - type: "uint16", - }, - ], - name: "callbackUint16", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "decryptedInput", - type: "uint256", - }, - ], - name: "callbackUint256", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "uint32", - name: "decryptedInput", - type: "uint32", - }, - ], - name: "callbackUint32", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint8", - name: "decryptedInput", - type: "uint8", - }, - ], - name: "callbackUint4", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint64", - name: "decryptedInput", - type: "uint64", - }, - ], - name: "callbackUint64", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint8", - name: "decryptedInput", - type: "uint8", - }, - ], - name: "callbackUint8", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "latestRequestID", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "requestAddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestBool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestBoolAboveDelay", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestBoolInfinite", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestBoolTrustless", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestEbytes128NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "value", - type: "bytes", - }, - ], - name: "requestEbytes128Trivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestEbytes256NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestEbytes256NonTrivialTrustless", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "value", - type: "bytes", - }, - ], - name: "requestEbytes256Trivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestEbytes64NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "value", - type: "bytes", - }, - ], - name: "requestEbytes64Trivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeAddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeBool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeUint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeUint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeUint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeUint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestFakeUint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "input1", - type: "uint32", - }, - { - internalType: "uint32", - name: "input2", - type: "uint32", - }, - ], - name: "requestMixed", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestMixedBytes256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestMixedBytes256Trustless", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestSeveralAddresses", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestUint128NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestUint256NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "input1", - type: "uint32", - }, - { - internalType: "uint32", - name: "input2", - type: "uint32", - }, - ], - name: "requestUint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "requestUint64NonTrivial", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "requestUint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "yAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yAddress2", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBool", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes128", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes256", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yBytes64", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint128", - outputs: [ - { - internalType: "uint128", - name: "", - type: "uint128", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint16", - outputs: [ - { - internalType: "uint16", - name: "", - type: "uint16", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint256", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint32", - outputs: [ - { - internalType: "uint32", - name: "", - type: "uint32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint4", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint64", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint64_2", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint64_3", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "yUint8", - outputs: [ - { - internalType: "uint8", - name: "", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200017b620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80515f805160206200432283398151915280546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b7f93ab6e17f2c461cce6ea5d4ec117e51dda77a64affc2b2c05f8cd440def0e70080546001600160a01b03191673096b4679d45fb675d4e2c1e4565009cec99a12b1179055620001cc60016200035c565b600a819055620001dc9062000381565b620001e860046200038d565b600b819055620001f89062000381565b62000204602a6200039b565b600c819055620002149062000381565b620002206010620003a9565b600d819055620002309062000381565b6200023c6020620003b7565b600e8190556200024c9062000381565b6200025e6010600160401b03620003c5565b600f8190556200026e9062000381565b6200027e6411d440e13a620003c5565b60108190556200028e9062000381565b6200029b611900620003c5565b6011819055620002ab9062000381565b620002c36c10000000000000000000000043620003d3565b6012819055620002d39062000381565b620002e56043600160ea1b01620003e1565b6015819055620002f59062000381565b62000314738ba1f109551bd432803012645ac136ddd64dba72620003ef565b6013819055620003249062000381565b6200034373f48b8840387ba3809dae990c930f3b4766a86ca3620003ef565b6014819055620003539062000381565b6200055b565b50565b5f8115620003765762000370600162000406565b92915050565b620003705f62000406565b62000359813062000413565b5f620003708260016200048c565b5f620003708260026200048c565b5f620003708260036200048c565b5f620003708260046200048c565b5f620003708260056200048c565b5f620003708260066200048c565b5f620003708260086200048c565b5f620003706001600160a01b03831660076200048c565b5f6200037082826200048c565b5f5f80516020620043228339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b15801562000470575f80fd5b505af115801562000483573d5f803e3d5ffd5b50505050505050565b5f805f80516020620043228339815191526001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af115801562000515573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200053b919062000543565b949350505050565b5f6020828403121562000554575f80fd5b5051919050565b613db980620005695f395ff3fe608060405234801561000f575f80fd5b5060043610610427575f3560e01c80639afbe86111610229578063d16444eb1161012e578063f183f84d116100c3578063f7d25d5711610093578063fd05702b11610079578063fd05702b14610901578063fea7197914610909578063ffcbf81514610911575f80fd5b8063f7d25d57146108dc578063faa776f5146108ee575f80fd5b8063f183f84d1461087a578063f459e61b146108a3578063f5020b9f146108b6578063f5cc5a57146108c9575f80fd5b8063e572a526116100fe578063e572a52614610839578063e6a6ee461461084c578063ea1106ca1461085f578063ea61814e14610872575f80fd5b8063d16444eb146107ed578063d258d88714610800578063d2f2150d14610813578063e4dc796914610826575f80fd5b8063c16d7f6b116101be578063c8779aca1161018e578063cc9df9f111610174578063cc9df9f1146107d5578063ccabe3cf146107dd578063cfde774a146107e5575f80fd5b8063c8779aca14610784578063cb76288d1461078c575f80fd5b8063c16d7f6b14610741578063c375d83714610754578063c39f47e514610767578063c6157fbb1461077c575f80fd5b8063a509922e116101f9578063a509922e1461070b578063a598bc901461071e578063bdc136a914610726578063be9daa481461072e575f80fd5b80639afbe861146106c75780639b77d449146106cf5780639cec1b61146106d7578063a4b42fd9146106f8575f80fd5b8063580ccfc51161032f57806374262db9116102c45780638037328611610294578063875afd0f1161027a578063875afd0f146106a45780638ac573d8146106ac5780638f83ef7a146106bf575f80fd5b8063803732861461067e57806381bd490614610691575f80fd5b806374262db91461060d57806377309623146106205780637752a687146106485780637bcbc6de14610651575f80fd5b806367c71a2b116102ff57806367c71a2b146105cc5780636c8f69cf146105df5780636da8b1a4146105f25780637266e5e714610605575f80fd5b8063580ccfc5146105965780635a1d3bea1461059e5780635a8aaf42146105b157806365ca0636146105c4575f80fd5b8063323566a5116103bf5780634838a5c81161038f5780634c4ef3c9116103755780634c4ef3c9146105735780635022a5401461057b57806354dc83dc1461058e575f80fd5b80634838a5c8146105535780634baa078214610566575f80fd5b8063323566a5146105045780633a5ff6b0146105175780633db09e621461051f5780633ffcf52a14610528575f80fd5b80631d57abf4116103fa5780631d57abf41461047a57806323752ca71461049a57806324d4e824146104bb5780632c3c59f8146104e1575f80fd5b8063031165ca1461042b5780630526e1f114610435578063147206861461045f57806318288c7814610472575b5f80fd5b61043361092a565b005b61044861044336600461327f565b610993565b60405160ff90911681526020015b60405180910390f35b6016546104489062010000900460ff1681565b6104336109ed565b61048d6104883660046132ee565b610a6c565b6040516104569190613379565b6104ad6104a836600461338b565b610af4565b604051908152602001610456565b6104ce6104c93660046133bc565b610b3a565b60405161ffff9091168152602001610456565b6104f46104ef3660046133ed565b610b95565b6040519015158152602001610456565b6104336105123660046132ee565b610be9565b610433610cee565b6104ad601a5481565b60195461053b906001600160a01b031681565b6040516001600160a01b039091168152602001610456565b61053b610561366004613431565b610d4f565b6016546104f49060ff1681565b61048d610dc3565b6104336105893660046132ee565b610e4f565b610433610eea565b610433610f49565b6104336105ac3660046132ee565b610fa8565b6104336105bf3660046132ee565b611043565b61048d6110de565b6104336105da36600461346a565b6110eb565b6104336105ed3660046135e8565b611194565b610433610600366004613686565b6112cf565b6104336114a0565b61043361061b3660046132ee565b611517565b61063361062e3660046136ae565b6115b2565b60405163ffffffff9091168152602001610456565b6104ad601e5481565b6017546106659067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610456565b61043361068c36600461346a565b611660565b61043361069f36600461346a565b611702565b6104336117a4565b6104336106ba3660046132ee565b6117f8565b610433611894565b6104336118f3565b610433611952565b601654610665906901000000000000000000900467ffffffffffffffff1681565b61044861070636600461327f565b6119b1565b6104f46107193660046133ed565b611a06565b610433611a55565b610433611aa9565b61044861073c3660046136e6565b611b20565b61066561074f3660046137a8565b611d3b565b61048d6107623660046132ee565b611dae565b6016546104ce906301000000900461ffff1681565b610433611df7565b61048d611e4b565b6017546107b4906801000000000000000090046fffffffffffffffffffffffffffffffff1681565b6040516fffffffffffffffffffffffffffffffff9091168152602001610456565b610433611e58565b610433611eb7565b610433611f2e565b61048d6107fb3660046132ee565b611f6a565b61043361080e3660046132ee565b611fb3565b61048d6108213660046137c9565b61204e565b610433610834366004613837565b6121ae565b61053b6108473660046138b5565b612212565b6104f461085a3660046138d6565b61226e565b61043361086d3660046132ee565b61239a565b610433612435565b6016546106659071010000000000000000000000000000000000900467ffffffffffffffff1681565b6104336108b1366004613686565b61246d565b60185461053b906001600160a01b031681565b6107b46108d736600461392b565b6124cd565b60165461044890610100900460ff1681565b6104336108fc3660046132ee565b612555565b61043361268c565b6104336126c8565b6016546106339065010000000000900463ffffffff1681565b6040805160018082528183019092525f9160208083019080368337019050509050610954600d5490565b815f8151811061096657610966613962565b602090810291909101015261098f816309353a0960e21b5f61098942606461398a565b5f612739565b5050565b5f6109b25f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146109ce575f80fd5b506016805462ff000019166201000060ff841602179055805b92915050565b6040805160028082526060820183525f92602083019080368337019050509050610a1660135490565b815f81518110610a2857610a28613962565b602090810291909101015260145481600181518110610a4957610a49613962565b602090810291909101015261098f8163090714b960e31b5f61098942606461398a565b6060610a8c5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614610aa8575f80fd5b601c610ab5838583613a19565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525092979650505050505050565b5f610b135f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614610b2f575f80fd5b50601a819055919050565b5f610b595f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614610b75575f80fd5b506016805464ffff0000001916630100000061ffff841602179055919050565b5f610bb45f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614610bd0575f80fd5b506016805460ff1916911515918217905560ff16919050565b5f610c298484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061285092505050565b604080516003808252608082019092529192505f919060208201606080368337019050509050610c58600a5490565b815f81518110610c6a57610c6a613962565b60209081029190910101528181600181518110610c8957610c89613962565b602090810291909101015260135481600281518110610caa57610caa613962565b60209081029190910101525f610cd582636c8f69cf60e01b83610cce42606461398a565b6001612739565b601e8190559050610ce68183612864565b505050505050565b6040805160018082528183019092525f9160208083019080368337019050509050610d18600a5490565b815f81518110610d2a57610d2a613962565b602090810291909101015261098f816305878b3f60e31b5f610989426202a30061398a565b5f610d6e5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614610d8a575f80fd5b50601880546001600160a01b038085166001600160a01b0319928316179092556019805492841692909116919091179055819392505050565b601d8054610dd09061399d565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfc9061399d565b8015610e475780601f10610e1e57610100808354040283529160200191610e47565b820191905f5260205f20905b815481529060010190602001808311610e2a57829003601f168201915b505050505081565b5f610e8f8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506128e292505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f81518110610ec757610ec7613962565b6020908102919091010152610ce68163c375d83760e01b5f61098942606461398a565b6040805160018082528183019092525f9160208083019080368337019050509050610f14600c5490565b815f81518110610f2657610f26613962565b602090810291909101015261098f81630526e1f160e01b5f61098942606461398a565b6040805160018082528183019092525f9160208083019080368337019050509050610f7360125490565b815f81518110610f8557610f85613962565b602090810291909101015261098f8163f5cc5a5760e01b5f61098942606461398a565b5f610fe88484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506128ef92505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061102057611020613962565b6020908102919091010152610ce6816323752ca760e01b5f61098942606461398a565b5f6110838484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506128fc92505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f815181106110bb576110bb613962565b6020908102919091010152610ce681630755eafd60e21b5f61098942606461398a565b601b8054610dd09061399d565b5f61113261112d84848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061290992505050565b612a40565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061116a5761116a613962565b602090810291909101015261118d8163d16444eb60e01b5f61098942606461398a565b5050505050565b5f80516020613d8d833981519152546001600160a01b031633146111b6575f80fd5b84601e54146112165760405162461bcd60e51b815260206004820152602160248201527f77726f6e672072657175657374494420706173736564206279204761746577616044820152607960f81b60648201526084015b60405180910390fd5b5f611222601e54612a4c565b90505f61122f8284612b2d565b9050806112905760405162461bcd60e51b815260206004820152602960248201527f4b4d5320646964206e6f742076657269667920746869732064656372797074696044820152681bdb881c995cdd5b1d60ba1b606482015260840161120d565b6016805460ff1916871515179055601880546001600160a01b0319166001600160a01b038616179055601d6112c58682613ad3565b5050505050505050565b60408051600a80825261016082019092525f9160208201610140803683370190505090506112fc600a5490565b815f8151811061130e5761130e613962565b6020908102919091010152600a548160018151811061132f5761132f613962565b6020908102919091010152600b548160028151811061135057611350613962565b6020908102919091010152600c548160038151811061137157611371613962565b6020908102919091010152600d548160048151811061139257611392613962565b6020908102919091010152600e54816005815181106113b3576113b3613962565b6020908102919091010152600f54816006815181106113d4576113d4613962565b6020908102919091010152600f54816007815181106113f5576113f5613962565b6020908102919091010152600f548160088151811061141657611416613962565b60209081029190910101526013548160098151811061143757611437613962565b60209081029190910101525f61145b826317d3b54960e31b8361098942606461398a565b5f90815260086020908152604082208054600180820183558285529290932063ffffffff97881693810193909355805491820190559390941692909301919091555050565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000400815f815181106114f4576114f4613962565b602090810291909101015261098f81637730962360e01b5f61098942606461398a565b5f6115578484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250612c5e92505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061158f5761158f613962565b6020908102919091010152610ce68163f5cc5a5760e01b5f61098942606461398a565b5f6115d15f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146115ed575f80fd5b5f6115f784612c6b565b90505f838260018151811061160e5761160e613962565b6020026020010151835f8151811061162857611628613962565b60200260200101510101905080601660056101000a81548163ffffffff021916908363ffffffff160217905550809250505092915050565b5f6116a76116a284848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250612cc892505050565b612df2565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f815181106116df576116df613962565b602090810291909101015261118d81630755eafd60e21b5f61098942606461398a565b5f61174961174484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250612dfe92505050565b612f25565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061178157611781613962565b602090810291909101015261118d8163c375d83760e01b5f61098942606461398a565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000300815f8151811061096657610966613962565b5f6118388484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061285092505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061187057611870613962565b60209081029190910101525f610cd58263d2f2150d60e01b83610cce42606461398a565b6040805160018082528183019092525f91602080830190803683370190505090506118be600f5490565b815f815181106118d0576118d0613962565b602090810291909101015261098f8163c16d7f6b60e01b5f61098942606461398a565b6040805160018082528183019092525f916020808301908036833701905050905061191d60155490565b815f8151811061192f5761192f613962565b602090810291909101015261098f816323752ca760e01b5f61098942606461398a565b6040805160018082528183019092525f916020808301908036833701905050905061197c600a5490565b815f8151811061198e5761198e613962565b602090810291909101015261098f81635284c91760e11b5f61098942606461398a565b5f6119d05f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146119ec575f80fd5b506016805461ff00191661010060ff841602179055919050565b5f611a255f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614611a41575f80fd5b5f5b80611a4d81613b8f565b915050611a43565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000200815f81518110610f2657610f26613962565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000100815f81518110611afd57611afd613962565b602090810291909101015261098f8163a4b42fd960e01b5f61098942606461398a565b5f611b3f5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614611b5b575f80fd5b6016805460ff19168c15159081179091558a151514611baf5760405162461bcd60e51b815260206004820152601060248201526f2bb937b733903232b1b93cb83a34b7b760811b604482015260640161120d565b6016805462ffff00191661010060ff8c81169190910262ff000019169190911762010000918b16919091021764ffff0000001916630100000061ffff8a16021790555f611bfb8d612c6b565b90505f8782600181518110611c1257611c12613962565b6020026020010151835f81518110611c2c57611c2c613962565b60209081029190910101516016805470ffffffffffffffffffffffff0000000000191665010000000000939092019390930163ffffffff169190910270ffffffffffffffff000000000000000000191617690100000000000000000067ffffffffffffffff8a81169182029290921790925587161490508015611cc257508367ffffffffffffffff168567ffffffffffffffff16145b611d015760405162461bcd60e51b815260206004820152601060248201526f2bb937b733903232b1b93cb83a34b7b760811b604482015260640161120d565b5050601880546001600160a01b0383166001600160a01b031990911617905560165460ff610100909104169b9a5050505050505050505050565b5f611d5a5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614611d76575f80fd5b506016805470ffffffffffffffff0000000000000000001916690100000000000000000067ffffffffffffffff841602179055919050565b6060611dce5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614611dea575f80fd5b601b610ab5838583613a19565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000500815f815181106118d0576118d0613962565b601c8054610dd09061399d565b6040805160018082528183019092525f9160208083019080368337019050509050611e82600a5490565b815f81518110611e9457611e94613962565b602090810291909101015261098f816305878b3f60e31b5f61098942606461398a565b6040805160018082528183019092525f91602080830190803683370190505090507f4200000000000000000000000000000000000000000000000000000000000700815f81518110611f0b57611f0b613962565b602090810291909101015261098f816372b9529360e11b5f61098942606461398a565b6040805160018082528183019092525f9160208083019080368337019050509050611f58600b5490565b815f81518110611afd57611afd613962565b6060611f8a5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614611fa6575f80fd5b601d610ab5838583613a19565b5f611ff38484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250612f3192505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061202b5761202b613962565b6020908102919091010152610ce68163c16d7f6b60e01b5f61098942606461398a565b606061206e5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b03161461208a575f80fd5b84601e54146120e55760405162461bcd60e51b815260206004820152602160248201527f77726f6e672072657175657374494420706173736564206279204761746577616044820152607960f81b606482015260840161120d565b5f6120f1601e54612a4c565b90505f6120fe8285612b2d565b90508061215f5760405162461bcd60e51b815260206004820152602960248201527f4b4d5320646964206e6f742076657269667920746869732064656372797074696044820152681bdb881c995cdd5b1d60ba1b606482015260840161120d565b601d61216c868883613a19565b5085858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250929a9950505050505050505050565b5f80516020613d8d833981519152546001600160a01b031633146121d0575f80fd5b6016805460ff1916851515179055601880546001600160a01b0319166001600160a01b038516179055601d6122058382613ad3565b50601b610ce68282613ad3565b5f6122315f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b03161461224d575f80fd5b50601880546001600160a01b0319166001600160a01b038316179055919050565b5f61228d5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b0316146122a9575f80fd5b83601e54146123045760405162461bcd60e51b815260206004820152602160248201527f77726f6e672072657175657374494420706173736564206279204761746577616044820152607960f81b606482015260840161120d565b5f612310601e54612a4c565b90505f61231d8285612b2d565b90508061237e5760405162461bcd60e51b815260206004820152602960248201527f4b4d5320646964206e6f742076657269667920746869732064656372797074696044820152681bdb881c995cdd5b1d60ba1b606482015260840161120d565b50506016805460ff19169315159384179055505060ff16919050565b5f6123da8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061285092505050565b6040805160018082528183019092529192505f91906020808301908036833701905050905081815f8151811061241257612412613962565b6020908102919091010152610ce68163d16444eb60e01b5f61098942606461398a565b6040805160018082528183019092525f9160208083019080368337019050509050602160f91b815f81518110611e9457611e94613962565b6040805160018082528183019092525f9160208083019080368337019050509050612497600e5490565b815f815181106124a9576124a9613962565b60209081029190910101525f61145b82637730962360e01b8361098942606461398a565b5f6124ec5f80516020613d8d833981519152546001600160a01b031690565b6001600160a01b0316336001600160a01b031614612508575f80fd5b50601780547fffffffffffffffff00000000000000000000000000000000ffffffffffffffff16680100000000000000006fffffffffffffffffffffffffffffffff841602179055919050565b5f6125958484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061285092505050565b60408051600480825260a082019092529192505f9190602082016080803683370190505090506125c4600a5490565b815f815181106125d6576125d6613962565b6020908102919091010152601354816001815181106125f7576125f7613962565b6020908102919091010152818160028151811061261657612616613962565b6020026020010181815250505f61264a61174460405180604001604052806003815260200162557fa160e91b815250612dfe565b9050808260038151811061266057612660613962565b60209081029190910101526126838263e4dc796960e01b5f61098942606461398a565b50505050505050565b6040805160018082528183019092525f91602080830190803683370190505090506126b660135490565b815f81518110611f0b57611f0b613962565b6040805160018082528183019092525f91602080830190803683370190505090506126f2600a5490565b815f8151811061270457612704613962565b60209081029190910101525f61272882637353772360e11b83610cce42606461398a565b601e819055905061098f8183612864565b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600805460405163155f840160e21b81525f92916001600160a01b03169063557e10049061278a908a90600401613be1565b5f604051808303815f87803b1580156127a1575f80fd5b505af11580156127b3573d5f803e3d5ffd5b505050505f6127cc5f80516020613d8d83398151915290565b8054604051634c0d927760e01b81529192506001600160a01b031690634c0d927790612804908b908b908b908b908b90600401613bf3565b6020604051808303815f875af1158015612820573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128449190613c4d565b98975050505050505050565b5f61285d8383600b612f3a565b9392505050565b5f82815260096020526040902054156128bf5760405162461bcd60e51b815260206004820152601f60248201527f7265717565737465642068616e646c657320616c726561647920736176656400604482015260640161120d565b5f82815260096020908152604090912082516128dd9284019061320d565b505050565b5f61285d83836009612f3a565b5f61285d83836008612f3a565b5f61285d8383600a612f3a565b60606101008251111561295e5760405162461bcd60e51b815260206004820152601760248201527f496e707574206578636565647320323536206279746573000000000000000000604482015260640161120d565b6040805161010080825261012082019092525f916020820181803683370190505090505f83516101006129919190613c64565b90505f5b818110156129d1575f60f81b8382815181106129b3576129b3613962565b60200101906001600160f81b03191690815f1a905350600101612995565b505f5b8451811015612a37578481815181106129ef576129ef613962565b01602001516001600160f81b03191683612a09838561398a565b81518110612a1957612a19613962565b60200101906001600160f81b03191690815f1a9053506001016129d4565b50909392505050565b5f6109e782600b61305e565b5f8181526009602052604081205460609103612ad05760405162461bcd60e51b815260206004820152603360248201527f7265717565737465642068616e646c65732077657265206e6f7420736176656460448201527f20666f7220746869732072657175657374494400000000000000000000000000606482015260840161120d565b5f8281526009602090815260409182902080548351818402810184019094528084529091830182828015612b2157602002820191905f5260205f20905b815481526020019060010190808311612b0d575b50505050509050919050565b5f602481612b3a8561311f565b90505f8167ffffffffffffffff811115612b5657612b566134a9565b6040519080825280601f01601f191660200182016040528015612b80576020820181803683370190505b509050818360208301377fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6035460405163dd66628760e01b81527fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600916001600160a01b03169063dd66628790612c139073339ece85b9e11a3a3aa557582784a15d7f82aaf2908b9087908c90600401613c77565b6020604051808303815f875af1158015612c2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c539190613d0c565b979650505050505050565b5f61285d83836006612f3a565b5f81815260086020908152604091829020805483518184028101840190945280845260609392830182828015612b2157602002820191905f5260205f2090815481526020019060010190808311612b0d5750505050509050919050565b6060608082511115612d1c5760405162461bcd60e51b815260206004820152601760248201527f496e707574206578636565647320313238206279746573000000000000000000604482015260640161120d565b60408051608080825260a082019092525f916020820181803683370190505090505f83516080612d4c9190613c64565b90505f5b81811015612d8c575f60f81b838281518110612d6e57612d6e613962565b60200101906001600160f81b03191690815f1a905350600101612d50565b505f5b8451811015612a3757848181518110612daa57612daa613962565b01602001516001600160f81b03191683612dc4838561398a565b81518110612dd457612dd4613962565b60200101906001600160f81b03191690815f1a905350600101612d8f565b5f6109e782600a61305e565b6060604082511115612e525760405162461bcd60e51b815260206004820152601660248201527f496e707574206578636565647320363420627974657300000000000000000000604482015260640161120d565b604080518181526060810182525f916020820181803683370190505090505f83516040612e7f9190613c64565b90505f5b81811015612ebf575f60f81b838281518110612ea157612ea1613962565b60200101906001600160f81b03191690815f1a905350600101612e83565b505f5b8451811015612a3757848181518110612edd57612edd613962565b01602001516001600160f81b03191683612ef7838561398a565b81518110612f0757612f07613962565b60200101906001600160f81b03191690815f1a905350600101612ec2565b5f6109e782600961305e565b5f61285d838360055b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601546040516302e817ff60e41b81525f917fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600916001600160a01b0390911690632e817ff090612fb79088903390899060f88a901b90600401613d27565b6020604051808303815f875af1158015612fd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ff79190613c4d565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015613040575f80fd5b505af1158015613052573d5f803e3d5ffd5b50505050509392505050565b7fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6015460405163e0c5cbb360e01b81525f917fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600916001600160a01b039091169063e0c5cbb3906130d790879060f888901b90600401613d65565b6020604051808303815f875af11580156130f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131179190613c4d565b949350505050565b80515f9081805b82811015613201575f600886838151811061314357613143613962565b6020026020010151901c905060098160ff16101561316d5761316660208461398a565b92506131f8565b8060ff166009036131835761316660808461398a565b8060ff16600a036131995761316660c08461398a565b8060ff16600b036131b0576131666101408461398a565b60405162461bcd60e51b815260206004820152601760248201527f556e737570706f727465642068616e646c652074797065000000000000000000604482015260640161120d565b50600101613126565b5061311760208261398a565b828054828255905f5260205f20908101928215613246579160200282015b8281111561324657825182559160200191906001019061322b565b50613252929150613256565b5090565b5b80821115613252575f8155600101613257565b803560ff8116811461327a575f80fd5b919050565b5f8060408385031215613290575f80fd5b823591506132a06020840161326a565b90509250929050565b5f8083601f8401126132b9575f80fd5b50813567ffffffffffffffff8111156132d0575f80fd5b6020830191508360208285010111156132e7575f80fd5b9250929050565b5f805f60408486031215613300575f80fd5b83359250602084013567ffffffffffffffff81111561331d575f80fd5b613329868287016132a9565b9497909650939450505050565b5f81518084525f5b8181101561335a5760208185018101518683018201520161333e565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f61285d6020830184613336565b5f806040838503121561339c575f80fd5b50508035926020909101359150565b803561ffff8116811461327a575f80fd5b5f80604083850312156133cd575f80fd5b823591506132a0602084016133ab565b80151581146133ea575f80fd5b50565b5f80604083850312156133fe575f80fd5b823591506020830135613410816133dd565b809150509250929050565b80356001600160a01b038116811461327a575f80fd5b5f805f60608486031215613443575f80fd5b833592506134536020850161341b565b91506134616040850161341b565b90509250925092565b5f806020838503121561347b575f80fd5b823567ffffffffffffffff811115613491575f80fd5b61349d858286016132a9565b90969095509350505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156134e6576134e66134a9565b604052919050565b5f82601f8301126134fd575f80fd5b813567ffffffffffffffff811115613517576135176134a9565b61352a601f8201601f19166020016134bd565b81815284602083860101111561353e575f80fd5b816020850160208301375f918101602001919091529392505050565b5f82601f830112613569575f80fd5b8135602067ffffffffffffffff80831115613586576135866134a9565b8260051b6135958382016134bd565b93845285810183019383810190888611156135ae575f80fd5b84880192505b85831015612844578235848111156135ca575f80fd5b6135d88a87838c01016134ee565b83525091840191908401906135b4565b5f805f805f60a086880312156135fc575f80fd5b85359450602086013561360e816133dd565b9350604086013567ffffffffffffffff8082111561362a575f80fd5b61363689838a016134ee565b94506136446060890161341b565b93506080880135915080821115613659575f80fd5b506136668882890161355a565b9150509295509295909350565b803563ffffffff8116811461327a575f80fd5b5f8060408385031215613697575f80fd5b6136a083613673565b91506132a060208401613673565b5f80604083850312156136bf575f80fd5b823591506132a060208401613673565b803567ffffffffffffffff8116811461327a575f80fd5b5f805f805f805f805f805f6101608c8e031215613701575f80fd5b8b359a5060208c0135613713816133dd565b995060408c0135613723816133dd565b985061373160608d0161326a565b975061373f60808d0161326a565b965061374d60a08d016133ab565b955061375b60c08d01613673565b945061376960e08d016136cf565b93506137786101008d016136cf565b92506137876101208d016136cf565b91506137966101408d0161341b565b90509295989b509295989b9093969950565b5f80604083850312156137b9575f80fd5b823591506132a0602084016136cf565b5f805f80606085870312156137dc575f80fd5b84359350602085013567ffffffffffffffff808211156137fa575f80fd5b613806888389016132a9565b9095509350604087013591508082111561381e575f80fd5b5061382b8782880161355a565b91505092959194509250565b5f805f805f60a0868803121561384b575f80fd5b85359450602086013561385d816133dd565b935061386b6040870161341b565b9250606086013567ffffffffffffffff80821115613887575f80fd5b61389389838a016134ee565b935060808801359150808211156138a8575f80fd5b50613666888289016134ee565b5f80604083850312156138c6575f80fd5b823591506132a06020840161341b565b5f805f606084860312156138e8575f80fd5b8335925060208401356138fa816133dd565b9150604084013567ffffffffffffffff811115613915575f80fd5b6139218682870161355a565b9150509250925092565b5f806040838503121561393c575f80fd5b8235915060208301356fffffffffffffffffffffffffffffffff81168114613410575f80fd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b808201808211156109e7576109e7613976565b600181811c908216806139b157607f821691505b6020821081036139cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156128dd57805f5260205f20601f840160051c810160208510156139fa5750805b601f840160051c820191505b8181101561118d575f8155600101613a06565b67ffffffffffffffff831115613a3157613a316134a9565b613a4583613a3f835461399d565b836139d5565b5f601f841160018114613a76575f8515613a5f5750838201355b5f19600387901b1c1916600186901b17835561118d565b5f83815260208120601f198716915b82811015613aa55786850135825560209485019460019092019101613a85565b5086821015613ac1575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b815167ffffffffffffffff811115613aed57613aed6134a9565b613b0181613afb845461399d565b846139d5565b602080601f831160018114613b34575f8415613b1d5750858301515b5f19600386901b1c1916600185901b178555610ce6565b5f85815260208120601f198616915b82811015613b6257888601518255948401946001909101908401613b43565b5085821015613b7f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60018201613ba057613ba0613976565b5060010190565b5f815180845260208085019450602084015f5b83811015613bd657815187529582019590820190600101613bba565b509495945050505050565b602081525f61285d6020830184613ba7565b60a081525f613c0560a0830188613ba7565b7fffffffff0000000000000000000000000000000000000000000000000000000096909616602083015250604081019390935260608301919091521515608090910152919050565b5f60208284031215613c5d575f80fd5b5051919050565b818103818111156109e7576109e7613976565b6001600160a01b03851681525f6020608081840152613c996080840187613ba7565b8381036040850152613cab8187613336565b905083810360608501528085518083528383019150838160051b8401018488015f5b83811015613cfb57601f19868403018552613ce9838351613336565b94870194925090860190600101613ccd565b50909b9a5050505050505050505050565b5f60208284031215613d1c575f80fd5b815161285d816133dd565b8481526001600160a01b0384166020820152608060408201525f613d4e6080830185613336565b905060ff60f81b8316606083015295945050505050565b604081525f613d776040830185613336565b905060ff60f81b83166020830152939250505056fe93ab6e17f2c461cce6ea5d4ec117e51dda77a64affc2b2c05f8cd440def0e700a164736f6c6343000818000aed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600"; - -type TestAsyncDecryptConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TestAsyncDecryptConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TestAsyncDecrypt__factory extends ContractFactory { - constructor(...args: TestAsyncDecryptConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TestAsyncDecrypt & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TestAsyncDecrypt__factory { - return super.connect(runner) as TestAsyncDecrypt__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TestAsyncDecryptInterface { - return new Interface(_abi) as TestAsyncDecryptInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TestAsyncDecrypt { - return new Contract(address, _abi, runner) as unknown as TestAsyncDecrypt; - } -} diff --git a/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreateFail__factory.ts b/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreateFail__factory.ts deleted file mode 100644 index fa54139b..00000000 --- a/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreateFail__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { - Signer, - BigNumberish, - ContractDeployTransaction, - ContractRunner, -} from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - SubContractCreateFail, - SubContractCreateFailInterface, -} from "../../../examples/TracingSubCalls.sol/SubContractCreateFail"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "input", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5060405161017438038061017483398101604081905261002e9161015c565b61003781610084565b5060405162461bcd60e51b815260206004820152601d60248201527f5468697320636f6e7374727563746f7220616c77617973206661696c73000000604482015260640160405180910390fd5b5f610090826005610096565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af1158015610130573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610154919061015c565b949350505050565b5f6020828403121561016c575f80fd5b505191905056fe"; - -type SubContractCreateFailConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SubContractCreateFailConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SubContractCreateFail__factory extends ContractFactory { - constructor(...args: SubContractCreateFailConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - input: BigNumberish, - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(input, overrides || {}); - } - override deploy( - input: BigNumberish, - overrides?: NonPayableOverrides & { from?: string } - ) { - return super.deploy(input, overrides || {}) as Promise< - SubContractCreateFail & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): SubContractCreateFail__factory { - return super.connect(runner) as SubContractCreateFail__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SubContractCreateFailInterface { - return new Interface(_abi) as SubContractCreateFailInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): SubContractCreateFail { - return new Contract( - address, - _abi, - runner - ) as unknown as SubContractCreateFail; - } -} diff --git a/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreate__factory.ts b/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreate__factory.ts deleted file mode 100644 index a6f0d11e..00000000 --- a/contracts/types/factories/examples/TracingSubCalls.sol/SubContractCreate__factory.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { - Signer, - BigNumberish, - ContractDeployTransaction, - ContractRunner, -} from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - SubContractCreate, - SubContractCreateInterface, -} from "../../../examples/TracingSubCalls.sol/SubContractCreate"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "input", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5060405161014e38038061014e83398101604081905261002e91610116565b6100378161003e565b505061012d565b5f61004a826005610050565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af11580156100ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061010e9190610116565b949350505050565b5f60208284031215610126575f80fd5b5051919050565b6015806101395f395ff3fe60806040525f80fdfea164736f6c6343000818000a"; - -type SubContractCreateConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SubContractCreateConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SubContractCreate__factory extends ContractFactory { - constructor(...args: SubContractCreateConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - input: BigNumberish, - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(input, overrides || {}); - } - override deploy( - input: BigNumberish, - overrides?: NonPayableOverrides & { from?: string } - ) { - return super.deploy(input, overrides || {}) as Promise< - SubContractCreate & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): SubContractCreate__factory { - return super.connect(runner) as SubContractCreate__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SubContractCreateInterface { - return new Interface(_abi) as SubContractCreateInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): SubContractCreate { - return new Contract(address, _abi, runner) as unknown as SubContractCreate; - } -} diff --git a/contracts/types/factories/examples/TracingSubCalls.sol/SubContract__factory.ts b/contracts/types/factories/examples/TracingSubCalls.sol/SubContract__factory.ts deleted file mode 100644 index 5c4c3445..00000000 --- a/contracts/types/factories/examples/TracingSubCalls.sol/SubContract__factory.ts +++ /dev/null @@ -1,140 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - SubContract, - SubContractInterface, -} from "../../../examples/TracingSubCalls.sol/SubContract"; - -const _abi = [ - { - inputs: [], - name: "fail", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "input", - type: "uint256", - }, - ], - name: "fail2", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "failSucceed", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "invalidFail", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "oogFail", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "succeed", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "succeed2", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "succeedFail", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "succeedSelfDestruct", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "succeedStop", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5061040b8061001d5f395ff3fe608060405234801561000f575f80fd5b50600436106100b9575f3560e01c8063acf495f311610072578063c9a758ef11610058578063c9a758ef146100f7578063d1ea1a5f146100ff578063efe93f6c14610107575f80fd5b8063acf495f3146100e7578063c54e64a3146100ef575f80fd5b8063a1dfaca8116100a2578063a1dfaca8146100cf578063a9cc4718146100d7578063ab218d82146100df575f80fd5b80630f829faa146100bd57806349253342146100c7575b5f80fd5b6100c561011a565b005b6100c5610171565b6100c561017c565b6100c561018c565b6100c56101e5565b6100c56101f0565b6100c56101fb565b6100c561020d565b6100c561021b565b6100c56101153660046103d0565b610273565b61012561025b6102eb565b50604051633bfa4fdb60e21b815261025c6004820152309063efe93f6c906024015f604051808303815f87803b15801561015d575f80fd5b505af192505050801561016e575060015b50565b6100c56102626102eb565b6101876102636102eb565b506001ff5b61019761025a6102eb565b5060405162461bcd60e51b815260206004820152601a60248201527f546869732066756e6374696f6e20616c77617973206661696c7300000000000060448201526064015b60405180910390fd5b61016e6102606102eb565b61016e6102596102eb565b61020661025f6102eb565b505b610208565b6102186102616102eb565b50fe5b604051633bfa4fdb60e21b815261025d6004820152309063efe93f6c906024015f604051808303815f87803b158015610252575f80fd5b505af1158015610264573d5f803e3d5ffd5b5050505061016e61025e6102eb565b61027c816102eb565b5060405162461bcd60e51b815260206004820152602c60248201527f546869732066756e6374696f6e20616c77617973206661696c7320776974682060448201527f637573746f6d20696e707574000000000000000000000000000000000000000060648201526084016101dc565b5f6102f78260056102fd565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b16602482015291925073ffffffffffffffffffffffffffffffffffffffff169063e71746b8906044016020604051808303815f875af11580156103a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c891906103e7565b949350505050565b5f602082840312156103e0575f80fd5b5035919050565b5f602082840312156103f7575f80fd5b505191905056fea164736f6c6343000818000a"; - -type SubContractConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: SubContractConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class SubContract__factory extends ContractFactory { - constructor(...args: SubContractConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - SubContract & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): SubContract__factory { - return super.connect(runner) as SubContract__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SubContractInterface { - return new Interface(_abi) as SubContractInterface; - } - static connect(address: string, runner?: ContractRunner | null): SubContract { - return new Contract(address, _abi, runner) as unknown as SubContract; - } -} diff --git a/contracts/types/factories/examples/TracingSubCalls.sol/TracingSubCalls__factory.ts b/contracts/types/factories/examples/TracingSubCalls.sol/TracingSubCalls__factory.ts deleted file mode 100644 index 40029cf7..00000000 --- a/contracts/types/factories/examples/TracingSubCalls.sol/TracingSubCalls__factory.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TracingSubCalls, - TracingSubCallsInterface, -} from "../../../examples/TracingSubCalls.sol/TracingSubCalls"; - -const _abi = [ - { - inputs: [], - name: "subCalls", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b50610b228061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c806383a2d3771461002d575b5f80fd5b610035610037565b005b61019060405161004690610404565b908152602001604051809103905ff0801561005e5760015b1561006557505b6101f460405161007490610411565b908152602001604051809103905ff0801561008c5760015b1561009357505b5f6040516100a09061041e565b604051809103905ff0801580156100b9573d5f803e3d5ffd5b509050806001600160a01b031663acf495f36040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156100f4575f80fd5b505af1925050508015610105575060015b50806001600160a01b031663a9cc47186040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561013e575f80fd5b505af192505050801561014f575060015b50806001600160a01b0316630f829faa6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610188575f80fd5b505af1925050508015610199575060015b50806001600160a01b031663d1ea1a5f6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156101d2575f80fd5b505af19250505080156101e3575060015b50806001600160a01b031663c54e64a3620186a06040518263ffffffff1660e01b81526004015f604051808303815f88803b158015610220575f80fd5b5087f193505050508015610232575060015b50806001600160a01b031663ab218d826040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561026b575f80fd5b505af192505050801561027c575060015b50806001600160a01b031663c9a758ef6040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156102b5575f80fd5b505af19250505080156102c6575060015b50806001600160a01b031663492533426040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156102ff575f80fd5b505af1925050508015610310575060015b50806001600160a01b031663a1dfaca86040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610349575f80fd5b505af192505050801561035a575060015b507fb9a5dc0048db9a7d13548781df3cd4b2334606391f75f40c14225a92f4cb35376102bc60405161038b90610404565b9081526020018190604051809103905ff5905080156103a75760015b156103ae57505b7fb9a5dc0048db9a7d13548781df3cd4b2334606391f75f40c14225a92f4cb35376103206040516103de90610411565b9081526020018190604051809103905ff5905080156103fa5760015b1561040157505b50565b61014e8061042c83390190565b6101748061057a83390190565b610428806106ee8339019056fe608060405234801561000f575f80fd5b5060405161014e38038061014e83398101604081905261002e91610116565b6100378161003e565b505061012d565b5f61004a826005610050565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af11580156100ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061010e9190610116565b949350505050565b5f60208284031215610126575f80fd5b5051919050565b6015806101395f395ff3fe60806040525f80fdfea164736f6c6343000818000a608060405234801561000f575f80fd5b5060405161017438038061017483398101604081905261002e9161015c565b61003781610084565b5060405162461bcd60e51b815260206004820152601d60248201527f5468697320636f6e7374727563746f7220616c77617973206661696c73000000604482015260640160405180910390fd5b5f610090826005610096565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b1660248201529192506001600160a01b03169063e71746b8906044016020604051808303815f875af1158015610130573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610154919061015c565b949350505050565b5f6020828403121561016c575f80fd5b505191905056fe608060405234801561000f575f80fd5b5061040b8061001d5f395ff3fe608060405234801561000f575f80fd5b50600436106100b9575f3560e01c8063acf495f311610072578063c9a758ef11610058578063c9a758ef146100f7578063d1ea1a5f146100ff578063efe93f6c14610107575f80fd5b8063acf495f3146100e7578063c54e64a3146100ef575f80fd5b8063a1dfaca8116100a2578063a1dfaca8146100cf578063a9cc4718146100d7578063ab218d82146100df575f80fd5b80630f829faa146100bd57806349253342146100c7575b5f80fd5b6100c561011a565b005b6100c5610171565b6100c561017c565b6100c561018c565b6100c56101e5565b6100c56101f0565b6100c56101fb565b6100c561020d565b6100c561021b565b6100c56101153660046103d0565b610273565b61012561025b6102eb565b50604051633bfa4fdb60e21b815261025c6004820152309063efe93f6c906024015f604051808303815f87803b15801561015d575f80fd5b505af192505050801561016e575060015b50565b6100c56102626102eb565b6101876102636102eb565b506001ff5b61019761025a6102eb565b5060405162461bcd60e51b815260206004820152601a60248201527f546869732066756e6374696f6e20616c77617973206661696c7300000000000060448201526064015b60405180910390fd5b61016e6102606102eb565b61016e6102596102eb565b61020661025f6102eb565b505b610208565b6102186102616102eb565b50fe5b604051633bfa4fdb60e21b815261025d6004820152309063efe93f6c906024015f604051808303815f87803b158015610252575f80fd5b505af1158015610264573d5f803e3d5ffd5b5050505061016e61025e6102eb565b61027c816102eb565b5060405162461bcd60e51b815260206004820152602c60248201527f546869732066756e6374696f6e20616c77617973206661696c7320776974682060448201527f637573746f6d20696e707574000000000000000000000000000000000000000060648201526084016101dc565b5f6102f78260056102fd565b92915050565b5f807fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6006001810154604051631ce2e8d760e31b8152600481018790527fff0000000000000000000000000000000000000000000000000000000000000060f887901b16602482015291925073ffffffffffffffffffffffffffffffffffffffff169063e71746b8906044016020604051808303815f875af11580156103a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c891906103e7565b949350505050565b5f602082840312156103e0575f80fd5b5035919050565b5f602082840312156103f7575f80fd5b505191905056fea164736f6c6343000818000aa164736f6c6343000818000a"; - -type TracingSubCallsConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TracingSubCallsConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TracingSubCalls__factory extends ContractFactory { - constructor(...args: TracingSubCallsConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TracingSubCalls & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TracingSubCalls__factory { - return super.connect(runner) as TracingSubCalls__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TracingSubCallsInterface { - return new Interface(_abi) as TracingSubCallsInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TracingSubCalls { - return new Contract(address, _abi, runner) as unknown as TracingSubCalls; - } -} diff --git a/contracts/types/factories/examples/TracingSubCalls.sol/index.ts b/contracts/types/factories/examples/TracingSubCalls.sol/index.ts deleted file mode 100644 index 80e0d989..00000000 --- a/contracts/types/factories/examples/TracingSubCalls.sol/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { SubContract__factory } from "./SubContract__factory"; -export { SubContractCreate__factory } from "./SubContractCreate__factory"; -export { SubContractCreateFail__factory } from "./SubContractCreateFail__factory"; -export { TracingSubCalls__factory } from "./TracingSubCalls__factory"; diff --git a/contracts/types/factories/examples/index.ts b/contracts/types/factories/examples/index.ts deleted file mode 100644 index 71c95a49..00000000 --- a/contracts/types/factories/examples/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as kmsUpgradedExampleSol from "./KMSUpgradedExample.sol"; -export * as tracingSubCallsSol from "./TracingSubCalls.sol"; -export * as tests from "./tests"; -export { ACLUpgradedExample__factory } from "./ACLUpgradedExample__factory"; -export { ACLUpgradedExample2__factory } from "./ACLUpgradedExample2__factory"; -export { BlindAuction__factory } from "./BlindAuction__factory"; -export { Counter__factory } from "./Counter__factory"; -export { EncryptedERC20__factory } from "./EncryptedERC20__factory"; -export { FHEPaymentUpgradedExample__factory } from "./FHEPaymentUpgradedExample__factory"; -export { GatewayContractUpgradedExample__factory } from "./GatewayContractUpgradedExample__factory"; -export { PaymentLimit__factory } from "./PaymentLimit__factory"; -export { Rand__factory } from "./Rand__factory"; -export { Reencrypt__factory } from "./Reencrypt__factory"; -export { Regression1__factory } from "./Regression1__factory"; -export { SmartAccount__factory } from "./SmartAccount__factory"; -export { TFHEExecutorUpgradedExample__factory } from "./TFHEExecutorUpgradedExample__factory"; -export { TestAsyncDecrypt__factory } from "./TestAsyncDecrypt__factory"; diff --git a/contracts/types/factories/examples/tests/TFHEManualTestSuite__factory.ts b/contracts/types/factories/examples/tests/TFHEManualTestSuite__factory.ts deleted file mode 100644 index 3d443444..00000000 --- a/contracts/types/factories/examples/tests/TFHEManualTestSuite__factory.ts +++ /dev/null @@ -1,1264 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHEManualTestSuite, - TFHEManualTestSuiteInterface, -} from "../../../examples/tests/TFHEManualTestSuite"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "eqEbool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "eqEboolScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "eqEboolScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes128ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes128ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inp1", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof1", - type: "bytes", - }, - { - internalType: "einput", - name: "inp2", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof2", - type: "bytes", - }, - ], - name: "eqEbytes256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes256ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes256ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes64ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "eqEbytes64ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "neEbool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "neEboolScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "neEboolScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes128ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes128ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "inp1", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof1", - type: "bytes", - }, - { - internalType: "einput", - name: "inp2", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof2", - type: "bytes", - }, - ], - name: "neEbytes256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes256ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes256ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes64ScalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "a", - type: "bytes", - }, - { - internalType: "bytes", - name: "b", - type: "bytes", - }, - ], - name: "neEbytes64ScalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resAdd", - outputs: [ - { - internalType: "eaddress", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resB128", - outputs: [ - { - internalType: "ebytes128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resB256", - outputs: [ - { - internalType: "ebytes256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resB64", - outputs: [ - { - internalType: "ebytes64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_and", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_and_scalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_and_scalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_not", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_or", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_or_scalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_or_scalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint128_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint16_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint256_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint32_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint4_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint64_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "input", - type: "bool", - }, - ], - name: "test_ebool_to_euint8_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_xor", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_xor_scalarL", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "a", - type: "bool", - }, - { - internalType: "bool", - name: "b", - type: "bool", - }, - ], - name: "test_ebool_xor_scalarR", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "address", - name: "b", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_eq_address_eaddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "address", - name: "b", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_eq_eaddress_address", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_eq_eaddress_eaddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "input", - type: "uint128", - }, - ], - name: "test_euint128_to_euint8_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "input", - type: "uint8", - }, - ], - name: "test_euint4_to_euint256_cast", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "address", - name: "b", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_ne_address_eaddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "address", - name: "b", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_ne_eaddress_address", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_ne_eaddress_eaddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "control", - type: "bytes32", - }, - { - internalType: "einput", - name: "ifTrue", - type: "bytes32", - }, - { - internalType: "einput", - name: "ifFalse", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_select", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "control", - type: "bytes32", - }, - { - internalType: "einput", - name: "ifTrue", - type: "bytes32", - }, - { - internalType: "einput", - name: "ifFalse", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "test_select_eaddress", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "control", - type: "bool", - }, - { - internalType: "bool", - name: "ifTrue", - type: "bool", - }, - { - internalType: "bool", - name: "ifFalse", - type: "bool", - }, - ], - name: "test_select_ebool", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "control", - type: "bool", - }, - { - internalType: "bytes", - name: "ifTrue", - type: "bytes", - }, - { - internalType: "bytes", - name: "ifFalse", - type: "bytes", - }, - ], - name: "test_select_ebytes128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "control", - type: "bool", - }, - { - internalType: "bytes", - name: "ifTrue", - type: "bytes", - }, - { - internalType: "bytes", - name: "ifFalse", - type: "bytes", - }, - ], - name: "test_select_ebytes256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bool", - name: "control", - type: "bool", - }, - { - internalType: "bytes", - name: "ifTrue", - type: "bytes", - }, - { - internalType: "bytes", - name: "ifFalse", - type: "bytes", - }, - ], - name: "test_select_ebytes64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5061018a6100ae604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b612bb4806101975f395ff3fe608060405234801561000f575f80fd5b506004361061040d575f3560e01c80636a75422111610229578063b1d0ccea1161012e578063cdd29c3a116100c3578063ea5e86f011610093578063ec8e0bee11610079578063ec8e0bee14610876578063f0d277bf14610889578063fd3f55c01461089c575f80fd5b8063ea5e86f01461085a578063ec69947b14610863575f80fd5b8063cdd29c3a14610818578063d1f57dce14610821578063e91ecbb814610834578063e9444a6f14610847575f80fd5b8063b9212081116100fe578063b9212081146107d6578063b933c02f146107e9578063c3928496146107fc578063ca5266071461080f575f80fd5b8063b1d0ccea1461078a578063b25264e61461079d578063b8da668c146107b0578063b8fa2e81146107c3575f80fd5b80638f338859116101be578063a9a8f2fb1161018e578063acc0c40011610174578063acc0c40014610751578063afc5ec9c14610764578063b1aa8f7c14610777575f80fd5b8063a9a8f2fb1461072b578063aa5d1d661461073e575f80fd5b80638f338859146106e9578063940e5594146106f25780639ef639d8146107055780639fc5f61614610718575f80fd5b80637fbb0e67116101f95780637fbb0e67146106a757806381b41d84146106ba578063835c1146146106cd5780638c858950146106e0575f80fd5b80636a7542211461065b5780636e5cab411461066e5780637bf23e80146106815780637c8ffc7314610694575f80fd5b80633b2911d01161032f57806350ab9806116102c45780635b3f1a52116102945780635c329edd1161027a5780635c329edd1461062257806362c5e4611461063557806366661fd714610648575f80fd5b80635b3f1a52146105fc5780635b583ff21461060f575f80fd5b806350ab9806146105b0578063522d9ba5146105c357806356ee885e146105d65780635963c966146105e9575f80fd5b806341ff6dc3116102ff57806341ff6dc3146105825780634243331f146105955780634b84c8f91461059e5780634bf39666146105a7575f80fd5b80633b2911d014610536578063400c465a1461054957806340228ba51461055c5780634136c5211461056f575f80fd5b80631ea762ed116103a55780632b58f31d116103755780632b58f31d146104ea5780632c57d1a6146104fd578063311d866514610510578063347d67df14610523575f80fd5b80631ea762ed146104a85780632478677e146104bb5780632581780c146104ce57806327ef68e4146104d7575f80fd5b806313d2d399116103e057806313d2d3991461045f5780631629d25d1461047257806319147b7c1461048c5780631afdf48e1461049f575f80fd5b8063036ae41f1461041157806304c3d6fd1461042657806305cf0d041461043957806308c373aa1461044c575b5f80fd5b61042461041f36600461262f565b6108a5565b005b6104246104343660046126fd565b6108bd565b6104246104473660046126fd565b6108fb565b61042461045a3660046127a2565b610921565b61042461046d36600461262f565b610982565b61047a5f5481565b60405190815260200160405180910390f35b61042461049a36600461262f565b610994565b61047a60055481565b6104246104b636600461262f565b6109bd565b6104246104c9366004612805565b6109e0565b61047a60095481565b6104246104e536600461281e565b6109f7565b6104246104f83660046126fd565b610ae1565b61042461050b36600461287a565b610b0c565b61042461051e366004612805565b610b51565b61042461053136600461262f565b610b68565b6104246105443660046128ba565b610b82565b6104246105573660046127a2565b610bce565b61042461056a3660046126fd565b610c1b565b61042461057d3660046127a2565b610c49565b61042461059036600461262f565b610c96565b61047a600a5481565b61047a60035481565b61047a60025481565b6104246105be366004612929565b610cb0565b6104246105d1366004612805565b610d3f565b6104246105e43660046126fd565b610d56565b6104246105f73660046126fd565b610d7f565b61042461060a366004612805565b610da5565b61042461061d3660046128ba565b610dbc565b610424610630366004612805565b610e08565b61042461064336600461281e565b610e1f565b6104246106563660046127a2565b610f09565b610424610669366004612805565b610f56565b61042461067c36600461262f565b610f6d565b61042461068f366004612805565b610f7f565b6104246106a23660046126fd565b610f95565b6104246106b536600461262f565b610fbb565b6104246106c836600461262f565b610fcd565b6104246106db366004612960565b610fdf565b61047a60065481565b61047a60075481565b6104246107003660046126fd565b610fee565b61042461071336600461262f565b611014565b6104246107263660046126fd565b61102b565b6104246107393660046126fd565b611054565b61042461074c3660046128ba565b61107a565b61042461075f3660046126fd565b6110c6565b6104246107723660046126fd565b6110ec565b6104246107853660046126fd565b611112565b61042461079836600461262f565b611138565b6104246107ab366004612805565b61114a565b6104246107be366004612980565b611161565b6104246107d13660046126fd565b61117f565b6104246107e43660046129af565b6111a8565b6104246107f73660046126fd565b61124e565b61042461080a3660046129af565b611274565b61047a60085481565b61047a60015481565b61042461082f36600461262f565b611303565b6104246108423660046126fd565b61131a565b610424610855366004612929565b611340565b61047a60045481565b61042461087136600461262f565b6113cf565b61042461088436600461262f565b6113f2565b61042461089736600461262f565b61140c565b61047a600b5481565b6108b76108b183611423565b82611448565b5f555050565b5f6108cf6108ca8461146c565b6115a4565b90505f6108db8361146c565b90505f6108e883836115b0565b90506108f3816115df565b5f5550505050565b5f6109086108ca8461146c565b90505f6109148361146c565b90505f6108e883836115ec565b5f6109618584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f61096e8286611628565b9050610979816115df565b5f555050505050565b6108b78261098f83611423565b611658565b5f61099e82611423565b90505f6109ab8483611668565b90506109b6816115df565b5f55505050565b5f6109c783611423565b90505f6109d383611423565b90505f6108e8838361169a565b6109f16109ec82611423565b6116c8565b60045550565b5f610a378684848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506116d492505050565b90505f610a798685858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f610abb8686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f610ac98484846116e0565b9050610ad4816115df565b6008555050505050505050565b5f610aeb836116ec565b90505f610aff610afa846116ec565b61181a565b90505f6108e88383611826565b5f610b1684611423565b90505f610b2284611423565b90505f610b2e84611423565b90505f610b3c8484846116e0565b9050610b47816115df565b5f55505050505050565b610b62610b5d82611423565b611855565b60075550565b6108b7610b7483611423565b610b7d83611423565b611861565b5f610b8c84611423565b90505f610b9b610afa856116ec565b90505f610baa610afa856116ec565b90505f610bb88484846116e0565b9050610bc3816115df565b600b55505050505050565b5f610c0e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f61096e858361186d565b5f610c2d610c2884611895565b6119bc565b90505f610c3c610c2884611895565b90505f6108e883836119c8565b5f610c898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f61096e8286611a18565b6108b7610ca283611423565b610cab83611423565b611a40565b5f610cf08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f610d328585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f610b3c8383611a4c565b610d50610d4b82611423565b611a6c565b60035550565b5f610d63610c2884611895565b90505f610d72610c2884611895565b90505f6108e88383611a78565b5f610d8c610afa846116ec565b90505f610d98836116ec565b90505f6108e88383611aba565b610db6610db182611423565b611ada565b60055550565b5f610dc684611423565b90505f610dd5610c2885611895565b90505f610de4610c2885611895565b90505f610df28484846116e0565b9050610dfd816115df565b600955505050505050565b610e19610e1482611423565b611ae6565b60025550565b5f610e5f8684848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506116d492505050565b90505f610ea18685858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611af292505050565b90505f610ee38686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611af292505050565b90505f610ef18484846116e0565b9050610efc816115df565b6004555050505050505050565b5f610f498584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f61096e8583611aff565b610f67610f6282611423565b611b27565b60015550565b6108b782610f7a83611423565b611b33565b610f90610f8b82611423565b611b50565b5f5550565b5f610f9f8361146c565b90505f610fae6108ca8461146c565b90505f6108e88383611b5a565b6108b7610fc783611423565b82611b7a565b6108b782610fda83611423565b611b97565b610b62610b5d8260ff16611ba7565b5f610ffb610afa846116ec565b90505f611007836116ec565b90505f6108e88383611bb3565b5f61101e83611423565b90505f6109ab8284611bd3565b5f6110386108ca8461146c565b90505f6110476108ca8461146c565b90505f6108e88383611c05565b5f61105e836116ec565b90505f61106d610afa846116ec565b90505f6108e88383611c47565b5f61108484611423565b90505f6110936108ca8561146c565b90505f6110a26108ca8561146c565b90505f6110b08484846116e0565b90506110bb816115df565b600a55505050505050565b5f6110d083611895565b90505f6110df610c2884611895565b90505f6108e88383611c76565b5f6110f68361146c565b90505f6111056108ca8461146c565b90505f6108e88383611c96565b5f61111c83611895565b90505f61112b610c2884611895565b90505f6108e88383611cb6565b6108b761114483611423565b82611cd6565b61115b61115682611423565b611ce6565b60065550565b610e19610e14826fffffffffffffffffffffffffffffffff16611cf2565b5f61118c6108ca8461146c565b90505f61119b6108ca8461146c565b90505f6108e88383611cfe565b5f6111e88787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b90505f61122a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b90505f6112378383611d4d565b9050611242816115df565b5f555050505050505050565b5f61125b610c2884611895565b90505f61126783611895565b90505f6108e88383611d8f565b5f6112b48787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b90505f6112f68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250611d4092505050565b90505f6112378383611daf565b5f61130d82611423565b90505f6109ab8483611df1565b5f611327610c2884611895565b90505f61133383611895565b90505f6108e88383611e23565b5f6113808584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f6113c28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061161b92505050565b90505f610b3c8383611e43565b5f6113d983611423565b90505f6113e583611423565b90505f6108e88383611e63565b6108b76113fe83611423565b61140783611423565b611e83565b5f61141683611423565b90505f6109ab8284611e8f565b5f811561143a576114346001611ec1565b92915050565b6114345f611ec1565b919050565b5f6114658383611458575f61145b565b60015b60ff166001611ecc565b9392505050565b60606080825111156114c55760405162461bcd60e51b815260206004820152601760248201527f496e70757420657863656564732031323820627974657300000000000000000060448201526064015b60405180910390fd5b60408051608080825260a082019092525f916020820181803683370190505090505f835160806114f59190612a40565b90505f5b81811015611535575f60f81b83828151811061151757611517612a53565b60200101906001600160f81b03191690815f1a9053506001016114f9565b505f5b845181101561159b5784818151811061155357611553612a53565b01602001516001600160f81b0319168361156d8385612a67565b8151811061157d5761157d612a53565b60200101906001600160f81b03191690815f1a905350600101611538565b50909392505050565b5f61143482600a611f89565b5f826115d3576115d06108ca60405180602001604052805f81525061146c565b92505b6114658383600161201c565b6115e9813061207f565b50565b5f8261160f5761160c6108ca60405180602001604052805f81525061146c565b92505b611465838360016120f5565b5f61146583836007612158565b5f8261163a576116375f612256565b92505b6001600160a01b0382166116508482600161226b565b949350505050565b5f6114658284611458575f61145b565b5f8161167a576116775f611423565b91505b5f83611686575f611689565b60015b60ff1690506116508382600161226b565b5f826116ac576116a95f611423565b92505b816116bd576116ba5f611423565b91505b61146583835f61226b565b5f6114348260046122e2565b5f61146583835f612158565b5f611650848484612344565b6060610100825111156117415760405162461bcd60e51b815260206004820152601760248201527f496e70757420657863656564732032353620627974657300000000000000000060448201526064016114bc565b6040805161010080825261012082019092525f916020820181803683370190505090505f83516101006117749190612a40565b90505f5b818110156117b4575f60f81b83828151811061179657611796612a53565b60200101906001600160f81b03191690815f1a905350600101611778565b505f5b845181101561159b578481815181106117d2576117d2612a53565b01602001516001600160f81b031916836117ec8385612a67565b815181106117fc576117fc612a53565b60200101906001600160f81b03191690815f1a9053506001016117b7565b5f61143482600b611f89565b5f8161184957611846610afa60405180602001604052805f8152506116ec565b91505b611465828460016120f5565b5f6114348260086122e2565b5f61146583835f611ecc565b5f8161187f5761187c5f612256565b91505b6001600160a01b038316611650838260016123da565b60606040825111156118e95760405162461bcd60e51b815260206004820152601660248201527f496e70757420657863656564732036342062797465730000000000000000000060448201526064016114bc565b604080518181526060810182525f916020820181803683370190505090505f835160406119169190612a40565b90505f5b81811015611956575f60f81b83828151811061193857611938612a53565b60200101906001600160f81b03191690815f1a90535060010161191a565b505f5b845181101561159b5784818151811061197457611974612a53565b01602001516001600160f81b0319168361198e8385612a67565b8151811061199e5761199e612a53565b60200101906001600160f81b03191690815f1a905350600101611959565b5f611434826009611f89565b5f826119eb576119e8610c2860405180602001604052805f815250611895565b92505b81611a0d57611a0a610c2860405180602001604052805f815250611895565b91505b61146583835f6123da565b5f82611a2a57611a275f612256565b92505b6001600160a01b038216611650848260016123da565b5f61146583835f612451565b5f82611a5e57611a5b5f612256565b92505b81611a0d57611a0a5f612256565b5f6114348260036122e2565b5f82611a9b57611a98610c2860405180602001604052805f815250611895565b92505b816116bd576116ba610c2860405180602001604052805f815250611895565b5f826115d3576115d0610afa60405180602001604052805f8152506116ec565b5f6114348260056122e2565b5f6114348260026122e2565b5f61146583836004612158565b5f81611b1157611b0e5f612256565b91505b6001600160a01b0383166116508382600161226b565b5f6114348260016122e2565b5f6114658284611b43575f611b46565b60015b60ff166001612451565b5f611434826124c8565b5f81611849576118466108ca60405180602001604052805f81525061146c565b5f6114658383611b8a575f611b8d565b60015b60ff166001612547565b5f6114658284611b8a575f611b8d565b5f6114348260016125be565b5f8261160f5761160c610afa60405180602001604052805f8152506116ec565b5f82611be557611be25f611423565b92505b5f82611bf1575f611bf4565b60015b60ff169050611650848260016123da565b5f82611c2857611c256108ca60405180602001604052805f81525061146c565b92505b81611a0d57611a0a6108ca60405180602001604052805f81525061146c565b5f81611c6a57611c67610afa60405180602001604052805f8152506116ec565b91505b6114658284600161201c565b5f8161184957611846610c2860405180602001604052805f815250611895565b5f81611c6a57611c676108ca60405180602001604052805f81525061146c565b5f81611c6a57611c67610c2860405180602001604052805f815250611895565b5f6114658383611b43575f611b46565b5f6114348260066122e2565b5f6114348260066125be565b5f82611d2157611d1e6108ca60405180602001604052805f81525061146c565b92505b816116bd576116ba6108ca60405180602001604052805f81525061146c565b5f6114658383600b612158565b5f82611d7057611d6d610afa60405180602001604052805f8152506116ec565b92505b816116bd576116ba610afa60405180602001604052805f8152506116ec565b5f826115d3576115d0610c2860405180602001604052805f815250611895565b5f82611dd257611dcf610afa60405180602001604052805f8152506116ec565b92505b81611a0d57611a0a610afa60405180602001604052805f8152506116ec565b5f81611e0357611e005f611423565b91505b5f83611e0f575f611e12565b60015b60ff169050611650838260016123da565b5f8261160f5761160c610c2860405180602001604052805f815250611895565b5f82611e5557611e525f612256565b92505b816116bd576116ba5f612256565b5f82611e7557611e725f611423565b92505b81611a0d57611a0a5f611423565b5f61146583835f612547565b5f82611ea157611e9e5f611423565b92505b5f82611ead575f611eb0565b60015b60ff1690506116508482600161226b565b5f611434825f6125be565b5f808215611edf5750600160f81b611ee2565b505f5b5f80516020612b8883398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020612b68833981519152916001600160a01b031690632c7d67b7906064015b6020604051808303815f875af1158015611f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7f9190612a7a565b9695505050505050565b5f80516020612b888339815191525460405163e0c5cbb360e01b81525f915f80516020612b68833981519152916001600160a01b039091169063e0c5cbb390611fdc90879060f888901b90600401612ad4565b6020604051808303815f875af1158015611ff8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116509190612a7a565b5f80821561202f5750600160f81b612032565b505f5b5f80516020612b8883398151915254604051630b90dfc360e01b81525f80516020612b68833981519152916001600160a01b031690630b90dfc390611f3f90899089908790600401612afb565b5f5f80516020612b688339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b1580156120da575f80fd5b505af11580156120ec573d5f803e3d5ffd5b50505050505050565b5f8082156121085750600160f81b61210b565b505f5b5f80516020612b8883398151915254604051635e2389cd60e11b81525f80516020612b68833981519152916001600160a01b03169063bc47139a90611f3f90899089908790600401612afb565b5f80516020612b88833981519152546040516302e817ff60e41b81525f915f80516020612b68833981519152916001600160a01b0390911690632e817ff0906121af9088903390899060f88a901b90600401612b29565b6020604051808303815f875af11580156121cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ef9190612a7a565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015612238575f80fd5b505af115801561224a573d5f803e3d5ffd5b50505050509392505050565b5f611434826001600160a01b031660076125be565b5f80821561227e5750600160f81b612281565b505f5b5f80516020612b8883398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020612b68833981519152916001600160a01b031690636be3175890606401611f3f565b5f80516020612b888339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020612b68833981519152916001600160a01b0390911690634be68d2090604401611fdc565b5f805f80516020612b68833981519152600181015460405163cb3b940760e01b81526004810188905260248101879052604481018690529192506001600160a01b03169063cb3b9407906064016020604051808303815f875af11580156123ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d19190612a7a565b95945050505050565b5f8082156123ed5750600160f81b6123f0565b505f5b5f80516020612b8883398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020612b68833981519152916001600160a01b031690631927108190606401611f3f565b5f8082156124645750600160f81b612467565b505f5b5f80516020612b8883398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020612b68833981519152916001600160a01b03169063666a358890606401611f3f565b5f805f80516020612b6883398151915260018101546040516309c00ffd60e11b8152600481018690529192506001600160a01b0316906313801ffa906024016020604051808303815f875af1158015612523573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114659190612a7a565b5f80821561255a5750600160f81b61255d565b505f5b5f80516020612b8883398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020612b68833981519152916001600160a01b03169063ec4057dc90606401611f3f565b5f80516020612b8883398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020612b68833981519152916001600160a01b039091169063e71746b890604401611fdc565b80358015158114611443575f80fd5b5f8060408385031215612640575f80fd5b61264983612620565b915061265760208401612620565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112612683575f80fd5b813567ffffffffffffffff8082111561269e5761269e612660565b604051601f8301601f19908116603f011681019082821181831017156126c6576126c6612660565b816040528381528660208588010111156126de575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f806040838503121561270e575f80fd5b823567ffffffffffffffff80821115612725575f80fd5b61273186838701612674565b93506020850135915080821115612746575f80fd5b5061275385828601612674565b9150509250929050565b5f8083601f84011261276d575f80fd5b50813567ffffffffffffffff811115612784575f80fd5b60208301915083602082850101111561279b575f80fd5b9250929050565b5f805f80606085870312156127b5575f80fd5b8435935060208501356001600160a01b03811681146127d2575f80fd5b9250604085013567ffffffffffffffff8111156127ed575f80fd5b6127f98782880161275d565b95989497509550505050565b5f60208284031215612815575f80fd5b61146582612620565b5f805f805f60808688031215612832575f80fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561285d575f80fd5b6128698882890161275d565b969995985093965092949392505050565b5f805f6060848603121561288c575f80fd5b61289584612620565b92506128a360208501612620565b91506128b160408501612620565b90509250925092565b5f805f606084860312156128cc575f80fd5b6128d584612620565b9250602084013567ffffffffffffffff808211156128f1575f80fd5b6128fd87838801612674565b93506040860135915080821115612912575f80fd5b5061291f86828701612674565b9150509250925092565b5f805f806060858703121561293c575f80fd5b8435935060208501359250604085013567ffffffffffffffff8111156127ed575f80fd5b5f60208284031215612970575f80fd5b813560ff81168114611465575f80fd5b5f60208284031215612990575f80fd5b81356fffffffffffffffffffffffffffffffff81168114611465575f80fd5b5f805f805f80608087890312156129c4575f80fd5b86359550602087013567ffffffffffffffff808211156129e2575f80fd5b6129ee8a838b0161275d565b9097509550604089013594506060890135915080821115612a0d575f80fd5b50612a1a89828a0161275d565b979a9699509497509295939492505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561143457611434612a2c565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561143457611434612a2c565b5f60208284031215612a8a575f80fd5b5051919050565b5f81518084525f5b81811015612ab557602081850181015186830182015201612a99565b505f602082860101526020601f19601f83011685010191505092915050565b604081525f612ae66040830185612a91565b905060ff60f81b831660208301529392505050565b838152606060208201525f612b136060830185612a91565b905060ff60f81b83166040830152949350505050565b8481526001600160a01b0384166020820152608060408201525f612b506080830185612a91565b905060ff60f81b831660608301529594505050505056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHEManualTestSuiteConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHEManualTestSuiteConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHEManualTestSuite__factory extends ContractFactory { - constructor(...args: TFHEManualTestSuiteConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHEManualTestSuite & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect( - runner: ContractRunner | null - ): TFHEManualTestSuite__factory { - return super.connect(runner) as TFHEManualTestSuite__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHEManualTestSuiteInterface { - return new Interface(_abi) as TFHEManualTestSuiteInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHEManualTestSuite { - return new Contract( - address, - _abi, - runner - ) as unknown as TFHEManualTestSuite; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite10__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite10__factory.ts deleted file mode 100644 index b8f44c6a..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite10__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite10, - TFHETestSuite10Interface, -} from "../../../examples/tests/TFHETestSuite10"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint256", - name: "b", - type: "uint256", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_uint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "a", - type: "uint256", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint256_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b6152c0806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610625575f3560e01c8063928b47aa11610328578063c196ca33116101b3578063e8edb17e116100fe578063f0d446f3116100a9578063f5312a8b11610084578063f5312a8b14610ce6578063f606751e14610cf9578063fb192e6914610d0c578063fbff68e414610d1f575f80fd5b8063f0d446f314610cad578063f425bedd14610cc0578063f51a11a314610cd3575f80fd5b8063ea5e86f0116100d9578063ea5e86f014610c7e578063eea0c20b14610c87578063f02d503d14610c9a575f80fd5b8063e8edb17e14610c45578063e95730b814610c58578063e9ce619d14610c6b575f80fd5b8063d53e846f1161015e578063e2bd3af811610139578063e2bd3af814610c0c578063e54262bd14610c1f578063e565c97a14610c32575f80fd5b8063d53e846f14610bd3578063d9a2ac4314610be6578063dc6799cb14610bf9575f80fd5b8063cdd29c3a1161018e578063cdd29c3a14610ba4578063d35dae1614610bad578063d4605e8314610bc0575f80fd5b8063c196ca3314610b6b578063c573f9ee14610b7e578063cb030cc014610b91575f80fd5b8063ab3c1fbb11610273578063b65a15e41161021e578063b974039d116101f9578063b974039d14610b32578063be3f2e0f14610b45578063c0cf639814610b58575f80fd5b8063b65a15e414610af9578063b81d388014610b0c578063b8e764b114610b1f575f80fd5b8063afbbd0da1161024e578063afbbd0da14610ac0578063b5c93c2214610ad3578063b64ea18014610ae6575f80fd5b8063ab3c1fbb14610a87578063ab95e11214610a9a578063adb89e8e14610aad575f80fd5b80639de188cd116102d3578063a53e66fb116102ae578063a53e66fb14610a4e578063a903978914610a61578063a999d25d14610a74575f80fd5b80639de188cd14610a155780639ea3288014610a28578063a165046214610a3b575f80fd5b806394f5e0981161030357806394f5e098146109dc57806395e0cb7f146109ef5780639b0bfecf14610a02575f80fd5b8063928b47aa146109a35780639443a8e5146109b657806394953bfd146109c9575f80fd5b80634bf39666116104b357806378e7ad83116103fe5780638860a5ea116103a95780638e22baed116103845780638e22baed146109615780638f3388591461097457806391c3b74a1461097d5780639273799814610990575f80fd5b80638860a5ea146109325780638c35d5aa146109455780638c85895014610958575f80fd5b806380c285f1116103d957806380c285f1146108f9578063818a8bea1461090c578063864a80031461091f575f80fd5b806378e7ad83146108c05780637a53cf13146108d35780637fc73b92146108e6575f80fd5b8063683b9d4c1161045e5780636f2be7f4116104395780636f2be7f414610887578063760219b21461089a57806376ea2919146108ad575f80fd5b8063683b9d4c1461084e5780636ad5115c146108615780636ad916af14610874575f80fd5b80635faa1bff1161048e5780635faa1bff1461081557806363a4fa811461082857806366182da01461083b575f80fd5b80634bf39666146107e65780634d718f17146107ef57806355e5401614610802575f80fd5b80632e1f269b116105735780634034d8681161051e5780634859fb15116104f95780634859fb15146107b75780634964ac77146107ca5780634b84c8f9146107dd575f80fd5b80634034d8681461077e57806340766d8d14610791578063440ddc4e146107a4575f80fd5b80633276c69d1161054e5780633276c69d146107455780633381df921461075857806334975aa61461076b575f80fd5b80632e1f269b1461070c5780632e8c62f21461071f578063320c280a14610732575f80fd5b80631629d25d116105d35780631afdf48e116105ae5780631afdf48e146106dd57806322ec915d146106e65780632b25bced146106f9575f80fd5b80631629d25d1461069d57806318d13fae146106b75780631a489a07146106ca575f80fd5b806312d630c01161060357806312d630c014610664578063133134b514610677578063157748381461068a575f80fd5b806307fff036146106295780630a0a360a1461063e578063117260dd14610651575b5f80fd5b61063c610637366004615157565b610d32565b005b61063c61064c366004615157565b610dd7565b61063c61065f366004615157565b610e28565b61063c610672366004615157565b610eb7565b61063c610685366004615157565b610f08565b61063c610698366004615157565b610f6b565b6106a55f5481565b60405190815260200160405180910390f35b61063c6106c5366004615157565b610ffa565b61063c6106d8366004615157565b61104b565b6106a560055481565b61063c6106f4366004615157565b6110da565b61063c6107073660046151a6565b611169565b61063c61071a366004615157565b6111cd565b61063c61072d366004615157565b61121e565b61063c610740366004615157565b61126c565b61063c610753366004615157565b6112fb565b61063c610766366004615157565b61138a565b61063c610779366004615157565b6113d8565b61063c61078c366004615157565b611467565b61063c61079f366004615157565b6114b8565b61063c6107b2366004615157565b611506565b61063c6107c5366004615157565b611595565b61063c6107d8366004615157565b611624565b6106a560035481565b6106a560025481565b61063c6107fd366004615157565b611672565b61063c610810366004615157565b6116c3565b61063c610823366004615157565b611714565b61063c610836366004615157565b611765565b61063c610849366004615157565b6117f4565b61063c61085c366004615157565b611842565b61063c61086f366004615157565b6118d1565b61063c610882366004615157565b61191f565b61063c610895366004615157565b6119ae565b61063c6108a8366004615157565b611a3d565b61063c6108bb366004615157565b611acc565b61063c6108ce366004615157565b611b5b565b61063c6108e1366004615157565b611bea565b61063c6108f4366004615157565b611c79565b61063c610907366004615157565b611cc7565b61063c61091a366004615157565b611d56565b61063c61092d366004615157565b611da7565b61063c610940366004615157565b611e36565b61063c610953366004615157565b611ec5565b6106a560065481565b61063c61096f366004615157565b611f16565b6106a560075481565b61063c61098b366004615157565b611f64565b61063c61099e366004615157565b611ff3565b61063c6109b1366004615157565b612082565b61063c6109c4366004615157565b612111565b61063c6109d7366004615157565b6121a0565b61063c6109ea366004615157565b61222f565b61063c6109fd366004615157565b6122be565b61063c610a10366004615157565b61234d565b61063c610a233660046151a6565b6123dc565b61063c610a36366004615157565b61242a565b61063c610a49366004615157565b612478565b61063c610a5c366004615157565b6124c9565b61063c610a6f366004615157565b612558565b61063c610a82366004615157565b6125a6565b61063c610a95366004615157565b612635565b61063c610aa8366004615157565b6126c4565b61063c610abb366004615157565b612712565b61063c610ace366004615157565b6127a1565b61063c610ae1366004615157565b6127f2565b61063c610af4366004615157565b612881565b61063c610b07366004615157565b612910565b61063c610b1a366004615157565b61299f565b61063c610b2d366004615157565b612a2e565b61063c610b40366004615157565b612abd565b61063c610b533660046151a6565b612b4c565b61063c610b663660046151a6565b612b9a565b61063c610b79366004615157565b612be8565b61063c610b8c366004615157565b612c77565b61063c610b9f366004615157565b612d06565b6106a560015481565b61063c610bbb366004615157565b612d95565b61063c610bce366004615157565b612e24565b61063c610be1366004615157565b612eb3565b61063c610bf4366004615157565b612f04565b61063c610c07366004615157565b612f93565b61063c610c1a366004615157565b613022565b61063c610c2d366004615157565b6130b1565b61063c610c40366004615157565b6130ff565b61063c610c53366004615157565b61318e565b61063c610c66366004615157565b6131dc565b61063c610c79366004615157565b61326b565b6106a560045481565b61063c610c95366004615157565b6132b9565b61063c610ca8366004615157565b613348565b61063c610cbb366004615157565b6133d7565b61063c610cce366004615157565b613466565b61063c610ce1366004615157565b6134f5565b61063c610cf4366004615157565b613543565b61063c610d07366004615157565b6135d2565b61063c610d1a366004615157565b613661565b61063c610d2d366004615157565b6136f0565b5f610d728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610db48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc18383613762565b9050610dcc81613798565b600755505050505050565b5f8490505f610e1b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc183836137a5565b5f610e688584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610eaa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc183836137d0565b5f8490505f610efb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613806565b5f610f488584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f568383613824565b9050610f6181613798565b5f55505050505050565b5f610fab8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610fed8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613842565b5f8490505f61103e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613870565b5f61108b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6110cd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc1838361388e565b5f61111a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61115c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc183836138c4565b5f6111a98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f292505050565b9050835f6111b783836138ff565b90506111c281613798565b600155505050505050565b5f8490505f6112118585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383613920565b5f61125e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc1838361393e565b5f6112ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6112ee8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613967565b5f61133b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61137d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f56838361399d565b5f6113ca8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc183836139d3565b5f6114188584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61145a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc183836139f1565b5f8490505f6114ab8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613a27565b5f6114f88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613a45565b5f6115468584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6115888585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613a61565b5f6115d58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6116178585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613a8f565b5f6116648584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f568383613abd565b5f8490505f6116b68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613adb565b5f8490505f6117078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613af9565b5f8490505f6117588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613b2a565b5f6117a58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6117e78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc18383613b48565b5f6118348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613b7e565b5f6118828584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6118c48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613b9c565b5f6119118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613bbc565b5f61195f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6119a18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613bda565b5f6119ee8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611a308585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613bfa565b5f611a7d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611abf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc18383613c30565b5f611b0c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611b4e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383613c50565b5f611b9b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611bdd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383613c7e565b5f611c2a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611c6c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f568383613cac565b5f611cb98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613ce2565b5f611d078584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611d498585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f568383613d00565b5f8490505f611d9a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383613d36565b5f611de78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611e298585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613d54565b5f611e768584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611eb88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f568383613d74565b5f8490505f611f098585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613daa565b5f611f568584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613dc8565b5f611fa48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f611fe68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f568383613de6565b5f6120338584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6120758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f568383613e06565b5f6120c28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6121048585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613e3c565b5f6121518584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6121938585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc18383613e6a565b5f6121e08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6122228585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f568383613e8a565b5f61226f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6122b18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613eaa565b5f6122fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6123408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f568383613eca565b5f61238d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6123cf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc18383613f00565b5f61241c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f292505050565b9050835f6111b78383613f20565b5f61246a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383613f41565b5f8490505f6124bc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383613f5f565b5f6125098584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61254b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383613f7d565b5f6125988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f568383613fab565b5f6125e68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6126288585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc18383613fc9565b5f6126758584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6126b78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc18383613fe9565b5f6127048584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f568383614009565b5f6127528584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6127948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383614027565b5f8490505f6127e58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383614055565b5f6128328584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6128748585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f568383614073565b5f6128c18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6129038585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc18383614093565b5f6129508584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6129928585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f5683836140b3565b5f6129df8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612a218585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f5683836140e1565b5f612a6e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612ab08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc1838361410f565b5f612afd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612b3f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f56838361412f565b5f612b8c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f292505050565b9050835f6111b7838361414f565b5f612bda8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f292505050565b9050835f6111b78383614170565b5f612c288584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612c6a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610dc18383614191565b5f612cb78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612cf98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f5683836141bf565b5f612d468584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612d888585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f5683836141ed565b5f612dd58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612e178585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610dc1838361420d565b5f612e648584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612ea68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f568383614243565b5f8490505f612ef78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383614263565b5f612f448584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f612f868585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f568383614281565b5f612fd38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6130158585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610f5683836142a1565b5f6130628584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6130a48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f5683836142c1565b5f6130f18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f5683836142e1565b5f61313f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6131818585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc183836142ff565b5f6131ce8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc1838361431f565b5f61321c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61325e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610f56838361433d565b5f6132ab8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610f56838361435d565b5f6132f98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f61333b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f56838361437b565b5f6133888584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6133ca8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f5683836143a9565b5f6134178584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6134598585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc183836143c9565b5f6134a68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6134e88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc183836143e9565b5f6135358584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b9050835f610dc18383614409565b5f6135838584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6135c58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506137c392505050565b90505f610dc18383614427565b5f6136128584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6136548585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f568383614447565b5f6136a18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f6136e38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061375592505050565b90505f610dc18383614467565b5f8490505f6137348585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061374192505050565b90505f610f568383614487565b5f61374e838360086144a5565b9392505050565b5f61374e838360066144a5565b5f82613774576137715f6145a3565b92505b81613785576137825f6145b5565b91505b61374e83613792846145c1565b5f6145cd565b6137a2813061468a565b50565b5f816137b7576137b45f6145a3565b91505b61374e82846001614700565b5f61374e838360046144a5565b5f826137e2576137df5f6145a3565b92505b816137f3576137f05f614777565b91505b61374e83613800846145c1565b5f614783565b5f81613818576138155f6145a3565b91505b61374e828460016147fa565b5f82613836576138335f6145a3565b92505b61374e83836001614871565b5f82613854576138515f6145a3565b92505b81613865576138625f6145a3565b91505b61374e83835f6148e8565b5f816138825761387f5f6145a3565b91505b61374e8284600161495f565b5f826138a05761389d5f6145a3565b92505b816138b1576138ae5f614777565b91505b61374e836138be846145c1565b5f6149d6565b5f826138d6576138d35f6145a3565b92505b816138e7576138e45f6145a3565b91505b61374e83835f6147fa565b5f61374e838360016144a5565b5f826139115761390e5f614a4d565b92505b61374e838360ff166001614a59565b5f816139325761392f5f6145a3565b91505b61374e82846001614ad0565b5f826139505761394d5f6145a3565b92505b61374e8383614b47565b5f61374e838360056144a5565b5f82613979576139765f6145a3565b92505b8161398a576139875f614bed565b91505b61374e83613997846145c1565b5f614bf9565b5f826139af576139ac5f6145a3565b92505b816139c0576139bd5f614bed565b91505b61374e836139cd846145c1565b5f614c70565b5f826139e5576139e25f6145a3565b92505b61374e838360016147fa565b5f82613a0357613a005f6145a3565b92505b81613a1457613a115f6145b5565b91505b61374e83613a21846145c1565b5f61495f565b5f81613a3957613a365f6145a3565b91505b61374e828460016148e8565b5f82613a5757613a545f6145a3565b92505b61374e8383614ce7565b5f82613a7357613a705f6145a3565b92505b81613a8457613a815f6145a3565b91505b61374e83835f614bf9565b5f82613aa157613a9e5f6145a3565b92505b81613ab257613aaf5f6145a3565b91505b61374e83835f61495f565b5f82613acf57613acc5f6145a3565b92505b61374e83836001614ad0565b5f81613aed57613aea5f6145a3565b91505b61374e828460016145cd565b5f80613b04846145a3565b905082613b1757613b145f6145a3565b92505b613b2281845f614783565b949350505050565b5f81613b3c57613b395f6145a3565b91505b61374e828460016149d6565b5f82613b5a57613b575f6145a3565b92505b81613b6b57613b685f614777565b91505b61374e83613b78846145c1565b5f6148e8565b5f82613b9057613b8d5f6145a3565b92505b61374e83836001614bf9565b5f82613bae57613bab5f6145a3565b92505b816138b1576138ae5f614bed565b5f82613bce57613bcb5f6145a3565b92505b61374e838360016149d6565b5f82613bec57613be95f6145a3565b92505b81613b6b57613b685f614bed565b5f82613c0c57613c095f6145a3565b92505b81613c1d57613c1a5f614bed565b91505b61374e83613c2a846145c1565b5f614700565b5f82613c4257613c3f5f6145a3565b92505b81613a1457613a115f614777565b5f82613c6257613c5f5f6145a3565b92505b81613c7357613c705f6145a3565b91505b61374e83835f614871565b5f82613c9057613c8d5f6145a3565b92505b81613ca157613c9e5f6145a3565b91505b61374e83835f614d48565b5f82613cbe57613cbb5f6145a3565b92505b81613ccf57613ccc5f614777565b91505b61374e83613cdc846145c1565b5f614ad0565b5f82613cf457613cf15f6145a3565b92505b61374e83836001614783565b5f82613d1257613d0f5f6145a3565b92505b81613d2357613d205f614777565b91505b61374e83613d30846145c1565b5f614d48565b5f81613d4857613d455f6145a3565b91505b61374e82846001614c70565b5f82613d6657613d635f6145a3565b92505b81613785576137825f614bed565b5f82613d8657613d835f6145a3565b92505b81613d9757613d945f6145b5565b91505b61374e83613da4846145c1565b5f614dbf565b5f81613dbc57613db95f6145a3565b91505b61374e82846001614bf9565b5f82613dda57613dd75f6145a3565b92505b61374e8383600161495f565b5f82613df857613df55f6145a3565b92505b816139c0576139bd5f614777565b5f82613e1857613e155f6145a3565b92505b81613e2957613e265f614777565b91505b61374e83613e36846145c1565b5f614e36565b5f82613e4e57613e4b5f6145a3565b92505b81613e5f57613e5c5f6145a3565b91505b61374e83835f614783565b5f82613e7c57613e795f6145a3565b92505b8161398a576139875f6145b5565b5f82613e9c57613e995f6145a3565b92505b816139c0576139bd5f6145b5565b5f82613ebc57613eb95f6145a3565b92505b81613a1457613a115f614bed565b5f82613edc57613ed95f6145a3565b92505b81613eed57613eea5f6145b5565b91505b61374e83613efa846145c1565b5f614871565b5f82613f1257613f0f5f6145a3565b92505b816137f3576137f05f6145b5565b5f82613f3257613f2f5f614a4d565b92505b61374e838360ff166001614ead565b5f82613f5357613f505f6145a3565b92505b61374e838360016148e8565b5f81613f7157613f6e5f6145a3565b91505b61374e82846001614d48565b5f82613f8f57613f8c5f6145a3565b92505b81613fa057613f9d5f6145a3565b91505b61374e83835f6145cd565b5f82613fbd57613fba5f6145a3565b92505b61374e83836001614d48565b5f82613fdb57613fd85f6145a3565b92505b81613c1d57613c1a5f614777565b5f82613ffb57613ff85f6145a3565b92505b816137f3576137f05f614bed565b5f8261401b576140185f6145a3565b92505b61374e83836001614e36565b5f82614039576140365f6145a3565b92505b8161404a576140475f6145a3565b91505b61374e83835f614700565b5f81614067576140645f6145a3565b91505b61374e82846001614e36565b5f82614085576140825f6145a3565b92505b81613ccf57613ccc5f614bed565b5f826140a5576140a25f6145a3565b92505b81613b6b57613b685f6145b5565b5f826140c5576140c25f6145a3565b92505b816140d6576140d35f6145a3565b91505b61374e83835f614c70565b5f826140f3576140f05f6145a3565b92505b81614104576141015f6145a3565b91505b61374e83835f614e36565b5f826141215761411e5f6145a3565b92505b81613c1d57613c1a5f6145b5565b5f826141415761413e5f6145a3565b92505b81613e2957613e265f614bed565b5f826141615761415e5f614a4d565b92505b61374e838360ff166001614f24565b5f826141825761417f5f614a4d565b92505b61374e838360ff166001614f9b565b5f826141a3576141a05f6145a3565b92505b816141b4576141b15f6145a3565b91505b61374e83835f6149d6565b5f826141d1576141ce5f6145a3565b92505b816141e2576141df5f6145a3565b91505b61374e83835f614dbf565b5f826141ff576141fc5f6145a3565b92505b81613e2957613e265f6145b5565b5f8261421f5761421c5f6145a3565b92505b816142305761422d5f614bed565b91505b61374e8361423d846145c1565b5f6147fa565b5f82614255576142525f6145a3565b92505b81613d2357613d205f6145b5565b5f81614275576142725f6145a3565b91505b61374e82846001614dbf565b5f82614293576142905f6145a3565b92505b81613d9757613d945f614bed565b5f826142b3576142b05f6145a3565b92505b81613ccf57613ccc5f6145b5565b5f826142d3576142d05f6145a3565b92505b81613d9757613d945f614777565b5f826142f3576142f05f6145a3565b92505b61374e83836001614c70565b5f826143115761430e5f6145a3565b92505b816138b1576138ae5f6145b5565b5f826143315761432e5f6145a3565b92505b61374e83836001614700565b5f8261434f5761434c5f6145a3565b92505b81613eed57613eea5f614777565b5f8261436f5761436c5f6145a3565b92505b61374e83836001614dbf565b5f8261438d5761438a5f6145a3565b92505b8161439e5761439b5f6145a3565b91505b61374e83835f614ad0565b5f826143bb576143b85f6145a3565b92505b81613eed57613eea5f614bed565b5f826143db576143d85f6145a3565b92505b81613785576137825f614777565b5f826143fb576143f85f6145a3565b92505b816142305761422d5f614777565b5f8261441b576144185f6145a3565b92505b61374e838360016145cd565b5f82614439576144365f6145a3565b92505b8161398a576139875f614777565b5f82614459576144565f6145a3565b92505b81613d2357613d205f614bed565b5f82614479576144765f6145a3565b92505b816142305761422d5f6145b5565b5f81614499576144965f6145a3565b91505b61374e82846001614871565b5f80516020615294833981519152546040516302e817ff60e41b81525f915f80516020615274833981519152916001600160a01b0390911690632e817ff0906144fc9088903390899060f88a901b906004016151eb565b6020604051808303815f875af1158015614518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061453c919061525c565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015614585575f80fd5b505af1158015614597573d5f803e3d5ffd5b50505050509392505050565b5f6145af826008615012565b92915050565b5f6145af826006615012565b5f6145af8260086150b0565b5f8082156145e05750600160f81b6145e3565b505f5b5f805160206152948339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063f953e427906064015b6020604051808303815f875af115801561465c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614680919061525c565b9695505050505050565b5f5f805160206152748339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b1580156146e5575f80fd5b505af11580156146f7573d5f803e3d5ffd5b50505050505050565b5f8082156147135750600160f81b614716565b505f5b5f805160206152948339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063a86e9de590606401614640565b5f6145af826004615012565b5f8082156147965750600160f81b614799565b505f5b5f8051602061529483398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690638c14cc2190606401614640565b5f80821561480d5750600160f81b614810565b505f5b5f805160206152948339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063816d57d390606401614640565b5f8082156148845750600160f81b614887565b505f5b5f8051602061529483398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690631927108190606401614640565b5f8082156148fb5750600160f81b6148fe565b505f5b5f8051602061529483398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063a87deac490606401614640565b5f8082156149725750600160f81b614975565b505f5b5f8051602061529483398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063ec4057dc90606401614640565b5f8082156149e95750600160f81b6149ec565b505f5b5f8051602061529483398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690632c7d67b790606401614640565b5f6145af826001615012565b5f808215614a6c5750600160f81b614a6f565b505f5b5f8051602061529483398151915254604051630590734360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690630590734390606401614640565b5f808215614ae35750600160f81b614ae6565b505f5b5f805160206152948339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063052896f190606401614640565b5f80516020615294833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615274833981519152916001600160a01b0316906336cdd31b906064015b6020604051808303815f875af1158015614bc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614be4919061525c565b95945050505050565b5f6145af826005615012565b5f808215614c0c5750600160f81b614c0f565b505f5b5f8051602061529483398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063666a358890606401614640565b5f808215614c835750600160f81b614c86565b505f5b5f8051602061529483398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690636be3175890606401614640565b5f80516020615294833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615274833981519152916001600160a01b03169063e0c516ae90606401614ba4565b5f808215614d5b5750600160f81b614d5e565b505f5b5f80516020615294833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063694daf7290606401614640565b5f808215614dd25750600160f81b614dd5565b505f5b5f8051602061529483398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690633e63c50a90606401614640565b5f808215614e495750600160f81b614e4c565b505f5b5f8051602061529483398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b031690639675211f90606401614640565b5f808215614ec05750600160f81b614ec3565b505f5b5f8051602061529483398151915254604051633bb860cf60e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b03169063eee1833c90606401614640565b5f808215614f375750600160f81b614f3a565b505f5b5f80516020615294833981519152546040516389a4314b60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b0316906389a4314b90606401614640565b5f808215614fae5750600160f81b614fb1565b505f5b5f805160206152948339815191525460405163112ba71760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615274833981519152916001600160a01b0316906344ae9c5c90606401614640565b5f8051602061529483398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615274833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af115801561508c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b22919061525c565b5f805160206152948339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615274833981519152916001600160a01b0390911690634be68d2090604401615070565b5f8083601f840112615122575f80fd5b50813567ffffffffffffffff811115615139575f80fd5b602083019150836020828501011115615150575f80fd5b9250929050565b5f805f806060858703121561516a575f80fd5b8435935060208501359250604085013567ffffffffffffffff81111561518e575f80fd5b61519a87828801615112565b95989497509550505050565b5f805f80606085870312156151b9575f80fd5b84359350602085013560ff811681146151d0575f80fd5b9250604085013567ffffffffffffffff81111561518e575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b8181101561522d5786810183015185820160a001528201615211565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f6020828403121561526c575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite10ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite10ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite10__factory extends ContractFactory { - constructor(...args: TFHETestSuite10ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite10 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite10__factory { - return super.connect(runner) as TFHETestSuite10__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite10Interface { - return new Interface(_abi) as TFHETestSuite10Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite10 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite10; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite11__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite11__factory.ts deleted file mode 100644 index 1ec74fae..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite11__factory.ts +++ /dev/null @@ -1,1532 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite11, - TFHETestSuite11Interface, -} from "../../../examples/tests/TFHETestSuite11"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "neg_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "not_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint128_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint16_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint256_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint32_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint64_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotl_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint128_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint16_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint256_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint32_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint64_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rotr_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint128_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint16_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint256_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint32_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint64_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shl_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint128_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint16_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint256_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint32_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint64_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "shr_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561000f575f80fd5b5061018a6100ae604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b6131fc806101975f395ff3fe608060405234801561000f575f80fd5b506004361061045a575f3560e01c80636d3cb87b11610243578063b6eed29311610148578063e7b0aa5c116100c3578063ec06e4f711610093578063f01f46ea11610079578063f01f46ea1461091a578063f207e1f61461092d578063f80389c414610940575f80fd5b8063ec06e4f7146108f4578063ee6529c714610907575f80fd5b8063e7b0aa5c146108b2578063ea5e86f0146108c5578063ea6d1e60146108ce578063eb99b169146108e1575f80fd5b8063cdd29c3a11610118578063dd4a8149116100fe578063dd4a814914610879578063e0a032061461088c578063e3dce9801461089f575f80fd5b8063cdd29c3a1461085d578063dbf294c514610866575f80fd5b8063b6eed29314610811578063bfdfec6b14610824578063ca11c13e14610837578063cd815e681461084a575f80fd5b80638fdee6bc116101d85780639d8977db116101a8578063a3dd376f1161018e578063a3dd376f146107d8578063abefc2b0146107eb578063b5313cdb146107fe575f80fd5b80639d8977db146107b2578063a048d921146107c5575f80fd5b80638fdee6bc146107665780639683fc111461077957806399e8dc491461078c5780639d66377f1461079f575f80fd5b8063808464c611610213578063808464c61461072e57806382661c9b146107415780638c858950146107545780638f3388591461075d575f80fd5b80636d3cb87b146106e25780637a9716b7146106f55780637e247551146107085780637e502c7f1461071b575f80fd5b806335f29fc6116103635780634b84c8f9116102de5780635f4833d6116102ae57806365983b141161029457806365983b14146106a957806366dbaa7f146106bc57806368cb3568146106cf575f80fd5b80635f4833d6146106835780635ff6503e14610696575f80fd5b80634b84c8f91461064b5780634bf3966614610654578063570b31bf1461065d5780635e3746ec14610670575f80fd5b80633b9317e2116103335780634395209311610319578063439520931461061257806346ac8e0c146106255780634866082814610638575f80fd5b80633b9317e2146105ec5780633cd11e3e146105ff575f80fd5b806335f29fc6146105a057806338b7ef81146105b35780633adecac1146105c65780633b6d0138146105d9575f80fd5b80631ac0d517116103f3578063297a63b2116103c35780632e52e590116103a95780632e52e590146105675780632fb7c7ae1461057a57806331a4dce41461058d575f80fd5b8063297a63b2146105415780632aa0f94514610554575f80fd5b80631ac0d517146104ff5780631af5335c146105125780631afdf48e14610525578063233717841461052e575f80fd5b80630d90e4691161042e5780630d90e469146104ac578063118d8683146104bf57806312eca0dc146104d25780631629d25d146104e5575f80fd5b80625935eb1461045e57806302b3bad314610473578063063503491461048657806306ef51df14610499575b5f80fd5b61047161046c36600461304b565b610953565b005b61047161048136600461309a565b6109f8565b61047161049436600461304b565b610a5c565b6104716104a736600461309a565b610aeb565b6104716104ba36600461309a565b610b39565b6104716104cd36600461304b565b610b9d565b6104716104e03660046130df565b610c2c565b6104ed5f5481565b60405190815260200160405180910390f35b61047161050d36600461309a565b610c8c565b61047161052036600461304b565b610cda565b6104ed60055481565b61047161053c36600461309a565b610d7f565b61047161054f36600461304b565b610dcd565b6104716105623660046130df565b610e5c565b6104716105753660046130df565b610ebc565b6104716105883660046130df565b610f08565b61047161059b36600461304b565b610f68565b6104716105ae36600461309a565b610ff7565b6104716105c136600461304b565b61105b565b6104716105d436600461304b565b6110ea565b6104716105e736600461309a565b611179565b6104716105fa36600461309a565b6111c7565b61047161060d36600461309a565b611215565b61047161062036600461309a565b611263565b6104716106333660046130df565b6112b1565b61047161064636600461304b565b611311565b6104ed60035481565b6104ed60025481565b61047161066b3660046130df565b6113b6565b61047161067e3660046130df565b611416565b61047161069136600461309a565b611462565b6104716106a436600461309a565b6114b0565b6104716106b736600461309a565b6114fe565b6104716106ca36600461309a565b61154c565b6104716106dd36600461309a565b61159a565b6104716106f036600461309a565b6115e8565b6104716107033660046130df565b611636565b61047161071636600461309a565b611682565b61047161072936600461304b565b6116d0565b61047161073c36600461304b565b61175f565b61047161074f36600461304b565b6117ee565b6104ed60065481565b6104ed60075481565b6104716107743660046130df565b61187d565b61047161078736600461309a565b6118dd565b61047161079a3660046130df565b61192b565b6104716107ad36600461304b565b611977565b6104716107c036600461309a565b611a06565b6104716107d336600461309a565b611a54565b6104716107e636600461304b565b611aa2565b6104716107f93660046130df565b611b31565b61047161080c3660046130df565b611b91565b61047161081f36600461304b565b611bdd565b61047161083236600461309a565b611c6c565b6104716108453660046130df565b611cba565b6104716108583660046130df565b611d06565b6104ed60015481565b61047161087436600461304b565b611d52565b61047161088736600461304b565b611de1565b61047161089a36600461304b565b611e70565b6104716108ad36600461304b565b611eff565b6104716108c036600461304b565b611f8e565b6104ed60045481565b6104716108dc36600461304b565b61201d565b6104716108ef36600461304b565b6120ac565b61047161090236600461309a565b61213b565b61047161091536600461304b565b612189565b61047161092836600461309a565b612218565b61047161093b36600461304b565b612266565b61047161094e36600461309a565b6122f5565b5f6109938584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f6109d58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6109e28383612364565b90506109ed8161239a565b600355505050505050565b5f610a388584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b9050835f610a4683836123b4565b9050610a518161239a565b600755505050505050565b5f610a9c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f610ade8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6109e283836123d5565b5f610b2b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b9050835f6109e2838361240b565b5f610b798584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b9050835f610b878383612439565b9050610b928161239a565b600455505050505050565b5f610bdd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f610c1f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610a468383612448565b5f610c6c8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f610c7882612485565b9050610c838161239a565b60055550505050565b5f610ccc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b9050835f610b878383612495565b5f610d1a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f610d5c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610d6983836124c3565b9050610d748161239a565b600655505050505050565b5f610dbf8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b9050835f610a4683836124f3565b5f610e0d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f610e4f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6109e28383612502565b5f610e9c8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f610ea882612538565b9050610eb38161239a565b60045550505050565b5f610efc8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f610ea882612485565b5f610f488484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610f5482612485565b9050610f5f8161239a565b60025550505050565b5f610fa88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f610fea8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610a468383612542565b5f6110378584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b9050835f6110458383612572565b90506110508161239a565b600555505050505050565b5f61109b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f6110dd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610b878383612581565b5f61112a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f61116c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610b8783836125b1565b5f6111b98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b9050835f6109e283836125e7565b5f6112078584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b9050835f6109e28383612608565b5f6112558584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b9050835f610a468383612617565b5f6112a38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b9050835f610a468383612626565b5f6112f18484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f6112fd82612485565b90506113088161239a565b60065550505050565b5f6113518584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6113938585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6113a08383612635565b90506113ab8161239a565b600255505050505050565b5f6113f68484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f61140282612538565b905061140d8161239a565b60075550505050565b5f6114568484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f61140282612485565b5f6114a28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b9050835f6110458383612663565b5f6114f08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b9050835f6113a08383612672565b5f61153e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b9050835f6113a08383612681565b5f61158c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b9050835f6113a08383612690565b5f6115da8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b9050835f6113a0838361269f565b5f6116288584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b9050835f6109e283836126ae565b5f6116768484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f6112fd82612538565b5f6116c28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b9050835f610b8783836126bd565b5f6117108584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f6117528585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610b8783836126cc565b5f61179f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f6117e18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610d6983836126fc565b5f61182e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f6118708585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610d69838361272c565b5f6118bd8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f6118c982612485565b90506118d48161239a565b60035550505050565b5f61191d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b9050835f611045838361275c565b5f61196b8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f610c7882612538565b5f6119b78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b90505f6119f98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610b87838361276b565b5f611a468584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b9050835f610d69838361279b565b5f611a948584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061242c92505050565b9050835f610b8783836127aa565b5f611ae28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f611b248585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6113a083836127b9565b5f611b718484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506127e792505050565b90505f611b7d82612538565b9050611b888161239a565b60015550505050565b5f611bd18484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610f5482612538565b5f611c1d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f611c5f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f61104583836127f4565b5f611cac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b9050835f610d698383612824565b5f611cfa8484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f6118c982612538565b5f611d468484848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506127e792505050565b90505f611b7d82612485565b5f611d928584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f611dd48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6110458383612833565b5f611e218584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f611e638585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610a468383612863565b5f611eb08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f611ef28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6110458383612893565b5f611f3f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f611f818585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6113a083836128c3565b5f611fce8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b90505f6120108585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f61104583836128f1565b5f61205d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f61209f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6113a08383612921565b5f6120ec8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b90505f61212e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610d69838361294f565b5f61217b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061247892505050565b9050835f611045838361297f565b5f6121c98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061234392505050565b90505f61220b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f6109e2838361298e565b5f6122588584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b9050835f610d6983836129be565b5f6122a68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506123a792505050565b90505f6122e88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061235792505050565b90505f610a4683836129cd565b5f6123358584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506124b692505050565b9050835f610d6983836129fd565b5f61235083836003612a0c565b9392505050565b5f61235083836002612a0c565b5f82612376576123735f612b0a565b92505b81612387576123845f612b16565b91505b6123508361239484612b22565b5f612b2e565b6123a48130612beb565b50565b5f61235083836008612a0c565b5f826123c6576123c35f612c61565b92505b612350838360ff166001612b2e565b5f826123e7576123e45f612b0a565b92505b816123f8576123f55f612b16565b91505b6123508361240584612b22565b5f612c6d565b5f8261241d5761241a5f612b0a565b92505b612350838360ff166001612ce4565b5f61235083836004612a0c565b5f826123c6576123c35f612d5b565b5f8261245a576124575f612c61565b92505b8161246b576124685f612b16565b91505b6123508361240584612d67565b5f61235083836005612a0c565b5f61248f82612d73565b92915050565b5f826124a7576124a45f612d5b565b92505b612350838360ff166001612dfd565b5f61235083836006612a0c565b5f826124d5576124d25f612e74565b92505b816124e6576124e35f612b16565b91505b6123508361239484612e80565b5f826124a7576124a45f612c61565b5f82612514576125115f612b0a565b92505b81612525576125225f612b16565b91505b6123508361253284612b22565b5f612dfd565b5f61248f82612e8c565b5f82612554576125515f612c61565b92505b81612565576125625f612b16565b91505b6123508361239484612d67565b5f826124a7576124a45f612eda565b5f82612593576125905f612d5b565b92505b816125a4576125a15f612b16565b91505b6123508361239484612ee6565b5f826125c3576125c05f612d5b565b92505b816125d4576125d15f612b16565b91505b612350836125e184612ee6565b5f612ce4565b5f826125f9576125f65f612b0a565b92505b612350838360ff166001612c6d565b5f826123c6576123c35f612b0a565b5f826125f9576125f65f612c61565b5f8261241d5761241a5f612c61565b5f82612647576126445f612b16565b92505b81612658576126555f612b16565b91505b61235083835f612b2e565b5f826125f9576125f65f612eda565b5f826124a7576124a45f612b16565b5f8261241d5761241a5f612b16565b5f826125f9576125f65f612b16565b5f826123c6576123c35f612b16565b5f826124a7576124a45f612b0a565b5f826125f9576125f65f612d5b565b5f826126de576126db5f612d5b565b92505b816126ef576126ec5f612b16565b91505b6123508361240584612ee6565b5f8261270e5761270b5f612e74565b92505b8161271f5761271c5f612b16565b91505b6123508361240584612e80565b5f8261273e5761273b5f612e74565b92505b8161274f5761274c5f612b16565b91505b612350836125e184612e80565b5f826123c6576123c35f612eda565b5f8261277d5761277a5f612d5b565b92505b8161278e5761278b5f612b16565b91505b6123508361253284612ee6565b5f826124a7576124a45f612e74565b5f8261241d5761241a5f612d5b565b5f826127cb576127c85f612b16565b92505b816127dc576127d95f612b16565b91505b61235083835f612c6d565b5f61235083836001612a0c565b5f82612806576128035f612eda565b92505b81612817576128145f612b16565b91505b6123508361253284612ef2565b5f826125f9576125f65f612e74565b5f82612845576128425f612eda565b92505b81612856576128535f612b16565b91505b6123508361240584612ef2565b5f82612875576128725f612c61565b92505b81612886576128835f612b16565b91505b6123508361253284612d67565b5f826128a5576128a25f612eda565b92505b816128b6576128b35f612b16565b91505b612350836125e184612ef2565b5f826128d5576128d25f612b16565b92505b816128e6576128e35f612b16565b91505b61235083835f612dfd565b5f82612903576129005f612eda565b92505b81612914576129115f612b16565b91505b6123508361239484612ef2565b5f82612933576129305f612b16565b92505b81612944576129415f612b16565b91505b61235083835f612ce4565b5f826129615761295e5f612e74565b92505b816129725761296f5f612b16565b91505b6123508361253284612e80565b5f8261241d5761241a5f612eda565b5f826129a05761299d5f612b0a565b92505b816129b1576129ae5f612b16565b91505b612350836125e184612b22565b5f8261241d5761241a5f612e74565b5f826129df576129dc5f612c61565b92505b816129f0576129ed5f612b16565b91505b612350836125e184612d67565b5f826123c6576123c35f612e74565b5f805160206131d0833981519152546040516302e817ff60e41b81525f915f805160206131b0833981519152916001600160a01b0390911690632e817ff090612a639088903390899060f88a901b90600401613127565b6020604051808303815f875af1158015612a7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa39190613198565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015612aec575f80fd5b505af1158015612afe573d5f803e3d5ffd5b50505050509392505050565b5f61248f826003612efe565b5f61248f826002612efe565b5f61248f826003612fa4565b5f808215612b415750600160f81b612b44565b505f5b5f805160206131d083398151915254604051633bb860cf60e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206131b0833981519152916001600160a01b03169063eee1833c906064015b6020604051808303815f875af1158015612bbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be19190613198565b9695505050505050565b5f5f805160206131b08339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015612c46575f80fd5b505af1158015612c58573d5f803e3d5ffd5b50505050505050565b5f61248f826008612efe565b5f808215612c805750600160f81b612c83565b505f5b5f805160206131d08339815191525460405163112ba71760e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206131b0833981519152916001600160a01b0316906344ae9c5c90606401612ba1565b5f808215612cf75750600160f81b612cfa565b505f5b5f805160206131d083398151915254604051630590734360e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206131b0833981519152916001600160a01b031690630590734390606401612ba1565b5f61248f826004612efe565b5f61248f826008612fa4565b5f805160206131d08339815191525460405163a8b42a8960e01b8152600481018390525f915f805160206131b0833981519152916001600160a01b039091169063a8b42a89906024015b6020604051808303815f875af1158015612dd9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123509190613198565b5f808215612e105750600160f81b612e13565b505f5b5f805160206131d0833981519152546040516389a4314b60e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206131b0833981519152916001600160a01b0316906389a4314b90606401612ba1565b5f61248f826006612efe565b5f61248f826006612fa4565b5f805160206131d0833981519152546040516309c00ffd60e11b8152600481018390525f915f805160206131b0833981519152916001600160a01b03909116906313801ffa90602401612dbd565b5f61248f826005612efe565b5f61248f826004612fa4565b5f61248f826005612fa4565b5f805160206131d083398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206131b0833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015612f78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9c9190613198565b949350505050565b5f805160206131d08339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206131b0833981519152916001600160a01b0390911690634be68d2090604401612f5c565b5f8083601f840112613016575f80fd5b50813567ffffffffffffffff81111561302d575f80fd5b602083019150836020828501011115613044575f80fd5b9250929050565b5f805f806060858703121561305e575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115613082575f80fd5b61308e87828801613006565b95989497509550505050565b5f805f80606085870312156130ad575f80fd5b84359350602085013560ff811681146130c4575f80fd5b9250604085013567ffffffffffffffff811115613082575f80fd5b5f805f604084860312156130f1575f80fd5b83359250602084013567ffffffffffffffff81111561310e575f80fd5b61311a86828701613006565b9497909650939450505050565b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b818110156131695786810183015185820160a00152820161314d565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f602082840312156131a8575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite11ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite11ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite11__factory extends ContractFactory { - constructor(...args: TFHETestSuite11ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite11 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite11__factory { - return super.connect(runner) as TFHETestSuite11__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite11Interface { - return new Interface(_abi) as TFHETestSuite11Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite11 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite11; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite1__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite1__factory.ts deleted file mode 100644 index 2dc5bd7e..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite1__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite1, - TFHETestSuite1Interface, -} from "../../../examples/tests/TFHETestSuite1"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b615ca4806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610625575f3560e01c806380ab715211610328578063c94e6ff2116101b3578063df6532c9116100fe578063eacb29fa116100a9578063f2d8b14b11610084578063f2d8b14b14610ce6578063fabd1f3014610cf9578063fe70051014610d0c578063ffd9518214610d1f575f80fd5b8063eacb29fa14610cad578063ebb8aa4814610cc0578063ee45eaa014610cd3575f80fd5b8063e3c37cf3116100d9578063e3c37cf314610c7e578063e5de12a014610c91578063ea5e86f014610ca4575f80fd5b8063df6532c914610c45578063e1665f3214610c58578063e1c401f714610c6b575f80fd5b8063d7c81b2b1161015e578063dd75391f11610139578063dd75391f14610c0c578063dde5e04e14610c1f578063deab5cd514610c32575f80fd5b8063d7c81b2b14610bd3578063d82c00c014610be6578063dc5596ff14610bf9575f80fd5b8063cfff40b41161018e578063cfff40b414610b9a578063d120c91314610bad578063d415341714610bc0575f80fd5b8063c94e6ff214610b6b578063c9bf2e2214610b7e578063cdd29c3a14610b91575f80fd5b80639351298b11610273578063acbd29301161021e578063b95441cc116101f9578063b95441cc14610b32578063baf7dffe14610b45578063c201d14914610b58575f80fd5b8063acbd293014610af9578063b27f606214610b0c578063b568cec014610b1f575f80fd5b80639e345e8d1161024e5780639e345e8d14610ac05780639f76daf714610ad3578063a494b19114610ae6575f80fd5b80639351298b14610a87578063987d11d514610a9a5780639cfa945214610aad575f80fd5b806385c0ef39116102d35780638c858950116102ae5780638c85895014610a625780638f33885914610a6b5780638fe8226414610a74575f80fd5b806385c0ef3914610a2957806389a5e24c14610a3c5780638b6d576414610a4f575f80fd5b8063823ddeee11610303578063823ddeee146109f0578063851013a514610a035780638545505614610a16575f80fd5b806380ab7152146109b757806381cd57c4146109ca57806381fe84a7146109dd575f80fd5b80634bf39666116104b357806363e645d3116103fe5780636fd1e9f4116103a957806374e2df471161038457806374e2df471461096b578063786896761461097e5780637e0f1bcd146109915780637f79ec0f146109a4575f80fd5b80636fd1e9f41461093257806373dfbd2614610945578063745257d114610958575f80fd5b806369b0f0f3116103d957806369b0f0f3146108f95780636b7f737c1461090c5780636c500d1e1461091f575f80fd5b806363e645d3146108c05780636858a8be146108d3578063689ac68a146108e6575f80fd5b80634fa689721161045e578063574198c111610439578063574198c1146108875780635ca84e851461089a578063639454f3146108ad575f80fd5b80634fa689721461084e57806351bc082a146108615780635349137614610874575f80fd5b80634d5990061161048e5780634d599006146108155780634ece6e5f146108285780634f1ad2be1461083b575f80fd5b80634bf39666146107e65780634c8b1112146107ef5780634d42fcb114610802575f80fd5b806330de33ef116105735780633bc1fe5a1161051e5780634521b4c2116104f95780634521b4c2146107b7578063477a2356146107ca5780634b84c8f9146107dd575f80fd5b80633bc1fe5a1461077e5780634128a63714610791578063440aec76146107a4575f80fd5b806339f51dc01161054e57806339f51dc0146107455780633a55d5e3146107585780633ba5388d1461076b575f80fd5b806330de33ef1461070c578063319a98281461071f57806339ea54fd14610732575f80fd5b8063197e9502116105d357806326cbeb9e116105ae57806326cbeb9e146106d357806327286b36146106e657806328201232146106f9575f80fd5b8063197e9502146106a45780631afdf48e146106b75780631cd03df6146106c0575f80fd5b806314b6f7f61161060357806314b6f7f6146106645780631629d25d14610677578063171c195d14610691575f80fd5b80630348614e146106295780630fcf6c7d1461063e578063129ed98914610651575b5f80fd5b61063c610637366004615b56565b610d32565b005b61063c61064c366004615b56565b610dd7565b61063c61065f366004615b56565b610e7b565b61063c610672366004615b56565b610f20565b61067f5f5481565b60405190815260200160405180910390f35b61063c61069f366004615b56565b610faf565b61063c6106b2366004615b56565b611054565b61067f60055481565b61063c6106ce366004615b56565b6110e3565b61063c6106e1366004615b56565b611188565b61063c6106f4366004615b56565b611217565b61063c610707366004615b56565b6112bc565b61063c61071a366004615b56565b611361565b61063c61072d366004615b56565b6113f0565b61063c610740366004615b56565b61147f565b61063c610753366004615b56565b611524565b61063c610766366004615b56565b6115b3565b61063c610779366004615b56565b611642565b61063c61078c366004615b56565b6116d1565b61063c61079f366004615b56565b611760565b61063c6107b2366004615b56565b6117ef565b61063c6107c5366004615b56565b61187e565b61063c6107d8366004615b56565b61190d565b61067f60035481565b61067f60025481565b61063c6107fd366004615b56565b61199c565b61063c610810366004615b56565b611a2b565b61063c610823366004615b56565b611aba565b61063c610836366004615b56565b611b49565b61063c610849366004615b56565b611bd8565b61063c61085c366004615b56565b611c67565b61063c61086f366004615b56565b611cf6565b61063c610882366004615b56565b611d85565b61063c610895366004615b56565b611e14565b61063c6108a8366004615b56565b611ea3565b61063c6108bb366004615b56565b611f32565b61063c6108ce366004615b56565b611fc1565b61063c6108e1366004615b56565b612050565b61063c6108f4366004615b56565b6120df565b61063c610907366004615b56565b61216e565b61063c61091a366004615b56565b6121fd565b61063c61092d366004615b56565b61228c565b61063c610940366004615b56565b61231b565b61063c610953366004615b56565b6123aa565b61063c610966366004615b56565b612439565b61063c610979366004615b56565b6124c8565b61063c61098c366004615b56565b612557565b61063c61099f366004615b56565b6125e6565b61063c6109b2366004615b56565b612675565b61063c6109c5366004615b56565b612704565b61063c6109d8366004615b56565b612793565b61063c6109eb366004615b56565b612822565b61063c6109fe366004615b56565b6128b1565b61063c610a11366004615b56565b612940565b61063c610a24366004615b56565b6129cf565b61063c610a37366004615b56565b612a5e565b61063c610a4a366004615b56565b612aed565b61063c610a5d366004615b56565b612b7c565b61067f60065481565b61067f60075481565b61063c610a82366004615b56565b612c0b565b61063c610a95366004615b56565b612c9a565b61063c610aa8366004615b56565b612d29565b61063c610abb366004615b56565b612db8565b61063c610ace366004615b56565b612e47565b61063c610ae1366004615b56565b612ed6565b61063c610af4366004615b56565b612f65565b61063c610b07366004615b56565b612ff4565b61063c610b1a366004615b56565b613083565b61063c610b2d366004615b56565b613112565b61063c610b40366004615b56565b6131a1565b61063c610b53366004615b56565b613230565b61063c610b66366004615b56565b6132bf565b61063c610b79366004615b56565b61334e565b61063c610b8c366004615b56565b6133dd565b61067f60015481565b61063c610ba8366004615b56565b61346c565b61063c610bbb366004615b56565b6134fb565b61063c610bce366004615b56565b61358a565b61063c610be1366004615b56565b613619565b61063c610bf4366004615b56565b6136a8565b61063c610c07366004615b56565b613737565b61063c610c1a366004615b56565b6137c6565b61063c610c2d366004615b56565b613855565b61063c610c40366004615b56565b6138e4565b61063c610c53366004615b56565b613973565b61063c610c66366004615b56565b613a02565b61063c610c79366004615b56565b613a91565b61063c610c8c366004615b56565b613b20565b61063c610c9f366004615b56565b613baf565b61067f60045481565b61063c610cbb366004615b56565b613c3e565b61063c610cce366004615b56565b613ccd565b61063c610ce1366004615b56565b613d5c565b61063c610cf4366004615b56565b613deb565b61063c610d07366004615b56565b613e7a565b61063c610d1a366004615b56565b613f09565b61063c610d2d366004615b56565b613f98565b5f610d728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610db48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc18383614048565b9050610dcc8161407e565b600655505050505050565b5f610e178584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e598585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e66838361408b565b9050610e718161407e565b5f55505050505050565b5f610ebb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610efd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a83836140c1565b9050610f158161407e565b600155505050505050565b5f610f608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610fa28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e6683836140fc565b5f610fef8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6110318585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e838361413f565b90506110498161407e565b600755505050505050565b5f6110948584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6110d68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383614175565b5f6111238584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6111658585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f61117283836141b0565b905061117d8161407e565b600255505050505050565b5f6111c88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61120a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e83836141e6565b5f6112578584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6112998585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a68383614215565b90506112b18161407e565b600355505050505050565b5f6112fc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61133e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614258565b90506113568161407e565b600555505050505050565b5f6113a18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6113e38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383614287565b5f6114308584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6114728585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e6683836142b5565b5f6114bf8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6115018585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e83836142f8565b90506115198161407e565b600455505050505050565b5f6115648584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6115a68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e838361432e565b5f6115f38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6116358585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e838361435d565b5f6116828584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6116c48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f611172838361438c565b5f6117118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6117538585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b83836143c2565b5f6117a08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6117e28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e83836143f1565b5f61182f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6118718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e668383614427565b5f6118be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6119008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e66838361445d565b5f61194d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61198f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e66838361448c565b5f6119dc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611a1e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e6683836144bb565b5f611a6b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611aad8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a83836144ea565b5f611afa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611b3c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e668383614518565b5f611b898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611bcb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e668383614547565b5f611c188584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611c5a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f6111728383614575565b5f611ca78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611ce98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e6683836145a4565b5f611d368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611d788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f61117283836145d2565b5f611dc58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611e078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f6111728383614601565b5f611e548584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611e968585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614637565b5f611ee38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611f258585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e668383614666565b5f611f728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f611fb48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc18383614695565b5f6120018584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6120438585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a683836146c4565b5f6120908584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6120d28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc183836146f3565b5f61211f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6121618585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e668383614722565b5f6121ae8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6121f08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc18383614751565b5f61223d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61227f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e668383614780565b5f6122cc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61230e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e83836147af565b5f61235b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61239d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e6683836147de565b5f6123ea8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61242c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614814565b5f6124798584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6124bb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e668383614843565b5f6125088584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61254a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f6111728383614872565b5f6125978584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6125d98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a683836148a1565b5f6126268584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6126688585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e6683836148d0565b5f6126b58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6126f78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a683836148ff565b5f6127448584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6127868585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc1838361492e565b5f6127d38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6128158585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e66838361495d565b5f6128628584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6128a48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc18383614993565b5f6128f18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6129338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc183836149c2565b5f6129808584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6129c28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e6683836149f1565b5f612a0f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612a518585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e668383614a20565b5f612a9e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612ae08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a68383614a4f565b5f612b2d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612b6f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a68383614a7e565b5f612bbc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612bfe8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e668383614aad565b5f612c4b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612c8d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e8383614adb565b5f612cda8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612d1c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383614b0a565b5f612d698584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612dab8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e668383614b38565b5f612df88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612e3a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e8383614b67565b5f612e878584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612ec98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e8383614b96565b5f612f168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612f588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e668383614bc5565b5f612fa58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f612fe78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614bf3565b5f6130348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6130768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f6111728383614c22565b5f6130c38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6131058585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614c51565b5f6131528584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6131948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e668383614c80565b5f6131e18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6132238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e668383614caf565b5f6132708584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6132b28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f610e668383614cde565b5f6132ff8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6133418585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383614d0d565b5f61338e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6133d08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383614d3b565b5f61341d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61345f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610dc18383614d6a565b5f6134ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6134ee8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383614d99565b5f61353b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61357d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383614dc8565b5f6135ca8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61360c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614df6565b5f6136598584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61369b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e8383614e25565b5f6136e88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61372a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061403b92505050565b90505f610e668383614e54565b5f6137778584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6137b98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383614e83565b5f6138068584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6138488585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a68383614eb2565b5f6138958584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6138d78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061424b92505050565b90505f61134b8383614ee1565b5f6139248584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6139668585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f61150e8383614f10565b5f6139b38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f6139f58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383614f3f565b5f613a428584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613a848585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f6111728383614f6e565b5f613ad18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613b138585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e8383614f9d565b5f613b608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613ba28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383614fcc565b5f613bef8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613c318585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e668383614ffb565b5f613c7e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613cc08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610f0a8383615029565b5f613d0d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613d4f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f6112a68383615057565b5f613d9c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613dde8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f610e668383615086565b5f613e2b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613e6d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506142eb92505050565b90505f610e6683836150b4565b5f613eba8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613efc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061413292505050565b90505f61103e83836150e3565b5f613f498584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f613f8b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506140ef92505050565b90505f610e668383615112565b5f613fd88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061402792505050565b90505f61401a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506141a392505050565b90505f610e668383615141565b5f61403483836001615170565b9392505050565b5f61403483836006615170565b5f8261405a576140575f61526e565b92505b8161406b576140685f615280565b91505b6140346140778461528c565b835f615298565b6140888130615355565b50565b5f8261409d5761409a5f61526e565b92505b816140ae576140ab5f615280565b91505b6140346140ba8461528c565b835f6153cb565b5f826140d3576140d05f61526e565b92505b816140e4576140e15f61526e565b91505b61403483835f615442565b5f61403483836003615170565b5f8261410e5761410b5f61526e565b92505b8161411f5761411c5f6154b9565b91505b61403461412b846154c5565b835f6154d1565b5f61403483836008615170565b5f826141515761414e5f61526e565b92505b816141625761415f5f615548565b91505b61403461416e84615554565b835f615442565b5f82614187576141845f61526e565b92505b81614198576141955f61526e565b91505b61403483835f615560565b5f61403483836002615170565b5f826141c2576141bf5f61526e565b92505b816141d3576141d05f6155d7565b91505b6140346141df846155e3565b835f6155ef565b5f826141f8576141f55f61526e565b92505b81614209576142065f615548565b91505b61403461407784615554565b5f82614227576142245f61526e565b92505b81614238576142355f6154b9565b91505b614034614244846154c5565b835f615666565b5f61403483836005615170565b5f8261426a576142675f61526e565b92505b8161427b576142785f6156dd565b91505b6140346141df846156e9565b5f82614299576142965f61526e565b92505b816142aa576142a75f61526e565b91505b61403483835f6155ef565b5f826142c7576142c45f61526e565b92505b816142d8576142d55f6154b9565b91505b6140346142e4846154c5565b835f6156f5565b5f61403483836004615170565b5f8261430a576143075f61526e565b92505b8161431b576143185f61576c565b91505b61403461432784615778565b835f615784565b5f826143405761433d5f61526e565b92505b816143515761434e5f61576c565b91505b61403461424484615778565b5f8261436f5761436c5f61526e565b92505b816143805761437d5f61576c565b91505b6140346141df84615778565b5f8261439e5761439b5f61526e565b92505b816143af576143ac5f6155d7565b91505b6140346143bb846155e3565b835f615560565b5f826143d4576143d15f61526e565b92505b816143e5576143e25f6156dd565b91505b6140346143bb846156e9565b5f82614403576144005f61526e565b92505b81614414576144115f61576c565b91505b61403461442084615778565b835f6157fb565b5f82614439576144365f61526e565b92505b8161444a576144475f615280565b91505b6140346144568461528c565b835f615872565b5f8261446f5761446c5f61526e565b92505b816144805761447d5f6156dd565b91505b6140346142e4846156e9565b5f8261449e5761449b5f61526e565b92505b816144af576144ac5f615280565b91505b6140346142e48461528c565b5f826144cd576144ca5f61526e565b92505b816144de576144db5f6156dd565b91505b6140346140ba846156e9565b5f826144fc576144f95f61526e565b92505b8161450d5761450a5f61526e565b91505b61403483835f6157fb565b5f8261452a576145275f61526e565b92505b8161453b576145385f6154b9565b91505b6140346140ba846154c5565b5f82614559576145565f61526e565b92505b8161456a576145675f61526e565b91505b61403483835f6154d1565b5f82614587576145845f61526e565b92505b81614598576145955f6155d7565b91505b614034614420846155e3565b5f826145b6576145b35f61526e565b92505b816145c7576145c45f61526e565b91505b61403483835f6158e9565b5f826145e4576145e15f61526e565b92505b816145f5576145f25f6155d7565b91505b614034614077846155e3565b5f82614613576146105f61526e565b92505b81614624576146215f6155d7565b91505b614034614630846155e3565b835f615960565b5f82614649576146465f61526e565b92505b8161465a576146575f6156dd565b91505b614034614244846156e9565b5f82614678576146755f61526e565b92505b81614689576146865f61576c565b91505b6140346140ba84615778565b5f826146a7576146a45f61526e565b92505b816146b8576146b55f615280565b91505b6140346143278461528c565b5f826146d6576146d35f61526e565b92505b816146e7576146e45f6154b9565b91505b614034614420846154c5565b5f82614705576147025f61526e565b92505b81614716576147135f615280565b91505b6140346141df8461528c565b5f82614734576147315f61526e565b92505b81614745576147425f61576c565b91505b6140346142e484615778565b5f82614763576147605f61526e565b92505b81614774576147715f615280565b91505b6140346143bb8461528c565b5f826147925761478f5f61526e565b92505b816147a3576147a05f61576c565b91505b61403461412b84615778565b5f826147c1576147be5f61526e565b92505b816147d2576147cf5f615548565b91505b61403461463084615554565b5f826147f0576147ed5f61526e565b92505b81614801576147fe5f615280565b91505b61403461480d8461528c565b835f6158e9565b5f82614826576148235f61526e565b92505b81614837576148345f6156dd565b91505b61403461416e846156e9565b5f82614855576148525f61526e565b92505b81614866576148635f615280565b91505b61403461412b8461528c565b5f82614884576148815f61526e565b92505b81614895576148925f6155d7565b91505b614034614327846155e3565b5f826148b3576148b05f61526e565b92505b816148c4576148c15f6154b9565b91505b614034614077846154c5565b5f826148e2576148df5f61526e565b92505b816148f3576148f05f6154b9565b91505b61403461480d846154c5565b5f826149115761490e5f61526e565b92505b816149225761491f5f6154b9565b91505b614034614327846154c5565b5f826149405761493d5f61526e565b92505b816149515761494e5f615280565b91505b6140346146308461528c565b5f8261496f5761496c5f61526e565b92505b816149805761497d5f6154b9565b91505b61403461498c846154c5565b835f6159d7565b5f826149a5576149a25f61526e565b92505b816149b6576149b35f615280565b91505b6140346144208461528c565b5f826149d4576149d15f61526e565b92505b816149e5576149e25f615280565b91505b61403461416e8461528c565b5f82614a0357614a005f61526e565b92505b81614a1457614a115f6156dd565b91505b61403461480d846156e9565b5f82614a3257614a2f5f61526e565b92505b81614a4357614a405f6156dd565b91505b61403461412b846156e9565b5f82614a6157614a5e5f61526e565b92505b81614a7257614a6f5f6154b9565b91505b6140346143bb846154c5565b5f82614a9057614a8d5f61526e565b92505b81614aa157614a9e5f6154b9565b91505b614034614630846154c5565b5f82614abf57614abc5f61526e565b92505b81614ad057614acd5f61526e565b91505b61403483835f6153cb565b5f82614aed57614aea5f61526e565b92505b81614afe57614afb5f61576c565b91505b61403461416e84615778565b5f82614b1c57614b195f61526e565b92505b81614b2d57614b2a5f61526e565b91505b61403483835f615784565b5f82614b4a57614b475f61526e565b92505b81614b5b57614b585f61576c565b91505b61403461498c84615778565b5f82614b7957614b765f61526e565b92505b81614b8a57614b875f61576c565b91505b6140346143bb84615778565b5f82614ba857614ba55f61526e565b92505b81614bb957614bb65f615548565b91505b61403461424484615554565b5f82614bd757614bd45f61526e565b92505b81614be857614be55f61526e565b91505b61403483835f6159d7565b5f82614c0557614c025f61526e565b92505b81614c1657614c135f6156dd565b91505b614034614327846156e9565b5f82614c3457614c315f61526e565b92505b81614c4557614c425f6155d7565b91505b614034614244846155e3565b5f82614c6357614c605f61526e565b92505b81614c7457614c715f6156dd565b91505b614034614077846156e9565b5f82614c9257614c8f5f61526e565b92505b81614ca357614ca05f61576c565b91505b61403461445684615778565b5f82614cc157614cbe5f61526e565b92505b81614cd257614ccf5f6156dd565b91505b61403461498c846156e9565b5f82614cf057614ced5f61526e565b92505b81614d0157614cfe5f6156dd565b91505b614034614456846156e9565b5f82614d1f57614d1c5f61526e565b92505b81614d3057614d2d5f61526e565b91505b61403483835f615960565b5f82614d4d57614d4a5f61526e565b92505b81614d5e57614d5b5f6155d7565b91505b6140346142e4846155e3565b5f82614d7c57614d795f61526e565b92505b81614d8d57614d8a5f615280565b91505b6140346142448461528c565b5f82614dab57614da85f61526e565b92505b81614dbc57614db95f6155d7565b91505b61403461498c846155e3565b5f82614dda57614dd75f61526e565b92505b81614deb57614de85f61526e565b91505b61403483835f615666565b5f82614e0857614e055f61526e565b92505b81614e1957614e165f6156dd565b91505b614034614630846156e9565b5f82614e3757614e345f61526e565b92505b81614e4857614e455f61576c565b91505b61403461407784615778565b5f82614e6657614e635f61526e565b92505b81614e7757614e745f615280565b91505b61403461498c8461528c565b5f82614e9557614e925f61526e565b92505b81614ea657614ea35f6155d7565b91505b614034614456846155e3565b5f82614ec457614ec15f61526e565b92505b81614ed557614ed25f6154b9565b91505b6140346141df846154c5565b5f82614ef357614ef05f61526e565b92505b81614f0457614f015f6156dd565b91505b614034614420846156e9565b5f82614f2257614f1f5f61526e565b92505b81614f3357614f305f61576c565b91505b61403461463084615778565b5f82614f5157614f4e5f61526e565b92505b81614f6257614f5f5f6155d7565b91505b61403461412b846155e3565b5f82614f8057614f7d5f61526e565b92505b81614f9157614f8e5f6155d7565b91505b61403461416e846155e3565b5f82614faf57614fac5f61526e565b92505b81614fc057614fbd5f615548565b91505b6140346141df84615554565b5f82614fde57614fdb5f61526e565b92505b81614fef57614fec5f6155d7565b91505b6140346140ba846155e3565b5f8261500d5761500a5f61526e565b92505b8161501e5761501b5f61526e565b91505b61403483835f6156f5565b5f8261503b576150385f61526e565b92505b8161504c576150495f61526e565b91505b61403483835f615298565b5f82615069576150665f61526e565b92505b8161507a576150775f6154b9565b91505b61403461416e846154c5565b5f82615098576150955f61526e565b92505b816150a9576150a65f61526e565b91505b61403483835f615872565b5f826150c6576150c35f61526e565b92505b816150d7576150d45f61576c565b91505b61403461480d84615778565b5f826150f5576150f25f61526e565b92505b81615106576151035f615548565b91505b61403461442084615554565b5f82615124576151215f61526e565b92505b81615135576151325f6154b9565b91505b614034614456846154c5565b5f82615153576151505f61526e565b92505b81615164576151615f6155d7565b91505b61403461480d846155e3565b5f80516020615c78833981519152546040516302e817ff60e41b81525f915f80516020615c58833981519152916001600160a01b0390911690632e817ff0906151c79088903390899060f88a901b90600401615bcf565b6020604051808303815f875af11580156151e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906152079190615c40565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015615250575f80fd5b505af1158015615262573d5f803e3d5ffd5b50505050509392505050565b5f61527a826001615a4e565b92915050565b5f61527a826006615a4e565b5f61527a826006615af4565b5f8082156152ab5750600160f81b6152ae565b505f5b5f80516020615c7883398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b031690632c7d67b7906064015b6020604051808303815f875af1158015615327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061534b9190615c40565b9695505050505050565b5f5f80516020615c588339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b1580156153b0575f80fd5b505af11580156153c2573d5f803e3d5ffd5b50505050505050565b5f8082156153de5750600160f81b6153e1565b505f5b5f80516020615c78833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063694daf729060640161530b565b5f8082156154555750600160f81b615458565b505f5b5f80516020615c7883398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063666a35889060640161530b565b5f61527a826003615a4e565b5f61527a826003615af4565b5f8082156154e45750600160f81b6154e7565b505f5b5f80516020615c7883398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b031690639675211f9060640161530b565b5f61527a826008615a4e565b5f61527a826008615af4565b5f8082156155735750600160f81b615576565b505f5b5f80516020615c788339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063a86e9de59060640161530b565b5f61527a826002615a4e565b5f61527a826002615af4565b5f8082156156025750600160f81b615605565b505f5b5f80516020615c788339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063816d57d39060640161530b565b5f8082156156795750600160f81b61567c565b505f5b5f80516020615c788339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063f953e4279060640161530b565b5f61527a826005615a4e565b5f61527a826005615af4565b5f8082156157085750600160f81b61570b565b505f5b5f80516020615c788339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063052896f19060640161530b565b5f61527a826004615a4e565b5f61527a826004615af4565b5f8082156157975750600160f81b61579a565b505f5b5f80516020615c7883398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063a87deac49060640161530b565b5f80821561580e5750600160f81b615811565b505f5b5f80516020615c7883398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b031690638c14cc219060640161530b565b5f8082156158855750600160f81b615888565b505f5b5f80516020615c7883398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b031690633e63c50a9060640161530b565b5f8082156158fc5750600160f81b6158ff565b505f5b5f80516020615c7883398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063192710819060640161530b565b5f8082156159735750600160f81b615976565b505f5b5f80516020615c7883398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b03169063ec4057dc9060640161530b565b5f8082156159ea5750600160f81b6159ed565b505f5b5f80516020615c7883398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615c58833981519152916001600160a01b031690636be317589060640161530b565b5f80516020615c7883398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615c58833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615ac8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190615aec9190615c40565b949350505050565b5f80516020615c788339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615c58833981519152916001600160a01b0390911690634be68d2090604401615aac565b5f805f8060608587031215615b69575f80fd5b8435935060208501359250604085013567ffffffffffffffff80821115615b8e575f80fd5b818701915087601f830112615ba1575f80fd5b813581811115615baf575f80fd5b886020828501011115615bc0575f80fd5b95989497505060200194505050565b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b81811015615c115786810183015185820160a001528201615bf5565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f60208284031215615c50575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite1ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite1ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite1__factory extends ContractFactory { - constructor(...args: TFHETestSuite1ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite1 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite1__factory { - return super.connect(runner) as TFHETestSuite1__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite1Interface { - return new Interface(_abi) as TFHETestSuite1Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite1 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite1; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite2__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite2__factory.ts deleted file mode 100644 index 6acb7ef4..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite2__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite2, - TFHETestSuite2Interface, -} from "../../../examples/tests/TFHETestSuite2"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint4_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint8_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b615531806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610624575f3560e01c80636e704abb11610328578063bea9b0a9116101b3578063e11c388e116100fe578063ed534665116100a9578063faa8a61611610084578063faa8a61614610ce5578063fb0e5d5114610cf8578063fc82ac8914610d0b578063ff8e074414610d1e575f80fd5b8063ed53466514610cac578063f33c999214610cbf578063f785b79014610cd2575f80fd5b8063e72cf94e116100d9578063e72cf94e14610c7d578063ea5e86f014610c90578063ebad162014610c99575f80fd5b8063e11c388e14610c44578063e14e901b14610c57578063e514619714610c6a575f80fd5b8063cfaa01481161015e578063d38fc42211610139578063d38fc42214610c0b578063d4bd44f014610c1e578063d7d2d6d314610c31575f80fd5b8063cfaa014814610bd2578063d040559e14610be5578063d1b31a9d14610bf8575f80fd5b8063c74eedf01161018e578063c74eedf014610ba3578063c93cbd6f14610bb6578063cdd29c3a14610bc9575f80fd5b8063bea9b0a914610b6a578063c0dadc3814610b7d578063c16e3b3b14610b90575f80fd5b80638ff43f4711610273578063a0047a631161021e578063b0256570116101f9578063b025657014610b31578063b923e6fa14610b44578063bda92cf814610b57575f80fd5b8063a0047a6314610af8578063a05dc9e514610b0b578063a57419a214610b1e575f80fd5b80639546db011161024e5780639546db0114610abf5780639b783a5514610ad25780639c9de3fc14610ae5575f80fd5b80638ff43f4714610a86578063913f2b2814610a9957806391f65f0d14610aac575f80fd5b80637e305b7e116102d35780638c858950116102ae5780638c85895014610a615780638f0a970b14610a6a5780638f33885914610a7d575f80fd5b80637e305b7e14610a28578063868f368814610a3b5780638a2694f114610a4e575f80fd5b8063794c613111610303578063794c6131146109ef5780637be0c82314610a025780637cf9088c14610a15575f80fd5b80636e704abb146109b657806372dc29e2146109c957806378be4f16146109dc575f80fd5b80632fd68837116104b35780634cf0b611116103fe5780635a2b438e116103a95780636680feb4116103845780636680feb41461096a5780636ad90b0c1461097d5780636ba8261a146109905780636c7a23a9146109a3575f80fd5b80635a2b438e146109315780635f642c1414610944578063601433fe14610957575f80fd5b80635660d95d116103d95780635660d95d146108f8578063592510db1461090b578063596ea1601461091e575f80fd5b80634cf0b611146108bf5780635197fd28146108d257806356314915146108e5575f80fd5b806341b748a91161045e5780634bf39666116104395780634bf39666146108905780634cc9848e146108995780634cedf5d8146108ac575f80fd5b806341b748a91461086157806349567d6c146108745780634b84c8f914610887575f80fd5b80633abbdb321161048e5780633abbdb32146108285780633bffe1d31461083b578063412c0dfe1461084e575f80fd5b80632fd68837146107ef5780633072e1c41461080257806337fcef7014610815575f80fd5b80631ad50ac61161057357806322c71ba01161051e5780632782201a116104f95780632782201a146107b6578063296cee4b146107c95780632cfb9aa4146107dc575f80fd5b806322c71ba01461077d578063234d856d146107905780632500aa1c146107a3575f80fd5b80631fb3929b1161054e5780631fb3929b146107445780631fbb16b31461075757806321fac8d31461076a575f80fd5b80631ad50ac6146107155780631afdf48e146107285780631e90e87414610731575f80fd5b806311172ce5116105d357806317a09328116105ae57806317a09328146106dc5780631a595625146106ef5780631ac2956314610702575f80fd5b806311172ce51461069c57806314df79d3146106af5780631629d25d146106c2575f80fd5b80630b074326116106035780630b074326146106635780630d557698146106765780630efb888f14610689575f80fd5b8062a1bdd2146106285780630509c1ae1461063d5780630748a04b14610650575b5f80fd5b61063b610636366004615391565b610d31565b005b61063b61064b3660046153e7565b610d98565b61063b61065e366004615391565b610de6565b61063b610671366004615425565b610e37565b61063b610684366004615425565b610edc565b61063b610697366004615425565b610f80565b61063b6106aa366004615425565b611025565b61063b6106bd366004615425565b6110b4565b6106ca5f5481565b60405190815260200160405180910390f35b61063b6106ea366004615425565b611143565b61063b6106fd366004615425565b6111d2565b61063b610710366004615425565b611277565b61063b610723366004615391565b611306565b6106ca60055481565b61063b61073f3660046153e7565b611357565b61063b610752366004615425565b6113a5565b61063b610765366004615391565b611434565b61063b610778366004615425565b611485565b61063b61078b366004615425565b611514565b61063b61079e366004615391565b6115a3565b61063b6107b13660046153e7565b6115f4565b61063b6107c4366004615425565b611642565b61063b6107d7366004615425565b6116d1565b61063b6107ea366004615425565b611760565b61063b6107fd366004615425565b6117ef565b61063b610810366004615425565b61187e565b61063b610823366004615425565b61190d565b61063b610836366004615425565b61199c565b61063b610849366004615425565b611a2b565b61063b61085c366004615425565b611aba565b61063b61086f366004615425565b611b49565b61063b610882366004615425565b611bd8565b6106ca60035481565b6106ca60025481565b61063b6108a7366004615425565b611c67565b61063b6108ba366004615425565b611cf6565b61063b6108cd366004615425565b611d85565b61063b6108e0366004615425565b611e14565b61063b6108f3366004615425565b611ea3565b61063b610906366004615425565b611f32565b61063b610919366004615425565b611fc1565b61063b61092c366004615425565b612050565b61063b61093f366004615391565b6120df565b61063b6109523660046153e7565b612130565b61063b610965366004615425565b61217e565b61063b610978366004615425565b61220d565b61063b61098b3660046153e7565b61229c565b61063b61099e366004615425565b6122ea565b61063b6109b1366004615425565b612379565b61063b6109c43660046153e7565b612408565b61063b6109d73660046153e7565b612456565b61063b6109ea366004615391565b6124a4565b61063b6109fd3660046153e7565b6124f5565b61063b610a103660046153e7565b612543565b61063b610a23366004615425565b612591565b61063b610a36366004615425565b612620565b61063b610a49366004615425565b6126af565b61063b610a5c366004615391565b61273e565b6106ca60065481565b61063b610a78366004615425565b61278f565b6106ca60075481565b61063b610a94366004615425565b61281e565b61063b610aa73660046153e7565b6128ad565b61063b610aba366004615425565b6128fb565b61063b610acd366004615425565b61298a565b61063b610ae0366004615425565b612a19565b61063b610af3366004615425565b612aa8565b61063b610b06366004615391565b612b37565b61063b610b19366004615425565b612b88565b61063b610b2c366004615425565b612c17565b61063b610b3f366004615425565b612ca6565b61063b610b52366004615391565b612d35565b61063b610b65366004615391565b612d86565b61063b610b78366004615425565b612dd7565b61063b610b8b366004615425565b612e66565b61063b610b9e366004615425565b612ef5565b61063b610bb1366004615425565b612f84565b61063b610bc4366004615425565b613013565b6106ca60015481565b61063b610be0366004615425565b6130b8565b61063b610bf3366004615425565b613147565b61063b610c063660046153e7565b6131d6565b61063b610c19366004615425565b613224565b61063b610c2c3660046153e7565b6132b3565b61063b610c3f366004615391565b613301565b61063b610c52366004615425565b613352565b61063b610c65366004615425565b6133e1565b61063b610c783660046153e7565b613470565b61063b610c8b366004615425565b6134be565b6106ca60045481565b61063b610ca73660046153e7565b61354d565b61063b610cba3660046153e7565b61359b565b61063b610ccd366004615425565b6135e9565b61063b610ce0366004615391565b613678565b61063b610cf3366004615391565b6136c9565b61063b610d06366004615425565b61371a565b61063b610d19366004615425565b6137a9565b61063b610d2c3660046153e7565b613838565b5f8490505f610d758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d82838361389a565b9050610d8d816138bb565b600155505050505050565b5f610dd88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d8283836138c8565b5f8490505f610e2a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d8283836138e9565b5f610e778584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610eb98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec68383613924565b9050610ed1816138bb565b600455505050505050565b5f610f1c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f5e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b8383613967565b9050610f76816138bb565b5f55505050505050565b5f610fc08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6110028585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f838361399d565b905061101a816138bb565b600255505050505050565b5f6110658584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6110a78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610f6b83836139cb565b5f6110f48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6111368585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b8383613a01565b5f6111838584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6111c58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f8383613a2f565b5f6112128584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6112548585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f6112618383613a6a565b905061126c816138bb565b600355505050505050565b5f6112b78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6112f98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383613a99565b5f8490505f61134a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d828383613acf565b5f6113978584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d828383613af0565b5f6113e58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6114278585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383613b11565b5f8490505f6114788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383613b47565b5f6114c58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6115078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b8383613b68565b5f6115548584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6115968585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b8383613b97565b5f8490505f6115e78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d828383613bc5565b5f6116348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b8383613bf9565b5f6116828584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6116c48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f6112618383613c1a565b5f6117118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6117538585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b8383613c50565b5f6117a08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6117e28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610f6b8383613c7e565b5f61182f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6118718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383613cb4565b5f6118be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6119008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383613cea565b5f61194d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61198f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f6112618383613d20565b5f6119dc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611a1e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec68383613d56565b5f611a6b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f611aad8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b8383613d85565b5f611afa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611b3c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b8383613dbb565b5f611b898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611bcb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383613de9565b5f611c188584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611c5a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383613e1f565b5f611ca78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611ce98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f8383613e55565b5f611d368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f611d788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b8383613e83565b5f611dc58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611e078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f8383613eb9565b5f611e548584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611e968585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383613ee7565b5f611ee38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611f258585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383613f1d565b5f611f728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f611fb48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f6112618383613f53565b5f6120018584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6120438585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f8383613f89565b5f6120908584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6120d28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec68383613fb7565b5f8490505f6121238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383613fed565b5f6121708584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d82838361400e565b5f6121be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6122008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f838361402f565b5f61224d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61228f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b8383614065565b5f6122dc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b8383614094565b5f61232a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61236c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f61126183836140b5565b5f6123b98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6123fb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b83836140eb565b5f6124488584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d82838361411a565b5f6124968584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d82838361413b565b5f8490505f6124e88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b838361415c565b5f6125358584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b838361417d565b5f6125838584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d82838361419e565b5f6125d18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6126138585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f83836141bf565b5f6126608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6126a28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f83836141ed565b5f6126ef8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6127318585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f611261838361421b565b5f8490505f6127828585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d82838361424a565b5f6127cf8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6128118585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec6838361426b565b5f61285e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6128a08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b838361429a565b5f6128ed8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d8283836142d0565b5f61293b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61297d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b83836142f1565b5f6129ca8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612a0c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b838361431f565b5f612a598584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612a9b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f611261838361434e565b5f612ae88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f612b2a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b8383614384565b5f8490505f612b7b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d8283836143b3565b5f612bc88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612c0a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f610f6b83836143d4565b5f612c578584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612c998585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61100f8383614402565b5f612ce68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612d288585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b8383614430565b5f8490505f612d798585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d82838361445f565b5f8490505f612dca8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383614480565b5f612e178584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612e598585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f61126183836144a1565b5f612ea68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612ee88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b83836144d7565b5f612f358584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f612f778585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610f6b838361450d565b5f612fc48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6130068585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a5d92505050565b90505f610f6b838361453c565b5f6130538584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f6130958585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f6130a2838361456b565b90506130ad816138bb565b600755505050505050565b5f6130f88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61313a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b838361459a565b5f6131878584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f6131c98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f610f6b83836145d0565b5f6132168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d8283836145ff565b5f6132648584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6132a68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f8383614620565b5f6132f38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d828383614656565b5f8490505f6133458585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610d828383614675565b5f6133928584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6133d48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec68383614696565b5f6134218584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f6134638585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610ec683836146c5565b5f6134b08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610d8283836146f4565b5f6134fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f6135408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061395a92505050565b90505f6130a28383614713565b5f61358d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b8383614742565b5f6135db8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b8383614763565b5f6136298584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61366b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b8383614784565b5f8490505f6136bc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b83836147ba565b5f8490505f61370d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f610f6b83836147db565b5f61375a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61379c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061391792505050565b90505f610f6b83836147fc565b5f6137e98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061390a92505050565b90505f61382b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b90505f61100f838361482b565b5f6138788584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388692505050565b9050835f610f6b8383614861565b5f61389383836001614882565b9392505050565b5f816138ac576138a95f614980565b91505b613893828460ff166001614992565b6138c58130614a4f565b50565b5f826138da576138d75f614980565b92505b613893838360ff166001614ac5565b5f816138fb576138f85f614980565b91505b613893828460ff166001614b3c565b5f61389383836002614882565b5f61389383836004614882565b5f82613936576139335f614bb3565b92505b81613947576139445f614bbf565b91505b61389361395384614bcb565b835f614bd7565b5f61389383836008614882565b5f82613979576139765f614980565b92505b8161398a576139875f614c4e565b91505b61389361399684614c5a565b835f614c66565b5f826139af576139ac5f614bb3565b92505b816139c0576139bd5f614bb3565b91505b61389383835f614cdd565b5f826139dd576139da5f614bb3565b92505b816139ee576139eb5f614bbf565b91505b6138936139fa84614bcb565b835f614d54565b5f82613a1357613a105f614bb3565b92505b81613a2457613a215f614bb3565b91505b61389383835f614dcb565b5f82613a4157613a3e5f614bb3565b92505b81613a5257613a4f5f614bb3565b91505b61389383835f614e42565b5f61389383836003614882565b5f82613a7c57613a795f614bb3565b92505b81613a8d57613a8a5f614eb9565b91505b61389361395384614ec5565b5f82613aab57613aa85f614bb3565b92505b81613abc57613ab95f614980565b91505b61389383613ac984614ed1565b5f614c66565b5f81613ae157613ade5f614980565b91505b613893828460ff166001614ac5565b5f82613b0257613aff5f614980565b92505b613893838360ff166001614bd7565b5f82613b2357613b205f614bb3565b92505b81613b3457613b315f614980565b91505b61389383613b4184614ed1565b5f614edd565b5f81613b5957613b565f614980565b91505b613893828460ff166001614f54565b5f82613b7a57613b775f614bb3565b92505b81613b8b57613b885f614eb9565b91505b61389361399684614ec5565b5f82613ba957613ba65f614bb3565b92505b81613bba57613bb75f614bb3565b91505b61389383835f614d54565b5f80613bd38460ff16614980565b905082613be657613be35f614980565b92505b613bf181845f614bd7565b949350505050565b5f82613c0b57613c085f614980565b92505b613893838360ff166001614c66565b5f82613c2c57613c295f614bb3565b92505b81613c3d57613c3a5f614eb9565b91505b613893613c4984614ec5565b835f614e42565b5f82613c6257613c5f5f614bb3565b92505b81613c7357613c705f614bb3565b91505b61389383835f614c66565b5f82613c9057613c8d5f614bb3565b92505b81613ca157613c9e5f614bbf565b91505b613893613cad84614bcb565b835f614fcb565b5f82613cc657613cc35f614bb3565b92505b81613cd757613cd45f614980565b91505b61389383613ce484614ed1565b5f614cdd565b5f82613cfc57613cf95f614bb3565b92505b81613d0d57613d0a5f614980565b91505b61389383613d1a84614ed1565b5f614992565b5f82613d3257613d2f5f614bb3565b92505b81613d4357613d405f614eb9565b91505b613893613d4f84614ec5565b835f615042565b5f82613d6857613d655f614bb3565b92505b81613d7957613d765f614bbf565b91505b613893613d4f84614bcb565b5f82613d9757613d945f614980565b92505b81613da857613da55f614c4e565b91505b613893613db484614c5a565b835f614f54565b5f82613dcd57613dca5f614bb3565b92505b81613dde57613ddb5f614bb3565b91505b61389383835f614fcb565b5f82613dfb57613df85f614bb3565b92505b81613e0c57613e095f614980565b91505b61389383613e1984614ed1565b5f615042565b5f82613e3157613e2e5f614bb3565b92505b81613e4257613e3f5f614980565b91505b61389383613e4f84614ed1565b5f614e42565b5f82613e6757613e645f614bb3565b92505b81613e7857613e755f614bb3565b91505b61389383835f614992565b5f82613e9557613e925f614980565b92505b81613ea657613ea35f614c4e565b91505b613893613eb284614c5a565b835f614dcb565b5f82613ecb57613ec85f614bb3565b92505b81613edc57613ed95f614bb3565b91505b61389383835f615042565b5f82613ef957613ef65f614bb3565b92505b81613f0a57613f075f614980565b91505b61389383613f1784614ed1565b5f614f54565b5f82613f2f57613f2c5f614bb3565b92505b81613f4057613f3d5f614980565b91505b61389383613f4d84614ed1565b5f614bd7565b5f82613f6557613f625f614bb3565b92505b81613f7657613f735f614eb9565b91505b613893613f8284614ec5565b835f614992565b5f82613f9b57613f985f614bb3565b92505b81613fac57613fa95f614bb3565b91505b61389383835f614ac5565b5f82613fc957613fc65f614bb3565b92505b81613fda57613fd75f614bbf565b91505b613893613fe684614bcb565b835f6150b9565b5f81613fff57613ffc5f614980565b91505b613893828460ff166001614edd565b5f826140205761401d5f614980565b92505b613893838360ff166001614cdd565b5f826140415761403e5f614bb3565b92505b816140525761404f5f614980565b91505b6138938361405f84614ed1565b5f614ac5565b5f82614077576140745f614980565b92505b81614088576140855f614c4e565b91505b6138936139fa84614c5a565b5f826140a6576140a35f614980565b92505b613893838360ff166001614d54565b5f826140c7576140c45f614bb3565b92505b816140d8576140d55f614eb9565b91505b6138936140e484614ec5565b835f614cdd565b5f826140fd576140fa5f614bb3565b92505b8161410e5761410b5f614eb9565b91505b613893613eb284614ec5565b5f8261412c576141295f614980565b92505b613893838360ff166001614992565b5f8261414d5761414a5f614980565b92505b613893838360ff166001614b3c565b5f8161416e5761416b5f614980565b91505b613893828460ff166001614dcb565b5f8261418f5761418c5f614980565b92505b613893838360ff166001614fcb565b5f826141b0576141ad5f614980565b92505b613893838360ff1660016150b9565b5f826141d1576141ce5f614bb3565b92505b816141e2576141df5f614bb3565b91505b61389383835f614bd7565b5f826141ff576141fc5f614bb3565b92505b816142105761420d5f614bb3565b91505b61389383835f614b3c565b5f8261422d5761422a5f614bb3565b92505b8161423e5761423b5f614eb9565b91505b613893613fe684614ec5565b5f8161425c576142595f614980565b91505b613893828460ff166001614e42565b5f8261427d5761427a5f614bb3565b92505b8161428e5761428b5f614bbf565b91505b613893613c4984614bcb565b5f826142ac576142a95f614bb3565b92505b816142bd576142ba5f614eb9565b91505b6138936142c984614ec5565b835f614edd565b5f826142e2576142df5f614980565b92505b613893838360ff166001614e42565b5f82614303576143005f614bb3565b92505b81614314576143115f614bb3565b91505b61389383835f614edd565b5f826143315761432e5f614bb3565b92505b816143425761433f5f614eb9565b91505b613893613db484614ec5565b5f826143605761435d5f614bb3565b92505b816143715761436e5f614eb9565b91505b61389361437d84614ec5565b835f614ac5565b5f82614396576143935f614980565b92505b816143a7576143a45f614c4e565b91505b6138936142c984614c5a565b5f816143c5576143c25f614980565b91505b613893828460ff166001615042565b5f826143e6576143e35f614bb3565b92505b816143f7576143f45f614bb3565b91505b61389383835f614f54565b5f82614414576144115f614bb3565b92505b81614425576144225f614bb3565b91505b61389383835f6150b9565b5f826144425761443f5f614bb3565b92505b81614453576144505f614eb9565b91505b613893613cad84614ec5565b5f816144715761446e5f614980565b91505b613893828460ff1660016150b9565b5f816144925761448f5f614980565b91505b613893828460ff166001614c66565b5f826144b3576144b05f614bb3565b92505b816144c4576144c15f614eb9565b91505b6138936144d084614ec5565b835f614b3c565b5f826144e9576144e65f614bb3565b92505b816144fa576144f75f614980565b91505b6138938361450784614ed1565b5f614dcb565b5f8261451f5761451c5f614bb3565b92505b816145305761452d5f614bbf565b91505b61389361399684614bcb565b5f8261454e5761454b5f614bb3565b92505b8161455f5761455c5f614eb9565b91505b6138936139fa84614ec5565b5f8261457d5761457a5f614980565b92505b8161458e5761458b5f614c4e565b91505b61389361437d84614c5a565b5f826145ac576145a95f614bb3565b92505b816145bd576145ba5f614980565b91505b613893836145ca84614ed1565b5f614fcb565b5f826145e2576145df5f614980565b92505b816145f3576145f05f614c4e565b91505b613893613cad84614c5a565b5f826146115761460e5f614980565b92505b613893838360ff166001615042565b5f826146325761462f5f614bb3565b92505b81614643576146405f614980565b91505b6138938361465084614ed1565b5f614b3c565b5f82614668576146655f614980565b92505b613893838360ff16615130565b5f81614687576146845f614980565b91505b613893828460ff166001614cdd565b5f826146a8576146a55f614bb3565b92505b816146b9576146b65f614bbf565b91505b613893613f8284614bcb565b5f826146d7576146d45f614bb3565b92505b816146e8576146e55f614bbf565b91505b6138936144d084614bcb565b5f82614706576147035f614980565b92505b613893838360ff166151d6565b5f82614725576147225f614980565b92505b81614736576147335f614c4e565b91505b6138936140e484614c5a565b5f82614754576147515f614980565b92505b613893838360ff166001614dcb565b5f82614775576147725f614980565b92505b613893838360ff166001614edd565b5f82614796576147935f614bb3565b92505b816147a7576147a45f614980565b91505b613893836147b484614ed1565b5f614d54565b5f816147cc576147c95f614980565b91505b613893828460ff166001614d54565b5f816147ed576147ea5f614980565b91505b613893828460ff166001614fcb565b5f8261480e5761480b5f614bb3565b92505b8161481f5761481c5f614bbf565b91505b6138936142c984614bcb565b5f8261483d5761483a5f614bb3565b92505b8161484e5761484b5f614980565b91505b6138938361485b84614ed1565b5f6150b9565b5f82614873576148705f614980565b92505b613893838360ff166001614f54565b5f80516020615505833981519152546040516302e817ff60e41b81525f915f805160206154e5833981519152916001600160a01b0390911690632e817ff0906148d99088903390899060f88a901b9060040161545c565b6020604051808303815f875af11580156148f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061491991906154cd565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015614962575f80fd5b505af1158015614974573d5f803e3d5ffd5b50505050509392505050565b5f61498c826001615237565b92915050565b5f8082156149a55750600160f81b6149a8565b505f5b5f8051602061550583398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063666a3588906064015b6020604051808303815f875af1158015614a21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a4591906154cd565b9695505050505050565b5f5f805160206154e58339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614aaa575f80fd5b505af1158015614abc573d5f803e3d5ffd5b50505050505050565b5f808215614ad85750600160f81b614adb565b505f5b5f8051602061550583398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063a87deac490606401614a05565b5f808215614b4f5750600160f81b614b52565b505f5b5f8051602061550583398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063ec4057dc90606401614a05565b5f61498c826002615237565b5f61498c826004615237565b5f61498c8260046152d5565b5f808215614bea5750600160f81b614bed565b505f5b5f8051602061550583398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690638c14cc2190606401614a05565b5f61498c826008615237565b5f61498c8260086152d5565b5f808215614c795750600160f81b614c7c565b505f5b5f805160206155058339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063052896f190606401614a05565b5f808215614cf05750600160f81b614cf3565b505f5b5f805160206155058339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063a86e9de590606401614a05565b5f808215614d675750600160f81b614d6a565b505f5b5f8051602061550583398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690631927108190606401614a05565b5f808215614dde5750600160f81b614de1565b505f5b5f80516020615505833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063694daf7290606401614a05565b5f808215614e555750600160f81b614e58565b505f5b5f805160206155058339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063816d57d390606401614a05565b5f61498c826003615237565b5f61498c8260036152d5565b5f61498c8260026152d5565b5f808215614ef05750600160f81b614ef3565b505f5b5f8051602061550583398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690636be3175890606401614a05565b5f808215614f675750600160f81b614f6a565b505f5b5f8051602061550583398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690639675211f90606401614a05565b5f808215614fde5750600160f81b614fe1565b505f5b5f8051602061550583398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690633e63c50a90606401614a05565b5f8082156150555750600160f81b615058565b505f5b5f805160206155058339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b03169063f953e42790606401614a05565b5f8082156150cc5750600160f81b6150cf565b505f5b5f8051602061550583398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154e5833981519152916001600160a01b031690632c7d67b790606401614a05565b5f80516020615505833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f805160206154e5833981519152916001600160a01b03169063e0c516ae906064015b6020604051808303815f875af11580156151a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906151cd91906154cd565b95945050505050565b5f80516020615505833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f805160206154e5833981519152916001600160a01b0316906336cdd31b9060640161518d565b5f8051602061550583398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206154e5833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af11580156152b1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bf191906154cd565b5f805160206155058339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206154e5833981519152916001600160a01b0390911690634be68d2090604401615295565b803560ff81168114615347575f80fd5b919050565b5f8083601f84011261535c575f80fd5b50813567ffffffffffffffff811115615373575f80fd5b60208301915083602082850101111561538a575f80fd5b9250929050565b5f805f80606085870312156153a4575f80fd5b6153ad85615337565b935060208501359250604085013567ffffffffffffffff8111156153cf575f80fd5b6153db8782880161534c565b95989497509550505050565b5f805f80606085870312156153fa575f80fd5b8435935061540a60208601615337565b9250604085013567ffffffffffffffff8111156153cf575f80fd5b5f805f8060608587031215615438575f80fd5b8435935060208501359250604085013567ffffffffffffffff8111156153cf575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b8181101561549e5786810183015185820160a001528201615482565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f602082840312156154dd575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite2ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite2ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite2__factory extends ContractFactory { - constructor(...args: TFHETestSuite2ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite2 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite2__factory { - return super.connect(runner) as TFHETestSuite2__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite2Interface { - return new Interface(_abi) as TFHETestSuite2Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite2 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite2; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite3__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite3__factory.ts deleted file mode 100644 index cac4ba22..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite3__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite3, - TFHETestSuite3Interface, -} from "../../../examples/tests/TFHETestSuite3"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint8", - name: "b", - type: "uint8", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint8_uint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint8", - name: "a", - type: "uint8", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint8_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b615593806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610624575f3560e01c8063880e4acd11610328578063c4581981116101b3578063d85b5d5c116100fe578063e3ac9b3c116100a9578063ea5e86f011610084578063ea5e86f014610cef578063ec56239f14610cf8578063ef9e21ad14610d0b578063f6edafcb14610d1e575f80fd5b8063e3ac9b3c14610cb6578063e5216ad714610cc9578063e573972a14610cdc575f80fd5b8063de6be414116100d9578063de6be41414610c7d578063de8e494614610c90578063df1a0e3014610ca3575f80fd5b8063d85b5d5c14610c44578063da2eb26814610c57578063de049db414610c6a575f80fd5b8063cdd29c3a1161015e578063d3056aa511610139578063d3056aa514610c0b578063d5d9746a14610c1e578063d7c2c4ee14610c31575f80fd5b8063cdd29c3a14610bdc578063d12c822414610be5578063d28fef9e14610bf8575f80fd5b8063c67077311161018e578063c670773114610ba3578063c73f22cc14610bb6578063cd28fa7e14610bc9575f80fd5b8063c458198114610b6a578063c5491e5714610b7d578063c5962bab14610b90575f80fd5b80639c943f6311610273578063b24eec0e1161021e578063bc902408116101f9578063bc90240814610b31578063c2ea382014610b44578063c30d59c914610b57575f80fd5b8063b24eec0e14610af8578063b51eb1c614610b0b578063b7f1666514610b1e575f80fd5b80639f1f20781161024e5780639f1f207814610abf578063a26797d414610ad2578063aac9a7fe14610ae5575f80fd5b80639c943f6314610a865780639da5218b14610a995780639dbd1c8014610aac575f80fd5b806394b98c46116102d3578063988707af116102ae578063988707af14610a4d5780639adfbd6014610a605780639c70f80e14610a73575f80fd5b806394b98c4614610a145780639517abbd14610a2757806397a3ab9a14610a3a575f80fd5b80638f338859116103035780638f338859146109e55780638f55432b146109ee57806393410d7214610a01575f80fd5b8063880e4acd146109b65780638c4dc4cb146109c95780638c858950146109dc575f80fd5b8063455f73d4116104b35780636394c4b6116103fe57806371273965116103a95780637ea94626116103845780637ea946261461096a5780638410384a1461097d57806384f081d81461099057806386bcedc5146109a3575f80fd5b806371273965146109315780637255fd631461094457806377b8a00114610957575f80fd5b80636cf76dd6116103d95780636cf76dd6146108f85780636f27b9441461090b5780636fd06f6e1461091e575f80fd5b80636394c4b6146108bf57806368e5611d146108d25780636c5d3716146108e5575f80fd5b80634df78b661161045e57806362ab74e11161043957806362ab74e11461088657806362c1b01a1461089957806362eafb2e146108ac575f80fd5b80634df78b661461084d57806354cd6fa41461086057806361e0dbdd14610873575f80fd5b80634bf396661161048e5780634bf396661461081e5780634cd23e71146108275780634d71761e1461083a575f80fd5b8063455f73d4146107ef57806345ebf01f146108025780634b84c8f914610815575f80fd5b806316f6b145116105735780633adccaee1161051e5780634231e255116104f95780634231e255146107b6578063439a8800146107c95780634523b2e5146107dc575f80fd5b80633adccaee1461077d5780633c84650614610790578063421c7dab146107a3575f80fd5b80631a61ad191161054e5780631a61ad191461074e5780631afdf48e146107615780632389648f1461076a575f80fd5b806316f6b14514610715578063181247421461072857806318562f1a1461073b575f80fd5b80630e5048b2116105d3578063112b6939116105ae578063112b6939146106d557806315f41089146106e85780631629d25d146106fb575f80fd5b80630e5048b21461069c5780630fa24b00146106af5780630fb7ad76146106c2575f80fd5b80630d01cbb2116106035780630d01cbb2146106635780630d32de0c146106765780630df105cf14610689575f80fd5b806230e1531461062857806305bd46381461063d5780630c32a67e14610650575b5f80fd5b61063b6106363660046153de565b610d31565b005b61063b61064b366004615442565b610dd6565b61063b61065e366004615480565b610e3a565b61063b6106713660046153de565b610ea0565b61063b6106843660046153de565b610f45565b61063b610697366004615442565b610fd4565b61063b6106aa3660046153de565b611022565b61063b6106bd3660046153de565b6110b1565b61063b6106d03660046153de565b611140565b61063b6106e3366004615480565b6111cf565b61063b6106f63660046153de565b611220565b6107035f5481565b60405190815260200160405180910390f35b61063b610723366004615480565b6112af565b61063b610736366004615442565b611300565b61063b6107493660046153de565b61134e565b61063b61075c366004615442565b6113f3565b61070360055481565b61063b6107783660046153de565b611441565b61063b61078b3660046153de565b6114d0565b61063b61079e3660046153de565b61155f565b61063b6107b13660046153de565b6115ee565b61063b6107c43660046153de565b61167d565b61063b6107d73660046153de565b61170c565b61063b6107ea366004615442565b6117b1565b61063b6107fd366004615480565b6117ff565b61063b6108103660046153de565b611850565b61070360035481565b61070360025481565b61063b610835366004615442565b6118df565b61063b6108483660046153de565b61192d565b61063b61085b366004615442565b6119bc565b61063b61086e366004615442565b611a0a565b61063b6108813660046153de565b611a58565b61063b6108943660046153de565b611ae7565b61063b6108a73660046153de565b611b76565b61063b6108ba366004615442565b611c05565b61063b6108cd3660046153de565b611c53565b61063b6108e03660046153de565b611ce2565b61063b6108f33660046153de565b611d71565b61063b6109063660046153de565b611e00565b61063b610919366004615442565b611e8f565b61063b61092c366004615480565b611edd565b61063b61093f3660046153de565b611f2e565b61063b6109523660046153de565b611fbd565b61063b6109653660046153de565b61204c565b61063b6109783660046153de565b6120db565b61063b61098b3660046153de565b61216a565b61063b61099e3660046153de565b61220f565b61063b6109b1366004615442565b61229e565b61063b6109c43660046153de565b6122ec565b61063b6109d7366004615480565b61237b565b61070360065481565b61070360075481565b61063b6109fc3660046153de565b6123cc565b61063b610a0f3660046153de565b61245b565b61063b610a22366004615442565b6124ea565b61063b610a353660046153de565b612538565b61063b610a48366004615480565b6125c7565b61063b610a5b3660046153de565b612618565b61063b610a6e3660046153de565b6126a7565b61063b610a81366004615480565b612736565b61063b610a943660046153de565b612787565b61063b610aa7366004615480565b612816565b61063b610aba3660046153de565b612867565b61063b610acd366004615480565b6128f6565b61063b610ae03660046153de565b612947565b61063b610af33660046153de565b6129d6565b61063b610b063660046153de565b612a65565b61063b610b193660046153de565b612af4565b61063b610b2c366004615442565b612b83565b61063b610b3f3660046153de565b612bd1565b61063b610b523660046153de565b612c60565b61063b610b653660046153de565b612cef565b61063b610b78366004615480565b612d7e565b61063b610b8b3660046153de565b612dcf565b61063b610b9e366004615480565b612e5e565b61063b610bb1366004615480565b612eaf565b61063b610bc4366004615442565b612f00565b61063b610bd7366004615442565b612f4e565b61070360015481565b61063b610bf3366004615442565b612f9c565b61063b610c063660046153de565b612fea565b61063b610c193660046153de565b613079565b61063b610c2c3660046153de565b613108565b61063b610c3f3660046153de565b613197565b61063b610c523660046153de565b613226565b61063b610c653660046153de565b6132b5565b61063b610c783660046153de565b613344565b61063b610c8b3660046153de565b6133d3565b61063b610c9e3660046153de565b613462565b61063b610cb13660046153de565b6134f1565b61063b610cc4366004615480565b613580565b61063b610cd73660046153de565b6135d1565b61063b610cea3660046153de565b613660565b61070360045481565b61063b610d063660046153de565b6136ef565b61063b610d193660046153de565b61377e565b61063b610d2c3660046153de565b61380d565b5f610d718584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610db38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc083836138bd565b9050610dcb816138f3565b600655505050505050565b5f610e168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613900565b9050610e2f816138f3565b600255505050505050565b5f8490505f610e7e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b838361391f565b9050610e96816138f3565b5f55505050505050565b5f610ee08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610f228585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f838361394d565b9050610f3a816138f3565b600755505050505050565b5f610f858584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610fc78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b8383613983565b5f6110148584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e2483836139b9565b5f6110628584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6110a48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc083836139da565b5f6110f18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6111338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b8383613a2a565b5f6111808584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6111c28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f8383613a60565b5f8490505f6112138585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e248383613a8f565b5f6112608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6112a28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b8383613ab0565b5f8490505f6112f38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e248383613ae6565b5f6113408584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b8383613b07565b5f61138e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6113d08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383613b28565b90506113e8816138f3565b600355505050505050565b5f6114338584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613b5e565b5f6114818584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6114c38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc08383613b7f565b5f6115108584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6115528585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b8383613bb5565b5f61159f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6115e18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613beb92505050565b90505f610e8b8383613bf8565b5f61162e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6116708585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b8383613c27565b5f6116bd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6116ff8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b8383613c56565b5f61174c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61178e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b8383613c99565b90506117a6816138f3565b600555505050505050565b5f6117f18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613cc8565b5f8490505f6118438585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e248383613ce7565b5f6118908584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6118d28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b8383613d1b565b5f61191f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613d4a565b5f61196d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6119af8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b8383613d6b565b5f6119fc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613da1565b5f611a4a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b8383613dc2565b5f611a988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611ada8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f8383613de3565b5f611b278584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f611b698585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383613e12565b5f611bb68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611bf88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc08383613e48565b5f611c458584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613e77565b5f611c938584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611cd58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b8383613e98565b5f611d228584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f611d648585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383613ece565b5f611db18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611df38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f8383613f04565b5f611e408584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611e828585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc08383613f33565b5f611ecf8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383613f69565b5f8490505f611f218585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e248383613f8a565b5f611f6e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f611fb08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b8383613fab565b5f611ffd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61203f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b8383613fe1565b5f61208c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6120ce8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b8383614017565b5f61211b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61215d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b838361404d565b5f6121aa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6121ec8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613beb92505050565b90505f6121f98383614083565b9050612204816138f3565b600455505050505050565b5f61224f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6122918585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b83836140b2565b5f6122de8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b83836140e1565b5f61232c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61236e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613beb92505050565b90505f610e8b8383614102565b5f8490505f6123bf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b8383614131565b5f61240c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f61244e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383614152565b5f61249b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6124dd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc08383614188565b5f61252a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b83836141b7565b5f6125788584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6125ba8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b83836141d8565b5f8490505f61260b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b8383614207565b5f6126588584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f61269a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383614228565b5f6126e78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6127298585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd838361425e565b5f8490505f61277a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e248383614294565b5f6127c78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6128098585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd83836142b5565b5f8490505f61285a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e2483836142eb565b5f6128a78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6128e98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b838361430c565b5f8490505f61293a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e24838361433b565b5f6129878584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6129c98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b838361435c565b5f612a168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f612a588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc0838361438b565b5f612aa58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f612ae78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f83836143ba565b5f612b348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f612b768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f83836143e9565b5f612bc38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383614418565b5f612c118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f612c538585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f6113dd8383614439565b5f612ca08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f612ce28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b838361446f565b5f612d2f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f612d718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b838361449e565b5f8490505f612dc28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b83836144cd565b5f612e0f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f612e518585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b83836144ee565b5f8490505f612ea28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b8383614524565b5f8490505f612ef38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e8b8383614545565b5f612f408584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b8383614566565b5f612f8e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e248383614587565b5f612fdc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b9050835f610e8b83836145a8565b5f61302a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61306c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b83836145c9565b5f6130b98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6130fb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f61179b83836145ff565b5f6131488584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61318a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b838361462e565b5f6131d78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6132198585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610dc0838361465d565b5f6132668584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6132a88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b838361468c565b5f6132f58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6133378585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b83836146c2565b5f6133848584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6133c68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613beb92505050565b90505f6121f983836146f1565b5f6134138584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6134558585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f8383614720565b5f6134a28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1092505050565b90505f6134e48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a1d92505050565b90505f610e8b838361474f565b5f6135318584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6135738585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613c8c92505050565b90505f610e8b8383614785565b5f8490505f6135c48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f610e2483836147b4565b5f6136118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6136538585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610f2f83836147d5565b5f6136a08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6136e28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b8383614804565b5f61372f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6137718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b8383614833565b5f6137be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f6138008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138b092505050565b90505f610e8b8383614862565b5f61384d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061389c92505050565b90505f61388f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061394092505050565b90505f610e8b8383614891565b5f6138a9838360026148c0565b9392505050565b5f6138a9838360066148c0565b5f826138cf576138cc5f6149be565b92505b816138e0576138dd5f6149d0565b91505b6138a96138ec846149dc565b835f6149e8565b6138fd8130614aa5565b50565b5f826139125761390f5f6149be565b92505b6138a9838360ff16614b1b565b5f816139315761392e5f6149be565b91505b6138a9828460ff166001614bc1565b5f6138a9838360086148c0565b5f8261395f5761395c5f6149be565b92505b816139705761396d5f614c38565b91505b6138a961397c84614c44565b835f614c50565b5f82613995576139925f6149be565b92505b816139a6576139a35f6149d0565b91505b6138a96139b2846149dc565b835f614bc1565b5f826139cb576139c85f6149be565b92505b6138a9838360ff1660016149e8565b5f826139ec576139e95f6149be565b92505b816139fd576139fa5f6149d0565b91505b6138a9613a09846149dc565b835f614cc7565b5f6138a9838360036148c0565b5f6138a9838360016148c0565b5f82613a3c57613a395f614d3e565b92505b81613a4d57613a4a5f614d4a565b91505b6138a983613a5a84614d56565b5f614d62565b5f82613a7257613a6f5f6149be565b92505b81613a8357613a805f614c38565b91505b6138a9613a0984614c44565b5f81613aa157613a9e5f6149be565b91505b6138a9828460ff166001614c50565b5f82613ac257613abf5f6149be565b92505b81613ad357613ad05f6149d0565b91505b6138a9613adf846149dc565b835f614dd9565b5f81613af857613af55f6149be565b91505b6138a9828460ff166001614cc7565b5f82613b1957613b165f6149be565b92505b6138a9838360ff166001614dd9565b5f82613b3a57613b375f614d3e565b92505b81613b4b57613b485f614d4a565b91505b6138a983613b5884614d56565b5f614e50565b5f82613b7057613b6d5f6149be565b92505b6138a9838360ff166001614ec7565b5f82613b9157613b8e5f6149be565b92505b81613ba257613b9f5f6149d0565b91505b6138a9613bae846149dc565b835f614f3e565b5f82613bc757613bc45f6149be565b92505b81613bd857613bd55f6149d0565b91505b6138a9613be4846149dc565b835f614fb5565b5f6138a9838360046148c0565b5f82613c0a57613c075f6149be565b92505b81613c1b57613c185f61502c565b91505b6138a9613be484615038565b5f82613c3957613c365f6149be565b92505b81613c4a57613c475f614c38565b91505b6138a96139b284614c44565b5f82613c6857613c655f614d3e565b92505b81613c7957613c765f614d4a565b91505b6138a983613c8684614d56565b5f614bc1565b5f6138a9838360056148c0565b5f82613cab57613ca85f6149be565b92505b81613cbc57613cb95f615044565b91505b6138a9613bae84615050565b5f82613cda57613cd75f6149be565b92505b6138a9838360ff1661505c565b5f80613cf58460ff166149be565b905082613d0857613d055f6149be565b92505b613d1381845f614e50565b949350505050565b5f82613d2d57613d2a5f6149be565b92505b81613d3e57613d3b5f615044565b91505b6138a961397c84615050565b5f82613d5c57613d595f6149be565b92505b6138a9838360ff1660016150bd565b5f82613d7d57613d7a5f6149be565b92505b81613d8e57613d8b5f615044565b91505b6138a9613d9a84615050565b835f614d62565b5f82613db357613db05f6149be565b92505b6138a9838360ff166001614c50565b5f82613dd457613dd15f6149be565b92505b6138a9838360ff166001615134565b5f82613df557613df25f6149be565b92505b81613e0657613e035f614c38565b91505b6138a96138ec84614c44565b5f82613e2457613e215f614d3e565b92505b81613e3557613e325f614d4a565b91505b6138a983613e4284614d56565b5f614c50565b5f82613e5a57613e575f6149be565b92505b81613e6b57613e685f6149d0565b91505b6138a961397c846149dc565b5f82613e8957613e865f6149be565b92505b6138a9838360ff166001614e50565b5f82613eaa57613ea75f6149be565b92505b81613ebb57613eb85f615044565b91505b6138a9613ec784615050565b835f6151ab565b5f82613ee057613edd5f614d3e565b92505b81613ef157613eee5f614d4a565b91505b6138a983613efe84614d56565b5f614f3e565b5f82613f1657613f135f6149be565b92505b81613f2757613f245f614c38565b91505b6138a9613bae84614c44565b5f82613f4557613f425f6149be565b92505b81613f5657613f535f6149d0565b91505b6138a9613f62846149dc565b835f615222565b5f82613f7b57613f785f6149be565b92505b6138a9838360ff166001615222565b5f81613f9c57613f995f6149be565b91505b6138a9828460ff1660016149e8565b5f82613fbd57613fba5f6149be565b92505b81613fce57613fcb5f615044565b91505b6138a9613fda84615050565b835f6150bd565b5f82613ff357613ff05f6149be565b92505b81614004576140015f615044565b91505b6138a961401084615050565b835f614ec7565b5f82614029576140265f614d3e565b92505b8161403a576140375f614d4a565b91505b6138a98361404784614d56565b5f615134565b5f8261405f5761405c5f6149be565b92505b816140705761406d5f6149d0565b91505b6138a961407c846149dc565b835f615134565b5f82614095576140925f6149be565b92505b816140a6576140a35f61502c565b91505b6138a9613fda84615038565b5f826140c4576140c15f6149be565b92505b816140d5576140d25f615044565b91505b6138a9613f6284615050565b5f826140f3576140f05f6149be565b92505b6138a9838360ff166001614fb5565b5f82614114576141115f6149be565b92505b81614125576141225f61502c565b91505b6138a9613adf84615038565b5f81614143576141405f6149be565b91505b6138a9828460ff166001614fb5565b5f82614164576141615f614d3e565b92505b81614175576141725f614d4a565b91505b6138a98361418284614d56565b5f614cc7565b5f8261419a576141975f6149be565b92505b816141ab576141a85f6149d0565b91505b6138a9614010846149dc565b5f826141c9576141c65f6149be565b92505b6138a9838360ff166001614d62565b5f826141ea576141e75f6149be565b92505b816141fb576141f85f615044565b91505b6138a9613be484615050565b5f81614219576142165f6149be565b91505b6138a9828460ff1660016151ab565b5f8261423a576142375f614d3e565b92505b8161424b576142485f614d4a565b91505b6138a98361425884614d56565b5f6150bd565b5f826142705761426d5f614d3e565b92505b816142815761427e5f614d4a565b91505b6138a98361428e84614d56565b5f6149e8565b5f816142a6576142a35f6149be565b91505b6138a9828460ff166001614ec7565b5f826142c7576142c45f614d3e565b92505b816142d8576142d55f614d4a565b91505b6138a9836142e584614d56565b5f615222565b5f816142fd576142fa5f6149be565b91505b6138a9828460ff166001615222565b5f8261431e5761431b5f6149be565b92505b8161432f5761432c5f614c38565b91505b6138a9613be484614c44565b5f8161434d5761434a5f6149be565b91505b6138a9828460ff166001614f3e565b5f8261436e5761436b5f6149be565b92505b8161437f5761437c5f615044565b91505b6138a96138ec84615050565b5f8261439d5761439a5f6149be565b92505b816143ae576143ab5f6149d0565b91505b6138a9613fda846149dc565b5f826143cc576143c95f6149be565b92505b816143dd576143da5f614c38565b91505b6138a961401084614c44565b5f826143fb576143f85f6149be565b92505b8161440c576144095f614c38565b91505b6138a9613f6284614c44565b5f8261442a576144275f6149be565b92505b6138a9838360ff166001614f3e565b5f8261444b576144485f614d3e565b92505b8161445c576144595f614d4a565b91505b6138a98361446984614d56565b5f614ec7565b5f826144815761447e5f6149be565b92505b816144925761448f5f614c38565b91505b6138a9613ec784614c44565b5f826144b0576144ad5f6149be565b92505b816144c1576144be5f615044565b91505b6138a961407c84615050565b5f816144df576144dc5f6149be565b91505b6138a9828460ff166001615134565b5f82614500576144fd5f614d3e565b92505b816145115761450e5f614d4a565b91505b6138a98361451e84614d56565b5f6151ab565b5f81614536576145335f6149be565b91505b6138a9828460ff166001614dd9565b5f81614557576145545f6149be565b91505b6138a9828460ff166001614d62565b5f82614578576145755f6149be565b92505b6138a9838360ff166001614bc1565b5f82614599576145965f6149be565b92505b6138a9838360ff166001614cc7565b5f826145ba576145b75f6149be565b92505b6138a9838360ff1660016151ab565b5f826145db576145d85f6149be565b92505b816145ec576145e95f615044565b91505b6138a96145f884615050565b835f614e50565b5f826146115761460e5f6149be565b92505b816146225761461f5f615044565b91505b6138a9613a0984615050565b5f826146405761463d5f6149be565b92505b816146515761464e5f615044565b91505b6138a9613adf84615050565b5f8261466f5761466c5f6149be565b92505b816146805761467d5f6149d0565b91505b6138a96145f8846149dc565b5f8261469e5761469b5f614d3e565b92505b816146af576146ac5f614d4a565b91505b6138a9836146bc84614d56565b5f614fb5565b5f826146d4576146d15f6149be565b92505b816146e5576146e25f614c38565b91505b6138a9613adf84614c44565b5f82614703576147005f6149be565b92505b81614714576147115f61502c565b91505b6138a9613bae84615038565b5f826147325761472f5f6149be565b92505b81614743576147405f614c38565b91505b6138a96145f884614c44565b5f826147615761475e5f614d3e565b92505b816147725761476f5f614d4a565b91505b6138a98361477f84614d56565b5f614dd9565b5f82614797576147945f6149be565b92505b816147a8576147a55f615044565b91505b6138a96139b284615050565b5f816147c6576147c35f6149be565b91505b6138a9828460ff1660016150bd565b5f826147e7576147e45f6149be565b92505b816147f8576147f55f614c38565b91505b6138a9613fda84614c44565b5f82614816576148135f6149be565b92505b81614827576148245f614c38565b91505b6138a961407c84614c44565b5f82614845576148425f6149be565b92505b81614856576148535f6149d0565b91505b6138a9613ec7846149dc565b5f82614874576148715f6149be565b92505b81614885576148825f6149d0565b91505b6138a9613d9a846149dc565b5f826148a3576148a05f6149be565b92505b816148b4576148b15f614c38565b91505b6138a9613d9a84614c44565b5f80516020615567833981519152546040516302e817ff60e41b81525f915f80516020615547833981519152916001600160a01b0390911690632e817ff0906149179088903390899060f88a901b906004016154be565b6020604051808303815f875af1158015614933573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614957919061552f565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b1580156149a0575f80fd5b505af11580156149b2573d5f803e3d5ffd5b50505050509392505050565b5f6149ca826002615299565b92915050565b5f6149ca826006615299565b5f6149ca826006615337565b5f8082156149fb5750600160f81b6149fe565b505f5b5f805160206155678339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063f953e427906064015b6020604051808303815f875af1158015614a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a9b919061552f565b9695505050505050565b5f5f805160206155478339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614b00575f80fd5b505af1158015614b12573d5f803e3d5ffd5b50505050505050565b5f80516020615567833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615547833981519152916001600160a01b03169063e0c516ae906064015b6020604051808303815f875af1158015614b94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614bb8919061552f565b95945050505050565b5f808215614bd45750600160f81b614bd7565b505f5b5f805160206155678339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063052896f190606401614a5b565b5f6149ca826008615299565b5f6149ca826008615337565b5f808215614c635750600160f81b614c66565b505f5b5f8051602061556783398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063666a358890606401614a5b565b5f808215614cda5750600160f81b614cdd565b505f5b5f8051602061556783398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063ec4057dc90606401614a5b565b5f6149ca826003615299565b5f6149ca826001615299565b5f6149ca826003615337565b5f808215614d755750600160f81b614d78565b505f5b5f8051602061556783398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690633e63c50a90606401614a5b565b5f808215614dec5750600160f81b614def565b505f5b5f80516020615567833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063694daf7290606401614a5b565b5f808215614e635750600160f81b614e66565b505f5b5f8051602061556783398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690638c14cc2190606401614a5b565b5f808215614eda5750600160f81b614edd565b505f5b5f805160206155678339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063816d57d390606401614a5b565b5f808215614f515750600160f81b614f54565b505f5b5f8051602061556783398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063a87deac490606401614a5b565b5f808215614fc85750600160f81b614fcb565b505f5b5f8051602061556783398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690639675211f90606401614a5b565b5f6149ca826004615299565b5f6149ca826004615337565b5f6149ca826005615299565b5f6149ca826005615337565b5f80516020615567833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615547833981519152916001600160a01b0316906336cdd31b90606401614b78565b5f8082156150d05750600160f81b6150d3565b505f5b5f805160206155678339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b03169063a86e9de590606401614a5b565b5f8082156151475750600160f81b61514a565b505f5b5f8051602061556783398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690631927108190606401614a5b565b5f8082156151be5750600160f81b6151c1565b505f5b5f8051602061556783398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690636be3175890606401614a5b565b5f8082156152355750600160f81b615238565b505f5b5f8051602061556783398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615547833981519152916001600160a01b031690632c7d67b790606401614a5b565b5f8051602061556783398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615547833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615313573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d13919061552f565b5f805160206155678339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615547833981519152916001600160a01b0390911690634be68d20906044016152f7565b5f8083601f8401126153a9575f80fd5b50813567ffffffffffffffff8111156153c0575f80fd5b6020830191508360208285010111156153d7575f80fd5b9250929050565b5f805f80606085870312156153f1575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115615415575f80fd5b61542187828801615399565b95989497509550505050565b803560ff8116811461543d575f80fd5b919050565b5f805f8060608587031215615455575f80fd5b843593506154656020860161542d565b9250604085013567ffffffffffffffff811115615415575f80fd5b5f805f8060608587031215615493575f80fd5b61549c8561542d565b935060208501359250604085013567ffffffffffffffff811115615415575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b818110156155005786810183015185820160a0015282016154e4565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f6020828403121561553f575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite3ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite3ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite3__factory extends ContractFactory { - constructor(...args: TFHETestSuite3ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite3 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite3__factory { - return super.connect(runner) as TFHETestSuite3__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite3Interface { - return new Interface(_abi) as TFHETestSuite3Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite3 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite3; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite4__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite4__factory.ts deleted file mode 100644 index 1242ffbf..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite4__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite4, - TFHETestSuite4Interface, -} from "../../../examples/tests/TFHETestSuite4"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b615ba1806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610624575f3560e01c80638b041c0011610328578063c34b6b7b116101b3578063d6ec68b4116100fe578063eaf5d7aa116100a9578063f5f5e09611610084578063f5f5e09614610ce5578063f99440b314610cf8578063faebb21014610d0b578063fc61c47014610d1e575f80fd5b8063eaf5d7aa14610cac578063f1b5aa4114610cbf578063f1c6af9e14610cd2575f80fd5b8063e10c7d39116100d9578063e10c7d3914610c7d578063e78403ca14610c90578063ea5e86f014610ca3575f80fd5b8063d6ec68b414610c44578063dd19c56914610c57578063df012a2614610c6a575f80fd5b8063c93b30781161015e578063cefa38f411610139578063cefa38f414610c0b578063d03c78af14610c1e578063d1c5a8d014610c31575f80fd5b8063c93b307814610bdc578063cdd29c3a14610bef578063ce9f10eb14610bf8575f80fd5b8063c55ba61b1161018e578063c55ba61b14610ba3578063c5a75bb514610bb6578063c832e26914610bc9575f80fd5b8063c34b6b7b14610b6a578063c3b403f514610b7d578063c53e64d014610b90575f80fd5b80639ee9a4a811610273578063b3be160b1161021e578063be3e25c1116101f9578063be3e25c114610b31578063bef4f8b714610b44578063c2c0605014610b57575f80fd5b8063b3be160b14610af8578063b69caae114610b0b578063bc58805b14610b1e575f80fd5b8063b10ae7961161024e578063b10ae79614610abf578063b1752cef14610ad2578063b2c7c3a514610ae5575f80fd5b80639ee9a4a814610a86578063aafefc3514610a99578063b04c63e314610aac575f80fd5b80638f771381116102d357806397ca10ff116102ae57806397ca10ff14610a4d5780639c6aba6e14610a605780639d54ddb614610a73575f80fd5b80638f77138114610a1457806392cbf99814610a27578063962706b414610a3a575f80fd5b80638d1f7204116103035780638d1f7204146109e55780638e942f7b146109f85780638f33885914610a0b575f80fd5b80638b041c00146109b65780638bb45cbf146109c95780638c858950146109dc575f80fd5b8063404cbb6a116104b357806362d4795e116103fe5780638037450a116103a957806382930e9a1161038457806382930e9a1461096a578063840e61621461097d578063870b4868146109905780638a59c9bc146109a3575f80fd5b80638037450a1461093157806380f670e014610944578063811591c114610957575f80fd5b806377ad8139116103d957806377ad8139146108f85780637820d0da1461090b5780637a75a5ee1461091e575f80fd5b806362d4795e146108bf578063722f7dcc146108d257806373afd556146108e5575f80fd5b80634fd8f9e11161045e578063548241ab11610439578063548241ab1461088657806355b6f9d7146108995780635dcbca7b146108ac575f80fd5b80634fd8f9e11461084d578063502ba2581461086057806352e9388214610873575f80fd5b80634b84c8f91161048e5780634b84c8f9146108285780634bf39666146108315780634c7d393e1461083a575f80fd5b8063404cbb6a146107ef578063409ae41a14610802578063493d39fe14610815575f80fd5b80631a4c12b0116105735780633112805f1161051e57806335a67aa7116104f957806335a67aa7146107b657806337e56fc4146107c95780633bdf4128146107dc575f80fd5b80633112805f1461077d578063311aba8d1461079057806332c812ee146107a3575f80fd5b80631d2104671161054e5780631d2104671461074457806325db19d4146107575780632fc630c91461076a575f80fd5b80631a4c12b0146107155780631afdf48e146107285780631cde800914610731575f80fd5b80630e034f7d116105d35780631629d25d116105ae5780631629d25d146106d557806316472d08146106ef5780631978e42014610702575f80fd5b80630e034f7d1461069c5780630f91ed54146106af57806310681903146106c2575f80fd5b806309f022241161060357806309f02224146106635780630a5a51ac146106765780630ceb895b14610689575f80fd5b80628acd2d1461062857806304e82a361461063d578063068582f414610650575b5f80fd5b61063b610636366004615a01565b610d31565b005b61063b61064b366004615a57565b610d95565b61063b61065e366004615a57565b610e3a565b61063b610671366004615a8e565b610edf565b61063b610684366004615a8e565b610f30565b61063b610697366004615a57565b610f81565b61063b6106aa366004615a57565b611010565b61063b6106bd366004615a57565b6110b4565b61063b6106d0366004615a57565b611159565b6106dd5f5481565b60405190815260200160405180910390f35b61063b6106fd366004615a57565b6111e8565b61063b610710366004615a57565b611277565b61063b610723366004615a57565b611306565b6106dd60055481565b61063b61073f366004615a57565b611395565b61063b610752366004615a57565b61143a565b61063b610765366004615a57565b6114c9565b61063b610778366004615a57565b611558565b61063b61078b366004615a57565b6115e7565b61063b61079e366004615a57565b611676565b61063b6107b1366004615a57565b611705565b61063b6107c4366004615a8e565b611794565b61063b6107d7366004615a57565b6117e5565b61063b6107ea366004615a57565b611874565b61063b6107fd366004615a57565b611903565b61063b610810366004615a57565b611992565b61063b610823366004615a57565b611a21565b6106dd60035481565b6106dd60025481565b61063b610848366004615a57565b611ab0565b61063b61085b366004615a57565b611b3f565b61063b61086e366004615a57565b611bce565b61063b610881366004615a57565b611c5d565b61063b610894366004615a57565b611cec565b61063b6108a7366004615a57565b611d7b565b61063b6108ba366004615a57565b611e0a565b61063b6108cd366004615a57565b611e99565b61063b6108e0366004615a57565b611f28565b61063b6108f3366004615a57565b611fb7565b61063b610906366004615a57565b612046565b61063b610919366004615a57565b6120d5565b61063b61092c366004615a57565b612164565b61063b61093f366004615a57565b6121f3565b61063b610952366004615a57565b612282565b61063b610965366004615a57565b612311565b61063b610978366004615a57565b6123a0565b61063b61098b366004615a57565b61242f565b61063b61099e366004615a57565b6124be565b61063b6109b1366004615a57565b61254d565b61063b6109c4366004615a57565b6125dc565b61063b6109d7366004615a57565b61266b565b6106dd60065481565b61063b6109f3366004615a57565b6126fa565b61063b610a06366004615a57565b612789565b6106dd60075481565b61063b610a22366004615a57565b612818565b61063b610a35366004615a57565b6128a7565b61063b610a48366004615a57565b612936565b61063b610a5b366004615a01565b6129c5565b61063b610a6e366004615a57565b612a13565b61063b610a81366004615a57565b612aa2565b61063b610a94366004615a57565b612b31565b61063b610aa7366004615a57565b612bc0565b61063b610aba366004615a57565b612c4f565b61063b610acd366004615a57565b612cde565b61063b610ae0366004615a57565b612d6d565b61063b610af3366004615a57565b612dfc565b61063b610b06366004615a57565b612e8b565b61063b610b19366004615a57565b612f1a565b61063b610b2c366004615a57565b612fa9565b61063b610b3f366004615a57565b613038565b61063b610b52366004615a57565b6130c7565b61063b610b65366004615a57565b613156565b61063b610b78366004615a57565b6131e5565b61063b610b8b366004615a57565b613274565b61063b610b9e366004615a57565b613303565b61063b610bb1366004615a57565b613392565b61063b610bc4366004615a57565b613421565b61063b610bd7366004615a57565b6134b0565b61063b610bea366004615a57565b61353f565b6106dd60015481565b61063b610c06366004615a57565b6135ce565b61063b610c19366004615a57565b61365d565b61063b610c2c366004615a01565b6136ec565b61063b610c3f366004615a57565b61373a565b61063b610c52366004615a57565b6137c9565b61063b610c65366004615a57565b613858565b61063b610c78366004615a57565b6138e7565b61063b610c8b366004615a57565b613976565b61063b610c9e366004615a57565b613a05565b6106dd60045481565b61063b610cba366004615a57565b613a94565b61063b610ccd366004615a57565b613b23565b61063b610ce0366004615a57565b613bb2565b61063b610cf3366004615a57565b613c41565b61063b610d06366004615a57565b613cd0565b61063b610d19366004615a57565b613d5f565b61063b610d2c366004615a57565b613dee565b5f610d718584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b9050835f610d7f8383613e91565b9050610d8a81613eb3565b600355505050505050565b5f610dd58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610e178585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383613ecd565b9050610e2f81613eb3565b600555505050505050565b5f610e7a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610ebc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383613f10565b9050610ed481613eb3565b600755505050505050565b5f8490505f610f238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383613f46565b5f8490505f610f748585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383613f68565b5f610fc18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6110038585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383613f9d565b5f6110508584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6110928585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f8383613fd8565b90506110aa81613eb3565b5f55505050505050565b5f6110f48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6111368585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f611143838361401b565b905061114e81613eb3565b600455505050505050565b5f6111998584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6111db8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f8383614051565b5f6112288584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61126a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614087565b5f6112b78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6112f98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f83836140b6565b5f6113468584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6113888585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e2483836140e4565b5f6113d58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6114178585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f6114248383614127565b905061142f81613eb3565b600655505050505050565b5f61147a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6114bc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f838361415d565b5f6115098584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61154b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f8383614193565b5f6115988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6115da8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f83836141c9565b5f6116278584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6116698585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61114383836141f7565b5f6116b68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6116f88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f6114248383614226565b5f6117458584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6117878585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614255565b5f8490505f6117d88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f838361428b565b5f6118258584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6118678585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f83836142ad565b5f6118b48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6118f68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f83836142e3565b5f6119438584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6119858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f8383614319565b5f6119d28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611a148585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f838361434f565b5f611a618584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611aa38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f6111438383614385565b5f611af08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611b328585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f83836143b4565b5f611b7f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611bc18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f83836143ea565b5f611c0e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611c508585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f8383614420565b5f611c9d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611cdf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f8383614456565b5f611d2c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611d6e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f6111438383614485565b5f611dbb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611dfd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f83836144bb565b5f611e4a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611e8c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f83836144f1565b5f611ed98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611f1b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f6111438383614520565b5f611f688584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f611faa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614556565b5f611ff78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6120398585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f8383614585565b5f6120868584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6120c88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61114383836145b4565b5f6121158584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6121578585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f83836145e3565b5f6121a48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6121e68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f6114248383614619565b5f6122338584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6122758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f8383614648565b5f6122c28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6123048585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f838361467e565b5f6123518584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6123938585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61142483836146ad565b5f6123e08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6124228585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f83836146dc565b5f61246f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6124b18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f838361470b565b5f6124fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6125408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec9838361473a565b5f61258d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6125cf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f6114248383614769565b5f61261c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61265e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383614798565b5f6126ab8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6126ed8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61142483836147c6565b5f61273a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61277c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f83836147f5565b5f6127c98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61280b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f838361482b565b5f6128588584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61289a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383614861565b5f6128e78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6129298585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f611143838361488f565b5f6129768584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6129b88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f83836148be565b5f612a058584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b9050835f610d7f83836148ec565b5f612a538584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612a958585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f611424838361490e565b5f612ae28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612b248585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f838361493d565b5f612b718584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612bb38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f838361496c565b5f612c008584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612c428585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f838361499a565b5f612c8f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612cd18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f83836149c9565b5f612d1e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612d608585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61114383836149f7565b5f612dad8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612def8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f8383614a26565b5f612e3c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612e7e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f8383614a55565b5f612ecb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612f0d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383614a84565b5f612f5a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f612f9c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614ab2565b5f612fe98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61302b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614ae1565b5f6130788584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6130ba8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614b10565b5f6131078584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6131498585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f8383614b3f565b5f6131968584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6131d88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f8383614b6e565b5f6132258584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6132678585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f8383614ba4565b5f6132b48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6132f68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614bd2565b5f6133438584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f8383614c01565b5f6133d28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6134148585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614c2f565b5f6134618584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6134a38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f8383614c5e565b5f6134f08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6135328585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f8383614c8d565b5f61357f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6135c18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614cbc565b5f61360e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6136508585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f610e248383614ceb565b5f61369d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6136df8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f610d7f8383614d1a565b5f61372c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b9050835f610d7f8383614d48565b5f61377a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6137bc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061400e92505050565b90505f61109f8383614d6a565b5f6138098584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61384b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f8383614d99565b5f6138988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6138da8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f61109f8383614dc7565b5f6139278584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6139698585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f61109f8383614df6565b5f6139b68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f6139f88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f8383614e25565b5f613a458584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613a878585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f8383614e54565b5f613ad48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613b168585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f610d7f8383614e8a565b5f613b638584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613ba58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ec092505050565b90505f61109f8383614ec0565b5f613bf28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613c348585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f61109f8383614eef565b5f613c818584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613cc38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614f1d565b5f613d108584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613d528585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613fcb92505050565b90505f61109f8383614f4c565b5f613d9f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613de18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061411a92505050565b90505f6114248383614f82565b5f613e2e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e7d92505050565b90505f613e708585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f0392505050565b90505f610ec98383614fb1565b5f613e8a83836003614fe0565b9392505050565b5f82613ea357613ea05f6150de565b92505b613e8a838361ffff1660016150f0565b613ebd81306151ad565b50565b5f613e8a83836005614fe0565b5f82613edf57613edc5f6150de565b92505b81613ef057613eed5f615223565b91505b613e8a613efc8461522f565b835f61523b565b5f613e8a83836008614fe0565b5f82613f2257613f1f5f6150de565b92505b81613f3357613f305f6152b2565b91505b613e8a613f3f846152be565b835f6152ca565b5f81613f5857613f555f6150de565b91505b613e8a828461ffff166001615341565b5f80613f778461ffff166150de565b905082613f8a57613f875f6150de565b92505b613f9581845f6150f0565b949350505050565b5f82613faf57613fac5f6150de565b92505b81613fc057613fbd5f6150de565b91505b613e8a83835f6153b8565b5f613e8a83836002614fe0565b5f82613fea57613fe75f6150de565b92505b81613ffb57613ff85f61542f565b91505b613e8a836140088461543b565b5f615447565b5f613e8a83836004614fe0565b5f8261402d5761402a5f6150de565b92505b8161403e5761403b5f6154be565b91505b613e8a61404a846154ca565b835f6150f0565b5f82614063576140605f6150de565b92505b81614074576140715f61542f565b91505b613e8a836140818461543b565b5f6154d6565b5f82614099576140965f6150de565b92505b816140aa576140a75f6152b2565b91505b613e8a613efc846152be565b5f826140c8576140c55f6150de565b92505b816140d9576140d65f6150de565b91505b613e8a83835f615341565b5f826140f6576140f35f6150de565b92505b81614107576141045f615223565b91505b613e8a6141138461522f565b835f61554d565b5f613e8a83836006614fe0565b5f82614139576141365f6150de565b92505b8161414a576141475f6155c4565b91505b613e8a614156846155d0565b835f6154d6565b5f8261416f5761416c5f6150de565b92505b816141805761417d5f61542f565b91505b613e8a8361418d8461543b565b5f6155dc565b5f826141a5576141a25f6150de565b92505b816141b6576141b35f6152b2565b91505b613e8a6141c2846152be565b835f615447565b5f826141db576141d85f6150de565b92505b816141ec576141e95f6150de565b91505b613e8a83835f6152ca565b5f82614209576142065f6150de565b92505b8161421a576142175f6154be565b91505b613e8a614113846154ca565b5f82614238576142355f6150de565b92505b81614249576142465f6155c4565b91505b613e8a613efc846155d0565b5f82614267576142645f6150de565b92505b81614278576142755f615223565b91505b613e8a6142848461522f565b835f615341565b5f8161429d5761429a5f6150de565b91505b613e8a828461ffff16600161523b565b5f826142bf576142bc5f6150de565b92505b816142d0576142cd5f61542f565b91505b613e8a836142dd8461543b565b5f6150f0565b5f826142f5576142f25f6150de565b92505b81614306576143035f6155c4565b91505b613e8a614312846155d0565b835f615653565b5f8261432b576143285f6150de565b92505b8161433c576143395f61542f565b91505b613e8a836143498461543b565b5f6156ca565b5f826143615761435e5f6150de565b92505b816143725761436f5f61542f565b91505b613e8a8361437f8461543b565b5f615653565b5f82614397576143945f6150de565b92505b816143a8576143a55f6154be565b91505b613e8a613efc846154ca565b5f826143c6576143c35f6150de565b92505b816143d7576143d45f615223565b91505b613e8a6143e38461522f565b835f615741565b5f826143fc576143f95f6150de565b92505b8161440d5761440a5f61542f565b91505b613e8a8361441a8461543b565b5f615341565b5f826144325761442f5f6150de565b92505b81614443576144405f6155c4565b91505b613e8a61444f846155d0565b835f6155dc565b5f82614468576144655f6150de565b92505b81614479576144765f615223565b91505b613e8a6141c28461522f565b5f82614497576144945f6150de565b92505b816144a8576144a55f6154be565b91505b613e8a6144b4846154ca565b835f6156ca565b5f826144cd576144ca5f6150de565b92505b816144de576144db5f61542f565b91505b613e8a836144eb8461543b565b5f61523b565b5f82614503576145005f6150de565b92505b81614514576145115f6154be565b91505b613e8a6143e3846154ca565b5f826145325761452f5f6150de565b92505b81614543576145405f6154be565b91505b613e8a61454f846154ca565b835f6153b8565b5f82614568576145655f6150de565b92505b81614579576145765f615223565b91505b613e8a6144b48461522f565b5f82614597576145945f6150de565b92505b816145a8576145a55f615223565b91505b613e8a61444f8461522f565b5f826145c6576145c35f6150de565b92505b816145d7576145d45f6154be565b91505b613e8a614284846154ca565b5f826145f5576145f25f6150de565b92505b81614606576146035f61542f565b91505b613e8a836146138461543b565b5f6157b8565b5f8261462b576146285f6150de565b92505b8161463c576146395f6155c4565b91505b613e8a614113846155d0565b5f8261465a576146575f6150de565b92505b8161466b576146685f6152b2565b91505b613e8a614677846152be565b835f6157b8565b5f826146905761468d5f6150de565b92505b816146a15761469e5f6155c4565b91505b613e8a614677846155d0565b5f826146bf576146bc5f6150de565b92505b816146d0576146cd5f6155c4565b91505b613e8a614284846155d0565b5f826146ee576146eb5f6150de565b92505b816146ff576146fc5f6154be565b91505b613e8a614312846154ca565b5f8261471d5761471a5f6150de565b92505b8161472e5761472b5f6154be565b91505b613e8a61444f846154ca565b5f8261474c576147495f6150de565b92505b8161475d5761475a5f6152b2565b91505b613e8a614156846152be565b5f8261477b576147785f6150de565b92505b8161478c576147895f6155c4565b91505b613e8a61454f846155d0565b5f826147aa576147a75f6150de565b92505b816147bb576147b85f6150de565b91505b613e8a83835f61554d565b5f826147d8576147d55f6150de565b92505b816147e9576147e65f6155c4565b91505b613e8a613f3f846155d0565b5f82614807576148045f6150de565b92505b81614818576148155f61542f565b91505b613e8a836148258461543b565b5f6153b8565b5f8261483d5761483a5f6150de565b92505b8161484e5761484b5f6152b2565b91505b613e8a61485a846152be565b835f61582f565b5f82614873576148705f6150de565b92505b81614884576148815f6150de565b91505b613e8a83835f61523b565b5f826148a15761489e5f6150de565b92505b816148b2576148af5f6154be565b91505b613e8a614156846154ca565b5f826148d0576148cd5f6150de565b92505b816148e1576148de5f6150de565b91505b613e8a83835f615653565b5f826148fe576148fb5f6150de565b92505b613e8a838361ffff166001615341565b5f826149205761491d5f6150de565b92505b816149315761492e5f6155c4565b91505b613e8a6144b4846155d0565b5f8261494f5761494c5f6150de565b92505b816149605761495d5f6155c4565b91505b613e8a6141c2846155d0565b5f8261497e5761497b5f6150de565b92505b8161498f5761498c5f6150de565b91505b613e8a83835f6155dc565b5f826149ac576149a95f6150de565b92505b816149bd576149ba5f6155c4565b91505b613e8a61485a846155d0565b5f826149db576149d85f6150de565b92505b816149ec576149e95f6150de565b91505b613e8a83835f6150f0565b5f82614a0957614a065f6150de565b92505b81614a1a57614a175f6154be565b91505b613e8a613f3f846154ca565b5f82614a3857614a355f6150de565b92505b81614a4957614a465f615223565b91505b613e8a6143128461522f565b5f82614a6757614a645f6150de565b92505b81614a7857614a755f6152b2565b91505b613e8a614312846152be565b5f82614a9657614a935f6150de565b92505b81614aa757614aa45f6150de565b91505b613e8a83835f6154d6565b5f82614ac457614ac15f6150de565b92505b81614ad557614ad25f615223565b91505b613e8a6141568461522f565b5f82614af357614af05f6150de565b92505b81614b0457614b015f6152b2565b91505b613e8a614284846152be565b5f82614b2257614b1f5f6150de565b92505b81614b3357614b305f6152b2565b91505b613e8a614113846152be565b5f82614b5157614b4e5f6150de565b92505b81614b6257614b5f5f6154be565b91505b613e8a6141c2846154ca565b5f82614b8057614b7d5f6150de565b92505b81614b9157614b8e5f61542f565b91505b613e8a83614b9e8461543b565b5f615741565b5f82614bb657614bb35f6150de565b92505b81614bc757614bc45f6150de565b91505b613e8a83835f6157b8565b5f82614be457614be15f6150de565b92505b81614bf557614bf25f6152b2565b91505b613e8a61404a846152be565b5f82614c1357614c105f6150de565b92505b81614c2457614c215f6150de565b91505b613e8a83835f615741565b5f82614c4157614c3e5f6150de565b92505b81614c5257614c4f5f615223565b91505b613e8a613f3f8461522f565b5f82614c7057614c6d5f6150de565b92505b81614c8157614c7e5f6152b2565b91505b613e8a61444f846152be565b5f82614c9f57614c9c5f6150de565b92505b81614cb057614cad5f6154be565b91505b613e8a614677846154ca565b5f82614cce57614ccb5f6150de565b92505b81614cdf57614cdc5f615223565b91505b613e8a61404a8461522f565b5f82614cfd57614cfa5f6150de565b92505b81614d0e57614d0b5f615223565b91505b613e8a61454f8461522f565b5f82614d2c57614d295f6150de565b92505b81614d3d57614d3a5f6150de565b91505b613e8a83835f6156ca565b5f82614d5a57614d575f6150de565b92505b613e8a838361ffff16600161523b565b5f82614d7c57614d795f6150de565b92505b81614d8d57614d8a5f6154be565b91505b613e8a61485a846154ca565b5f82614dab57614da85f6150de565b92505b81614dbc57614db95f6150de565b91505b613e8a83835f615447565b5f82614dd957614dd65f6150de565b92505b81614dea57614de75f6152b2565b91505b613e8a6143e3846152be565b5f82614e0857614e055f6150de565b92505b81614e1957614e165f6155c4565b91505b613e8a6143e3846155d0565b5f82614e3757614e345f6150de565b92505b81614e4857614e455f615223565b91505b613e8a61485a8461522f565b5f82614e6657614e635f6150de565b92505b81614e7757614e745f61542f565b91505b613e8a83614e848461543b565b5f61554d565b5f82614e9c57614e995f6150de565b92505b81614ead57614eaa5f61542f565b91505b613e8a83614eba8461543b565b5f6152ca565b5f82614ed257614ecf5f6150de565b92505b81614ee357614ee05f615223565b91505b613e8a6146778461522f565b5f82614f0157614efe5f6150de565b92505b81614f1257614f0f5f6150de565b91505b613e8a83835f61582f565b5f82614f2f57614f2c5f6150de565b92505b81614f4057614f3d5f6152b2565b91505b613e8a6144b4846152be565b5f82614f5e57614f5b5f6150de565b92505b81614f6f57614f6c5f61542f565b91505b613e8a83614f7c8461543b565b5f61582f565b5f82614f9457614f915f6150de565b92505b81614fa557614fa25f6155c4565b91505b613e8a61404a846155d0565b5f82614fc357614fc05f6150de565b92505b81614fd457614fd15f6152b2565b91505b613e8a61454f846152be565b5f80516020615b75833981519152546040516302e817ff60e41b81525f915f80516020615b55833981519152916001600160a01b0390911690632e817ff0906150379088903390899060f88a901b90600401615acc565b6020604051808303815f875af1158015615053573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906150779190615b3d565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b1580156150c0575f80fd5b505af11580156150d2573d5f803e3d5ffd5b50505050509392505050565b5f6150ea8260036158a6565b92915050565b5f8082156151035750600160f81b615106565b505f5b5f80516020615b7583398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690638c14cc21906064015b6020604051808303815f875af115801561517f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906151a39190615b3d565b9695505050505050565b5f5f80516020615b558339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015615208575f80fd5b505af115801561521a573d5f803e3d5ffd5b50505050505050565b5f6150ea8260056158a6565b5f6150ea826005615944565b5f80821561524e5750600160f81b615251565b505f5b5f80516020615b758339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063816d57d390606401615163565b5f6150ea8260086158a6565b5f6150ea826008615944565b5f8082156152dd5750600160f81b6152e0565b505f5b5f80516020615b7583398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063666a358890606401615163565b5f8082156153545750600160f81b615357565b505f5b5f80516020615b758339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063f953e42790606401615163565b5f8082156153cb5750600160f81b6153ce565b505f5b5f80516020615b758339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063a86e9de590606401615163565b5f6150ea8260026158a6565b5f6150ea826003615944565b5f80821561545a5750600160f81b61545d565b505f5b5f80516020615b7583398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690631927108190606401615163565b5f6150ea8260046158a6565b5f6150ea826004615944565b5f8082156154e95750600160f81b6154ec565b505f5b5f80516020615b7583398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063ec4057dc90606401615163565b5f8082156155605750600160f81b615563565b505f5b5f80516020615b7583398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063a87deac490606401615163565b5f6150ea8260066158a6565b5f6150ea826006615944565b5f8082156155ef5750600160f81b6155f2565b505f5b5f80516020615b75833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063694daf7290606401615163565b5f8082156156665750600160f81b615669565b505f5b5f80516020615b7583398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690639675211f90606401615163565b5f8082156156dd5750600160f81b6156e0565b505f5b5f80516020615b7583398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690632c7d67b790606401615163565b5f8082156157545750600160f81b615757565b505f5b5f80516020615b7583398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690636be3175890606401615163565b5f8082156157cb5750600160f81b6157ce565b505f5b5f80516020615b758339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b03169063052896f190606401615163565b5f8082156158425750600160f81b615845565b505f5b5f80516020615b7583398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615b55833981519152916001600160a01b031690633e63c50a90606401615163565b5f80516020615b7583398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615b55833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615920573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f959190615b3d565b5f80516020615b758339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615b55833981519152916001600160a01b0390911690634be68d2090604401615904565b803561ffff811681146159b7575f80fd5b919050565b5f8083601f8401126159cc575f80fd5b50813567ffffffffffffffff8111156159e3575f80fd5b6020830191508360208285010111156159fa575f80fd5b9250929050565b5f805f8060608587031215615a14575f80fd5b84359350615a24602086016159a6565b9250604085013567ffffffffffffffff811115615a3f575f80fd5b615a4b878288016159bc565b95989497509550505050565b5f805f8060608587031215615a6a575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115615a3f575f80fd5b5f805f8060608587031215615aa1575f80fd5b615aaa856159a6565b935060208501359250604085013567ffffffffffffffff811115615a3f575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b81811015615b0e5786810183015185820160a001528201615af2565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f60208284031215615b4d575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite4ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite4ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite4__factory extends ContractFactory { - constructor(...args: TFHETestSuite4ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite4 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite4__factory { - return super.connect(runner) as TFHETestSuite4__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite4Interface { - return new Interface(_abi) as TFHETestSuite4Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite4 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite4; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite5__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite5__factory.ts deleted file mode 100644 index 44585c3e..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite5__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite5, - TFHETestSuite5Interface, -} from "../../../examples/tests/TFHETestSuite5"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint16", - name: "b", - type: "uint16", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint16_uint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint16", - name: "a", - type: "uint16", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint16_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b61550d806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610625575f3560e01c80638c85895011610328578063c83d99d7116101b3578063e6f79e4c116100fe578063f28031be116100a9578063f7ea105611610084578063f7ea105614610ce6578063fb25afd614610cf9578063fb48265414610d0c578063ff3002a714610d1f575f80fd5b8063f28031be14610cad578063f59c553e14610cc0578063f750512d14610cd3575f80fd5b8063ea5e86f0116100d9578063ea5e86f014610c7e578063eb974b2e14610c87578063f19144a814610c9a575f80fd5b8063e6f79e4c14610c45578063e9664ecc14610c58578063e9c6b43f14610c6b575f80fd5b8063d3447dfe1161015e578063e1a4a68a11610139578063e1a4a68a14610c0c578063e25ddc4f14610c1f578063e45db77814610c32575f80fd5b8063d3447dfe14610bd3578063dad91c5a14610be6578063df8104eb14610bf9575f80fd5b8063cdd29c3a1161018e578063cdd29c3a14610ba4578063ce8c875414610bad578063cefbd63114610bc0575f80fd5b8063c83d99d714610b6b578063cac3cb0814610b7e578063cb59749614610b91575f80fd5b8063adf8114411610273578063c08d50811161021e578063c5423306116101f9578063c542330614610b32578063c56b191a14610b45578063c62f546214610b58575f80fd5b8063c08d508114610af9578063c13097bd14610b0c578063c4ae825714610b1f575f80fd5b8063b7ee6f7e1161024e578063b7ee6f7e14610ac0578063bba77ea014610ad3578063bcba17c814610ae6575f80fd5b8063adf8114414610a87578063aee2e64214610a9a578063b6ea722014610aad575f80fd5b806397c1efc7116102d3578063a13de6e3116102ae578063a13de6e314610a4e578063a42f642c14610a61578063a7287cac14610a74575f80fd5b806397c1efc714610a15578063981a902614610a28578063a071d0a814610a3b575f80fd5b806390cabf301161030357806390cabf30146109dc578063927a4dfa146109ef5780639635fd9714610a02575f80fd5b80638c858950146109b75780638cbbcf39146109c05780638f338859146109d3575f80fd5b80633a1f978f116104b35780635f0b659a116103fe5780636e4ae991116103a957806380d4bd3a1161038457806380d4bd3a1461096b57806386052aa51461097e57806386a58d5b146109915780638bf4c538146109a4575f80fd5b80636e4ae9911461093257806374ad1058146109455780637d7b94c414610958575f80fd5b80636a3c1291116103d95780636a3c1291146108f95780636a4417451461090c5780636e024f2d1461091f575f80fd5b80635f0b659a146108c05780635f5c1630146108d35780636408cac5146108e6575f80fd5b80634b84c8f91161045e57806350e2b5061161043957806350e2b506146108875780635d14a5f01461089a5780635e328837146108ad575f80fd5b80634b84c8f9146108625780634bf396661461086b5780634e93171814610874575f80fd5b8063404602e41161048e578063404602e414610829578063439db3de1461083c57806344cb665f1461084f575f80fd5b80633a1f978f146107f05780633f2017511461080357806340457c4014610816575f80fd5b80631b1e58f5116105735780632f93bcd21161051e57806332b59cff116104f957806332b59cff146107b757806332fb480f146107ca57806338bcedfa146107dd575f80fd5b80632f93bcd21461077e5780632fe1404c146107915780633054bc55146107a4575f80fd5b806326ccd5971161054e57806326ccd5971461074557806327fc0435146107585780632ec23d0b1461076b575f80fd5b80631b1e58f51461070c5780631c996ff51461071f578063267ec5d914610732575f80fd5b80631122f2b9116105d357806318014ba5116105ae57806318014ba5146106dd578063197222b9146106f05780631afdf48e14610703575f80fd5b80631122f2b91461069d5780631439bd38146106b05780631629d25d146106c3575f80fd5b806305199889116106035780630519988914610664578063056c34951461067757806310787a851461068a575f80fd5b806301e00cd91461062957806302059d151461063e57806302c53f9514610651575b5f80fd5b61063c610637366004615357565b610d32565b005b61063c61064c366004615357565b610dd6565b61063c61065f366004615357565b610e65565b61063c6106723660046153bc565b610ef4565b61063c610685366004615357565b610f42565b61063c610698366004615357565b610fe7565b61063c6106ab366004615357565b611076565b61063c6106be366004615357565b611105565b6106cb5f5481565b60405190815260200160405180910390f35b61063c6106eb3660046153bc565b611194565b61063c6106fe3660046153fa565b6111f8565b6106cb60055481565b61063c61071a366004615357565b611249565b61063c61072d3660046153fa565b6112d8565b61063c610740366004615357565b611329565b61063c6107533660046153fa565b6113b8565b61063c6107663660046153fa565b611409565b61063c610779366004615357565b61145a565b61063c61078c3660046153bc565b6114e9565b61063c61079f366004615357565b611537565b61063c6107b2366004615357565b6115c6565b61063c6107c5366004615357565b611655565b61063c6107d8366004615357565b6116e4565b61063c6107eb366004615357565b611773565b61063c6107fe3660046153fa565b611818565b61063c6108113660046153fa565b611869565b61063c610824366004615357565b6118ba565b61063c6108373660046153bc565b611949565b61063c61084a366004615357565b611997565b61063c61085d366004615357565b611a26565b6106cb60035481565b6106cb60025481565b61063c610882366004615357565b611ab5565b61063c6108953660046153fa565b611b44565b61063c6108a8366004615357565b611b95565b61063c6108bb3660046153fa565b611c24565b61063c6108ce366004615357565b611c75565b61063c6108e1366004615357565b611d04565b61063c6108f43660046153bc565b611d93565b61063c6109073660046153bc565b611de1565b61063c61091a366004615357565b611e2f565b61063c61092d366004615357565b611ebe565b61063c610940366004615357565b611f4d565b61063c610953366004615357565b611fdc565b61063c610966366004615357565b61206b565b61063c610979366004615357565b6120fa565b61063c61098c3660046153bc565b612189565b61063c61099f366004615357565b6121d7565b61063c6109b2366004615357565b612266565b6106cb60065481565b61063c6109ce3660046153fa565b6122f5565b6106cb60075481565b61063c6109ea366004615357565b612346565b61063c6109fd366004615357565b6123d5565b61063c610a103660046153bc565b612464565b61063c610a23366004615357565b6124b2565b61063c610a363660046153fa565b612541565b61063c610a493660046153bc565b612592565b61063c610a5c366004615357565b6125e0565b61063c610a6f366004615357565b61266f565b61063c610a82366004615357565b6126fe565b61063c610a95366004615357565b61278d565b61063c610aa8366004615357565b61281c565b61063c610abb366004615357565b6128ab565b61063c610ace366004615357565b61293a565b61063c610ae1366004615357565b6129c9565b61063c610af4366004615357565b612a58565b61063c610b073660046153bc565b612ae7565b61063c610b1a366004615357565b612b35565b61063c610b2d366004615357565b612bc4565b61063c610b40366004615357565b612c53565b61063c610b53366004615357565b612ce2565b61063c610b66366004615357565b612d71565b61063c610b79366004615357565b612e00565b61063c610b8c366004615357565b612e8f565b61063c610b9f366004615357565b612f1e565b6106cb60015481565b61063c610bbb366004615357565b612fad565b61063c610bce366004615357565b61303c565b61063c610be1366004615357565b6130cb565b61063c610bf43660046153bc565b61315a565b61063c610c07366004615357565b6131a8565b61063c610c1a366004615357565b613237565b61063c610c2d366004615357565b6132c6565b61063c610c40366004615357565b613355565b61063c610c53366004615357565b6133e4565b61063c610c66366004615357565b613473565b61063c610c79366004615357565b613502565b6106cb60045481565b61063c610c953660046153bc565b613591565b61063c610ca83660046153fa565b6135df565b61063c610cbb366004615357565b613630565b61063c610cce366004615357565b6136bf565b61063c610ce1366004615357565b61374e565b61063c610cf4366004615357565b6137dd565b61063c610d073660046153bc565b61386c565b61063c610d1a366004615357565b6138ba565b61063c610d2d366004615357565b613949565b5f610d728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610db48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc183836139f9565b9050610dcc81613a2f565b5f55505050505050565b5f610e168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610e588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc18383613a49565b5f610ea58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610ee78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f610dc18383613a8c565b5f610f348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc18383613ac2565b5f610f828584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fc48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd18383613af1565b9050610fdc81613a2f565b600455505050505050565b5f6110278584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6110698585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd18383613b27565b5f6110b68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6110f88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc18383613b5d565b5f6111458584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6111878585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc18383613b8b565b5f6111d48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e28383613bc1565b90506111ed81613a2f565b600355505050505050565b5f8490505f61123c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f6111e28383613be3565b5f6112898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6112cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd18383613c05565b5f8490505f61131c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f6111e28383613c33565b5f6113698584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6113ab8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc18383613c55565b5f8490505f6113fc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f6111e28383613c75565b5f8490505f61144d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613c97565b5f61149a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6114dc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd18383613cb9565b5f6115298584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc18383613cef565b5f6115778584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6115b98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613d11565b5f6116068584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6116488585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613d31565b5f6116958584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6116d78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc18383613d67565b5f6117248584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6117668585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd18383613d95565b5f6117b38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6117f58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f6118028383613dc3565b905061180d81613a2f565b600555505050505050565b5f8490505f61185c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f6111e28383613df9565b5f8490505f6118ad8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613e1b565b5f6118fa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61193c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc18383613e3d565b5f6119898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc18383613e73565b5f6119d78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611a198585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f6118028383613e95565b5f611a668584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611aa88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd18383613ecb565b5f611af58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611b378585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd18383613f01565b5f8490505f611b888585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613f21565b5f611bd58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611c178585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc18383613f43565b5f8490505f611c688585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc18383613f71565b5f611cb58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611cf78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f610dc18383613f93565b5f611d448584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611d868585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd18383613fc9565b5f611dd38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc18383613fff565b5f611e218584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e28383614021565b5f611e6f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611eb18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd18383614043565b5f611efe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611f408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc18383614063565b5f611f8d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f611fcf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc18383614091565b5f61201c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61205e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd183836140bf565b5f6120ab8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6120ed8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd183836140ed565b5f61213a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61217c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd1838361410d565b5f6121c98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e2838361412d565b5f6122178584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6122598585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc1838361414f565b5f6122a68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6122e88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd1838361416f565b5f8490505f6123398585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc183836141a5565b5f6123868584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6123c88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd183836141c7565b5f6124158584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6124578585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd183836141e7565b5f6124a48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e2838361421d565b5f6124f28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6125348585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd1838361423d565b5f8490505f6125858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc1838361426b565b5f6125d28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e2838361428d565b5f6126208584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6126628585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f61180283836142af565b5f6126af8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6126f18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd183836142e5565b5f61273e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6127808585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610dc1838361431b565b5f6127cd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61280f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc18383614349565b5f61285c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61289e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f6118028383614369565b5f6128eb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61292d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd1838361439f565b5f61297a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6129bc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc183836143bf565b5f612a098584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612a4b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc183836143f5565b5f612a988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612ada8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f6118028383614415565b5f612b278584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc1838361444b565b5f612b758584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612bb78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd1838361446d565b5f612c048584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612c468585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc1838361449b565b5f612c938584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612cd58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd183836144bb565b5f612d228584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612d648585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd183836144db565b5f612db18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612df38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610dc183836144fb565b5f612e408584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612e828585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610dc1838361451b565b5f612ecf8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612f118585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd1838361453b565b5f612f5e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f612fa08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc1838361455b565b5f612fed8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61302f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f610dc1838361457b565b5f61307c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6130be8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f61180283836145b1565b5f61310b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61314d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ae492505050565b90505f610fd183836145e7565b5f61319a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e28383614607565b5f6131e88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61322a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd18383614629565b5f6132778584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6132b98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd18383614649565b5f6133068584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6133488585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd18383614669565b5f6133958584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6133d78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc18383614697565b5f6134248584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6134668585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd183836146b7565b5f6134b38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6134f58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a7f92505050565b90505f610dc183836146d7565b5f6135428584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6135848585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd1838361470d565b5f6135d18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f610dc1838361472d565b5f8490505f6136238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f6111e2838361474f565b5f6136708584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6136b28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b90505f610fd18383614771565b5f6136ff8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6137418585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd18383614791565b5f61378e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6137d08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f610fd183836147bf565b5f61381d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61385f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610fd183836147ed565b5f6138ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139ec92505050565b9050835f6111e2838361480d565b5f6138fa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f61393c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc1838361482d565b5f6139898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506139d892505050565b90505f6139cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a3c92505050565b90505f610dc1838361484d565b5f6139e58383600461486d565b9392505050565b5f6139e58383600361486d565b5f82613a0b57613a085f61496b565b92505b81613a1c57613a195f61497d565b91505b6139e583613a2984614989565b5f614995565b613a398130614a52565b50565b5f6139e58383600261486d565b5f82613a5b57613a585f61496b565b92505b81613a6c57613a695f614ac8565b91505b6139e583613a7984614989565b5f614ad4565b5f6139e58383600561486d565b5f82613a9e57613a9b5f61496b565b92505b81613aaf57613aac5f614b4b565b91505b6139e5613abb84614b57565b835f614b63565b5f82613ad457613ad15f61497d565b92505b6139e5838361ffff166001614bda565b5f6139e58383600161486d565b5f82613b0357613b005f61496b565b92505b81613b1457613b115f614c51565b91505b6139e583613b2184614989565b5f614c5d565b5f82613b3957613b365f61496b565b92505b81613b4a57613b475f61497d565b91505b6139e583613b5784614989565b5f614cd4565b5f82613b6f57613b6c5f61496b565b92505b81613b8057613b7d5f61496b565b91505b6139e583835f614d4b565b5f82613b9d57613b9a5f61496b565b92505b81613bae57613bab5f614c51565b91505b6139e583613bbb84614989565b5f614d4b565b5f82613bd357613bd05f61497d565b92505b6139e5838361ffff166001614dc2565b5f81613bf557613bf25f61497d565b91505b6139e5828461ffff166001614cd4565b5f82613c1757613c145f61496b565b92505b81613c2857613c255f61496b565b91505b6139e583835f614e39565b5f81613c4557613c425f61497d565b91505b6139e5828461ffff166001614dc2565b5f82613c6757613c645f61496b565b92505b81613a6c57613a695f614c51565b5f81613c8757613c845f61497d565b91505b6139e5828461ffff166001614eb0565b5f81613ca957613ca65f61497d565b91505b6139e5828461ffff166001614b63565b5f82613ccb57613cc85f61496b565b92505b81613cdc57613cd95f614ac8565b91505b6139e583613ce984614989565b5f614f27565b5f82613d0157613cfe5f61497d565b92505b6139e5838361ffff166001614ad4565b5f82613d2357613d205f61496b565b92505b81613bae57613bab5f61497d565b5f82613d4357613d405f61496b565b92505b81613d5457613d515f61497d565b91505b6139e583613d6184614989565b5f614f9e565b5f82613d7957613d765f61496b565b92505b81613d8a57613d875f61496b565b91505b6139e583835f614ad4565b5f82613da757613da45f61496b565b92505b81613db857613db55f61496b565b91505b6139e583835f614c5d565b5f82613dd557613dd25f61496b565b92505b81613de657613de35f614b4b565b91505b6139e5613df284614b57565b835f614eb0565b5f81613e0b57613e085f61497d565b91505b6139e5828461ffff166001614c5d565b5f81613e2d57613e2a5f61497d565b91505b6139e5828461ffff166001614f9e565b5f82613e4f57613e4c5f61496b565b92505b81613e6057613e5d5f614c51565b91505b6139e583613e6d84614989565b5f614b63565b5f82613e8557613e825f61497d565b92505b6139e5838361ffff166001614b63565b5f82613ea757613ea45f61496b565b92505b81613eb857613eb55f614b4b565b91505b6139e5613ec484614b57565b835f614c5d565b5f82613edd57613eda5f61496b565b92505b81613eee57613eeb5f614ac8565b91505b6139e583613efb84614989565b5f614e39565b5f82613f1357613f105f61496b565b92505b81613cdc57613cd95f614c51565b5f81613f3357613f305f61497d565b91505b6139e5828461ffff166001614d4b565b5f82613f5557613f525f61496b565b92505b81613f6657613f635f61496b565b91505b6139e583835f614f9e565b5f81613f8357613f805f61497d565b91505b6139e5828461ffff166001614ad4565b5f82613fa557613fa25f61496b565b92505b81613fb657613fb35f614b4b565b91505b6139e5613fc284614b57565b835f614ad4565b5f82613fdb57613fd85f61496b565b92505b81613fec57613fe95f61497d565b91505b6139e583613ff984614989565b5f614eb0565b5f826140115761400e5f61497d565b92505b6139e5838361ffff166001614995565b5f82614033576140305f61497d565b92505b6139e5838361ffff166001614c5d565b5f82614055576140525f61496b565b92505b81613cdc57613cd95f61497d565b5f82614075576140725f61496b565b92505b81614086576140835f61496b565b91505b6139e583835f614bda565b5f826140a3576140a05f61496b565b92505b816140b4576140b15f61496b565b91505b6139e583835f614995565b5f826140d1576140ce5f61496b565b92505b816140e2576140df5f61496b565b91505b6139e583835f614dc2565b5f826140ff576140fc5f61496b565b92505b81613b1457613b115f61497d565b5f8261411f5761411c5f61496b565b92505b81613b4a57613b475f614c51565b5f8261413f5761413c5f61497d565b92505b6139e5838361ffff166001614eb0565b5f826141615761415e5f61496b565b92505b81613a1c57613a195f614ac8565b5f826141815761417e5f61496b565b92505b816141925761418f5f614ac8565b91505b6139e58361419f84614989565b5f615015565b5f816141b7576141b45f61497d565b91505b6139e5828461ffff166001614995565b5f826141d9576141d65f61496b565b92505b81613eee57613eeb5f614c51565b5f826141f9576141f65f61496b565b92505b8161420a576142075f61497d565b91505b6139e58361421784614989565b5f614dc2565b5f8261422f5761422c5f61497d565b92505b6139e5838361ffff1661508c565b5f8261424f5761424c5f61496b565b92505b816142605761425d5f61496b565b91505b6139e583835f614cd4565b5f8161427d5761427a5f61497d565b91505b6139e5828461ffff166001614bda565b5f8261429f5761429c5f61497d565b92505b6139e5838361ffff166001615132565b5f826142c1576142be5f61496b565b92505b816142d2576142cf5f614b4b565b91505b6139e56142de84614b57565b835f615015565b5f826142f7576142f45f61496b565b92505b81614308576143055f614c51565b91505b6139e58361431584614989565b5f615132565b5f8261432d5761432a5f61496b565b92505b8161433e5761433b5f61496b565b91505b6139e583835f614b63565b5f8261435b576143585f61496b565b92505b81613d5457613d515f614c51565b5f8261437b576143785f61496b565b92505b8161438c576143895f614b4b565b91505b6139e561439884614b57565b835f614e39565b5f826143b1576143ae5f61496b565b92505b81613fec57613fe95f614c51565b5f826143d1576143ce5f61496b565b92505b816143e2576143df5f61497d565b91505b6139e5836143ef84614989565b5f614bda565b5f82614407576144045f61496b565b92505b81613e6057613e5d5f61497d565b5f82614427576144245f61496b565b92505b81614438576144355f614b4b565b91505b6139e561444484614b57565b835f614f27565b5f8261445d5761445a5f61497d565b92505b6139e5838361ffff166001614d4b565b5f8261447f5761447c5f61496b565b92505b816144905761448d5f61496b565b91505b6139e583835f615015565b5f826144ad576144aa5f61496b565b92505b816143e2576143df5f614c51565b5f826144cd576144ca5f61496b565b92505b81613b1457613b115f614ac8565b5f826144ed576144ea5f61496b565b92505b816141925761418f5f614c51565b5f8261450d5761450a5f61496b565b92505b81613a1c57613a195f614c51565b5f8261452d5761452a5f61496b565b92505b81613a6c57613a695f61497d565b5f8261454d5761454a5f61496b565b92505b81613eee57613eeb5f61497d565b5f8261456d5761456a5f61496b565b92505b816143e2576143df5f614ac8565b5f8261458d5761458a5f61496b565b92505b8161459e5761459b5f614b4b565b91505b6139e56145aa84614b57565b835f614bda565b5f826145c3576145c05f61496b565b92505b816145d4576145d15f614b4b565b91505b6139e56145e084614b57565b835f614cd4565b5f826145f9576145f65f61496b565b92505b8161420a576142075f614c51565b5f82614619576146165f61497d565b92505b6139e5838361ffff166001614cd4565b5f8261463b576146385f61496b565b92505b81613fec57613fe95f614ac8565b5f8261465b576146585f61496b565b92505b81614308576143055f61497d565b5f8261467b576146785f61496b565b92505b8161468c576146895f61496b565b91505b6139e583835f615132565b5f826146a9576146a65f61496b565b92505b81613bae57613bab5f614ac8565b5f826146c9576146c65f61496b565b92505b8161420a576142075f614ac8565b5f826146e9576146e65f61496b565b92505b816146fa576146f75f614b4b565b91505b6139e561470684614b57565b835f614d4b565b5f8261471f5761471c5f61496b565b92505b81614308576143055f614ac8565b5f8261473f5761473c5f61497d565b92505b6139e5838361ffff166001614f9e565b5f816147615761475e5f61497d565b91505b6139e5828461ffff166001615132565b5f82614783576147805f61496b565b92505b816141925761418f5f61497d565b5f826147a3576147a05f61496b565b92505b816147b4576147b15f61496b565b91505b6139e583835f614eb0565b5f826147d1576147ce5f61496b565b92505b816147e2576147df5f61496b565b91505b6139e583835f614f27565b5f826147ff576147fc5f61496b565b92505b81613b4a57613b475f614ac8565b5f8261481f5761481c5f61497d565b92505b6139e5838361ffff166151a9565b5f8261483f5761483c5f61496b565b92505b81613e6057613e5d5f614ac8565b5f8261485f5761485c5f61496b565b92505b81613d5457613d515f614ac8565b5f805160206154e1833981519152546040516302e817ff60e41b81525f915f805160206154c1833981519152916001600160a01b0390911690632e817ff0906148c49088903390899060f88a901b90600401615438565b6020604051808303815f875af11580156148e0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061490491906154a9565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b15801561494d575f80fd5b505af115801561495f573d5f803e3d5ffd5b50505050509392505050565b5f61497782600461520a565b92915050565b5f61497782600361520a565b5f6149778260046152b0565b5f8082156149a85750600160f81b6149ab565b505f5b5f805160206154e183398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690639675211f906064015b6020604051808303815f875af1158015614a24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a4891906154a9565b9695505050505050565b5f5f805160206154c18339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614aad575f80fd5b505af1158015614abf573d5f803e3d5ffd5b50505050505050565b5f61497782600261520a565b5f808215614ae75750600160f81b614aea565b505f5b5f805160206154e183398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690633e63c50a90606401614a08565b5f61497782600561520a565b5f6149778260056152b0565b5f808215614b765750600160f81b614b79565b505f5b5f805160206154e183398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690636be3175890606401614a08565b5f808215614bed5750600160f81b614bf0565b505f5b5f805160206154e183398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690631927108190606401614a08565b5f61497782600161520a565b5f808215614c705750600160f81b614c73565b505f5b5f805160206154e183398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063ec4057dc90606401614a08565b5f808215614ce75750600160f81b614cea565b505f5b5f805160206154e183398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690632c7d67b790606401614a08565b5f808215614d5e5750600160f81b614d61565b505f5b5f805160206154e18339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063052896f190606401614a08565b5f808215614dd55750600160f81b614dd8565b505f5b5f805160206154e18339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063a86e9de590606401614a08565b5f808215614e4c5750600160f81b614e4f565b505f5b5f805160206154e183398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b031690638c14cc2190606401614a08565b5f808215614ec35750600160f81b614ec6565b505f5b5f805160206154e183398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063666a358890606401614a08565b5f808215614f3a5750600160f81b614f3d565b505f5b5f805160206154e18339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063f953e42790606401614a08565b5f808215614fb15750600160f81b614fb4565b505f5b5f805160206154e1833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063694daf7290606401614a08565b5f8082156150285750600160f81b61502b565b505f5b5f805160206154e18339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063816d57d390606401614a08565b5f805160206154e1833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f805160206154c1833981519152916001600160a01b0316906336cdd31b906064015b6020604051808303815f875af1158015615105573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061512991906154a9565b95945050505050565b5f8082156151455750600160f81b615148565b505f5b5f805160206154e183398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f805160206154c1833981519152916001600160a01b03169063a87deac490606401614a08565b5f805160206154e1833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f805160206154c1833981519152916001600160a01b03169063e0c516ae906064016150e9565b5f805160206154e183398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206154c1833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615284573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906152a891906154a9565b949350505050565b5f805160206154e18339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f805160206154c1833981519152916001600160a01b0390911690634be68d2090604401615268565b5f8083601f840112615322575f80fd5b50813567ffffffffffffffff811115615339575f80fd5b602083019150836020828501011115615350575f80fd5b9250929050565b5f805f806060858703121561536a575f80fd5b8435935060208501359250604085013567ffffffffffffffff81111561538e575f80fd5b61539a87828801615312565b95989497509550505050565b803561ffff811681146153b7575f80fd5b919050565b5f805f80606085870312156153cf575f80fd5b843593506153df602086016153a6565b9250604085013567ffffffffffffffff81111561538e575f80fd5b5f805f806060858703121561540d575f80fd5b615416856153a6565b935060208501359250604085013567ffffffffffffffff81111561538e575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b8181101561547a5786810183015185820160a00152820161545e565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f602082840312156154b9575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite5ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite5ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite5__factory extends ContractFactory { - constructor(...args: TFHETestSuite5ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite5 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite5__factory { - return super.connect(runner) as TFHETestSuite5__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite5Interface { - return new Interface(_abi) as TFHETestSuite5Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite5 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite5; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite6__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite6__factory.ts deleted file mode 100644 index 7c046b2e..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite6__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite6, - TFHETestSuite6Interface, -} from "../../../examples/tests/TFHETestSuite6"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint32", - name: "b", - type: "uint32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint32_uint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint32", - name: "a", - type: "uint32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint32_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b6154c1806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610624575f3560e01c8063808b555c11610328578063d3c8d5a9116101b3578063e6438dd2116100fe578063f0b69da7116100a9578063f6bf5a7211610084578063f6bf5a7214610ce5578063f78f99cd14610cf8578063f7bcc13414610d0b578063fe7b084e14610d1e575f80fd5b8063f0b69da714610cac578063f0be045d14610cbf578063f274cfec14610cd2575f80fd5b8063ea5e86f0116100d9578063ea5e86f014610c7d578063ec15c56e14610c86578063ef67d06e14610c99575f80fd5b8063e6438dd214610c44578063e8933fe314610c57578063e96c65d814610c6a575f80fd5b8063de7dd20f1161015e578063e1bec67911610139578063e1bec67914610c0b578063e1c69e7614610c1e578063e566febb14610c31575f80fd5b8063de7dd20f14610bd2578063df5b8a6614610be5578063e0dc5ad414610bf8575f80fd5b8063dae139e01161018e578063dae139e014610b99578063daeea82814610bac578063dd33097114610bbf575f80fd5b8063d3c8d5a914610b60578063d84d295914610b73578063da9f9a6d14610b86575f80fd5b8063ae1cf36411610273578063bb0e17f21161021e578063c6ffa2c8116101f9578063c6ffa2c814610b31578063c715c5fa14610b44578063cdd29c3a14610b57575f80fd5b8063bb0e17f214610af8578063bea0673814610b0b578063c47eacca14610b1e575f80fd5b8063b489d7ae1161024e578063b489d7ae14610abf578063ba5171df14610ad2578063bb0bb3e814610ae5575f80fd5b8063ae1cf36414610a86578063b231ca1514610a99578063b3ac9e0f14610aac575f80fd5b80638f338859116102d3578063a90cdf4a116102ae578063a90cdf4a14610a4d578063aad17bef14610a60578063aba4b49314610a73575f80fd5b80638f33885914610a1e5780639d2d2e4614610a27578063a202d4bd14610a3a575f80fd5b80638b88bcd3116103035780638b88bcd3146109ef5780638c85895014610a025780638c99d86d14610a0b575f80fd5b8063808b555c146109b657806382d28bf5146109c95780638b6ee646146109dc575f80fd5b80634bf39666116104b35780636736dd35116103fe5780636e7b038b116103a95780637480e9a1116103845780637480e9a11461096a5780637599357d1461097d5780637b37a03b146109905780637de63788146109a3575f80fd5b80636e7b038b146109315780636fe8e2121461094457806370ea916314610957575f80fd5b8063683ae2f4116103d9578063683ae2f4146108f8578063690ca93e1461090b5780636d33317c1461091e575f80fd5b80636736dd35146108bf578063677233be146108d257806367feffcf146108e5575f80fd5b8063559f83a91161045e5780635f3aa94b116104395780635f3aa94b14610886578063632ae628146108995780636629d452146108ac575f80fd5b8063559f83a91461084d5780635dfe66da146108605780635ed7115c14610873575f80fd5b80634de947461161048e5780634de94746146108145780634e3007771461082757806353bd0ad51461083a575f80fd5b80634bf39666146107e55780634d4f99c9146107ee5780634d7d532014610801575f80fd5b80631afdf48e11610573578063333c29251161051e57806349429fb3116104f957806349429fb3146107b657806349d6106a146107c95780634b84c8f9146107dc575f80fd5b8063333c29251461077d578063426dcfb51461079057806346ac136e146107a3575f80fd5b80632a39d7741161054e5780632a39d774146107445780632dcf198414610757578063318f9fee1461076a575f80fd5b80631afdf48e146107155780631b61276f1461071e5780632507ad0b14610731575f80fd5b80630682f217116105d357806312c25d9f116105ae57806312c25d9f146106d5578063141fdbc6146106e85780631629d25d146106fb575f80fd5b80630682f2171461069c57806308d4386a146106af578063117419ac146106c2575f80fd5b8063040dd68611610603578063040dd6861461066357806304d05cc61461067657806305bb314c14610689575f80fd5b80627b4fd1146106285780630292d7061461063d57806303ab67ec14610650575b5f80fd5b61063b610636366004615309565b610d31565b005b61063b61064b366004615309565b610dd5565b61063b61065e366004615370565b610e64565b61063b610671366004615370565b610ecb565b61063b610684366004615309565b610f1c565b61063b610697366004615309565b610fc1565b61063b6106aa366004615370565b611050565b61063b6106bd3660046153ae565b6110a1565b61063b6106d0366004615309565b6110ef565b61063b6106e3366004615309565b61117e565b61063b6106f6366004615309565b611223565b6107035f5481565b60405190815260200160405180910390f35b61070360055481565b61063b61072c366004615309565b6112c8565b61063b61073f366004615370565b611357565b61063b6107523660046153ae565b6113a8565b61063b610765366004615309565b6113f6565b61063b610778366004615309565b611485565b61063b61078b366004615370565b611514565b61063b61079e366004615309565b611565565b61063b6107b1366004615309565b6115f4565b61063b6107c4366004615309565b611683565b61063b6107d7366004615309565b611712565b61070360035481565b61070360025481565b61063b6107fc3660046153ae565b6117a1565b61063b61080f366004615309565b6117ef565b61063b6108223660046153ae565b61187e565b61063b610835366004615309565b6118cc565b61063b610848366004615370565b61195b565b61063b61085b366004615309565b6119ac565b61063b61086e366004615370565b611a3b565b61063b6108813660046153ae565b611a8c565b61063b610894366004615309565b611ada565b61063b6108a73660046153ae565b611b69565b61063b6108ba366004615309565b611bb7565b61063b6108cd3660046153ae565b611c46565b61063b6108e0366004615309565b611c94565b61063b6108f3366004615309565b611d23565b61063b610906366004615309565b611db2565b61063b610919366004615309565b611e41565b61063b61092c3660046153ae565b611ed0565b61063b61093f366004615370565b611f1e565b61063b610952366004615370565b611f6f565b61063b610965366004615309565b611fc0565b61063b610978366004615309565b61204f565b61063b61098b366004615370565b6120de565b61063b61099e366004615309565b61212f565b61063b6109b1366004615309565b6121be565b61063b6109c4366004615309565b61224d565b61063b6109d73660046153ae565b6122dc565b61063b6109ea366004615309565b61232a565b61063b6109fd366004615309565b6123b9565b61070360065481565b61063b610a193660046153ae565b612448565b61070360075481565b61063b610a35366004615309565b612496565b61063b610a48366004615370565b612525565b61063b610a5b3660046153ae565b612576565b61063b610a6e366004615309565b6125c4565b61063b610a81366004615309565b612653565b61063b610a94366004615309565b6126e2565b61063b610aa7366004615309565b612771565b61063b610aba366004615309565b612800565b61063b610acd366004615370565b61288f565b61063b610ae03660046153ae565b6128e0565b61063b610af3366004615309565b61292e565b61063b610b06366004615309565b6129bd565b61063b610b19366004615309565b612a4c565b61063b610b2c366004615370565b612adb565b61063b610b3f366004615309565b612b2c565b61063b610b52366004615309565b612bbb565b61070360015481565b61063b610b6e3660046153ae565b612c4a565b61063b610b81366004615309565b612c98565b61063b610b94366004615370565b612d27565b61063b610ba7366004615309565b612d78565b61063b610bba3660046153ae565b612e07565b61063b610bcd366004615309565b612e55565b61063b610be0366004615309565b612ee4565b61063b610bf33660046153ae565b612f73565b61063b610c063660046153ae565b612fc1565b61063b610c19366004615309565b61300f565b61063b610c2c366004615309565b61309e565b61063b610c3f366004615309565b61312d565b61063b610c52366004615309565b6131bc565b61063b610c65366004615309565b61324b565b61063b610c78366004615309565b6132da565b61070360045481565b61063b610c94366004615309565b613369565b61063b610ca7366004615309565b6133f8565b61063b610cba366004615309565b613487565b61063b610ccd366004615309565b613516565b61063b610ce0366004615309565b6135a5565b61063b610cf3366004615309565b613634565b61063b610d06366004615309565b6136c3565b61063b610d19366004615309565b613752565b61063b610d2c366004615309565b6137e1565b5f610d718584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610db38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc08383613891565b9050610dcb816138c7565b5f55505050505050565b5f610e158584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610e578585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc083836138ee565b5f8490505f610ea88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb58383613924565b9050610ec0816138c7565b600455505050505050565b5f8490505f610f0f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc08383613948565b5f610f5c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610f9e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab838361396c565b9050610fb6816138c7565b600555505050505050565b5f6110018584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6110438585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc083836139a2565b5f8490505f6110948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc083836139d8565b5f6110e18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc083836139fc565b5f61112f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6111718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab8383613a20565b5f6111be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6112008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d8383613a56565b9050611218816138c7565b600755505050505050565b5f6112638584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6112a58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383613a99565b90506112bd816138c7565b600655505050505050565b5f6113088584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f61134a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc08383613ad5565b5f8490505f61139b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb58383613b0b565b5f6113e88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383613b2f565b5f6114368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6114788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc08383613b53565b5f6114c58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6115078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab8383613b89565b5f8490505f6115588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc08383613bbf565b5f6115a58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6115e78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d8383613be3565b5f6116348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6116768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d8383613c19565b5f6116c38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6117058585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab8383613c4f565b5f6117528584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6117948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610dc08383613c85565b5f6117e18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383613cbb565b5f61182f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6118718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610dc08383613cdd565b5f6118be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc08383613d13565b5f61190c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f61194e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab8383613d37565b5f8490505f61199f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc08383613d6d565b5f6119ec8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f611a2e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc08383613d91565b5f8490505f611a7f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc08383613dc7565b5f611acc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383613deb565b5f611b1a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f611b5c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc08383613e0f565b5f611ba98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc08383613e45565b5f611bf78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f611c398585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc08383613e69565b5f611c868584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383613e98565b5f611cd48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f611d168585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d8383613ebc565b5f611d638584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f611da58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc08383613ef2565b5f611df28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f611e348585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc08383613f21565b5f611e818584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f611ec38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383613f57565b5f611f108584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383613f86565b5f8490505f611f628585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb58383613faa565b5f8490505f611fb38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610dc08383613fe1565b5f6120008584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6120428585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383614005565b5f61208f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6120d18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc0838361403b565b5f8490505f6121228585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb58383614071565b5f61216f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6121b18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d8383614095565b5f6121fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6122408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc083836140c4565b5f61228d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6122cf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab83836140f3565b5f61231c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc08383614113565b5f61236a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6123ac8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab8383614137565b5f6123f98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f61243b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d838361416d565b5f6124888584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb583836141a3565b5f6124d68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6125188585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b283836141c7565b5f8490505f6125698585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb583836141fd565b5f6125b68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc08383614221565b5f6126048584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6126468585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc08383614245565b5f6126938584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6126d58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab838361427b565b5f6127228584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6127648585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610fab83836142b1565b5f6127b18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6127f38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b283836142e0565b5f6128408584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6128828585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d838361430f565b5f8490505f6128d38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb5838361433e565b5f6129208584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383614362565b5f61296e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6129b08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc08383614386565b5f6129fd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612a3f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab83836143a6565b5f612a8c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612ace8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab83836143c6565b5f8490505f612b1f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb583836143e6565b5f612b6c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f612bae8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f61120d838361440a565b5f612bfb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612c3d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab8383614440565b5f612c8a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383614460565b5f612cd88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612d1a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab8383614482565b5f8490505f612d6b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f610eb583836144b8565b5f612db88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612dfa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab83836144dc565b5f612e478584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610dc083836144fc565b5f612e958584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f612ed78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383614520565b5f612f248584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f612f668585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc0838361454f565b5f612fb38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb5838361456f565b5f6130018584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b9050835f610eb58383614593565b5f61304f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6130918585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc083836145b7565b5f6130de8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6131208585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc083836145d7565b5f61316d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6131af8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f610fab8383614606565b5f6131fc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f61323e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138e192505050565b90505f610dc08383614635565b5f61328b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6132cd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383614664565b5f61331a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f61335c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc08383614693565b5f6133a98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6133eb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc083836146c2565b5f6134388584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f61347a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab83836146e2565b5f6134c78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6135098585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610dc08383614702565b5f6135568584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6135988585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610fab8383614722565b5f6135e58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6136278585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f6112b28383614742565b5f6136748584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6136b68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc08383614771565b5f6137038584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138d492505050565b90505f6137458585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a8c92505050565b90505f610dc083836147a0565b5f6137928584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6137d48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388492505050565b90505f610dc083836147cf565b5f6138218584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061387092505050565b90505f6138638585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ac892505050565b90505f610fab83836147ef565b5f61387d8383600561480f565b9392505050565b5f61387d8383600261480f565b5f826138a3576138a05f61490d565b92505b816138b4576138b15f61491f565b91505b61387d836138c18461492b565b5f614937565b6138d181306149f4565b50565b5f61387d8383600461480f565b5f61387d8383600861480f565b5f82613900576138fd5f614a6a565b92505b816139115761390e5f614a76565b91505b61387d61391d84614a82565b835f614937565b5f81613936576139335f614a6a565b91505b61387d828463ffffffff166001614a8e565b5f8161395a576139575f614a6a565b91505b61387d828463ffffffff166001614b05565b5f8261397e5761397b5f61490d565b92505b8161398f5761398c5f61491f565b91505b61387d8361399c8461492b565b5f614b7c565b5f826139b4576139b15f614a6a565b92505b816139c5576139c25f614a76565b91505b61387d6139d184614a82565b835f614bf3565b5f816139ea576139e75f614a6a565b91505b61387d828463ffffffff166001614937565b5f82613a0e57613a0b5f614a6a565b92505b61387d838363ffffffff166001614bf3565b5f82613a3257613a2f5f61490d565b92505b81613a4357613a405f61491f565b91505b61387d83613a508461492b565b5f614c6a565b5f82613a6857613a655f614a6a565b92505b81613a7957613a765f614a76565b91505b61387d613a8584614a82565b835f614ce1565b5f61387d8383600661480f565b5f82613aab57613aa85f614a6a565b92505b81613abc57613ab95f614d58565b91505b61387d613a8584614d64565b5f61387d8383600161480f565b5f82613ae757613ae45f61490d565b92505b81613af857613af55f614d70565b91505b61387d83613b058461492b565b5f614bf3565b5f81613b1d57613b1a5f614a6a565b91505b61387d828463ffffffff166001614d7c565b5f82613b4157613b3e5f614a6a565b92505b61387d838363ffffffff166001614ce1565b5f82613b6557613b625f61490d565b92505b81613b7657613b735f61491f565b91505b61387d83613b838461492b565b5f614df3565b5f82613b9b57613b985f61490d565b92505b81613bac57613ba95f614d70565b91505b61387d83613bb98461492b565b5f614ce1565b5f81613bd157613bce5f614a6a565b91505b61387d828463ffffffff166001614bf3565b5f82613bf557613bf25f614a6a565b92505b81613c0657613c035f614a76565b91505b61387d613c1284614a82565b835f614e6a565b5f82613c2b57613c285f614a6a565b92505b81613c3c57613c395f614a76565b91505b61387d613c4884614a82565b835f614ee1565b5f82613c6157613c5e5f61490d565b92505b81613c7257613c6f5f61491f565b91505b61387d83613c7f8461492b565b5f614ee1565b5f82613c9757613c945f614a6a565b92505b81613ca857613ca55f61490d565b91505b61387d613cb48461492b565b835f614b05565b5f82613ccd57613cca5f614a6a565b92505b61387d838363ffffffff16614f58565b5f82613cef57613cec5f614a6a565b92505b81613d0057613cfd5f61490d565b91505b61387d613d0c8461492b565b835f614ffe565b5f82613d2557613d225f614a6a565b92505b61387d838363ffffffff166001614ffe565b5f82613d4957613d465f61490d565b92505b81613d5a57613d575f614d70565b91505b61387d83613d678461492b565b5f614a8e565b5f81613d7f57613d7c5f614a6a565b91505b61387d828463ffffffff166001614df3565b5f82613da357613da05f61490d565b92505b81613db457613db15f614d70565b91505b61387d83613dc18461492b565b5f614ffe565b5f81613dd957613dd65f614a6a565b91505b61387d828463ffffffff166001614ffe565b5f82613dfd57613dfa5f614a6a565b92505b61387d838363ffffffff166001614b7c565b5f82613e2157613e1e5f614a6a565b92505b81613e3257613e2f5f614a76565b91505b61387d613e3e84614a82565b835f614df3565b5f82613e5757613e545f614a6a565b92505b61387d838363ffffffff166001614937565b5f82613e7b57613e785f614a6a565b92505b81613e8c57613e895f614d58565b91505b61387d61391d84614d64565b5f82613eaa57613ea75f614a6a565b92505b61387d838363ffffffff166001614a8e565b5f82613ece57613ecb5f614a6a565b92505b81613edf57613edc5f614a76565b91505b61387d613eeb84614a82565b835f614c6a565b5f82613f0457613f015f614a6a565b92505b81613f1557613f125f614d58565b91505b61387d613cb484614d64565b5f82613f3357613f305f61490d565b92505b81613f4457613f415f614d70565b91505b61387d83613f518461492b565b5f615075565b5f82613f6957613f665f614a6a565b92505b81613f7a57613f775f614d58565b91505b61387d613c4884614d64565b5f82613f9857613f955f614a6a565b92505b61387d838363ffffffff166001614e6a565b5f80613fbb8463ffffffff16614a6a565b905082613fce57613fcb5f614a6a565b92505b613fd981845f614e6a565b949350505050565b5f81613ff357613ff05f614a6a565b91505b61387d828463ffffffff166001615075565b5f82614017576140145f614a6a565b92505b81614028576140255f614d58565b91505b61387d61403484614d64565b835f614a8e565b5f8261404d5761404a5f614a6a565b92505b8161405e5761405b5f614a76565b91505b61387d61406a84614a82565b835f615075565b5f81614083576140805f614a6a565b91505b61387d828463ffffffff1660016150ec565b5f826140a7576140a45f614a6a565b92505b816140b8576140b55f614a76565b91505b61387d61403484614a82565b5f826140d6576140d35f614a6a565b92505b816140e7576140e45f614a76565b91505b61387d613cb484614a82565b5f82614105576141025f61490d565b92505b8161398f5761398c5f614d70565b5f82614125576141225f614a6a565b92505b61387d838363ffffffff166001614df3565b5f82614149576141465f61490d565b92505b8161415a576141575f61491f565b91505b61387d836141678461492b565b5f614d7c565b5f8261417f5761417c5f614a6a565b92505b816141905761418d5f614a76565b91505b61387d61419c84614a82565b835f6150ec565b5f826141b5576141b25f614a6a565b92505b61387d838363ffffffff166001614d7c565b5f826141d9576141d65f614a6a565b92505b816141ea576141e75f614d58565b91505b61387d6141f684614d64565b835f614d7c565b5f8161420f5761420c5f614a6a565b91505b61387d828463ffffffff166001614ce1565b5f82614233576142305f614a6a565b92505b61387d838363ffffffff166001615075565b5f82614257576142545f61490d565b92505b81614268576142655f61491f565b91505b61387d836142758461492b565b5f614b05565b5f8261428d5761428a5f61490d565b92505b8161429e5761429b5f614d70565b91505b61387d836142ab8461492b565b5f614e6a565b5f826142c3576142c05f614a6a565b92505b816142d4576142d15f61490d565b91505b61387d613a858461492b565b5f826142f2576142ef5f614a6a565b92505b81614303576143005f614d58565b91505b61387d613c1284614d64565b5f826143215761431e5f614a6a565b92505b816143325761432f5f614a76565b91505b61387d6141f684614a82565b5f816143505761434d5f614a6a565b91505b61387d828463ffffffff166001614b7c565b5f82614374576143715f614a6a565b92505b61387d838363ffffffff1660016150ec565b5f82614398576143955f61490d565b92505b81613f4457613f415f61491f565b5f826143b8576143b55f61490d565b92505b8161429e5761429b5f61491f565b5f826143d8576143d55f61490d565b92505b81613d5a57613d575f61491f565b5f816143f8576143f55f614a6a565b91505b61387d828463ffffffff166001614ee1565b5f8261441c576144195f614a6a565b92505b8161442d5761442a5f614a76565b91505b61387d61443984614a82565b835f614b7c565b5f826144525761444f5f61490d565b92505b81613c7257613c6f5f614d70565b5f826144725761446f5f614a6a565b92505b61387d838363ffffffff16615163565b5f82614494576144915f61490d565b92505b816144a5576144a25f614d70565b91505b61387d836144b28461492b565b5f6150ec565b5f816144ca576144c75f614a6a565b91505b61387d828463ffffffff166001614c6a565b5f826144ee576144eb5f61490d565b92505b81613bac57613ba95f61491f565b5f8261450e5761450b5f614a6a565b92505b61387d838363ffffffff166001614b05565b5f826145325761452f5f614a6a565b92505b81614543576145405f614d58565b91505b61387d61419c84614d64565b5f826145615761455e5f61490d565b92505b81613b7657613b735f614d70565b5f826145815761457e5f614a6a565b92505b61387d838363ffffffff166001614c6a565b5f826145a5576145a25f614a6a565b92505b61387d838363ffffffff166001614ee1565b5f826145c9576145c65f61490d565b92505b81614268576142655f614d70565b5f826145e9576145e65f614a6a565b92505b816145fa576145f75f614d58565b91505b61387d6139d184614d64565b5f82614618576146155f614a6a565b92505b81614629576146265f61490d565b91505b61387d613c488461492b565b5f82614647576146445f614a6a565b92505b81614658576146555f614a76565b91505b61387d613d0c84614a82565b5f82614676576146735f614a6a565b92505b81614687576146845f614d58565b91505b61387d61443984614d64565b5f826146a5576146a25f614a6a565b92505b816146b6576146b35f614d58565b91505b61387d61406a84614d64565b5f826146d4576146d15f61490d565b92505b81613db457613db15f61491f565b5f826146f4576146f15f61490d565b92505b8161415a576141575f614d70565b5f82614714576147115f61490d565b92505b816138b4576138b15f614d70565b5f82614734576147315f61490d565b92505b816144a5576144a25f61491f565b5f82614754576147515f614a6a565b92505b81614765576147625f614d58565b91505b61387d613eeb84614d64565b5f82614783576147805f614a6a565b92505b81614794576147915f614d58565b91505b61387d613e3e84614d64565b5f826147b2576147af5f614a6a565b92505b816147c3576147c05f614d58565b91505b61387d613d0c84614d64565b5f826147e1576147de5f61490d565b92505b81613af857613af55f61491f565b5f82614801576147fe5f61490d565b92505b81613a4357613a405f614d70565b5f80516020615495833981519152546040516302e817ff60e41b81525f915f80516020615475833981519152916001600160a01b0390911690632e817ff0906148669088903390899060f88a901b906004016153ec565b6020604051808303815f875af1158015614882573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148a6919061545d565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b1580156148ef575f80fd5b505af1158015614901573d5f803e3d5ffd5b50505050509392505050565b5f6149198260056151c4565b92915050565b5f6149198260026151c4565b5f614919826005615262565b5f80821561494a5750600160f81b61494d565b505f5b5f8051602061549583398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b031690636be31758906064015b6020604051808303815f875af11580156149c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149ea919061545d565b9695505050505050565b5f5f805160206154758339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614a4f575f80fd5b505af1158015614a61573d5f803e3d5ffd5b50505050505050565b5f6149198260046151c4565b5f6149198260086151c4565b5f614919826008615262565b5f808215614aa15750600160f81b614aa4565b505f5b5f8051602061549583398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b031690632c7d67b7906064016149aa565b5f808215614b185750600160f81b614b1b565b505f5b5f8051602061549583398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b031690639675211f906064016149aa565b5f808215614b8f5750600160f81b614b92565b505f5b5f805160206154958339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063f953e427906064016149aa565b5f808215614c065750600160f81b614c09565b505f5b5f8051602061549583398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b0316906319271081906064016149aa565b5f808215614c7d5750600160f81b614c80565b505f5b5f805160206154958339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063816d57d3906064016149aa565b5f808215614cf45750600160f81b614cf7565b505f5b5f8051602061549583398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063a87deac4906064016149aa565b5f6149198260066151c4565b5f614919826006615262565b5f6149198260016151c4565b5f808215614d8f5750600160f81b614d92565b505f5b5f8051602061549583398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063ec4057dc906064016149aa565b5f808215614e065750600160f81b614e09565b505f5b5f8051602061549583398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b031690633e63c50a906064016149aa565b5f808215614e7d5750600160f81b614e80565b505f5b5f8051602061549583398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b031690638c14cc21906064016149aa565b5f808215614ef45750600160f81b614ef7565b505f5b5f805160206154958339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063a86e9de5906064016149aa565b5f80516020615495833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615475833981519152916001600160a01b03169063e0c516ae906064015b6020604051808303815f875af1158015614fd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614ff5919061545d565b95945050505050565b5f8082156150115750600160f81b615014565b505f5b5f80516020615495833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063694daf72906064016149aa565b5f8082156150885750600160f81b61508b565b505f5b5f805160206154958339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063052896f1906064016149aa565b5f8082156150ff5750600160f81b615102565b505f5b5f8051602061549583398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615475833981519152916001600160a01b03169063666a3588906064016149aa565b5f80516020615495833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615475833981519152916001600160a01b0316906336cdd31b90606401614fb5565b5f8051602061549583398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615475833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af115801561523e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613fd9919061545d565b5f805160206154958339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615475833981519152916001600160a01b0390911690634be68d2090604401615222565b5f8083601f8401126152d4575f80fd5b50813567ffffffffffffffff8111156152eb575f80fd5b602083019150836020828501011115615302575f80fd5b9250929050565b5f805f806060858703121561531c575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115615340575f80fd5b61534c878288016152c4565b95989497509550505050565b803563ffffffff8116811461536b575f80fd5b919050565b5f805f8060608587031215615383575f80fd5b61538c85615358565b935060208501359250604085013567ffffffffffffffff811115615340575f80fd5b5f805f80606085870312156153c1575f80fd5b843593506153d160208601615358565b9250604085013567ffffffffffffffff811115615340575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b8181101561542e5786810183015185820160a001528201615412565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f6020828403121561546d575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite6ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite6ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite6__factory extends ContractFactory { - constructor(...args: TFHETestSuite6ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite6 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite6__factory { - return super.connect(runner) as TFHETestSuite6__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite6Interface { - return new Interface(_abi) as TFHETestSuite6Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite6 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite6; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite7__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite7__factory.ts deleted file mode 100644 index abb54197..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite7__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite7, - TFHETestSuite7Interface, -} from "../../../examples/tests/TFHETestSuite7"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b6157c2806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610625575f3560e01c806372b6946811610328578063b47390a0116101b3578063df7c5e3c116100fe578063eee6fb71116100a9578063f7c70b7011610084578063f7c70b7014610ce6578063f847782d14610cf9578063f8b1b56014610d0c578063fe31c7d914610d1f575f80fd5b8063eee6fb7114610cad578063f5d85e0f14610cc0578063f6cd9ca014610cd3575f80fd5b8063e3cf9df1116100d9578063e3cf9df114610c7e578063ea5e86f014610c91578063eb8600d914610c9a575f80fd5b8063df7c5e3c14610c45578063e040cc0a14610c58578063e1950ae014610c6b575f80fd5b8063ca1bd0a91161015e578063d0f63ce811610139578063d0f63ce814610c0c578063d6bd5cfb14610c1f578063dd52e2d914610c32575f80fd5b8063ca1bd0a914610bdd578063cdd29c3a14610bf0578063d094693214610bf9575f80fd5b8063b903a6551161018e578063b903a65514610ba4578063beeeb60a14610bb7578063c932e12914610bca575f80fd5b8063b47390a014610b6b578063b571f24614610b7e578063b57f904c14610b91575f80fd5b80638f33885911610273578063a0496e701161021e578063a299cc99116101f9578063a299cc9914610b32578063ab4a262314610b45578063affb113014610b58575f80fd5b8063a0496e7014610af9578063a18b711414610b0c578063a1ae1bb314610b1f575f80fd5b806398a6a0f51161024e57806398a6a0f514610ac05780639c72fe8614610ad35780639eabd15914610ae6575f80fd5b80638f33885914610a9157806390edfdb114610a9a5780639199e0d914610aad575f80fd5b8063850fffdf116102d35780638a512202116102ae5780638a51220214610a625780638c04169014610a755780638c85895014610a88575f80fd5b8063850fffdf14610a2957806388374e0c14610a3c57806388991ee314610a4f575f80fd5b806378b2b1961161030357806378b2b196146109f05780637f867d1e14610a0357806380b444db14610a16575f80fd5b806372b69468146109b75780637496509d146109ca57806375f1578f146109dd575f80fd5b80632d68cd53116104b357806355b36df4116103fe57806361a4c5fe116103a957806367293e2c1161038457806367293e2c1461096b5780636b6b3e5a1461097e5780637040ee9a14610991578063709d064c146109a4575f80fd5b806361a4c5fe1461093257806364fcf9701461094557806366e73a4414610958575f80fd5b80635a6e324e116103d95780635a6e324e146108f95780635bf8a53a1461090c5780635f8464371461091f575f80fd5b806355b36df4146108c0578063564e763a146108d3578063586ec016146108e6575f80fd5b8063492775071161045e5780634bf39666116104395780634bf39666146108915780634c469f0d1461089a5780634c65321b146108ad575f80fd5b80634927750714610862578063499d0970146108755780634b84c8f914610888575f80fd5b80633851f1471161048e5780633851f147146108295780633b527e0e1461083c5780633c3554d51461084f575f80fd5b80632d68cd53146107f05780632e77579c1461080357806331608a8614610816575f80fd5b80631afdf48e116105735780632619a4c61161051e5780632c7a6dd8116104f95780632c7a6dd8146107b75780632cba38bf146107ca5780632cd442c7146107dd575f80fd5b80632619a4c61461077e578063276ec0a7146107915780632aab6ab2146107a4575f80fd5b8063217949c51161054e578063217949c514610745578063231e133214610758578063251373bd1461076b575f80fd5b80631afdf48e146107165780631c42e4f01461071f5780631f0a9edc14610732575f80fd5b80630d27ff33116105d357806314e2fe58116105ae57806314e2fe58146106d65780631629d25d146106e95780631a2f41f014610703575f80fd5b80630d27ff331461069d5780630e8b2cdd146106b0578063138ea434146106c3575f80fd5b806307d260161161060357806307d26016146106645780630956ec911461067757806309dd16861461068a575f80fd5b806301716814146106295780630352fa8a1461063e578063057dd49414610651575b5f80fd5b61063c610637366004615622565b610d32565b005b61063c61064c366004615622565b610d98565b61063c61065f366004615678565b610de9565b61063c610672366004615678565b610e78565b61063c610685366004615678565b610f07565b61063c610698366004615678565b610fac565b61063c6106ab366004615678565b61103b565b61063c6106be366004615622565b6110ca565b61063c6106d1366004615622565b61111b565b61063c6106e4366004615678565b61116c565b6106f15f5481565b60405190815260200160405180910390f35b61063c610711366004615622565b6111fb565b6106f160055481565b61063c61072d366004615678565b61124c565b61063c610740366004615678565b6112db565b61063c610753366004615678565b61136a565b61063c610766366004615678565b6113f9565b61063c6107793660046156af565b611488565b61063c61078c366004615678565b6114d6565b61063c61079f366004615678565b61157b565b61063c6107b2366004615678565b61160a565b61063c6107c5366004615678565b611699565b61063c6107d8366004615678565b611728565b61063c6107eb366004615678565b6117b7565b61063c6107fe366004615678565b611846565b61063c610811366004615678565b6118d5565b61063c610824366004615678565b611964565b61063c610837366004615678565b611a09565b61063c61084a366004615678565b611a98565b61063c61085d366004615678565b611b27565b61063c610870366004615678565b611bb6565b61063c610883366004615678565b611c45565b6106f160035481565b6106f160025481565b61063c6108a8366004615678565b611cd4565b61063c6108bb366004615622565b611d63565b61063c6108ce366004615678565b611db4565b61063c6108e13660046156af565b611e43565b61063c6108f4366004615678565b611e91565b61063c6109073660046156af565b611f20565b61063c61091a366004615678565b611f6e565b61063c61092d366004615678565b611ffd565b61063c610940366004615678565b61208c565b61063c6109533660046156af565b61211b565b61063c6109663660046156af565b612169565b61063c610979366004615678565b6121b7565b61063c61098c366004615678565b612246565b61063c61099f366004615678565b6122d5565b61063c6109b2366004615678565b612364565b61063c6109c5366004615678565b6123f3565b61063c6109d8366004615678565b612482565b61063c6109eb366004615678565b612511565b61063c6109fe366004615678565b6125a0565b61063c610a11366004615678565b61262f565b61063c610a24366004615678565b6126be565b61063c610a37366004615678565b61274d565b61063c610a4a366004615678565b6127dc565b61063c610a5d366004615622565b61286b565b61063c610a70366004615678565b6128bc565b61063c610a83366004615678565b61294b565b6106f160065481565b6106f160075481565b61063c610aa8366004615678565b6129da565b61063c610abb366004615678565b612a69565b61063c610ace366004615678565b612af8565b61063c610ae1366004615678565b612b87565b61063c610af4366004615678565b612c16565b61063c610b07366004615678565b612ca5565b61063c610b1a3660046156af565b612d34565b61063c610b2d366004615678565b612d82565b61063c610b40366004615622565b612e11565b61063c610b53366004615678565b612e62565b61063c610b66366004615678565b612ef1565b61063c610b793660046156af565b612f80565b61063c610b8c366004615678565b612fce565b61063c610b9f3660046156af565b61305d565b61063c610bb2366004615678565b6130ab565b61063c610bc53660046156af565b61313a565b61063c610bd8366004615678565b613188565b61063c610beb3660046156af565b613217565b6106f160015481565b61063c610c07366004615678565b613265565b61063c610c1a366004615678565b6132f4565b61063c610c2d366004615678565b613383565b61063c610c40366004615678565b613412565b61063c610c53366004615678565b6134a1565b61063c610c663660046156af565b613530565b61063c610c79366004615678565b61357e565b61063c610c8c366004615678565b61360d565b6106f160045481565b61063c610ca8366004615622565b61369c565b61063c610cbb366004615678565b6136ed565b61063c610cce366004615678565b61377c565b61063c610ce1366004615678565b61380b565b61063c610cf4366004615678565b61389a565b61063c610d07366004615678565b613929565b61063c610d1a366004615678565b6139b8565b61063c610d2d366004615678565b613a47565b5f8490505f610d768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613aea565b9050610d8e81613b12565b5f55505050505050565b5f8490505f610ddc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613b1f565b5f610e298584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610e6b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d838383613b54565b5f610eb88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610efa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613b8a565b5f610f478584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f898585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383613bb8565b9050610fa181613b12565b600555505050505050565b5f610fec8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61102e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f968383613bfb565b5f61107b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6110bd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d838383613c31565b5f8490505f61110e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383613c67565b5f8490505f61115f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383613c8f565b5f6111ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6111ee8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383613cb7565b5f8490505f61123f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383613ced565b5f61128c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6112ce8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d838383613d15565b5f61131b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61135d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613d4b565b5f6113aa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6113ec8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613d79565b5f6114398584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61147b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f968383613da7565b5f6114c88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f968383613ddd565b5f6115168584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6115588585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383613e12565b905061157081613b12565b600655505050505050565b5f6115bb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6115fd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d838383613e48565b5f61164a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61168c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383613e68565b5f6116d98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61171b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d838383613e88565b5f6117688584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6117aa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383613eb6565b5f6117f78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6118398585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383613eec565b5f6118868584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6118c88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383613f22565b5f6119158584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6119578585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f968383613f50565b5f6119a48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6119e68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f38383613f7d565b90506119fe81613b12565b600755505050505050565b5f611a498584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611a8b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f968383613fb3565b5f611ad88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611b1a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d838383613fe9565b5f611b678584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611ba98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d83838361401f565b5f611bf68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611c388585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d83838361404d565b5f611c858584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611cc78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d838383614083565b5f611d148584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611d568585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d8383836140b9565b5f8490505f611da78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d8383836140ef565b5f611df48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611e368585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f38383614117565b5f611e838584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610d83838361414d565b5f611ed18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611f138585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383614175565b5f611f608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f9683836141a3565b5f611fae8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f611ff08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f9683836141cb565b5f61203d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61207f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f383836141eb565b5f6120cc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61210e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f38383614221565b5f61215b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f968383614250565b5f6121a98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610d838383614278565b5f6121f78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6122398585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f9683836142a0565b5f6122868584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6122c88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f61156583836142c0565b5f6123158584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6123578585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836142f6565b5f6123a48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6123e68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383614324565b5f6124338584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6124758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383614344565b5f6124c28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6125048585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f38383614373565b5f6125518584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6125938585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f9683836143a9565b5f6125e08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6126228585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d8383836143df565b5f61266f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6126b18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d838383614415565b5f6126fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6127408585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f38383614444565b5f61278d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6127cf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d838383614473565b5f61281c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61285e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d8383836144a9565b5f8490505f6128af8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836144c9565b5f6128fc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61293e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836144f1565b5f61298b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6129cd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f96838361451f565b5f612a1a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612a5c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d83838361454d565b5f612aa98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612aeb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383614583565b5f612b388584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612b7a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d8383836145b2565b5f612bc78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612c098585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f383836145d2565b5f612c568584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612c988585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d838383614608565b5f612ce58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612d278585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d838383614637565b5f612d748584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f968383614657565b5f612dc28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612e048585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f6119f3838361467d565b5f8490505f612e558585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836146ac565b5f612ea28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612ee48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d8383836146e7565b5f612f318584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f612f738585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610d83838361471d565b5f612fc08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610d83838361474b565b5f61300e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6130508585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383614773565b5f61309d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f9683836147a2565b5f6130eb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61312d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d8383836147c8565b5f61317a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f9683836147f7565b5f6131c88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61320a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f7092505050565b90505f610d83838361481f565b5f6132578584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f96838361484e565b5f6132a58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6132e78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383614876565b5f6133348584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6133768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836148ac565b5f6133c38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6134058585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d8383836148da565b5f6134528584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6134948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383614909565b5f6134e18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6135238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383614938565b5f6135708584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b9050835f610f968383614958565b5f6135be8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6136008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610f968383614980565b5f61364d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61368f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610d8383836149a0565b5f8490505f6136e08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836149d6565b5f61372d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61376f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f9683836149fe565b5f6137bc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6137fe8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f610d838383614a2c565b5f61384b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61388d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e0592505050565b90505f6115658383614a5b565b5f6138da8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f61391c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f610f968383614a8a565b5f6139698584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f6139ab8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613bee92505050565b90505f610f968383614ab8565b5f6139f88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f613a3a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d838383614ad8565b5f613a878584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613ad692505050565b90505f613ac98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613b4792505050565b90505f610d838383614af8565b5f613ae383836005614b18565b9392505050565b5f81613afc57613af95f614c16565b91505b613ae3828467ffffffffffffffff166001614c28565b613b1c8130614ce5565b50565b5f81613b3157613b2e5f614c16565b91505b613ae3828467ffffffffffffffff166001614d5b565b5f613ae383836004614b18565b5f82613b6657613b635f614c16565b92505b81613b7757613b745f614dd2565b91505b613ae383613b8484614dde565b5f614dea565b5f82613b9c57613b995f614c16565b92505b81613bad57613baa5f614c16565b91505b613ae383835f614d5b565b5f82613bca57613bc75f614c16565b92505b81613bdb57613bd85f614dd2565b91505b613ae383613be884614dde565b5f614e61565b5f613ae383836003614b18565b5f82613c0d57613c0a5f614c16565b92505b81613c1e57613c1b5f614ed8565b91505b613ae383613c2b84614dde565b5f614ee4565b5f82613c4357613c405f614c16565b92505b81613c5457613c515f614ed8565b91505b613ae383613c6184614dde565b5f614d5b565b5f81613c7957613c765f614c16565b91505b613ae3828467ffffffffffffffff166001614f5b565b5f81613ca157613c9e5f614c16565b91505b613ae3828467ffffffffffffffff166001614ee4565b5f82613cc957613cc65f614c16565b92505b81613cda57613cd75f614dd2565b91505b613ae383613ce784614dde565b5f614fd2565b5f81613cff57613cfc5f614c16565b91505b613ae3828467ffffffffffffffff166001615049565b5f82613d2757613d245f614c16565b92505b81613d3857613d355f614dd2565b91505b613ae383613d4584614dde565b5f6150c0565b5f82613d5d57613d5a5f614c16565b92505b81613d6e57613d6b5f614c16565b91505b613ae383835f614c28565b5f82613d8b57613d885f614c16565b92505b81613d9c57613d995f614c16565b91505b613ae383835f614dea565b5f82613db957613db65f614c16565b92505b81613dca57613dc75f614ed8565b91505b613ae383613dd784614dde565b5f614f5b565b5f82613def57613dec5f614c16565b92505b613ae3838367ffffffffffffffff166001614f5b565b5f613ae383836006614b18565b5f82613e2457613e215f614c16565b92505b81613e3557613e325f615137565b91505b613ae3613e4184615143565b835f61514f565b5f82613e5a57613e575f614c16565b92505b81613b7757613b745f614ed8565b5f82613e7a57613e775f614c16565b92505b81613dca57613dc75f614dd2565b5f82613e9a57613e975f614c16565b92505b81613eab57613ea85f614c16565b91505b613ae383835f6151c6565b5f82613ec857613ec55f614c16565b92505b81613ed957613ed65f614dd2565b91505b613ae383613ee684614dde565b5f61523d565b5f82613efe57613efb5f614c16565b92505b81613f0f57613f0c5f615137565b91505b613ae3613f1b84615143565b835f614fd2565b5f82613f3457613f315f614c16565b92505b81613f4557613f425f614c16565b91505b613ae383835f6152b4565b5f82613f6257613f5f5f614c16565b92505b81613bdb57613bd85f614ed8565b5f613ae383836008614b18565b5f82613f8f57613f8c5f614c16565b92505b81613fa057613f9d5f61532b565b91505b613ae3613fac84615337565b835f61523d565b5f82613fc557613fc25f614c16565b92505b81613fd657613fd35f614ed8565b91505b613ae383613fe384614dde565b5f6152b4565b5f82613ffb57613ff85f614c16565b92505b8161400c576140095f614ed8565b91505b613ae38361401984614dde565b5f6151c6565b5f826140315761402e5f614c16565b92505b816140425761403f5f614c16565b91505b613ae383835f615343565b5f8261405f5761405c5f614c16565b92505b816140705761406d5f61532b565b91505b613ae361407c84615337565b835f614dea565b5f82614095576140925f614c16565b92505b816140a6576140a35f61532b565b91505b613ae36140b284615337565b835f614c28565b5f826140cb576140c85f614c16565b92505b816140dc576140d95f615137565b91505b613ae36140e884615143565b835f615343565b5f81614101576140fe5f614c16565b91505b613ae3828467ffffffffffffffff166001614dea565b5f82614129576141265f614c16565b92505b8161413a576141375f61532b565b91505b613ae361414684615337565b835f614f5b565b5f8261415f5761415c5f614c16565b92505b613ae3838367ffffffffffffffff166001614c28565b5f82614187576141845f614c16565b92505b81614198576141955f614c16565b91505b613ae383835f614f5b565b5f826141b5576141b25f614c16565b92505b613ae3838367ffffffffffffffff1660016152b4565b5f826141dd576141da5f614c16565b92505b81613cda57613cd75f614ed8565b5f826141fd576141fa5f614c16565b92505b8161420e5761420b5f61532b565b91505b613ae361421a84615337565b835f614ee4565b5f82614233576142305f614c16565b92505b81614244576142415f61532b565b91505b613ae3613f1b84615337565b5f826142625761425f5f614c16565b92505b613ae3838367ffffffffffffffff166001614fd2565b5f8261428a576142875f614c16565b92505b613ae3838367ffffffffffffffff1660016151c6565b5f826142b2576142af5f614c16565b92505b81613ed957613ed65f614ed8565b5f826142d2576142cf5f614c16565b92505b816142e3576142e05f615137565b91505b613ae36142ef84615143565b835f615049565b5f82614308576143055f614c16565b92505b81614319576143165f614c16565b91505b613ae383835f614ee4565b5f82614336576143335f614c16565b92505b81613fd657613fd35f614dd2565b5f82614356576143535f614c16565b92505b81614367576143645f615137565b91505b613ae361421a84615143565b5f82614385576143825f614c16565b92505b81614396576143935f61532b565b91505b613ae36143a284615337565b835f6152b4565b5f826143bb576143b85f614c16565b92505b816143cc576143c95f614ed8565b91505b613ae3836143d984614dde565b5f61514f565b5f826143f1576143ee5f614c16565b92505b81614402576143ff5f61532b565b91505b613ae361440e84615337565b835f6151c6565b5f82614427576144245f614c16565b92505b81614438576144355f615137565b91505b613ae361440e84615143565b5f82614456576144535f614c16565b92505b81614467576144645f61532b565b91505b613ae3613e4184615337565b5f82614485576144825f614c16565b92505b81614496576144935f614ed8565b91505b613ae3836144a384614dde565b5f614c28565b5f826144bb576144b85f614c16565b92505b81613c5457613c515f614dd2565b5f816144db576144d85f614c16565b91505b613ae3828467ffffffffffffffff1660016152b4565b5f82614503576145005f614c16565b92505b81614514576145115f614c16565b91505b613ae383835f614e61565b5f826145315761452e5f614c16565b92505b816145425761453f5f614c16565b91505b613ae383835f614fd2565b5f8261455f5761455c5f614c16565b92505b816145705761456d5f615137565b91505b613ae361457c84615143565b835f6150c0565b5f82614595576145925f614c16565b92505b816145a6576145a35f615137565b91505b613ae3613fac84615143565b5f826145c4576145c15f614c16565b92505b81613d3857613d355f614ed8565b5f826145e4576145e15f614c16565b92505b816145f5576145f25f61532b565b91505b613ae361460184615337565b835f614e61565b5f8261461a576146175f614c16565b92505b8161462b576146285f61532b565b91505b613ae361457c84615337565b5f82614649576146465f614c16565b92505b8161400c576140095f614dd2565b5f82614669576146665f614c16565b92505b613ae3838367ffffffffffffffff166153ba565b5f8261468f5761468c5f614c16565b92505b816146a05761469d5f61532b565b91505b613ae36142ef84615337565b5f806146c18467ffffffffffffffff16614c16565b9050826146d4576146d15f614c16565b92505b6146df81845f614e61565b949350505050565b5f826146f9576146f65f614c16565b92505b8161470a576147075f61532b565b91505b613ae361471684615337565b835f614d5b565b5f8261472f5761472c5f614c16565b92505b816147405761473d5f614c16565b91505b613ae383835f6150c0565b5f8261475d5761475a5f614c16565b92505b613ae3838367ffffffffffffffff166001614d5b565b5f82614785576147825f614c16565b92505b81614796576147935f615137565b91505b613ae361460184615143565b5f826147b4576147b15f614c16565b92505b613ae3838367ffffffffffffffff16615460565b5f826147da576147d75f614c16565b92505b816147eb576147e85f615137565b91505b613ae361407c84615143565b5f82614809576148065f614c16565b92505b613ae3838367ffffffffffffffff166001614ee4565b5f826148315761482e5f614c16565b92505b816148425761483f5f61532b565b91505b613ae36140e884615337565b5f826148605761485d5f614c16565b92505b613ae3838367ffffffffffffffff166001614e61565b5f82614888576148855f614c16565b92505b81614899576148965f614dd2565b91505b613ae3836148a684614dde565b5f615049565b5f826148be576148bb5f614c16565b92505b816148cf576148cc5f614c16565b91505b613ae383835f615049565b5f826148ec576148e95f614c16565b92505b816148fd576148fa5f615137565b91505b613ae361471684615143565b5f8261491b576149185f614c16565b92505b8161492c576149295f615137565b91505b613ae36143a284615143565b5f8261494a576149475f614c16565b92505b816143cc576143c95f614dd2565b5f8261496a576149675f614c16565b92505b613ae3838367ffffffffffffffff166001615049565b5f826149925761498f5f614c16565b92505b81613c1e57613c1b5f614dd2565b5f826149b2576149af5f614c16565b92505b816149c3576149c05f614ed8565b91505b613ae3836149d084614dde565b5f615343565b5f816149e8576149e55f614c16565b91505b613ae3828467ffffffffffffffff166001614fd2565b5f82614a1057614a0d5f614c16565b92505b81614a2157614a1e5f614c16565b91505b613ae383835f61523d565b5f82614a3e57614a3b5f614c16565b92505b81614a4f57614a4c5f615137565b91505b613ae36140b284615143565b5f82614a6d57614a6a5f614c16565b92505b81614a7e57614a7b5f615137565b91505b613ae361414684615143565b5f82614a9c57614a995f614c16565b92505b81614aad57614aaa5f614c16565b91505b613ae383835f61514f565b5f82614aca57614ac75f614c16565b92505b81614899576148965f614ed8565b5f82614aea57614ae75f614c16565b92505b81614496576144935f614dd2565b5f82614b0a57614b075f614c16565b92505b816149c3576149c05f614dd2565b5f80516020615796833981519152546040516302e817ff60e41b81525f915f80516020615776833981519152916001600160a01b0390911690632e817ff090614b6f9088903390899060f88a901b906004016156ed565b6020604051808303815f875af1158015614b8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614baf919061575e565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015614bf8575f80fd5b505af1158015614c0a573d5f803e3d5ffd5b50505050509392505050565b5f614c228260056154c1565b92915050565b5f808215614c3b5750600160f81b614c3e565b505f5b5f8051602061579683398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b0316906319271081906064015b6020604051808303815f875af1158015614cb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614cdb919061575e565b9695505050505050565b5f5f805160206157768339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614d40575f80fd5b505af1158015614d52573d5f803e3d5ffd5b50505050505050565b5f808215614d6e5750600160f81b614d71565b505f5b5f8051602061579683398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b031690636be3175890606401614c9b565b5f614c228260046154c1565b5f614c2282600561555f565b5f808215614dfd5750600160f81b614e00565b505f5b5f80516020615796833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063694daf7290606401614c9b565b5f808215614e745750600160f81b614e77565b505f5b5f8051602061579683398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b031690638c14cc2190606401614c9b565b5f614c228260036154c1565b5f808215614ef75750600160f81b614efa565b505f5b5f8051602061579683398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b031690632c7d67b790606401614c9b565b5f808215614f6e5750600160f81b614f71565b505f5b5f805160206157968339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063f953e42790606401614c9b565b5f808215614fe55750600160f81b614fe8565b505f5b5f8051602061579683398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063666a358890606401614c9b565b5f80821561505c5750600160f81b61505f565b505f5b5f8051602061579683398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063ec4057dc90606401614c9b565b5f8082156150d35750600160f81b6150d6565b505f5b5f8051602061579683398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b031690639675211f90606401614c9b565b5f614c228260066154c1565b5f614c2282600661555f565b5f8082156151625750600160f81b615165565b505f5b5f8051602061579683398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063a87deac490606401614c9b565b5f8082156151d95750600160f81b6151dc565b505f5b5f805160206157968339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063052896f190606401614c9b565b5f8082156152505750600160f81b615253565b505f5b5f805160206157968339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063a86e9de590606401614c9b565b5f8082156152c75750600160f81b6152ca565b505f5b5f805160206157968339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b03169063816d57d390606401614c9b565b5f614c228260086154c1565b5f614c2282600861555f565b5f8082156153565750600160f81b615359565b505f5b5f8051602061579683398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615776833981519152916001600160a01b031690633e63c50a90606401614c9b565b5f80516020615796833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615776833981519152916001600160a01b0316906336cdd31b906064015b6020604051808303815f875af1158015615433573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190615457919061575e565b95945050505050565b5f80516020615796833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f80516020615776833981519152916001600160a01b03169063e0c516ae90606401615417565b5f8051602061579683398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615776833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af115801561553b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146df919061575e565b5f805160206157968339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615776833981519152916001600160a01b0390911690634be68d209060440161551f565b803567ffffffffffffffff811681146155d8575f80fd5b919050565b5f8083601f8401126155ed575f80fd5b50813567ffffffffffffffff811115615604575f80fd5b60208301915083602082850101111561561b575f80fd5b9250929050565b5f805f8060608587031215615635575f80fd5b61563e856155c1565b935060208501359250604085013567ffffffffffffffff811115615660575f80fd5b61566c878288016155dd565b95989497509550505050565b5f805f806060858703121561568b575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115615660575f80fd5b5f805f80606085870312156156c2575f80fd5b843593506156d2602086016155c1565b9250604085013567ffffffffffffffff811115615660575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b8181101561572f5786810183015185820160a001528201615713565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f6020828403121561576e575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite7ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite7ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite7__factory extends ContractFactory { - constructor(...args: TFHETestSuite7ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite7 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite7__factory { - return super.connect(runner) as TFHETestSuite7__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite7Interface { - return new Interface(_abi) as TFHETestSuite7Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite7 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite7; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite8__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite8__factory.ts deleted file mode 100644 index 3c0a3109..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite8__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite8, - TFHETestSuite8Interface, -} from "../../../examples/tests/TFHETestSuite8"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint64", - name: "b", - type: "uint64", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint64_uint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint64", - name: "a", - type: "uint64", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint64_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint32", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint64", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b61568f806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610625575f3560e01c806379aa5d9211610328578063c6857186116101b3578063e83d1df9116100fe578063f6d7cd04116100a9578063fab625f311610084578063fab625f314610ce6578063fae0015d14610cf9578063fcdae95614610d0c578063ff907ccc14610d1f575f80fd5b8063f6d7cd0414610cad578063f80ef16f14610cc0578063f9af11b014610cd3575f80fd5b8063eb6db1af116100d9578063eb6db1af14610c74578063ec154c3814610c87578063f266d3a814610c9a575f80fd5b8063e83d1df914610c45578063ea5e86f014610c58578063eaf91ae814610c61575f80fd5b8063dcb528441161015e578063e141191f11610139578063e141191f14610c0c578063e25ac56414610c1f578063e4621f4214610c32575f80fd5b8063dcb5284414610bd3578063dcd384ed14610be6578063df411fd514610bf9575f80fd5b8063cff676201161018e578063cff6762014610b9a578063d086897c14610bad578063d486fea414610bc0575f80fd5b8063c685718614610b6b578063c75ab52a14610b7e578063cdd29c3a14610b91575f80fd5b8063a2377bcf11610273578063b9ed2de91161021e578063bdeb7f25116101f9578063bdeb7f2514610b32578063c03ae66014610b45578063c580f0eb14610b58575f80fd5b8063b9ed2de914610af9578063ba00816a14610b0c578063bd154ffe14610b1f575f80fd5b8063b1ce34031161024e578063b1ce340314610ac0578063b42eb51d14610ad3578063b479662514610ae6575f80fd5b8063a2377bcf14610a87578063ab5d5fd814610a9a578063ae8b062014610aad575f80fd5b80638f338859116102d3578063985840ea116102ae578063985840ea14610a4e5780639f29b49914610a61578063a1e4aec114610a74575f80fd5b80638f33885914610a1f57806395776f9914610a2857806397e4ed9914610a3b575f80fd5b80637d042939116103035780637d042939146109f05780638c85895014610a035780638c88335514610a0c575f80fd5b806379aa5d92146109b75780637b9496ee146109ca5780637c7c443e146109dd575f80fd5b8063392e6253116104b3578063592530f8116103fe57806370a69cac116103a95780637283d725116103845780637283d7251461096b5780637369269b1461097e57806375d90fd314610991578063776598de146109a4575f80fd5b806370a69cac14610932578063719f7f16146109455780637251565514610958575f80fd5b80635c544918116103d95780635c544918146108f95780636310047b1461090c578063689e2a7e1461091f575f80fd5b8063592530f8146108c05780635aa23e4f146108d35780635b68b37e146108e6575f80fd5b806347c3b32a1161045e5780634bf39666116104395780634bf39666146108915780634f2378361461089a578063566ab27a146108ad575f80fd5b806347c3b32a146108625780634b543251146108755780634b84c8f914610888575f80fd5b8063419001c81161048e578063419001c8146108295780634392e83d1461083c57806346e942161461084f575f80fd5b8063392e6253146107f05780633a2d9b65146108035780633d06ceaa14610816575f80fd5b806318241e6211610573578063283a81e21161051e5780632f8094e9116104f95780632f8094e9146107b75780632fc4a5d8146107ca578063321b7f53146107dd575f80fd5b8063283a81e21461077e5780632853f44d146107915780632db7b7e3146107a4575f80fd5b80631c20e9b31161054e5780631c20e9b3146107455780631e036899146107585780632837a60b1461076b575f80fd5b806318241e6214610716578063184b0361146107295780631afdf48e1461073c575f80fd5b80630838128b116105d357806315b04dfe116105ae57806315b04dfe146106d65780631629d25d146106e95780631722b6a014610703575f80fd5b80630838128b1461069d578063096088b1146106b05780630c96bf8d146106c3575f80fd5b8063069e5e0411610603578063069e5e041461066457806306bd86011461067757806307d3bafa1461068a575f80fd5b8063019c596c1461062957806302c8ca5e1461063e57806304229e4314610651575b5f80fd5b61063c6106373660046154d3565b610d32565b005b61063c61064c36600461553e565b610dd7565b61063c61065f3660046154d3565b610e3d565b61063c6106723660046154d3565b610ecc565b61063c6106853660046154d3565b610f5b565b61063c6106983660046154d3565b610fea565b61063c6106ab36600461553e565b611079565b61063c6106be3660046154d3565b6110ca565b61063c6106d136600461557c565b611159565b61063c6106e43660046154d3565b6111a7565b6106f15f5481565b60405190815260200160405180910390f35b61063c6107113660046154d3565b611236565b61063c6107243660046154d3565b6112c5565b61063c6107373660046154d3565b611354565b6106f160055481565b61063c6107533660046154d3565b6113e3565b61063c6107663660046154d3565b611472565b61063c6107793660046154d3565b611501565b61063c61078c3660046154d3565b611590565b61063c61079f3660046154d3565b61161f565b61063c6107b23660046154d3565b6116ae565b61063c6107c53660046154d3565b61173d565b61063c6107d83660046154d3565b6117cc565b61063c6107eb3660046154d3565b61185b565b61063c6107fe3660046154d3565b6118ea565b61063c6108113660046154d3565b611979565b61063c6108243660046154d3565b611a08565b61063c6108373660046154d3565b611a97565b61063c61084a3660046154d3565b611b26565b61063c61085d3660046154d3565b611bb5565b61063c61087036600461557c565b611c44565b61063c6108833660046154d3565b611c92565b6106f160035481565b6106f160025481565b61063c6108a83660046154d3565b611d21565b61063c6108bb3660046154d3565b611db0565b61063c6108ce3660046154d3565b611e3f565b61063c6108e136600461553e565b611ece565b61063c6108f43660046154d3565b611f1f565b61063c6109073660046154d3565b611fae565b61063c61091a3660046154d3565b61203d565b61063c61092d3660046154d3565b6120cc565b61063c6109403660046154d3565b61215b565b61063c6109533660046154d3565b6121ea565b61063c61096636600461557c565b612279565b61063c6109793660046154d3565b6122dd565b61063c61098c3660046154d3565b61236c565b61063c61099f3660046154d3565b6123fb565b61063c6109b23660046154d3565b61248a565b61063c6109c536600461557c565b612519565b61063c6109d83660046154d3565b612567565b61063c6109eb3660046154d3565b6125f6565b61063c6109fe36600461557c565b612685565b6106f160065481565b61063c610a1a3660046154d3565b6126d3565b6106f160075481565b61063c610a363660046154d3565b612762565b61063c610a493660046154d3565b6127f1565b61063c610a5c36600461553e565b612880565b61063c610a6f3660046154d3565b6128d1565b61063c610a823660046154d3565b612960565b61063c610a953660046154d3565b6129ef565b61063c610aa83660046154d3565b612a7e565b61063c610abb3660046154d3565b612b0d565b61063c610ace3660046154d3565b612b9c565b61063c610ae13660046154d3565b612c2b565b61063c610af43660046154d3565b612cba565b61063c610b073660046154d3565b612d49565b61063c610b1a3660046154d3565b612dd8565b61063c610b2d3660046154d3565b612e67565b61063c610b403660046154d3565b612ef6565b61063c610b533660046154d3565b612f85565b61063c610b663660046154d3565b613014565b61063c610b793660046154d3565b6130a3565b61063c610b8c36600461553e565b613132565b6106f160015481565b61063c610ba83660046154d3565b613183565b61063c610bbb3660046154d3565b613212565b61063c610bce3660046154d3565b6132a1565b61063c610be13660046154d3565b613330565b61063c610bf43660046154d3565b6133bf565b61063c610c073660046154d3565b61344e565b61063c610c1a3660046154d3565b6134dd565b61063c610c2d3660046154d3565b61356c565b61063c610c403660046154d3565b6135fb565b61063c610c533660046154d3565b61368a565b6106f160045481565b61063c610c6f3660046154d3565b613719565b61063c610c823660046154d3565b6137a8565b61063c610c953660046154d3565b613837565b61063c610ca83660046154d3565b6138c6565b61063c610cbb3660046154d3565b613955565b61063c610cce3660046154d3565b6139e4565b61063c610ce13660046154d3565b613a73565b61063c610cf43660046154d3565b613b02565b61063c610d073660046154d3565b613b91565b61063c610d1a3660046154d3565b613c20565b61063c610d2d3660046154d3565b613caf565b5f610d728584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610db48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc18383613d5f565b9050610dcc81613d95565b600655505050505050565b5f8490505f610e1b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383613daf565b9050610e3381613d95565b5f55505050505050565b5f610e7d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610ebf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc18383613dd7565b5f610f0c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610f4e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383613e05565b5f610f9b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610fdd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e288383613e48565b5f61102a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61106c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383613e7e565b5f8490505f6110bd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383613eb4565b5f61110a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61114c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc18383613edc565b5f6111998584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b9050835f610e288383613f12565b5f6111e78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6112298585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc18383613f3a565b5f6112768584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6112b88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e288383613f67565b5f6113058584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6113478585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc18383613f87565b5f6113948584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6113d68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc18383613fb5565b5f6114238584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6114658585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383613fd5565b5f6114b28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6114f48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc1838361400b565b5f6115418584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6115838585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc18383614041565b5f6115d08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6116128585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e28838361406e565b5f61165f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6116a18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e2883836140a4565b5f6116ee8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6117308585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e2883836140c4565b5f61177d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6117bf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e2883836140e4565b5f61180c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61184e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc1838361411a565b5f61189b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6118dd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc18383614150565b5f61192a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61196c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383614170565b5f6119b98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6119fb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc18383614190565b5f611a488584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611a8a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e2883836141c6565b5f611ad78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611b198585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e2883836141e6565b5f611b668584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611ba88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e288383614206565b5f611bf58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611c378585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383614226565b5f611c848584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b9050835f610e28838361425c565b5f611cd28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611d148585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383614284565b5f611d618584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611da38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc183836142a4565b5f611df08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611e328585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc183836142da565b5f611e7f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611ec18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc183836142fa565b5f8490505f611f128585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383614328565b5f611f5f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f611fa18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e288383614350565b5f611fee8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6120308585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e288383614370565b5f61207d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6120bf8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc18383614390565b5f61210c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61214e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc183836143b0565b5f61219b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6121dd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e2883836143de565b5f61222a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61226c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc18383614414565b5f6122b98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b9050835f6122c78383614434565b90506122d281613d95565b600555505050505050565b5f61231d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61235f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc1838361445c565b5f6123ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6123ee8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc1838361447c565b5f61243b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61247d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc1838361449c565b5f6124ca8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61250c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc183836144bc565b5f6125598584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b9050835f6122c783836144dc565b5f6125a78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6125e98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e288383614504565b5f6126368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6126788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc18383614524565b5f6126c58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b9050835f610e288383614544565b5f6127138584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6127558585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e28838361456c565b5f6127a28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6127e48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc1838361458c565b5f6128318584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6128738585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e2883836145ac565b5f8490505f6128c48585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f6122c783836145cc565b5f6129118584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6129538585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc183836145f4565b5f6129a08584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6129e28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610dc18383614622565b5f612a2f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612a718585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610e288383614650565b5f612abe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612b008585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc1838361467e565b5f612b4d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612b8f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc1838361469e565b5f612bdc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612c1e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e2883836146be565b5f612c6b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612cad8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc183836146de565b5f612cfa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612d3c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc183836146fe565b5f612d898584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612dcb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610e28838361471e565b5f612e188584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612e5a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e28838361474c565b5f612ea78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612ee98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e28838361476c565b5f612f368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f612f788585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610dc1838361478c565b5f612fc58584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6130078585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc183836147ac565b5f6130548584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6130968585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc183836147cc565b5f6130e38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6131258585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e2883836147ec565b5f8490505f6131768585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f6122c7838361480c565b5f6131c38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6132058585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610e288383614834565b5f6132528584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6132948585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d5292505050565b90505f610e288383614862565b5f6132e18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6133238585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc18383614882565b5f6133708584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6133b28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc183836148a2565b5f6133ff8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6134418585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e2883836148c2565b5f61348e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6134d08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f610e2883836148e2565b5f61351d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61355f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383614910565b5f6135ac8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6135ee8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383614930565b5f61363b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61367d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610e288383614950565b5f6136ca8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61370c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e288383614970565b5f6137598584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61379b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e288383614990565b5f6137e88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f61382a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610e2883836149b0565b5f6138778584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6138b98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc183836149d0565b5f6139068584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6139488585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc183836149f0565b5f6139958584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f6139d78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc18383614a10565b5f613a248584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613a668585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610e288383614a30565b5f613ab38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613af58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613da292505050565b90505f610dc18383614a50565b5f613b428584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613b848585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061406192505050565b90505f610dc18383614a70565b5f613bd18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613c138585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610dc18383614a90565b5f613c608584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613ca28585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613e3b92505050565b90505f610dc18383614ab0565b5f613cef8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613d3e92505050565b90505f613d318585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613f5a92505050565b90505f610e288383614ad0565b5f613d4b83836006614af0565b9392505050565b5f613d4b83836002614af0565b5f82613d7157613d6e5f614bee565b92505b81613d8257613d7f5f614c00565b91505b613d4b83613d8f84614c0c565b5f614c18565b613d9f8130614cd5565b50565b5f613d4b83836005614af0565b5f81613dc157613dbe5f614d4b565b91505b613d4b828467ffffffffffffffff166001614d57565b5f82613de957613de65f614bee565b92505b81613dfa57613df75f614bee565b91505b613d4b83835f614dce565b5f82613e1757613e145f614bee565b92505b81613e2857613e255f614d4b565b91505b613d4b83613e3584614c0c565b5f614e45565b5f613d4b83836003614af0565b5f82613e5a57613e575f614bee565b92505b81613e6b57613e685f614ebc565b91505b613d4b83613e7884614c0c565b5f614ec8565b5f82613e9057613e8d5f614bee565b92505b81613ea157613e9e5f614ebc565b91505b613d4b83613eae84614c0c565b5f614f3f565b5f81613ec657613ec35f614d4b565b91505b613d4b828467ffffffffffffffff166001614fb6565b5f82613eee57613eeb5f614bee565b92505b81613eff57613efc5f614c00565b91505b613d4b83613f0c84614c0c565b5f614dce565b5f82613f2457613f215f614d4b565b92505b613d4b838367ffffffffffffffff166001614d57565b5f82613f4c57613f495f614bee565b92505b81613ea157613e9e5f614c00565b5f613d4b83836004614af0565b5f82613f7957613f765f614bee565b92505b81613e2857613e255f61502d565b5f82613f9957613f965f614bee565b92505b81613faa57613fa75f614bee565b91505b613d4b83835f615039565b5f82613fc757613fc45f614bee565b92505b81613ea157613e9e5f61502d565b5f82613fe757613fe45f614bee565b92505b81613ff857613ff55f614d4b565b91505b613d4b8361400584614c0c565b5f614fb6565b5f8261401d5761401a5f614bee565b92505b8161402e5761402b5f614ebc565b91505b613d4b8361403b84614c0c565b5f6150b0565b5f82614053576140505f614bee565b92505b81613d8257613d7f5f61502d565b5f613d4b83836001614af0565b5f826140805761407d5f614bee565b92505b816140915761408e5f615127565b91505b613d4b8361409e84614c0c565b5f615133565b5f826140b6576140b35f614bee565b92505b81613e2857613e255f615127565b5f826140d6576140d35f614bee565b92505b816140915761408e5f614c00565b5f826140f6576140f35f614bee565b92505b81614107576141045f615127565b91505b613d4b8361411484614c0c565b5f614d57565b5f8261412c576141295f614bee565b92505b8161413d5761413a5f614c00565b91505b613d4b8361414a84614c0c565b5f6151aa565b5f826141625761415f5f614bee565b92505b8161413d5761413a5f614d4b565b5f826141825761417f5f614bee565b92505b81613d8257613d7f5f614ebc565b5f826141a25761419f5f614bee565b92505b816141b3576141b05f615127565b91505b613d4b836141c084614c0c565b5f615221565b5f826141d8576141d55f614bee565b92505b816140915761408e5f614d4b565b5f826141f8576141f55f614bee565b92505b81613ff857613ff55f614c00565b5f82614218576142155f614bee565b92505b816140915761408e5f61502d565b5f82614238576142355f614bee565b92505b81614249576142465f614ebc565b91505b613d4b8361425684614c0c565b5f615298565b5f8261426e5761426b5f614d4b565b92505b613d4b838367ffffffffffffffff166001614e45565b5f82614296576142935f614bee565b92505b81613e6b57613e685f614d4b565b5f826142b6576142b35f614bee565b92505b816142c7576142c45f614ebc565b91505b613d4b836142d484614c0c565b5f615039565b5f826142ec576142e95f614bee565b92505b81614249576142465f61502d565b5f8261430c576143095f614bee565b92505b8161431d5761431a5f614bee565b91505b613d4b83835f614c18565b5f8161433a576143375f614d4b565b91505b613d4b828467ffffffffffffffff166001614e45565b5f826143625761435f5f614bee565b92505b81614107576141045f614c00565b5f826143825761437f5f614bee565b92505b81614107576141045f614ebc565b5f826143a25761439f5f614bee565b92505b8161402e5761402b5f615127565b5f826143c2576143bf5f614bee565b92505b816143d3576143d05f614bee565b91505b613d4b83835f615298565b5f826143f0576143ed5f614bee565b92505b81614401576143fe5f614c00565b91505b613d4b8361440e84614c0c565b5f61530f565b5f82614426576144235f614bee565b92505b81613eff57613efc5f615127565b5f82614446576144435f614d4b565b92505b613d4b838367ffffffffffffffff166001614f3f565b5f8261446e5761446b5f614bee565b92505b816141b3576141b05f61502d565b5f8261448e5761448b5f614bee565b92505b8161402e5761402b5f614d4b565b5f826144ae576144ab5f614bee565b92505b81613ea157613e9e5f615127565b5f826144ce576144cb5f614bee565b92505b816141b3576141b05f614c00565b5f826144ee576144eb5f614d4b565b92505b613d4b838367ffffffffffffffff1660016151aa565b5f82614516576145135f614bee565b92505b81614401576143fe5f614ebc565b5f82614536576145335f614bee565b92505b8161402e5761402b5f614c00565b5f82614556576145535f614d4b565b92505b613d4b838367ffffffffffffffff166001614ec8565b5f8261457e5761457b5f614bee565b92505b81613e6b57613e685f61502d565b5f8261459e5761459b5f614bee565b92505b81613d8257613d7f5f614d4b565b5f826145be576145bb5f614bee565b92505b81613ff857613ff55f61502d565b5f816145de576145db5f614d4b565b91505b613d4b828467ffffffffffffffff1660016151aa565b5f82614606576146035f614bee565b92505b81614617576146145f614bee565b91505b613d4b83835f6150b0565b5f82614634576146315f614bee565b92505b81614645576146425f614bee565b91505b613d4b83835f615221565b5f826146625761465f5f614bee565b92505b81614673576146705f614bee565b91505b613d4b83835f614fb6565b5f826146905761468d5f614bee565b92505b8161413d5761413a5f615127565b5f826146b0576146ad5f614bee565b92505b81613ea157613e9e5f614d4b565b5f826146d0576146cd5f614bee565b92505b816140915761408e5f614ebc565b5f826146f0576146ed5f614bee565b92505b81614249576142465f614d4b565b5f826147105761470d5f614bee565b92505b81614249576142465f614c00565b5f826147305761472d5f614bee565b92505b816147415761473e5f614bee565b91505b613d4b83835f615133565b5f8261475e5761475b5f614bee565b92505b81614401576143fe5f614d4b565b5f8261477e5761477b5f614bee565b92505b81613e2857613e255f614c00565b5f8261479e5761479b5f614bee565b92505b816142c7576142c45f614c00565b5f826147be576147bb5f614bee565b92505b81613d8257613d7f5f615127565b5f826147de576147db5f614bee565b92505b81614249576142465f615127565b5f826147fe576147fb5f614bee565b92505b81613e2857613e255f614ebc565b5f8161481e5761481b5f614d4b565b91505b613d4b828467ffffffffffffffff166001614f3f565b5f82614846576148435f614bee565b92505b81614857576148545f614bee565b91505b613d4b83835f614e45565b5f82614874576148715f614bee565b92505b81613e6b57613e685f614c00565b5f82614894576148915f614bee565b92505b816142c7576142c45f61502d565b5f826148b4576148b15f614bee565b92505b816142c7576142c45f614d4b565b5f826148d4576148d15f614bee565b92505b81614107576141045f61502d565b5f826148f4576148f15f614bee565b92505b81614905576149025f614bee565b91505b613d4b83835f61530f565b5f826149225761491f5f614bee565b92505b81613eff57613efc5f614ebc565b5f826149425761493f5f614bee565b92505b816141b3576141b05f614ebc565b5f826149625761495f5f614bee565b92505b81614107576141045f614d4b565b5f826149825761497f5f614bee565b92505b81614401576143fe5f615127565b5f826149a25761499f5f614bee565b92505b81613ff857613ff55f615127565b5f826149c2576149bf5f614bee565b92505b81613e6b57613e685f615127565b5f826149e2576149df5f614bee565b92505b8161413d5761413a5f61502d565b5f82614a02576149ff5f614bee565b92505b8161402e5761402b5f61502d565b5f82614a2257614a1f5f614bee565b92505b81613eff57613efc5f614d4b565b5f82614a4257614a3f5f614bee565b92505b81613ff857613ff55f614ebc565b5f82614a6257614a5f5f614bee565b92505b816141b3576141b05f614d4b565b5f82614a8257614a7f5f614bee565b92505b816142c7576142c45f615127565b5f82614aa257614a9f5f614bee565b92505b81613eff57613efc5f61502d565b5f82614ac257614abf5f614bee565b92505b8161413d5761413a5f614ebc565b5f82614ae257614adf5f614bee565b92505b81614401576143fe5f61502d565b5f80516020615663833981519152546040516302e817ff60e41b81525f915f80516020615643833981519152916001600160a01b0390911690632e817ff090614b479088903390899060f88a901b906004016155ba565b6020604051808303815f875af1158015614b63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b87919061562b565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b158015614bd0575f80fd5b505af1158015614be2573d5f803e3d5ffd5b50505050509392505050565b5f614bfa826006615386565b92915050565b5f614bfa826002615386565b5f614bfa82600661542c565b5f808215614c2b5750600160f81b614c2e565b505f5b5f8051602061566383398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063666a3588906064015b6020604051808303815f875af1158015614ca7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614ccb919061562b565b9695505050505050565b5f5f805160206156438339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614d30575f80fd5b505af1158015614d42573d5f803e3d5ffd5b50505050505050565b5f614bfa826005615386565b5f808215614d6a5750600160f81b614d6d565b505f5b5f8051602061566383398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690639675211f90606401614c8b565b5f808215614de15750600160f81b614de4565b505f5b5f8051602061566383398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690638c14cc2190606401614c8b565b5f808215614e585750600160f81b614e5b565b505f5b5f8051602061566383398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690633e63c50a90606401614c8b565b5f614bfa826003615386565b5f808215614edb5750600160f81b614ede565b505f5b5f80516020615663833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063694daf7290606401614c8b565b5f808215614f525750600160f81b614f55565b505f5b5f805160206156638339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063a86e9de590606401614c8b565b5f808215614fc95750600160f81b614fcc565b505f5b5f805160206156638339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063052896f190606401614c8b565b5f614bfa826004615386565b5f80821561504c5750600160f81b61504f565b505f5b5f805160206156638339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063f953e42790606401614c8b565b5f8082156150c35750600160f81b6150c6565b505f5b5f8051602061566383398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063ec4057dc90606401614c8b565b5f614bfa826001615386565b5f8082156151465750600160f81b615149565b505f5b5f8051602061566383398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690636be3175890606401614c8b565b5f8082156151bd5750600160f81b6151c0565b505f5b5f8051602061566383398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063a87deac490606401614c8b565b5f8082156152345750600160f81b615237565b505f5b5f8051602061566383398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690632c7d67b790606401614c8b565b5f8082156152ab5750600160f81b6152ae565b505f5b5f805160206156638339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b03169063816d57d390606401614c8b565b5f8082156153225750600160f81b615325565b505f5b5f8051602061566383398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f80516020615643833981519152916001600160a01b031690631927108190606401614c8b565b5f8051602061566383398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615643833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615400573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190615424919061562b565b949350505050565b5f805160206156638339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f80516020615643833981519152916001600160a01b0390911690634be68d20906044016153e4565b5f8083601f84011261549e575f80fd5b50813567ffffffffffffffff8111156154b5575f80fd5b6020830191508360208285010111156154cc575f80fd5b9250929050565b5f805f80606085870312156154e6575f80fd5b8435935060208501359250604085013567ffffffffffffffff81111561550a575f80fd5b6155168782880161548e565b95989497509550505050565b803567ffffffffffffffff81168114615539575f80fd5b919050565b5f805f8060608587031215615551575f80fd5b61555a85615522565b935060208501359250604085013567ffffffffffffffff81111561550a575f80fd5b5f805f806060858703121561558f575f80fd5b8435935061559f60208601615522565b9250604085013567ffffffffffffffff81111561550a575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b818110156155fc5786810183015185820160a0015282016155e0565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f6020828403121561563b575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite8ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite8ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite8__factory extends ContractFactory { - constructor(...args: TFHETestSuite8ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite8 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite8__factory { - return super.connect(runner) as TFHETestSuite8__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite8Interface { - return new Interface(_abi) as TFHETestSuite8Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite8 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite8; - } -} diff --git a/contracts/types/factories/examples/tests/TFHETestSuite9__factory.ts b/contracts/types/factories/examples/tests/TFHETestSuite9__factory.ts deleted file mode 100644 index fa6fa221..00000000 --- a/contracts/types/factories/examples/tests/TFHETestSuite9__factory.ts +++ /dev/null @@ -1,2246 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../../common"; -import type { - TFHETestSuite9, - TFHETestSuite9Interface, -} from "../../../examples/tests/TFHETestSuite9"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "add_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "and_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "div_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "eq_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ge_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "gt_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "le_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "lt_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "max_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "min_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "mul_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "ne_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "or_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "rem_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "res128", - outputs: [ - { - internalType: "euint128", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res16", - outputs: [ - { - internalType: "euint16", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res256", - outputs: [ - { - internalType: "euint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res32", - outputs: [ - { - internalType: "euint32", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res4", - outputs: [ - { - internalType: "euint4", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res64", - outputs: [ - { - internalType: "euint64", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "res8", - outputs: [ - { - internalType: "euint8", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "resb", - outputs: [ - { - internalType: "ebool", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "sub_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_euint256", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "uint128", - name: "b", - type: "uint128", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint128_uint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint16", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint4", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "einput", - name: "a", - type: "bytes32", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_euint256_euint8", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint128", - name: "a", - type: "uint128", - }, - { - internalType: "einput", - name: "b", - type: "bytes32", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - ], - name: "xor_uint128_euint128", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801562000010575f80fd5b506200018d620000b1604080516080810182525f808252602082018190529181018290526060810191909152506040805160808101825273339ece85b9e11a3a3aa557582784a15d7f82aaf2815273596e6682c72946af006b27c131793f2b62527a4b6020820152736d5a11ac509c707c00bc3a0a113accc26c5325479181019190915273208de73316e44722e16f6ddff40881a3e4f86104606082015290565b80517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea60080546001600160a01b03199081166001600160a01b039384161790915560208301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6018054831691841691909117905560408301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6028054831691841691909117905560608301517fed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea6038054909216921691909117905550565b6153eb806200019b5f395ff3fe608060405234801561000f575f80fd5b5060043610610624575f3560e01c80637962508b11610328578063c1851bd2116101b3578063d5afcae5116100fe578063e6489231116100a9578063eb48a54911610084578063eb48a54914610ce5578063f3bacfd714610cf8578063f898d14914610d0b578063f8e87c4c14610d1e575f80fd5b8063e648923114610cb6578063e837657d14610cc9578063ea5e86f014610cdc575f80fd5b8063da4ddacd116100d9578063da4ddacd14610c7d578063deeea25f14610c90578063df12539c14610ca3575f80fd5b8063d5afcae514610c44578063d6c6803d14610c57578063d8aa9bff14610c6a575f80fd5b8063c9bb1bc01161015e578063cd55020411610139578063cd55020414610c15578063cdd29c3a14610c28578063d025798014610c31575f80fd5b8063c9bb1bc014610bdc578063cae33a6914610bef578063cbbc3d9914610c02575f80fd5b8063c5f7bf371161018e578063c5f7bf3714610ba3578063c85c114e14610bb6578063c8c0e17814610bc9575f80fd5b8063c1851bd214610b6a578063c339c22f14610b7d578063c52c812f14610b90575f80fd5b80639a0eff6f11610273578063a7cd226d1161021e578063b4043b66116101f9578063b4043b6614610b31578063b85672e214610b44578063b9de3ffb14610b57575f80fd5b8063a7cd226d14610af8578063a9dc32b314610b0b578063b0f34c9514610b1e575f80fd5b8063a685b00a1161024e578063a685b00a14610abf578063a6abdbc314610ad2578063a6e9a08214610ae5575f80fd5b80639a0eff6f14610a86578063a165e01f14610a99578063a3441df014610aac575f80fd5b80638c858950116102d357806395a12b04116102ae57806395a12b0414610a4d5780639821edc714610a60578063996cc4b414610a73575f80fd5b80638c85895014610a285780638e2109bc14610a315780638f33885914610a44575f80fd5b8063844503ca11610303578063844503ca146109ef578063845de99614610a02578063846c828114610a15575f80fd5b80637962508b146109b65780637a967f27146109c957806381ec06fa146109dc575f80fd5b8063469f5015116104b3578063576ec564116103fe5780635e9967fb116103a95780636871e910116103845780636871e9101461096a5780636de2fa921461097d57806371f3e2f41461099057806378bad7fb146109a3575f80fd5b80635e9967fb146109315780635f4a08af1461094457806366a84ba614610957575f80fd5b80635cc52fc6116103d95780635cc52fc6146108f85780635da404ac1461090b5780635dd50c7a1461091e575f80fd5b8063576ec564146108bf578063593a1b78146108d25780635ab06825146108e5575f80fd5b80634b84c8f91161045e57806353c595821161043957806353c59582146108865780635447aaef1461089957806354a6798c146108ac575f80fd5b80634b84c8f9146108615780634bf396661461086a5780634c6a5fdd14610873575f80fd5b806348d5a5201161048e57806348d5a5201461082857806349c641cc1461083b5780634a5f08ff1461084e575f80fd5b8063469f5015146107ef57806346a24d721461080257806346ea994414610815575f80fd5b806322d05ab411610573578063376def591161051e57806343a27469116104f957806343a27469146107b657806343fba465146107c957806345ce0630146107dc575f80fd5b8063376def591461077d5780633bf20206146107905780633f972a7a146107a3575f80fd5b80632681a5701161054e5780632681a570146107445780632c3bdb0c146107575780632ea623b11461076a575f80fd5b806322d05ab41461070b578063230531b31461071e578063263a25e114610731575f80fd5b806312bfa2e7116105d357806318b4b284116105ae57806318b4b284146106dc5780631afdf48e146106ef5780631fb3b799146106f8575f80fd5b806312bfa2e71461069c578063147d30f2146106af5780631629d25d146106c2575f80fd5b80630c63dac9116106035780630c63dac9146106635780630d8f7b1f1461067657806311ad821f14610689575f80fd5b8062aabbbb1461062857806305bfef111461063d5780630c4c713314610650575b5f80fd5b61063b61063636600461524b565b610d31565b005b61063b61064b3660046152a1565b610d98565b61063b61065e3660046152d8565b610e3d565b61063b6106713660046152a1565b610e8b565b61063b6106843660046152a1565b610f1a565b61063b6106973660046152a1565b610fa9565b61063b6106aa3660046152a1565b611038565b61063b6106bd3660046152a1565b6110dc565b6106ca5f5481565b60405190815260200160405180910390f35b61063b6106ea3660046152a1565b61116b565b6106ca60055481565b61063b6107063660046152a1565b6111fa565b61063b6107193660046152a1565b611289565b61063b61072c3660046152a1565b611318565b61063b61073f3660046152a1565b6113a7565b61063b6107523660046152a1565b611436565b61063b6107653660046152a1565b6114c5565b61063b6107783660046152d8565b611554565b61063b61078b3660046152a1565b6115a2565b61063b61079e3660046152a1565b611631565b61063b6107b13660046152a1565b6116c0565b61063b6107c43660046152a1565b61174f565b61063b6107d73660046152a1565b6117de565b61063b6107ea36600461524b565b61186d565b61063b6107fd3660046152d8565b6118be565b61063b6108103660046152d8565b61190c565b61063b6108233660046152a1565b61195a565b61063b6108363660046152a1565b6119e9565b61063b6108493660046152a1565b611a78565b61063b61085c3660046152d8565b611b07565b6106ca60035481565b6106ca60025481565b61063b61088136600461524b565b611b55565b61063b6108943660046152a1565b611ba6565b61063b6108a73660046152a1565b611c35565b61063b6108ba36600461524b565b611cc4565b61063b6108cd3660046152a1565b611d15565b61063b6108e03660046152a1565b611da4565b61063b6108f33660046152a1565b611e33565b61063b6109063660046152a1565b611ec2565b61063b6109193660046152a1565b611f51565b61063b61092c3660046152a1565b611fe0565b61063b61093f3660046152a1565b61206f565b61063b6109523660046152a1565b6120fe565b61063b6109653660046152d8565b61218d565b61063b6109783660046152a1565b6121db565b61063b61098b3660046152a1565b61226a565b61063b61099e3660046152a1565b6122f9565b61063b6109b136600461524b565b612388565b61063b6109c436600461524b565b6123d9565b61063b6109d73660046152a1565b61242a565b61063b6109ea36600461524b565b6124b9565b61063b6109fd36600461524b565b61250a565b61063b610a103660046152a1565b61255b565b61063b610a233660046152d8565b6125ea565b6106ca60065481565b61063b610a3f3660046152a1565b612638565b6106ca60075481565b61063b610a5b3660046152a1565b6126c7565b61063b610a6e3660046152a1565b612756565b61063b610a813660046152a1565b6127e5565b61063b610a943660046152a1565b612874565b61063b610aa73660046152d8565b612903565b61063b610aba3660046152a1565b612951565b61063b610acd36600461524b565b6129e0565b61063b610ae036600461524b565b612a31565b61063b610af33660046152a1565b612a82565b61063b610b063660046152d8565b612b11565b61063b610b193660046152d8565b612b5f565b61063b610b2c3660046152a1565b612bad565b61063b610b3f3660046152a1565b612c3c565b61063b610b523660046152a1565b612ccb565b61063b610b653660046152a1565b612d5a565b61063b610b783660046152a1565b612de9565b61063b610b8b36600461524b565b612e78565b61063b610b9e3660046152a1565b612ec9565b61063b610bb13660046152d8565b612f58565b61063b610bc436600461524b565b612fa6565b61063b610bd73660046152d8565b612ff7565b61063b610bea3660046152a1565b613045565b61063b610bfd3660046152a1565b6130d4565b61063b610c103660046152a1565b613163565b61063b610c2336600461524b565b6131f2565b6106ca60015481565b61063b610c3f3660046152d8565b613243565b61063b610c523660046152d8565b613291565b61063b610c653660046152a1565b6132df565b61063b610c783660046152a1565b61336e565b61063b610c8b3660046152a1565b6133fd565b61063b610c9e3660046152d8565b61348c565b61063b610cb13660046152a1565b6134da565b61063b610cc43660046152a1565b613569565b61063b610cd73660046152a1565b6135f8565b6106ca60045481565b61063b610cf336600461524b565b613687565b61063b610d063660046152a1565b6136d8565b61063b610d193660046152a1565b613767565b61063b610d2c3660046152d8565b6137f6565b5f8490505f610d758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383613858565b9050610d8d8161387f565b600655505050505050565b5f610dd88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610e1a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383613899565b9050610e328161387f565b600755505050505050565b5f610e7d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d8283836138cf565b5f610ecb8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610f0d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e278383613903565b5f610f5a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610f9c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e278383613939565b5f610fe98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61102b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e27838361397c565b5f6110788584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110ba8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c7838361399c565b90506110d28161387f565b5f55505050505050565b5f61111c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f61115e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c783836139d2565b5f6111ab8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6111ed8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c78383613a15565b5f61123a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f61127c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383613a4b565b5f6112c98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61130b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c78383613a81565b5f6113588584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61139a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383613ab7565b5f6113e78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6114298585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383613aed565b5f6114768584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6114b88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383613b1b565b5f6115058584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6115478585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383613b3b565b5f6115948584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c78383613b69565b5f6115e28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6116248585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e278383613b90565b5f6116718584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6116b38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383613bc6565b5f6117008584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6117428585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c78383613bfc565b5f61178f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6117d18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c78383613c32565b5f61181e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6118608585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e278383613c52565b5f8490505f6118b18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383613c88565b5f6118fe8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383613caf565b5f61194c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383613cd4565b5f61199a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6119dc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c78383613cfb565b5f611a298584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f611a6b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383613d1b565b5f611ab88584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611afa8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c78383613d49565b5f611b478584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383613d69565b5f8490505f611b998585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383613d8e565b5f611be68584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f611c288585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c78383613db5565b5f611c758584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611cb78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e278383613deb565b5f8490505f611d088585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383613e0b565b5f611d558584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611d978585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e278383613e32565b5f611de48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611e268585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e278383613e68565b5f611e738584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611eb58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c78383613e88565b5f611f028584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f611f448585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383613ebe565b5f611f918584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f611fd38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383613eec565b5f6120208584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6120628585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e278383613f0c565b5f6120af8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6120f18585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e278383613f2c565b5f61213e8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6121808585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383613f4c565b5f6121cd8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c78383613f82565b5f61221b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61225d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c78383613fa9565b5f6122aa8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6122ec8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383613fc9565b5f6123398584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61237b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c78383613fe9565b5f8490505f6123cc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c7838361401f565b5f8490505f61241d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383614046565b5f61246a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6124ac8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c7838361406d565b5f8490505f6124fd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d82838361408d565b5f8490505f61254e8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d8283836140b4565b5f61259b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6125dd8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f6110c783836140ee565b5f61262a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d82838361410e565b5f6126788584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6126ba8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383614135565b5f6127078584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6127498585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e27838361416b565b5f6127968584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6127d88585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c783836141a1565b5f6128258584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6128678585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e2783836141c1565b5f6128b48584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6128f68585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e2783836141e1565b5f6129438584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383614201565b5f6129918584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6129d38585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383614228565b5f8490505f612a248585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d82838361425e565b5f8490505f612a758585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383614285565b5f612ac28584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f612b048585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c783836142ac565b5f612b518584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c783836142cc565b5f612b9f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d8283836142f3565b5f612bed8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f612c2f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c7838361431a565b5f612c7c8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f612cbe8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c78383614350565b5f612d0b8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f612d4d8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383614386565b5f612d9a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f612ddc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f610e2783836143bc565b5f612e298584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f612e6b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e2783836143dc565b5f8490505f612ebc8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d828383614412565b5f612f098584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f612f4b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e278383614439565b5f612f988584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383614459565b5f8490505f612fea8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383614480565b5f6130378584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c783836144a7565b5f6130858584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6130c78585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c783836144ce565b5f6131148584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6131568585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c783836144ee565b5f6131a38584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6131e58585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c78383614524565b5f8490505f6132368585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6110c78383614544565b5f6132838584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c7838361456b565b5f6132d18584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d828383614592565b5f61331f8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6133618585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e2783836145b9565b5f6133ae8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6133f08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6110c783836145d9565b5f61343d8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61347f8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f6110c7838361460f565b5f6134cc8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f610d82838361462f565b5f61351a8584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61355c8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061396f92505050565b90505f6110c78383614656565b5f6135a98584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f6135eb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f610e278383614676565b5f6136388584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61367a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506138f692505050565b90505f610e2783836146ac565b5f8490505f6136cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b90505f610d8283836146cc565b5f6137188584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f61375a8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e2783836146f3565b5f6137a78584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061388c92505050565b90505f6137e98585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250613a0892505050565b90505f610e278383614713565b5f6138368584848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061384492505050565b9050835f6110c78383614733565b5f6138518383600661475a565b9392505050565b5f8161386a576138675f614858565b91505b61385182846001600160801b0316600161486a565b6138898130614927565b50565b5f6138518383600861475a565b5f826138ab576138a85f614858565b92505b816138bc576138b95f61499d565b91505b6138516138c8846149a9565b835f6149b5565b5f826138e1576138de5f614858565b92505b61385183836001600160801b03166001614a2c565b5f6138518383600361475a565b5f82613915576139125f61499d565b92505b81613926576139235f614aa3565b91505b61385183613933846149a9565b5f614aaf565b5f8261394b576139485f61499d565b92505b8161395c576139595f614aa3565b91505b61385183613969846149a9565b5f614a2c565b5f6138518383600161475a565b5f8261398e5761398b5f61499d565b92505b8161395c576139595f614b26565b5f826139ae576139ab5f61499d565b92505b816139bf576139bc5f614b26565b91505b613851836139cc846149a9565b5f614b32565b5f826139e4576139e15f614858565b92505b816139f5576139f25f61499d565b91505b613851613a01846149a9565b835f614ba9565b5f6138518383600261475a565b5f82613a2757613a245f61499d565b92505b81613a3857613a355f614c20565b91505b61385183613a45846149a9565b5f614c2c565b5f82613a5d57613a5a5f614858565b92505b81613a6e57613a6b5f61499d565b91505b613851613a7a846149a9565b835f614ca3565b5f82613a9357613a905f61499d565b92505b81613aa457613aa15f614aa3565b91505b61385183613ab1846149a9565b5f614ba9565b5f82613ac957613ac65f61499d565b92505b81613ada57613ad75f614c20565b91505b61385183613ae7846149a9565b5f6149b5565b5f82613aff57613afc5f614858565b92505b81613b1057613b0d5f614858565b91505b61385183835f614ca3565b5f82613b2d57613b2a5f61499d565b92505b8161395c576139595f614c20565b5f82613b4d57613b4a5f614858565b92505b81613b5e57613b5b5f614858565b91505b61385183835f614b32565b5f82613b7b57613b785f614858565b92505b61385183836001600160801b03166001614c2c565b5f82613ba257613b9f5f61499d565b92505b81613bb357613bb05f614aa3565b91505b61385183613bc0846149a9565b5f614d1a565b5f82613bd857613bd55f61499d565b92505b81613be957613be65f614c20565b91505b61385183613bf6846149a9565b5f614d91565b5f82613c0e57613c0b5f61499d565b92505b81613c1f57613c1c5f614aa3565b91505b61385183613c2c846149a9565b5f614e08565b5f82613c4457613c415f61499d565b92505b81613c1f57613c1c5f614c20565b5f82613c6457613c615f61499d565b92505b81613c7557613c725f614b26565b91505b61385183613c82846149a9565b5f614ca3565b5f81613c9a57613c975f614858565b91505b61385182846001600160801b03166001614b32565b5f82613cc157613cbe5f614858565b92505b61385183836001600160801b0316614e7f565b5f82613ce657613ce35f614858565b92505b61385183836001600160801b03166001614f25565b5f82613d0d57613d0a5f61499d565b92505b81613c1f57613c1c5f614b26565b5f82613d2d57613d2a5f614858565b92505b81613d3e57613d3b5f614858565b91505b61385183835f614aaf565b5f82613d5b57613d585f61499d565b92505b81613a3857613a355f614aa3565b5f82613d7b57613d785f614858565b92505b61385183836001600160801b0316614f9c565b5f81613da057613d9d5f614858565b91505b61385182846001600160801b03166001614a2c565b5f82613dc757613dc45f614858565b92505b81613dd857613dd55f61499d565b91505b613851613de4846149a9565b835f614c2c565b5f82613dfd57613dfa5f61499d565b92505b81613bb357613bb05f614b26565b5f81613e1d57613e1a5f614858565b91505b61385182846001600160801b03166001614d1a565b5f82613e4457613e415f61499d565b92505b81613e5557613e525f614b26565b91505b61385183613e62846149a9565b5f614f25565b5f82613e7a57613e775f61499d565b92505b81613e5557613e525f614aa3565b5f82613e9a57613e975f61499d565b92505b81613eab57613ea85f614aa3565b91505b61385183613eb8846149a9565b5f614ffd565b5f82613ed057613ecd5f614858565b92505b81613ee157613ede5f614858565b91505b61385183835f615074565b5f82613efe57613efb5f61499d565b92505b81613bb357613bb05f614c20565b5f82613f1e57613f1b5f61499d565b92505b81613ada57613ad75f614b26565b5f82613f3e57613f3b5f61499d565b92505b81613be957613be65f614b26565b5f82613f5e57613f5b5f614858565b92505b81613f6f57613f6c5f61499d565b91505b613851613f7b846149a9565b835f614f25565b5f82613f9457613f915f614858565b92505b61385183836001600160801b03166001614e08565b5f82613fbb57613fb85f61499d565b92505b816139bf576139bc5f614c20565b5f82613fdb57613fd85f61499d565b92505b81613926576139235f614c20565b5f82613ffb57613ff85f61499d565b92505b8161400c576140095f614aa3565b91505b61385183614019846149a9565b5f615074565b5f816140315761402e5f614858565b91505b61385182846001600160801b03166001614c2c565b5f81614058576140555f614858565b91505b61385182846001600160801b03166001615074565b5f8261407f5761407c5f61499d565b92505b8161400c576140095f614c20565b5f8161409f5761409c5f614858565b91505b61385182846001600160801b031660016149b5565b5f806140c8846001600160801b0316614858565b9050826140db576140d85f614858565b92505b6140e681845f614f25565b949350505050565b5f82614100576140fd5f61499d565b92505b816139bf576139bc5f614aa3565b5f826141205761411d5f614858565b92505b61385183836001600160801b03166001614d1a565b5f82614147576141445f61499d565b92505b81614158576141555f614c20565b91505b61385183614165846149a9565b5f61486a565b5f8261417d5761417a5f614858565b92505b8161418e5761418b5f61499d565b91505b61385161419a846149a9565b835f614d91565b5f826141b3576141b05f61499d565b92505b81613aa457613aa15f614b26565b5f826141d3576141d05f61499d565b92505b81614158576141555f614b26565b5f826141f3576141f05f61499d565b92505b81613ada57613ad75f614aa3565b5f82614213576142105f614858565b92505b61385183836001600160801b0316600161486a565b5f8261423a576142375f614858565b92505b8161424b576142485f61499d565b91505b613851614257846149a9565b835f61486a565b5f816142705761426d5f614858565b91505b61385182846001600160801b03166001614aaf565b5f81614297576142945f614858565b91505b61385182846001600160801b03166001614ffd565b5f826142be576142bb5f61499d565b92505b81613eab57613ea85f614b26565b5f826142de576142db5f614858565b92505b61385183836001600160801b03166001614ffd565b5f82614305576143025f614858565b92505b61385183836001600160801b03166001614d91565b5f8261432c576143295f614858565b92505b8161433d5761433a5f61499d565b91505b613851614349846149a9565b835f614ffd565b5f826143625761435f5f614858565b92505b81614373576143705f61499d565b91505b61385161437f846149a9565b835f615074565b5f82614398576143955f614858565b92505b816143a9576143a65f61499d565b91505b6138516143b5846149a9565b835f614aaf565b5f826143ce576143cb5f61499d565b92505b81613926576139235f614b26565b5f826143ee576143eb5f614858565b92505b816143ff576143fc5f61499d565b91505b61385161440b846149a9565b835f614a2c565b5f81614424576144215f614858565b91505b61385182846001600160801b03166001614ca3565b5f8261444b576144485f61499d565b92505b81613c7557613c725f614aa3565b5f8261446b576144685f614858565b92505b61385183836001600160801b03166001614ca3565b5f816144925761448f5f614858565b91505b61385182846001600160801b03166001614ba9565b5f826144b9576144b65f614858565b92505b61385183836001600160801b03166001614b32565b5f826144e0576144dd5f61499d565b92505b81613eab57613ea85f614c20565b5f82614500576144fd5f614858565b92505b816145115761450e5f61499d565b91505b61385161451d846149a9565b835f614b32565b5f82614536576145335f61499d565b92505b8161400c576140095f614b26565b5f81614556576145535f614858565b91505b61385182846001600160801b03166001614e08565b5f8261457d5761457a5f614858565b92505b61385183836001600160801b03166001614ba9565b5f826145a4576145a15f614858565b92505b61385183836001600160801b031660016149b5565b5f826145cb576145c85f61499d565b92505b81613be957613be65f614aa3565b5f826145eb576145e85f614858565b92505b816145fc576145f95f61499d565b91505b613851614608846149a9565b835f614e08565b5f826146215761461e5f61499d565b92505b81613aa457613aa15f614c20565b5f826146415761463e5f614858565b92505b61385183836001600160801b03166001614aaf565b5f82614668576146655f61499d565b92505b81613a3857613a355f614b26565b5f82614688576146855f614858565b92505b81614699576146965f61499d565b91505b6138516146a5846149a9565b835f614d1a565b5f826146be576146bb5f61499d565b92505b81614158576141555f614aa3565b5f816146de576146db5f614858565b91505b61385182846001600160801b03166001614d91565b5f82614705576147025f61499d565b92505b81613e5557613e525f614c20565b5f82614725576147225f61499d565b92505b81613c7557613c725f614c20565b5f82614745576147425f614858565b92505b61385183836001600160801b03166001615074565b5f805160206153bf833981519152546040516302e817ff60e41b81525f915f8051602061539f833981519152916001600160a01b0390911690632e817ff0906147b19088903390899060f88a901b90600401615316565b6020604051808303815f875af11580156147cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147f19190615387565b81546040516346ce4e4960e11b8152600481018390523360248201529193506001600160a01b031690638d9c9c92906044015f604051808303815f87803b15801561483a575f80fd5b505af115801561484c573d5f803e3d5ffd5b50505050509392505050565b5f6148648260066150eb565b92915050565b5f80821561487d5750600160f81b614880565b505f5b5f805160206153bf83398151915254604051632c7d67b760e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b031690632c7d67b7906064015b6020604051808303815f875af11580156148f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061491d9190615387565b9695505050505050565b5f5f8051602061539f8339815191528054604051631974142760e21b8152600481018690526001600160a01b0385811660248301529293509116906365d0509c906044015f604051808303815f87803b158015614982575f80fd5b505af1158015614994573d5f803e3d5ffd5b50505050505050565b5f6148648260086150eb565b5f614864826008615189565b5f8082156149c85750600160f81b6149cb565b505f5b5f805160206153bf83398151915254604051630ccd46b160e31b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063666a3588906064016148dd565b5f808215614a3f5750600160f81b614a42565b505f5b5f805160206153bf83398151915254604051633b1015f760e21b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063ec4057dc906064016148dd565b5f6148648260036150eb565b5f808215614ac25750600160f81b614ac5565b505f5b5f805160206153bf83398151915254604051632a1f7ab160e21b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063a87deac4906064016148dd565b5f6148648260016150eb565b5f808215614b455750600160f81b614b48565b505f5b5f805160206153bf83398151915254604051639675211f60e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b031690639675211f906064016148dd565b5f808215614bbc5750600160f81b614bbf565b505f5b5f805160206153bf83398151915254604051631f31e28560e11b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b031690633e63c50a906064016148dd565b5f6148648260026150eb565b5f808215614c3f5750600160f81b614c42565b505f5b5f805160206153bf8339815191525460405163052896f160e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063052896f1906064016148dd565b5f808215614cb65750600160f81b614cb9565b505f5b5f805160206153bf8339815191525460405163a86e9de560e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063a86e9de5906064016148dd565b5f808215614d2d5750600160f81b614d30565b505f5b5f805160206153bf8339815191525460405163f953e42760e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063f953e427906064016148dd565b5f808215614da45750600160f81b614da7565b505f5b5f805160206153bf8339815191525460405163816d57d360e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063816d57d3906064016148dd565b5f808215614e1b5750600160f81b614e1e565b505f5b5f805160206153bf83398151915254604051631927108160e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b0316906319271081906064016148dd565b5f805160206153bf833981519152546040516336cdd31b60e01b81526004810184905260248101839052600160f81b604482018190525f9290915f8051602061539f833981519152916001600160a01b0316906336cdd31b906064015b6020604051808303815f875af1158015614ef8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614f1c9190615387565b95945050505050565b5f808215614f385750600160f81b614f3b565b505f5b5f805160206153bf83398151915254604051638c14cc2160e01b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b031690638c14cc21906064016148dd565b5f805160206153bf833981519152546040516370628b5760e11b81526004810184905260248101839052600160f81b604482018190525f9290915f8051602061539f833981519152916001600160a01b03169063e0c516ae90606401614edc565b5f8082156150105750600160f81b615013565b505f5b5f805160206153bf83398151915254604051630d7c62eb60e31b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b031690636be31758906064016148dd565b5f8082156150875750600160f81b61508a565b505f5b5f805160206153bf833981519152546040516334a6d7b960e11b815260048101879052602481018690526001600160f81b0319831660448201525f8051602061539f833981519152916001600160a01b03169063694daf72906064016148dd565b5f805160206153bf83398151915254604051631ce2e8d760e31b81526004810184905260f883901b6001600160f81b03191660248201525f915f8051602061539f833981519152916001600160a01b039091169063e71746b8906044015b6020604051808303815f875af1158015615165573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140e69190615387565b5f805160206153bf8339815191525460405163025f346960e51b81526004810184905260f883901b6001600160f81b03191660248201525f915f8051602061539f833981519152916001600160a01b0390911690634be68d2090604401615149565b80356001600160801b0381168114615201575f80fd5b919050565b5f8083601f840112615216575f80fd5b50813567ffffffffffffffff81111561522d575f80fd5b602083019150836020828501011115615244575f80fd5b9250929050565b5f805f806060858703121561525e575f80fd5b615267856151eb565b935060208501359250604085013567ffffffffffffffff811115615289575f80fd5b61529587828801615206565b95989497509550505050565b5f805f80606085870312156152b4575f80fd5b8435935060208501359250604085013567ffffffffffffffff811115615289575f80fd5b5f805f80606085870312156152eb575f80fd5b843593506152fb602086016151eb565b9250604085013567ffffffffffffffff811115615289575f80fd5b8481525f60206001600160a01b03861660208401526080604084015284518060808501525f5b818110156153585786810183015185820160a00152820161533c565b505f60a0828601015260a0601f19601f8301168501019250505060ff60f81b8316606083015295945050505050565b5f60208284031215615397575f80fd5b505191905056feed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea600ed8d60e34876f751cc8b014c560745351147d9de11b9347c854e881b128ea601a164736f6c6343000818000a"; - -type TFHETestSuite9ConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: TFHETestSuite9ConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class TFHETestSuite9__factory extends ContractFactory { - constructor(...args: TFHETestSuite9ConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - TFHETestSuite9 & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): TFHETestSuite9__factory { - return super.connect(runner) as TFHETestSuite9__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): TFHETestSuite9Interface { - return new Interface(_abi) as TFHETestSuite9Interface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): TFHETestSuite9 { - return new Contract(address, _abi, runner) as unknown as TFHETestSuite9; - } -} diff --git a/contracts/types/factories/examples/tests/index.ts b/contracts/types/factories/examples/tests/index.ts deleted file mode 100644 index 796dc735..00000000 --- a/contracts/types/factories/examples/tests/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { TFHEManualTestSuite__factory } from "./TFHEManualTestSuite__factory"; -export { TFHETestSuite1__factory } from "./TFHETestSuite1__factory"; -export { TFHETestSuite10__factory } from "./TFHETestSuite10__factory"; -export { TFHETestSuite11__factory } from "./TFHETestSuite11__factory"; -export { TFHETestSuite2__factory } from "./TFHETestSuite2__factory"; -export { TFHETestSuite3__factory } from "./TFHETestSuite3__factory"; -export { TFHETestSuite4__factory } from "./TFHETestSuite4__factory"; -export { TFHETestSuite5__factory } from "./TFHETestSuite5__factory"; -export { TFHETestSuite6__factory } from "./TFHETestSuite6__factory"; -export { TFHETestSuite7__factory } from "./TFHETestSuite7__factory"; -export { TFHETestSuite8__factory } from "./TFHETestSuite8__factory"; -export { TFHETestSuite9__factory } from "./TFHETestSuite9__factory"; diff --git a/contracts/types/factories/gateway/GatewayContract__factory.ts b/contracts/types/factories/gateway/GatewayContract__factory.ts deleted file mode 100644 index 04c01fdf..00000000 --- a/contracts/types/factories/gateway/GatewayContract__factory.ts +++ /dev/null @@ -1,623 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { - Contract, - ContractFactory, - ContractTransactionResponse, - Interface, -} from "ethers"; -import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; -import type { NonPayableOverrides } from "../../common"; -import type { - GatewayContract, - GatewayContractInterface, -} from "../../gateway/GatewayContract"; - -const _abi = [ - { - inputs: [], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "address", - name: "target", - type: "address", - }, - ], - name: "AddressEmptyCode", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "ERC1967InvalidImplementation", - type: "error", - }, - { - inputs: [], - name: "ERC1967NonPayable", - type: "error", - }, - { - inputs: [], - name: "FailedCall", - type: "error", - }, - { - inputs: [], - name: "InvalidInitialization", - type: "error", - }, - { - inputs: [], - name: "NotInitializing", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "owner", - type: "address", - }, - ], - name: "OwnableInvalidOwner", - type: "error", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "OwnableUnauthorizedAccount", - type: "error", - }, - { - inputs: [], - name: "UUPSUnauthorizedCallContext", - type: "error", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "slot", - type: "bytes32", - }, - ], - name: "UUPSUnsupportedProxiableUUID", - type: "error", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "relayer", - type: "address", - }, - ], - name: "AddedRelayer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256[]", - name: "cts", - type: "uint256[]", - }, - { - indexed: false, - internalType: "address", - name: "contractCaller", - type: "address", - }, - { - indexed: false, - internalType: "bytes4", - name: "callbackSelector", - type: "bytes4", - }, - { - indexed: false, - internalType: "uint256", - name: "msgValue", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "maxTimestamp", - type: "uint256", - }, - { - indexed: false, - internalType: "bool", - name: "passSignaturesToCaller", - type: "bool", - }, - ], - name: "EventDecryption", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "version", - type: "uint64", - }, - ], - name: "Initialized", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "previousOwner", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "OwnershipTransferred", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "relayer", - type: "address", - }, - ], - name: "RemovedRelayer", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - indexed: false, - internalType: "bool", - name: "success", - type: "bool", - }, - { - indexed: false, - internalType: "bytes", - name: "result", - type: "bytes", - }, - ], - name: "ResultCallback", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "implementation", - type: "address", - }, - ], - name: "Upgraded", - type: "event", - }, - { - inputs: [], - name: "UPGRADE_INTERFACE_VERSION", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "acceptOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "relayerAddress", - type: "address", - }, - ], - name: "addRelayer", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - { - internalType: "bytes", - name: "decryptedCts", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "fulfillRequest", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "getCounter", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getKmsVerifierAddress", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getMAX_DELAY", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getVersion", - outputs: [ - { - internalType: "string", - name: "", - type: "string", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_gatewayOwner", - type: "address", - }, - ], - name: "initialize", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "requestID", - type: "uint256", - }, - ], - name: "isExpiredOrFulfilled", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isRelayer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "owner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "pendingOwner", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "proxiableUUID", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "input", - type: "bytes", - }, - ], - name: "removeOffset", - outputs: [ - { - internalType: "bytes", - name: "", - type: "bytes", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "relayerAddress", - type: "address", - }, - ], - name: "removeRelayer", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "renounceOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "ctsHandles", - type: "uint256[]", - }, - { - internalType: "bytes4", - name: "callbackSelector", - type: "bytes4", - }, - { - internalType: "uint256", - name: "msgValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxTimestamp", - type: "uint256", - }, - { - internalType: "bool", - name: "passSignaturesToCaller", - type: "bool", - }, - ], - name: "requestDecryption", - outputs: [ - { - internalType: "uint256", - name: "initialCounter", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newOwner", - type: "address", - }, - ], - name: "transferOwnership", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "newImplementation", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "upgradeToAndCall", - outputs: [], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405230608052348015610013575f80fd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051611f0e6100f95f395f8181611288015281816112b1015261141b0152611f0e5ff3fe608060405260043610610157575f3560e01c8063715018a6116100bb578063b9244e1d11610071578063dd39f00d11610057578063dd39f00d146103d2578063e30c3978146103f1578063f2fde38b14610405575f80fd5b8063b9244e1d146103a0578063c4d66de8146103b3575f80fd5b80638ada066e116100a15780638ada066e146103115780638da5cb5b14610344578063ad3cb1cc14610358575f80fd5b8063715018a6146102e957806379ba5097146102fd575f80fd5b80634f1ef28611610110578063541d5548116100f6578063541d55481461023a57806360f0a5ac14610290578063651161e5146102af575f80fd5b80634f1ef2861461021157806352d1902d14610226575f80fd5b806333ba72a51161014057806333ba72a5146101a457806335a30d97146101c35780634c0d9277146101f2575f80fd5b80630d8e6e2c1461015b5780632538d86d14610185575b5f80fd5b348015610166575f80fd5b5061016f610424565b60405161017c91906118d6565b60405180910390f35b348015610190575f80fd5b50620151805b60405190815260200161017c565b3480156101af575f80fd5b5061016f6101be366004611999565b61049f565b3480156101ce575f80fd5b506101e26101dd3660046119cb565b61057a565b604051901515815260200161017c565b3480156101fd575f80fd5b5061019661020c366004611a16565b61060e565b61022461021f366004611acb565b610847565b005b348015610231575f80fd5b50610196610866565b348015610245575f80fd5b506101e2610254366004611b16565b6001600160a01b03165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa01602052604090205460ff1690565b34801561029b575f80fd5b506102246102aa366004611b16565b610894565b3480156102ba575f80fd5b5073208de73316e44722e16f6ddff40881a3e4f861045b6040516001600160a01b03909116815260200161017c565b3480156102f4575f80fd5b5061022461098f565b348015610308575f80fd5b506102246109a2565b34801561031c575f80fd5b507f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0054610196565b34801561034f575f80fd5b506102d16109ea565b348015610363575f80fd5b5061016f6040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6102246103ae366004611b2f565b610a1e565b3480156103be575f80fd5b506102246103cd366004611b16565b610f10565b3480156103dd575f80fd5b506102246103ec366004611b16565b611032565b3480156103fc575f80fd5b506102d1611133565b348015610410575f80fd5b5061022461041f366004611b16565b61115b565b60606040518060400160405280600f81526020017f47617465776179436f6e747261637400000000000000000000000000000000008152506104655f6111e0565b61046f60016111e0565b6104785f6111e0565b60405160200161048b9493929190611c19565b604051602081830303815290604052905090565b60605f602083516104b09190611caa565b90505f8167ffffffffffffffff8111156104cc576104cc6118e8565b6040519080825280601f01601f1916602001820160405280156104f6576020820181803683370190505b5090505f5b82811015610572578461050f826020611cbd565b8151811061051f5761051f611cd0565b602001015160f81c60f81b82828151811061053c5761053c611cd0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053506001016104fb565b509392505050565b5f8181527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0360205260408120547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0090429060ff168061060657505f8481526002830160205260409020600301548111801561060657505f84815260028301602052604090206003015415155b949350505050565b5f42831161066e5760405162461bcd60e51b815260206004820152602260248201527f6d617854696d657374616d70206d757374206265206120667574757265206461604482015261746560f01b60648201526084015b60405180910390fd5b61067b6201518042611cbd565b8311156106ca5760405162461bcd60e51b815260206004820152601f60248201527f6d617854696d657374616d70206578636565646564204d41585f44454c4159006044820152606401610665565b507f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0080545f8181527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa02602052604081209192919088905b8181101561076557828b8b8381811061073c5761073c611cd0565b8354600180820186555f9586526020958690209290950293909301359201919091555001610721565b506001820180547fffffffffffffffff00000000000000000000000000000000000000000000000016337fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff811691909117600160a01b60e08c901c0217909155600283018890556003830187905560048301805460ff191687151517905560405185917f2dc9f5cb271a872eb89f488a1d216ded8a5b96226ca01f8d3128e028ae5459f891610820918e918e91908e908e908e908e90611ce4565b60405180910390a28254835f61083583611d68565b91905055505050509695505050505050565b61084f61127d565b61085882611334565b610862828261133c565b5050565b5f61086f611410565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b61089c611459565b6001600160a01b0381165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff166109445760405162461bcd60e51b815260206004820152601860248201527f41646472657373206973206e6f7420612072656c6179657200000000000000006044820152606401610665565b6001600160a01b0382165f818152600183016020526040808220805460ff19169055517ff29639ce9f9f4d0a646c7c99291b0b1d3ca3a017b8f543d03d79d9f6fc4c58249190a25050565b610997611459565b6109a05f61148b565b565b33806109ac611133565b6001600160a01b0316146109de5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610665565b6109e78161148b565b50565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b546001600160a01b031692915050565b335f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff16610abd5760405162461bcd60e51b815260206004820152600b60248201527f4e6f742072656c617965720000000000000000000000000000000000000000006044820152606401610665565b5f8481527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa02602052604090819020905163dd66628760e01b81527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009173208de73316e44722e16f6ddff40881a3e4f861049163dd66628791610b5c9173339ece85b9e11a3a3aa557582784a15d7f82aaf2919089908990600401611dd8565b6020604051808303815f875af1158015610b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611e5a565b610bf25760405162461bcd60e51b815260206004820152602160248201527f4b4d53207369676e617475726520766572696669636174696f6e206661696c656044820152601960fa1b6064820152608401610665565b5f85815260038201602052604090205460ff1615610c525760405162461bcd60e51b815260206004820152601c60248201527f5265717565737420697320616c72656164792066756c66696c6c6564000000006044820152606401610665565b5f85815260028201602090815260408083208151815460e09481028201850190935260c08101838152909391928492849190840182828015610cb157602002820191905f5260205f20905b815481526020019060010190808311610c9d575b505050918352505060018201546001600160a01b0381166020830152600160a01b900460e01b6001600160e01b031916604082015260028201546060820152600382015460808083019190915260049092015460ff16151560a090910152810151909150421115610d645760405162461bcd60e51b815260206004820152600860248201527f546f6f206c6174650000000000000000000000000000000000000000000000006044820152606401610665565b5f816040015187604051602401610d7d91815260200190565b60408051601f19818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199095169490941790935260a0850151905191935091610dde9184918a9101611e75565b60405160208183030381529060405291508015610e4b575f86604051602001610e079190611ea3565b60405160208183030381529060405290505f610e228261049f565b90508381604051602001610e37929190611e75565b604051602081830303815290604052935050505b5f8084602001516001600160a01b0316856060015185604051610e6e9190611eb5565b5f6040518083038185875af1925050503d805f8114610ea8576040519150601f19603f3d011682016040523d82523d5f602084013e610ead565b606091505b5091509150897fb0f2a12a0cc059295d0e43aaf8b9eebb32b58c03c68f5406fbf345c3a226bedd8383604051610ee4929190611ed0565b60405180910390a25050505f968752505060030160205250506040909120805460ff1916600117905550565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f81158015610f5a5750825b90505f8267ffffffffffffffff166001148015610f765750303b155b905081158015610f84575080155b15610fa25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fd657845468ff00000000000000001916680100000000000000001785555b610fdf866114c3565b831561102a57845468ff000000000000000019168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61103a611459565b6001600160a01b0381165f9081527f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa0160205260409020547f2f81b8bba57448689ab73c47570e3de1ee7f779a62f121c9631b35b3eda2aa009060ff16156110e35760405162461bcd60e51b815260206004820152601a60248201527f4164647265737320697320616c72656164792072656c617965720000000000006044820152606401610665565b6001600160a01b0382165f81815260018381016020526040808320805460ff1916909217909155517fd68caa126e02d8ca92285deaa53a0d5d4f692e587b00422ce504661cc74361bc9190a25050565b5f807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610a0e565b611163611459565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b0319166001600160a01b03831690811782556111a76109ea565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b60605f6111ec836114d4565b60010190505f8167ffffffffffffffff81111561120b5761120b6118e8565b6040519080825280601f01601f191660200182016040528015611235576020820181803683370190505b5090508181016020015b5f19017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461123f57509392505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061131657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661130a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b156109a05760405163703e46dd60e11b815260040160405180910390fd5b6109e7611459565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611396575060408051601f3d908101601f1916820190925261139391810190611eea565b60015b6113be57604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610665565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461140157604051632a87526960e21b815260048101829052602401610665565b61140b83836115b6565b505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109a05760405163703e46dd60e11b815260040160405180910390fd5b336114626109ea565b6001600160a01b0316146109a05760405163118cdaa760e01b8152336004820152602401610665565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080546001600160a01b03191681556108628261160b565b6114cb61167b565b6109e7816116c9565b5f807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061151c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310611548576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061156657662386f26fc10000830492506010015b6305f5e100831061157e576305f5e100830492506008015b612710831061159257612710830492506004015b606483106115a4576064830492506002015b600a83106115b0576001015b92915050565b6115bf826116fa565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156116035761140b8282611770565b6108626117e2565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166109a057604051631afcd79f60e31b815260040160405180910390fd5b6116d161167b565b6001600160a01b0381166109de57604051631e4fbdf760e01b81525f6004820152602401610665565b806001600160a01b03163b5f0361172f57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610665565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b03168460405161178c9190611eb5565b5f60405180830381855af49150503d805f81146117c4576040519150601f19603f3d011682016040523d82523d5f602084013e6117c9565b606091505b50915091506117d9858383611801565b95945050505050565b34156109a05760405163b398979f60e01b815260040160405180910390fd5b6060826118165761181182611860565b611859565b815115801561182d57506001600160a01b0384163b155b1561185657604051639996b31560e01b81526001600160a01b0385166004820152602401610665565b50805b9392505050565b8051156118705780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b5f5b838110156118a357818101518382015260200161188b565b50505f910152565b5f81518084526118c2816020860160208601611889565b601f01601f19169290920160200192915050565b602081525f61185960208301846118ab565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611925576119256118e8565b604052919050565b5f82601f83011261193c575f80fd5b813567ffffffffffffffff811115611956576119566118e8565b611969601f8201601f19166020016118fc565b81815284602083860101111561197d575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156119a9575f80fd5b813567ffffffffffffffff8111156119bf575f80fd5b6106068482850161192d565b5f602082840312156119db575f80fd5b5035919050565b80356001600160e01b0319811681146119f9575f80fd5b919050565b80151581146109e7575f80fd5b80356119f9816119fe565b5f805f805f8060a08789031215611a2b575f80fd5b863567ffffffffffffffff80821115611a42575f80fd5b818901915089601f830112611a55575f80fd5b813581811115611a63575f80fd5b8a60208260051b8501011115611a77575f80fd5b602092830198509650611a8d91890190506119e2565b93506040870135925060608701359150611aa960808801611a0b565b90509295509295509295565b80356001600160a01b03811681146119f9575f80fd5b5f8060408385031215611adc575f80fd5b611ae583611ab5565b9150602083013567ffffffffffffffff811115611b00575f80fd5b611b0c8582860161192d565b9150509250929050565b5f60208284031215611b26575f80fd5b61185982611ab5565b5f805f60608486031215611b41575f80fd5b8335925060208085013567ffffffffffffffff80821115611b60575f80fd5b611b6c8883890161192d565b94506040870135915080821115611b81575f80fd5b818701915087601f830112611b94575f80fd5b813581811115611ba657611ba66118e8565b8060051b611bb58582016118fc565b918252838101850191858101908b841115611bce575f80fd5b86860192505b83831015611c0857823585811115611bea575f80fd5b611bf88d89838a010161192d565b8352509186019190860190611bd4565b809750505050505050509250925092565b5f8551611c2a818460208a01611889565b61103b60f11b9083019081528551611c49816002840160208a01611889565b808201915050601760f91b8060028301528551611c6d816003850160208a01611889565b60039201918201528351611c88816004840160208801611889565b016004019695505050505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156115b0576115b0611c96565b808201808211156115b0576115b0611c96565b634e487b7160e01b5f52603260045260245ffd5b60c081528660c08201525f7f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881115611d1b575f80fd5b8760051b808a60e08501376001600160a01b03979097166020830152506001600160e01b031994909416604085015260608401929092526080830152151560a08201520160e00192915050565b5f60018201611d7957611d79611c96565b5060010190565b5f8282518085526020808601955060208260051b840101602086015f5b84811015611dcb57601f19868403018952611db98383516118ab565b98840198925090830190600101611d9d565b5090979650505050505050565b5f608082016001600160a01b038716835260206080602085015281875480845260a086019150885f5260205f2093505f5b81811015611e2557845483526001948501949284019201611e09565b50508481036040860152611e3981886118ab565b925050508281036060840152611e4f8185611d80565b979650505050505050565b5f60208284031215611e6a575f80fd5b8151611859816119fe565b5f8351611e86818460208801611889565b835190830190611e9a818360208801611889565b01949350505050565b602081525f6118596020830184611d80565b5f8251611ec6818460208701611889565b9190910192915050565b8215158152604060208201525f61060660408301846118ab565b5f60208284031215611efa575f80fd5b505191905056fea164736f6c6343000818000a"; - -type GatewayContractConstructorParams = - | [signer?: Signer] - | ConstructorParameters; - -const isSuperArgs = ( - xs: GatewayContractConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class GatewayContract__factory extends ContractFactory { - constructor(...args: GatewayContractConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override getDeployTransaction( - overrides?: NonPayableOverrides & { from?: string } - ): Promise { - return super.getDeployTransaction(overrides || {}); - } - override deploy(overrides?: NonPayableOverrides & { from?: string }) { - return super.deploy(overrides || {}) as Promise< - GatewayContract & { - deploymentTransaction(): ContractTransactionResponse; - } - >; - } - override connect(runner: ContractRunner | null): GatewayContract__factory { - return super.connect(runner) as GatewayContract__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): GatewayContractInterface { - return new Interface(_abi) as GatewayContractInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): GatewayContract { - return new Contract(address, _abi, runner) as unknown as GatewayContract; - } -} diff --git a/contracts/types/factories/gateway/IKMSVerifier__factory.ts b/contracts/types/factories/gateway/IKMSVerifier__factory.ts deleted file mode 100644 index af37eda2..00000000 --- a/contracts/types/factories/gateway/IKMSVerifier__factory.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IKMSVerifier, - IKMSVerifierInterface, -} from "../../gateway/IKMSVerifier"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "aclAddress", - type: "address", - }, - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - { - internalType: "bytes", - name: "decryptedResult", - type: "bytes", - }, - { - internalType: "bytes[]", - name: "signatures", - type: "bytes[]", - }, - ], - name: "verifyDecryptionEIP712KMSSignatures", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IKMSVerifier__factory { - static readonly abi = _abi; - static createInterface(): IKMSVerifierInterface { - return new Interface(_abi) as IKMSVerifierInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): IKMSVerifier { - return new Contract(address, _abi, runner) as unknown as IKMSVerifier; - } -} diff --git a/contracts/types/factories/gateway/index.ts b/contracts/types/factories/gateway/index.ts deleted file mode 100644 index 35539f22..00000000 --- a/contracts/types/factories/gateway/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as lib from "./lib"; -export { GatewayContract__factory } from "./GatewayContract__factory"; -export { IKMSVerifier__factory } from "./IKMSVerifier__factory"; diff --git a/contracts/types/factories/gateway/lib/Gateway.sol/IGatewayContract__factory.ts b/contracts/types/factories/gateway/lib/Gateway.sol/IGatewayContract__factory.ts deleted file mode 100644 index 7e2a4de3..00000000 --- a/contracts/types/factories/gateway/lib/Gateway.sol/IGatewayContract__factory.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IGatewayContract, - IGatewayContractInterface, -} from "../../../../gateway/lib/Gateway.sol/IGatewayContract"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256[]", - name: "ctsHandles", - type: "uint256[]", - }, - { - internalType: "bytes4", - name: "callbackSelector", - type: "bytes4", - }, - { - internalType: "uint256", - name: "msgValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxTimestamp", - type: "uint256", - }, - { - internalType: "bool", - name: "passSignaturesToCaller", - type: "bool", - }, - ], - name: "requestDecryption", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IGatewayContract__factory { - static readonly abi = _abi; - static createInterface(): IGatewayContractInterface { - return new Interface(_abi) as IGatewayContractInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): IGatewayContract { - return new Contract(address, _abi, runner) as unknown as IGatewayContract; - } -} diff --git a/contracts/types/factories/gateway/lib/Gateway.sol/index.ts b/contracts/types/factories/gateway/lib/Gateway.sol/index.ts deleted file mode 100644 index 0d579f47..00000000 --- a/contracts/types/factories/gateway/lib/Gateway.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IGatewayContract__factory } from "./IGatewayContract__factory"; diff --git a/contracts/types/factories/gateway/lib/index.ts b/contracts/types/factories/gateway/lib/index.ts deleted file mode 100644 index efda1b60..00000000 --- a/contracts/types/factories/gateway/lib/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gatewaySol from "./Gateway.sol"; diff --git a/contracts/types/factories/index.ts b/contracts/types/factories/index.ts deleted file mode 100644 index 70443c60..00000000 --- a/contracts/types/factories/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as openzeppelin from "./@openzeppelin"; -export * as contracts from "./contracts"; -export * as examples from "./examples"; -export * as gateway from "./gateway"; -export * as lib from "./lib"; -export * as payment from "./payment"; diff --git a/contracts/types/factories/lib/Impl.sol/IACL__factory.ts b/contracts/types/factories/lib/Impl.sol/IACL__factory.ts deleted file mode 100644 index 56959d8d..00000000 --- a/contracts/types/factories/lib/Impl.sol/IACL__factory.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { IACL, IACLInterface } from "../../../lib/Impl.sol/IACL"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allow", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256[]", - name: "handlesList", - type: "uint256[]", - }, - ], - name: "allowForDecryption", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ciphertext", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "allowTransient", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "cleanTransientStorage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "handle", - type: "uint256", - }, - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "isAllowed", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IACL__factory { - static readonly abi = _abi; - static createInterface(): IACLInterface { - return new Interface(_abi) as IACLInterface; - } - static connect(address: string, runner?: ContractRunner | null): IACL { - return new Contract(address, _abi, runner) as unknown as IACL; - } -} diff --git a/contracts/types/factories/lib/Impl.sol/ITFHEExecutor__factory.ts b/contracts/types/factories/lib/Impl.sol/ITFHEExecutor__factory.ts deleted file mode 100644 index a627dab6..00000000 --- a/contracts/types/factories/lib/Impl.sol/ITFHEExecutor__factory.ts +++ /dev/null @@ -1,879 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - ITFHEExecutor, - ITFHEExecutorInterface, -} from "../../../lib/Impl.sol/ITFHEExecutor"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "cast", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheAdd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitAnd", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitOr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheBitXor", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheDiv", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheEq", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheGt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "control", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifTrue", - type: "uint256", - }, - { - internalType: "uint256", - name: "ifFalse", - type: "uint256", - }, - ], - name: "fheIfThenElse", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheLt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMax", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMin", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheMul", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "bytes", - name: "rhs", - type: "bytes", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheNe", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNeg", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - ], - name: "fheNot", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRand", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "upperBound", - type: "uint256", - }, - { - internalType: "bytes1", - name: "randType", - type: "bytes1", - }, - ], - name: "fheRandBounded", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRem", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheRotr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShl", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheShr", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "lhs", - type: "uint256", - }, - { - internalType: "uint256", - name: "rhs", - type: "uint256", - }, - { - internalType: "bytes1", - name: "scalarByte", - type: "bytes1", - }, - ], - name: "fheSub", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "ct", - type: "bytes", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "ct", - type: "uint256", - }, - { - internalType: "bytes1", - name: "toType", - type: "bytes1", - }, - ], - name: "trivialEncrypt", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "inputHandle", - type: "bytes32", - }, - { - internalType: "address", - name: "callerAddress", - type: "address", - }, - { - internalType: "bytes", - name: "inputProof", - type: "bytes", - }, - { - internalType: "bytes1", - name: "inputType", - type: "bytes1", - }, - ], - name: "verifyCiphertext", - outputs: [ - { - internalType: "uint256", - name: "result", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ITFHEExecutor__factory { - static readonly abi = _abi; - static createInterface(): ITFHEExecutorInterface { - return new Interface(_abi) as ITFHEExecutorInterface; - } - static connect( - address: string, - runner?: ContractRunner | null - ): ITFHEExecutor { - return new Contract(address, _abi, runner) as unknown as ITFHEExecutor; - } -} diff --git a/contracts/types/factories/lib/Impl.sol/index.ts b/contracts/types/factories/lib/Impl.sol/index.ts deleted file mode 100644 index 593540aa..00000000 --- a/contracts/types/factories/lib/Impl.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IACL__factory } from "./IACL__factory"; -export { ITFHEExecutor__factory } from "./ITFHEExecutor__factory"; diff --git a/contracts/types/factories/lib/index.ts b/contracts/types/factories/lib/index.ts deleted file mode 100644 index b4e60ce1..00000000 --- a/contracts/types/factories/lib/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as implSol from "./Impl.sol"; diff --git a/contracts/types/factories/payment/Payment.sol/IFHEPayment__factory.ts b/contracts/types/factories/payment/Payment.sol/IFHEPayment__factory.ts deleted file mode 100644 index 0f627fdd..00000000 --- a/contracts/types/factories/payment/Payment.sol/IFHEPayment__factory.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Interface, type ContractRunner } from "ethers"; -import type { - IFHEPayment, - IFHEPaymentInterface, -} from "../../../payment/Payment.sol/IFHEPayment"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "depositETH", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "account", - type: "address", - }, - ], - name: "getAvailableDepositsETH", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "amount", - type: "uint256", - }, - { - internalType: "address", - name: "receiver", - type: "address", - }, - ], - name: "withdrawETH", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IFHEPayment__factory { - static readonly abi = _abi; - static createInterface(): IFHEPaymentInterface { - return new Interface(_abi) as IFHEPaymentInterface; - } - static connect(address: string, runner?: ContractRunner | null): IFHEPayment { - return new Contract(address, _abi, runner) as unknown as IFHEPayment; - } -} diff --git a/contracts/types/factories/payment/Payment.sol/index.ts b/contracts/types/factories/payment/Payment.sol/index.ts deleted file mode 100644 index 3935e73c..00000000 --- a/contracts/types/factories/payment/Payment.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IFHEPayment__factory } from "./IFHEPayment__factory"; diff --git a/contracts/types/factories/payment/index.ts b/contracts/types/factories/payment/index.ts deleted file mode 100644 index 24f6c58f..00000000 --- a/contracts/types/factories/payment/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as paymentSol from "./Payment.sol"; diff --git a/contracts/types/gateway/GatewayContract.ts b/contracts/types/gateway/GatewayContract.ts deleted file mode 100644 index 784f9e93..00000000 --- a/contracts/types/gateway/GatewayContract.ts +++ /dev/null @@ -1,689 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface GatewayContractInterface extends Interface { - getFunction( - nameOrSignature: - | "UPGRADE_INTERFACE_VERSION" - | "acceptOwnership" - | "addRelayer" - | "fulfillRequest" - | "getCounter" - | "getKmsVerifierAddress" - | "getMAX_DELAY" - | "getVersion" - | "initialize" - | "isExpiredOrFulfilled" - | "isRelayer" - | "owner" - | "pendingOwner" - | "proxiableUUID" - | "removeOffset" - | "removeRelayer" - | "renounceOwnership" - | "requestDecryption" - | "transferOwnership" - | "upgradeToAndCall" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "AddedRelayer" - | "EventDecryption" - | "Initialized" - | "OwnershipTransferStarted" - | "OwnershipTransferred" - | "RemovedRelayer" - | "ResultCallback" - | "Upgraded" - ): EventFragment; - - encodeFunctionData( - functionFragment: "UPGRADE_INTERFACE_VERSION", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "acceptOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "addRelayer", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "fulfillRequest", - values: [BigNumberish, BytesLike, BytesLike[]] - ): string; - encodeFunctionData( - functionFragment: "getCounter", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getKmsVerifierAddress", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getMAX_DELAY", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getVersion", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "initialize", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "isExpiredOrFulfilled", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "isRelayer", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "owner", values?: undefined): string; - encodeFunctionData( - functionFragment: "pendingOwner", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proxiableUUID", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "removeOffset", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "removeRelayer", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "renounceOwnership", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "requestDecryption", - values: [BigNumberish[], BytesLike, BigNumberish, BigNumberish, boolean] - ): string; - encodeFunctionData( - functionFragment: "transferOwnership", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "upgradeToAndCall", - values: [AddressLike, BytesLike] - ): string; - - decodeFunctionResult( - functionFragment: "UPGRADE_INTERFACE_VERSION", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "acceptOwnership", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "addRelayer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fulfillRequest", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getCounter", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getKmsVerifierAddress", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getMAX_DELAY", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVersion", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "isExpiredOrFulfilled", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isRelayer", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "pendingOwner", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proxiableUUID", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeOffset", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "removeRelayer", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "renounceOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "requestDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "transferOwnership", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "upgradeToAndCall", - data: BytesLike - ): Result; -} - -export namespace AddedRelayerEvent { - export type InputTuple = [relayer: AddressLike]; - export type OutputTuple = [relayer: string]; - export interface OutputObject { - relayer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace EventDecryptionEvent { - export type InputTuple = [ - requestID: BigNumberish, - cts: BigNumberish[], - contractCaller: AddressLike, - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ]; - export type OutputTuple = [ - requestID: bigint, - cts: bigint[], - contractCaller: string, - callbackSelector: string, - msgValue: bigint, - maxTimestamp: bigint, - passSignaturesToCaller: boolean - ]; - export interface OutputObject { - requestID: bigint; - cts: bigint[]; - contractCaller: string; - callbackSelector: string; - msgValue: bigint; - maxTimestamp: bigint; - passSignaturesToCaller: boolean; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace InitializedEvent { - export type InputTuple = [version: BigNumberish]; - export type OutputTuple = [version: bigint]; - export interface OutputObject { - version: bigint; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferStartedEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace OwnershipTransferredEvent { - export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; - export type OutputTuple = [previousOwner: string, newOwner: string]; - export interface OutputObject { - previousOwner: string; - newOwner: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace RemovedRelayerEvent { - export type InputTuple = [relayer: AddressLike]; - export type OutputTuple = [relayer: string]; - export interface OutputObject { - relayer: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ResultCallbackEvent { - export type InputTuple = [ - requestID: BigNumberish, - success: boolean, - result: BytesLike - ]; - export type OutputTuple = [ - requestID: bigint, - success: boolean, - result: string - ]; - export interface OutputObject { - requestID: bigint; - success: boolean; - result: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace UpgradedEvent { - export type InputTuple = [implementation: AddressLike]; - export type OutputTuple = [implementation: string]; - export interface OutputObject { - implementation: string; - } - export type Event = TypedContractEvent; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface GatewayContract extends BaseContract { - connect(runner?: ContractRunner | null): GatewayContract; - waitForDeployment(): Promise; - - interface: GatewayContractInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; - - acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; - - addRelayer: TypedContractMethod< - [relayerAddress: AddressLike], - [void], - "nonpayable" - >; - - fulfillRequest: TypedContractMethod< - [requestID: BigNumberish, decryptedCts: BytesLike, signatures: BytesLike[]], - [void], - "payable" - >; - - getCounter: TypedContractMethod<[], [bigint], "nonpayable">; - - getKmsVerifierAddress: TypedContractMethod<[], [string], "nonpayable">; - - getMAX_DELAY: TypedContractMethod<[], [bigint], "nonpayable">; - - getVersion: TypedContractMethod<[], [string], "view">; - - initialize: TypedContractMethod< - [_gatewayOwner: AddressLike], - [void], - "nonpayable" - >; - - isExpiredOrFulfilled: TypedContractMethod< - [requestID: BigNumberish], - [boolean], - "view" - >; - - isRelayer: TypedContractMethod< - [account: AddressLike], - [boolean], - "nonpayable" - >; - - owner: TypedContractMethod<[], [string], "view">; - - pendingOwner: TypedContractMethod<[], [string], "view">; - - proxiableUUID: TypedContractMethod<[], [string], "view">; - - removeOffset: TypedContractMethod<[input: BytesLike], [string], "view">; - - removeRelayer: TypedContractMethod< - [relayerAddress: AddressLike], - [void], - "nonpayable" - >; - - renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; - - requestDecryption: TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - - transferOwnership: TypedContractMethod< - [newOwner: AddressLike], - [void], - "nonpayable" - >; - - upgradeToAndCall: TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "UPGRADE_INTERFACE_VERSION" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "acceptOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "addRelayer" - ): TypedContractMethod<[relayerAddress: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "fulfillRequest" - ): TypedContractMethod< - [requestID: BigNumberish, decryptedCts: BytesLike, signatures: BytesLike[]], - [void], - "payable" - >; - getFunction( - nameOrSignature: "getCounter" - ): TypedContractMethod<[], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "getKmsVerifierAddress" - ): TypedContractMethod<[], [string], "nonpayable">; - getFunction( - nameOrSignature: "getMAX_DELAY" - ): TypedContractMethod<[], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "getVersion" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "initialize" - ): TypedContractMethod<[_gatewayOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "isExpiredOrFulfilled" - ): TypedContractMethod<[requestID: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "isRelayer" - ): TypedContractMethod<[account: AddressLike], [boolean], "nonpayable">; - getFunction( - nameOrSignature: "owner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "pendingOwner" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "proxiableUUID" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "removeOffset" - ): TypedContractMethod<[input: BytesLike], [string], "view">; - getFunction( - nameOrSignature: "removeRelayer" - ): TypedContractMethod<[relayerAddress: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "renounceOwnership" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "requestDecryption" - ): TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferOwnership" - ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "upgradeToAndCall" - ): TypedContractMethod< - [newImplementation: AddressLike, data: BytesLike], - [void], - "payable" - >; - - getEvent( - key: "AddedRelayer" - ): TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - getEvent( - key: "EventDecryption" - ): TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - getEvent( - key: "Initialized" - ): TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferStarted" - ): TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - getEvent( - key: "OwnershipTransferred" - ): TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - getEvent( - key: "RemovedRelayer" - ): TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - getEvent( - key: "ResultCallback" - ): TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - getEvent( - key: "Upgraded" - ): TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - - filters: { - "AddedRelayer(address)": TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - AddedRelayer: TypedContractEvent< - AddedRelayerEvent.InputTuple, - AddedRelayerEvent.OutputTuple, - AddedRelayerEvent.OutputObject - >; - - "EventDecryption(uint256,uint256[],address,bytes4,uint256,uint256,bool)": TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - EventDecryption: TypedContractEvent< - EventDecryptionEvent.InputTuple, - EventDecryptionEvent.OutputTuple, - EventDecryptionEvent.OutputObject - >; - - "Initialized(uint64)": TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - Initialized: TypedContractEvent< - InitializedEvent.InputTuple, - InitializedEvent.OutputTuple, - InitializedEvent.OutputObject - >; - - "OwnershipTransferStarted(address,address)": TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - OwnershipTransferStarted: TypedContractEvent< - OwnershipTransferStartedEvent.InputTuple, - OwnershipTransferStartedEvent.OutputTuple, - OwnershipTransferStartedEvent.OutputObject - >; - - "OwnershipTransferred(address,address)": TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - OwnershipTransferred: TypedContractEvent< - OwnershipTransferredEvent.InputTuple, - OwnershipTransferredEvent.OutputTuple, - OwnershipTransferredEvent.OutputObject - >; - - "RemovedRelayer(address)": TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - RemovedRelayer: TypedContractEvent< - RemovedRelayerEvent.InputTuple, - RemovedRelayerEvent.OutputTuple, - RemovedRelayerEvent.OutputObject - >; - - "ResultCallback(uint256,bool,bytes)": TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - ResultCallback: TypedContractEvent< - ResultCallbackEvent.InputTuple, - ResultCallbackEvent.OutputTuple, - ResultCallbackEvent.OutputObject - >; - - "Upgraded(address)": TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - Upgraded: TypedContractEvent< - UpgradedEvent.InputTuple, - UpgradedEvent.OutputTuple, - UpgradedEvent.OutputObject - >; - }; -} diff --git a/contracts/types/gateway/IKMSVerifier.ts b/contracts/types/gateway/IKMSVerifier.ts deleted file mode 100644 index f177e844..00000000 --- a/contracts/types/gateway/IKMSVerifier.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../common"; - -export interface IKMSVerifierInterface extends Interface { - getFunction( - nameOrSignature: "verifyDecryptionEIP712KMSSignatures" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - values: [AddressLike, BigNumberish[], BytesLike, BytesLike[]] - ): string; - - decodeFunctionResult( - functionFragment: "verifyDecryptionEIP712KMSSignatures", - data: BytesLike - ): Result; -} - -export interface IKMSVerifier extends BaseContract { - connect(runner?: ContractRunner | null): IKMSVerifier; - waitForDeployment(): Promise; - - interface: IKMSVerifierInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - verifyDecryptionEIP712KMSSignatures: TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "verifyDecryptionEIP712KMSSignatures" - ): TypedContractMethod< - [ - aclAddress: AddressLike, - handlesList: BigNumberish[], - decryptedResult: BytesLike, - signatures: BytesLike[] - ], - [boolean], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/gateway/index.ts b/contracts/types/gateway/index.ts deleted file mode 100644 index 9ad286ee..00000000 --- a/contracts/types/gateway/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as lib from "./lib"; -export type { lib }; -export type { GatewayContract } from "./GatewayContract"; -export type { IKMSVerifier } from "./IKMSVerifier"; diff --git a/contracts/types/gateway/lib/Gateway.sol/IGatewayContract.ts b/contracts/types/gateway/lib/Gateway.sol/IGatewayContract.ts deleted file mode 100644 index 522b3228..00000000 --- a/contracts/types/gateway/lib/Gateway.sol/IGatewayContract.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../../common"; - -export interface IGatewayContractInterface extends Interface { - getFunction(nameOrSignature: "requestDecryption"): FunctionFragment; - - encodeFunctionData( - functionFragment: "requestDecryption", - values: [BigNumberish[], BytesLike, BigNumberish, BigNumberish, boolean] - ): string; - - decodeFunctionResult( - functionFragment: "requestDecryption", - data: BytesLike - ): Result; -} - -export interface IGatewayContract extends BaseContract { - connect(runner?: ContractRunner | null): IGatewayContract; - waitForDeployment(): Promise; - - interface: IGatewayContractInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - requestDecryption: TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "requestDecryption" - ): TypedContractMethod< - [ - ctsHandles: BigNumberish[], - callbackSelector: BytesLike, - msgValue: BigNumberish, - maxTimestamp: BigNumberish, - passSignaturesToCaller: boolean - ], - [bigint], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/gateway/lib/Gateway.sol/index.ts b/contracts/types/gateway/lib/Gateway.sol/index.ts deleted file mode 100644 index dcf8abed..00000000 --- a/contracts/types/gateway/lib/Gateway.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IGatewayContract } from "./IGatewayContract"; diff --git a/contracts/types/gateway/lib/index.ts b/contracts/types/gateway/lib/index.ts deleted file mode 100644 index c8574b32..00000000 --- a/contracts/types/gateway/lib/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gatewaySol from "./Gateway.sol"; -export type { gatewaySol }; diff --git a/contracts/types/hardhat.d.ts b/contracts/types/hardhat.d.ts deleted file mode 100644 index ec67eb9e..00000000 --- a/contracts/types/hardhat.d.ts +++ /dev/null @@ -1,1197 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { ethers } from "ethers"; -import { - DeployContractOptions, - FactoryOptions, - HardhatEthersHelpers as HardhatEthersHelpersBase, -} from "@nomicfoundation/hardhat-ethers/types"; - -import * as Contracts from "."; - -declare module "hardhat/types/runtime" { - interface HardhatEthersHelpers extends HardhatEthersHelpersBase { - getContractFactory( - name: "Ownable2StepUpgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "OwnableUpgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Initializable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "UUPSUpgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ContextUpgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "EIP712Upgradeable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Ownable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Ownable2Step", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC1822Proxiable", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC1967", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IERC5267", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IBeacon", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ERC1967Utils", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Address", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ECDSA", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Errors", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SafeCast", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Strings", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ACL", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "FHEPayment", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "InputVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "InputVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "KMSVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IInputVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHEExecutor", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IInputVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHEExecutor", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ACLUpgradedExample", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ACLUpgradedExample2", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "BlindAuction", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Counter", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "EncryptedERC20", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "FHEPaymentUpgradedExample", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GatewayContractUpgradedExample", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "KMSVerifierUpgradedExample", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "PaymentLimit", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Rand", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Reencrypt", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "Regression1", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SmartAccount", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TestAsyncDecrypt", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHEManualTestSuite", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite1", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite10", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite11", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite2", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite3", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite4", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite5", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite6", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite7", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite8", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHETestSuite9", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TFHEExecutorUpgradedExample", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SubContract", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SubContractCreate", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "SubContractCreateFail", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "TracingSubCalls", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "GatewayContract", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IKMSVerifier", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IGatewayContract", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IACL", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "ITFHEExecutor", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - name: "IFHEPayment", - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - - getContractAt( - name: "Ownable2StepUpgradeable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "OwnableUpgradeable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Initializable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "UUPSUpgradeable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ContextUpgradeable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "EIP712Upgradeable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Ownable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Ownable2Step", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC1822Proxiable", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC1967", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IERC5267", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IBeacon", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ERC1967Utils", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Address", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ECDSA", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Errors", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SafeCast", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Strings", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ACL", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "FHEPayment", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "InputVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "InputVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "KMSVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IInputVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHEExecutor", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IInputVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHEExecutor", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ACLUpgradedExample", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ACLUpgradedExample2", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "BlindAuction", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Counter", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "EncryptedERC20", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "FHEPaymentUpgradedExample", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GatewayContractUpgradedExample", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "KMSVerifierUpgradedExample", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "PaymentLimit", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Rand", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Reencrypt", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "Regression1", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SmartAccount", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TestAsyncDecrypt", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHEManualTestSuite", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite1", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite10", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite11", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite2", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite3", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite4", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite5", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite6", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite7", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite8", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHETestSuite9", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TFHEExecutorUpgradedExample", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SubContract", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SubContractCreate", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "SubContractCreateFail", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "TracingSubCalls", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "GatewayContract", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IKMSVerifier", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IGatewayContract", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IACL", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "ITFHEExecutor", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - getContractAt( - name: "IFHEPayment", - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - - deployContract( - name: "Ownable2StepUpgradeable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "OwnableUpgradeable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Initializable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "UUPSUpgradeable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ContextUpgradeable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "EIP712Upgradeable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Ownable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Ownable2Step", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC1822Proxiable", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC1967", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC5267", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IBeacon", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ERC1967Utils", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Address", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ECDSA", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Errors", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SafeCast", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Strings", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACL", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "FHEPayment", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "InputVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "InputVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "KMSVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IInputVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutor", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IInputVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutor", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACLUpgradedExample", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACLUpgradedExample2", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "BlindAuction", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Counter", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "EncryptedERC20", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "FHEPaymentUpgradedExample", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "GatewayContractUpgradedExample", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "KMSVerifierUpgradedExample", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "PaymentLimit", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Rand", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Reencrypt", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Regression1", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SmartAccount", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TestAsyncDecrypt", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEManualTestSuite", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite1", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite10", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite11", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite2", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite3", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite4", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite5", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite6", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite7", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite8", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite9", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutorUpgradedExample", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContract", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContractCreate", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContractCreateFail", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TracingSubCalls", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "GatewayContract", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IKMSVerifier", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IGatewayContract", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IACL", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ITFHEExecutor", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IFHEPayment", - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - - deployContract( - name: "Ownable2StepUpgradeable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "OwnableUpgradeable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Initializable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "UUPSUpgradeable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ContextUpgradeable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "EIP712Upgradeable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Ownable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Ownable2Step", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC1822Proxiable", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC1967", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IERC5267", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IBeacon", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ERC1967Utils", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Address", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ECDSA", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Errors", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SafeCast", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Strings", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACL", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "FHEPayment", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "InputVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "InputVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "KMSVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IInputVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutor", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IInputVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutor", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACLUpgradedExample", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ACLUpgradedExample2", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "BlindAuction", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Counter", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "EncryptedERC20", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "FHEPaymentUpgradedExample", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "GatewayContractUpgradedExample", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "KMSVerifierUpgradedExample", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "PaymentLimit", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Rand", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Reencrypt", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "Regression1", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SmartAccount", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TestAsyncDecrypt", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEManualTestSuite", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite1", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite10", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite11", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite2", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite3", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite4", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite5", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite6", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite7", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite8", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHETestSuite9", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TFHEExecutorUpgradedExample", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContract", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContractCreate", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "SubContractCreateFail", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "TracingSubCalls", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "GatewayContract", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IKMSVerifier", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IGatewayContract", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IACL", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "ITFHEExecutor", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: "IFHEPayment", - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - - // default types - getContractFactory( - name: string, - signerOrOptions?: ethers.Signer | FactoryOptions - ): Promise; - getContractFactory( - abi: any[], - bytecode: ethers.BytesLike, - signer?: ethers.Signer - ): Promise; - getContractAt( - nameOrAbi: string | any[], - address: string | ethers.Addressable, - signer?: ethers.Signer - ): Promise; - deployContract( - name: string, - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - deployContract( - name: string, - args: any[], - signerOrOptions?: ethers.Signer | DeployContractOptions - ): Promise; - } -} diff --git a/contracts/types/index.ts b/contracts/types/index.ts deleted file mode 100644 index 5a0aac43..00000000 --- a/contracts/types/index.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as openzeppelin from "./@openzeppelin"; -export type { openzeppelin }; -import type * as contracts from "./contracts"; -export type { contracts }; -import type * as examples from "./examples"; -export type { examples }; -import type * as gateway from "./gateway"; -export type { gateway }; -import type * as lib from "./lib"; -export type { lib }; -import type * as payment from "./payment"; -export type { payment }; -export * as factories from "./factories"; -export type { Ownable2StepUpgradeable } from "./@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable"; -export { Ownable2StepUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory"; -export type { OwnableUpgradeable } from "./@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable"; -export { OwnableUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory"; -export type { Initializable } from "./@openzeppelin/contracts-upgradeable/proxy/utils/Initializable"; -export { Initializable__factory } from "./factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory"; -export type { UUPSUpgradeable } from "./@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable"; -export { UUPSUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory"; -export type { ContextUpgradeable } from "./@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable"; -export { ContextUpgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory"; -export type { EIP712Upgradeable } from "./@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable"; -export { EIP712Upgradeable__factory } from "./factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory"; -export type { Ownable } from "./@openzeppelin/contracts/access/Ownable"; -export { Ownable__factory } from "./factories/@openzeppelin/contracts/access/Ownable__factory"; -export type { Ownable2Step } from "./@openzeppelin/contracts/access/Ownable2Step"; -export { Ownable2Step__factory } from "./factories/@openzeppelin/contracts/access/Ownable2Step__factory"; -export type { IERC1822Proxiable } from "./@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable"; -export { IERC1822Proxiable__factory } from "./factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory"; -export type { IERC1967 } from "./@openzeppelin/contracts/interfaces/IERC1967"; -export { IERC1967__factory } from "./factories/@openzeppelin/contracts/interfaces/IERC1967__factory"; -export type { IERC5267 } from "./@openzeppelin/contracts/interfaces/IERC5267"; -export { IERC5267__factory } from "./factories/@openzeppelin/contracts/interfaces/IERC5267__factory"; -export type { IBeacon } from "./@openzeppelin/contracts/proxy/beacon/IBeacon"; -export { IBeacon__factory } from "./factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory"; -export type { ERC1967Utils } from "./@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils"; -export { ERC1967Utils__factory } from "./factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory"; -export type { Address } from "./@openzeppelin/contracts/utils/Address"; -export { Address__factory } from "./factories/@openzeppelin/contracts/utils/Address__factory"; -export type { ECDSA } from "./@openzeppelin/contracts/utils/cryptography/ECDSA"; -export { ECDSA__factory } from "./factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory"; -export type { Errors } from "./@openzeppelin/contracts/utils/Errors"; -export { Errors__factory } from "./factories/@openzeppelin/contracts/utils/Errors__factory"; -export type { SafeCast } from "./@openzeppelin/contracts/utils/math/SafeCast"; -export { SafeCast__factory } from "./factories/@openzeppelin/contracts/utils/math/SafeCast__factory"; -export type { Strings } from "./@openzeppelin/contracts/utils/Strings"; -export { Strings__factory } from "./factories/@openzeppelin/contracts/utils/Strings__factory"; -export type { ACL } from "./contracts/ACL"; -export { ACL__factory } from "./factories/contracts/ACL__factory"; -export type { FHEPayment } from "./contracts/FHEPayment"; -export { FHEPayment__factory } from "./factories/contracts/FHEPayment__factory"; -export type { InputVerifier } from "./contracts/InputVerifier.coprocessor.sol/InputVerifier"; -export { InputVerifier__factory } from "./factories/contracts/InputVerifier.coprocessor.sol/InputVerifier__factory"; -export type { KMSVerifier } from "./contracts/KMSVerifier"; -export { KMSVerifier__factory } from "./factories/contracts/KMSVerifier__factory"; -export type { IInputVerifier } from "./contracts/TFHEExecutor.events.sol/IInputVerifier"; -export { IInputVerifier__factory } from "./factories/contracts/TFHEExecutor.events.sol/IInputVerifier__factory"; -export type { TFHEExecutor } from "./contracts/TFHEExecutor.events.sol/TFHEExecutor"; -export { TFHEExecutor__factory } from "./factories/contracts/TFHEExecutor.events.sol/TFHEExecutor__factory"; -export type { ACLUpgradedExample } from "./examples/ACLUpgradedExample"; -export { ACLUpgradedExample__factory } from "./factories/examples/ACLUpgradedExample__factory"; -export type { ACLUpgradedExample2 } from "./examples/ACLUpgradedExample2"; -export { ACLUpgradedExample2__factory } from "./factories/examples/ACLUpgradedExample2__factory"; -export type { BlindAuction } from "./examples/BlindAuction"; -export { BlindAuction__factory } from "./factories/examples/BlindAuction__factory"; -export type { Counter } from "./examples/Counter"; -export { Counter__factory } from "./factories/examples/Counter__factory"; -export type { EncryptedERC20 } from "./examples/EncryptedERC20"; -export { EncryptedERC20__factory } from "./factories/examples/EncryptedERC20__factory"; -export type { FHEPaymentUpgradedExample } from "./examples/FHEPaymentUpgradedExample"; -export { FHEPaymentUpgradedExample__factory } from "./factories/examples/FHEPaymentUpgradedExample__factory"; -export type { GatewayContractUpgradedExample } from "./examples/GatewayContractUpgradedExample"; -export { GatewayContractUpgradedExample__factory } from "./factories/examples/GatewayContractUpgradedExample__factory"; -export type { KMSVerifierUpgradedExample } from "./examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample"; -export { KMSVerifierUpgradedExample__factory } from "./factories/examples/KMSUpgradedExample.sol/KMSVerifierUpgradedExample__factory"; -export type { PaymentLimit } from "./examples/PaymentLimit"; -export { PaymentLimit__factory } from "./factories/examples/PaymentLimit__factory"; -export type { Rand } from "./examples/Rand"; -export { Rand__factory } from "./factories/examples/Rand__factory"; -export type { Reencrypt } from "./examples/Reencrypt"; -export { Reencrypt__factory } from "./factories/examples/Reencrypt__factory"; -export type { Regression1 } from "./examples/Regression1"; -export { Regression1__factory } from "./factories/examples/Regression1__factory"; -export type { SmartAccount } from "./examples/SmartAccount"; -export { SmartAccount__factory } from "./factories/examples/SmartAccount__factory"; -export type { TestAsyncDecrypt } from "./examples/TestAsyncDecrypt"; -export { TestAsyncDecrypt__factory } from "./factories/examples/TestAsyncDecrypt__factory"; -export type { TFHEManualTestSuite } from "./examples/tests/TFHEManualTestSuite"; -export { TFHEManualTestSuite__factory } from "./factories/examples/tests/TFHEManualTestSuite__factory"; -export type { TFHETestSuite1 } from "./examples/tests/TFHETestSuite1"; -export { TFHETestSuite1__factory } from "./factories/examples/tests/TFHETestSuite1__factory"; -export type { TFHETestSuite10 } from "./examples/tests/TFHETestSuite10"; -export { TFHETestSuite10__factory } from "./factories/examples/tests/TFHETestSuite10__factory"; -export type { TFHETestSuite11 } from "./examples/tests/TFHETestSuite11"; -export { TFHETestSuite11__factory } from "./factories/examples/tests/TFHETestSuite11__factory"; -export type { TFHETestSuite2 } from "./examples/tests/TFHETestSuite2"; -export { TFHETestSuite2__factory } from "./factories/examples/tests/TFHETestSuite2__factory"; -export type { TFHETestSuite3 } from "./examples/tests/TFHETestSuite3"; -export { TFHETestSuite3__factory } from "./factories/examples/tests/TFHETestSuite3__factory"; -export type { TFHETestSuite4 } from "./examples/tests/TFHETestSuite4"; -export { TFHETestSuite4__factory } from "./factories/examples/tests/TFHETestSuite4__factory"; -export type { TFHETestSuite5 } from "./examples/tests/TFHETestSuite5"; -export { TFHETestSuite5__factory } from "./factories/examples/tests/TFHETestSuite5__factory"; -export type { TFHETestSuite6 } from "./examples/tests/TFHETestSuite6"; -export { TFHETestSuite6__factory } from "./factories/examples/tests/TFHETestSuite6__factory"; -export type { TFHETestSuite7 } from "./examples/tests/TFHETestSuite7"; -export { TFHETestSuite7__factory } from "./factories/examples/tests/TFHETestSuite7__factory"; -export type { TFHETestSuite8 } from "./examples/tests/TFHETestSuite8"; -export { TFHETestSuite8__factory } from "./factories/examples/tests/TFHETestSuite8__factory"; -export type { TFHETestSuite9 } from "./examples/tests/TFHETestSuite9"; -export { TFHETestSuite9__factory } from "./factories/examples/tests/TFHETestSuite9__factory"; -export type { TFHEExecutorUpgradedExample } from "./examples/TFHEExecutorUpgradedExample"; -export { TFHEExecutorUpgradedExample__factory } from "./factories/examples/TFHEExecutorUpgradedExample__factory"; -export type { SubContract } from "./examples/TracingSubCalls.sol/SubContract"; -export { SubContract__factory } from "./factories/examples/TracingSubCalls.sol/SubContract__factory"; -export type { SubContractCreate } from "./examples/TracingSubCalls.sol/SubContractCreate"; -export { SubContractCreate__factory } from "./factories/examples/TracingSubCalls.sol/SubContractCreate__factory"; -export type { SubContractCreateFail } from "./examples/TracingSubCalls.sol/SubContractCreateFail"; -export { SubContractCreateFail__factory } from "./factories/examples/TracingSubCalls.sol/SubContractCreateFail__factory"; -export type { TracingSubCalls } from "./examples/TracingSubCalls.sol/TracingSubCalls"; -export { TracingSubCalls__factory } from "./factories/examples/TracingSubCalls.sol/TracingSubCalls__factory"; -export type { GatewayContract } from "./gateway/GatewayContract"; -export { GatewayContract__factory } from "./factories/gateway/GatewayContract__factory"; -export type { IKMSVerifier } from "./gateway/IKMSVerifier"; -export { IKMSVerifier__factory } from "./factories/gateway/IKMSVerifier__factory"; -export type { IGatewayContract } from "./gateway/lib/Gateway.sol/IGatewayContract"; -export { IGatewayContract__factory } from "./factories/gateway/lib/Gateway.sol/IGatewayContract__factory"; -export type { IACL } from "./lib/Impl.sol/IACL"; -export { IACL__factory } from "./factories/lib/Impl.sol/IACL__factory"; -export type { ITFHEExecutor } from "./lib/Impl.sol/ITFHEExecutor"; -export { ITFHEExecutor__factory } from "./factories/lib/Impl.sol/ITFHEExecutor__factory"; -export type { IFHEPayment } from "./payment/Payment.sol/IFHEPayment"; -export { IFHEPayment__factory } from "./factories/payment/Payment.sol/IFHEPayment__factory"; diff --git a/contracts/types/lib/Impl.sol/IACL.ts b/contracts/types/lib/Impl.sol/IACL.ts deleted file mode 100644 index 40610bb0..00000000 --- a/contracts/types/lib/Impl.sol/IACL.ts +++ /dev/null @@ -1,173 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface IACLInterface extends Interface { - getFunction( - nameOrSignature: - | "allow" - | "allowForDecryption" - | "allowTransient" - | "cleanTransientStorage" - | "isAllowed" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "allow", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "allowForDecryption", - values: [BigNumberish[]] - ): string; - encodeFunctionData( - functionFragment: "allowTransient", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "cleanTransientStorage", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "isAllowed", - values: [BigNumberish, AddressLike] - ): string; - - decodeFunctionResult(functionFragment: "allow", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "allowForDecryption", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowTransient", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "cleanTransientStorage", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "isAllowed", data: BytesLike): Result; -} - -export interface IACL extends BaseContract { - connect(runner?: ContractRunner | null): IACL; - waitForDeployment(): Promise; - - interface: IACLInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - allow: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - allowForDecryption: TypedContractMethod< - [handlesList: BigNumberish[]], - [void], - "nonpayable" - >; - - allowTransient: TypedContractMethod< - [ciphertext: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - - cleanTransientStorage: TypedContractMethod<[], [void], "nonpayable">; - - isAllowed: TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "allow" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "allowForDecryption" - ): TypedContractMethod<[handlesList: BigNumberish[]], [void], "nonpayable">; - getFunction( - nameOrSignature: "allowTransient" - ): TypedContractMethod< - [ciphertext: BigNumberish, account: AddressLike], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "cleanTransientStorage" - ): TypedContractMethod<[], [void], "nonpayable">; - getFunction( - nameOrSignature: "isAllowed" - ): TypedContractMethod< - [handle: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - filters: {}; -} diff --git a/contracts/types/lib/Impl.sol/ITFHEExecutor.ts b/contracts/types/lib/Impl.sol/ITFHEExecutor.ts deleted file mode 100644 index 79cd1fa8..00000000 --- a/contracts/types/lib/Impl.sol/ITFHEExecutor.ts +++ /dev/null @@ -1,680 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface ITFHEExecutorInterface extends Interface { - getFunction( - nameOrSignature: - | "cast" - | "fheAdd" - | "fheBitAnd" - | "fheBitOr" - | "fheBitXor" - | "fheDiv" - | "fheEq(uint256,uint256,bytes1)" - | "fheEq(uint256,bytes,bytes1)" - | "fheGe" - | "fheGt" - | "fheIfThenElse" - | "fheLe" - | "fheLt" - | "fheMax" - | "fheMin" - | "fheMul" - | "fheNe(uint256,bytes,bytes1)" - | "fheNe(uint256,uint256,bytes1)" - | "fheNeg" - | "fheNot" - | "fheRand" - | "fheRandBounded" - | "fheRem" - | "fheRotl" - | "fheRotr" - | "fheShl" - | "fheShr" - | "fheSub" - | "trivialEncrypt(bytes,bytes1)" - | "trivialEncrypt(uint256,bytes1)" - | "verifyCiphertext" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "cast", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheAdd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitAnd", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitOr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheBitXor", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheDiv", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheEq(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheGt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheIfThenElse", - values: [BigNumberish, BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheLe", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheLt", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMax", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMin", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheMul", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,bytes,bytes1)", - values: [BigNumberish, BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNe(uint256,uint256,bytes1)", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheNeg", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "fheNot", - values: [BigNumberish] - ): string; - encodeFunctionData(functionFragment: "fheRand", values: [BytesLike]): string; - encodeFunctionData( - functionFragment: "fheRandBounded", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRem", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheRotr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShl", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheShr", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "fheSub", - values: [BigNumberish, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(bytes,bytes1)", - values: [BytesLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "trivialEncrypt(uint256,bytes1)", - values: [BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "verifyCiphertext", - values: [BytesLike, AddressLike, BytesLike, BytesLike] - ): string; - - decodeFunctionResult(functionFragment: "cast", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheAdd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitAnd", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitOr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheBitXor", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheDiv", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheEq(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheGe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheGt", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheIfThenElse", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheLe", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheLt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMax", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMin", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheMul", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "fheNe(uint256,uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheNeg", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheNot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRand", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "fheRandBounded", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "fheRem", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheRotr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShl", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheShr", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fheSub", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(bytes,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "trivialEncrypt(uint256,bytes1)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "verifyCiphertext", - data: BytesLike - ): Result; -} - -export interface ITFHEExecutor extends BaseContract { - connect(runner?: ContractRunner | null): ITFHEExecutor; - waitForDeployment(): Promise; - - interface: ITFHEExecutorInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - cast: TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - fheAdd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitAnd: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitOr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheBitXor: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheDiv: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheEq(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheGt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheIfThenElse: TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - - fheLe: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheLt: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMax: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMin: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheMul: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,bytes,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "fheNe(uint256,uint256,bytes1)": TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheNeg: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheNot: TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - - fheRand: TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - - fheRandBounded: TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - - fheRem: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheRotr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShl: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheShr: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - fheSub: TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - - "trivialEncrypt(bytes,bytes1)": TypedContractMethod< - [ct: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - - "trivialEncrypt(uint256,bytes1)": TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - - verifyCiphertext: TypedContractMethod< - [ - inputHandle: BytesLike, - callerAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "cast" - ): TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheAdd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitAnd" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitOr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheBitXor" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheDiv" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheEq(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheGt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheIfThenElse" - ): TypedContractMethod< - [control: BigNumberish, ifTrue: BigNumberish, ifFalse: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLe" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheLt" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMax" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMin" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheMul" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,bytes,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BytesLike, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNe(uint256,uint256,bytes1)" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheNeg" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheNot" - ): TypedContractMethod<[ct: BigNumberish], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRand" - ): TypedContractMethod<[randType: BytesLike], [bigint], "nonpayable">; - getFunction( - nameOrSignature: "fheRandBounded" - ): TypedContractMethod< - [upperBound: BigNumberish, randType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRem" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheRotr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShl" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheShr" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "fheSub" - ): TypedContractMethod< - [lhs: BigNumberish, rhs: BigNumberish, scalarByte: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "trivialEncrypt(bytes,bytes1)" - ): TypedContractMethod< - [ct: BytesLike, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "trivialEncrypt(uint256,bytes1)" - ): TypedContractMethod< - [ct: BigNumberish, toType: BytesLike], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "verifyCiphertext" - ): TypedContractMethod< - [ - inputHandle: BytesLike, - callerAddress: AddressLike, - inputProof: BytesLike, - inputType: BytesLike - ], - [bigint], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/lib/Impl.sol/index.ts b/contracts/types/lib/Impl.sol/index.ts deleted file mode 100644 index 860df4d7..00000000 --- a/contracts/types/lib/Impl.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IACL } from "./IACL"; -export type { ITFHEExecutor } from "./ITFHEExecutor"; diff --git a/contracts/types/lib/index.ts b/contracts/types/lib/index.ts deleted file mode 100644 index 1e85ed30..00000000 --- a/contracts/types/lib/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as implSol from "./Impl.sol"; -export type { implSol }; diff --git a/contracts/types/payment/Payment.sol/IFHEPayment.ts b/contracts/types/payment/Payment.sol/IFHEPayment.ts deleted file mode 100644 index 7ad43b9f..00000000 --- a/contracts/types/payment/Payment.sol/IFHEPayment.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedListener, - TypedContractMethod, -} from "../../common"; - -export interface IFHEPaymentInterface extends Interface { - getFunction( - nameOrSignature: "depositETH" | "getAvailableDepositsETH" | "withdrawETH" - ): FunctionFragment; - - encodeFunctionData( - functionFragment: "depositETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "getAvailableDepositsETH", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "withdrawETH", - values: [BigNumberish, AddressLike] - ): string; - - decodeFunctionResult(functionFragment: "depositETH", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getAvailableDepositsETH", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "withdrawETH", - data: BytesLike - ): Result; -} - -export interface IFHEPayment extends BaseContract { - connect(runner?: ContractRunner | null): IFHEPayment; - waitForDeployment(): Promise; - - interface: IFHEPaymentInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - depositETH: TypedContractMethod<[account: AddressLike], [void], "payable">; - - getAvailableDepositsETH: TypedContractMethod< - [account: AddressLike], - [bigint], - "view" - >; - - withdrawETH: TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "depositETH" - ): TypedContractMethod<[account: AddressLike], [void], "payable">; - getFunction( - nameOrSignature: "getAvailableDepositsETH" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "withdrawETH" - ): TypedContractMethod< - [amount: BigNumberish, receiver: AddressLike], - [void], - "nonpayable" - >; - - filters: {}; -} diff --git a/contracts/types/payment/Payment.sol/index.ts b/contracts/types/payment/Payment.sol/index.ts deleted file mode 100644 index 20e1b26f..00000000 --- a/contracts/types/payment/Payment.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IFHEPayment } from "./IFHEPayment"; diff --git a/contracts/types/payment/index.ts b/contracts/types/payment/index.ts deleted file mode 100644 index 60f4aa44..00000000 --- a/contracts/types/payment/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as paymentSol from "./Payment.sol"; -export type { paymentSol };