/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { IKernelValidator, IKernelValidatorInterface, } from "../IKernelValidator"; const _abi = [ { inputs: [ { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "disable", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "enable", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "caller", type: "address", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "validCaller", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "validateSignature", outputs: [ { internalType: "ValidationData", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { components: [ { internalType: "address", name: "sender", type: "address", }, { internalType: "uint256", name: "nonce", type: "uint256", }, { internalType: "bytes", name: "initCode", type: "bytes", }, { internalType: "bytes", name: "callData", type: "bytes", }, { internalType: "uint256", name: "callGasLimit", type: "uint256", }, { internalType: "uint256", name: "verificationGasLimit", type: "uint256", }, { internalType: "uint256", name: "preVerificationGas", type: "uint256", }, { internalType: "uint256", name: "maxFeePerGas", type: "uint256", }, { internalType: "uint256", name: "maxPriorityFeePerGas", type: "uint256", }, { internalType: "bytes", name: "paymasterAndData", type: "bytes", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], internalType: "struct UserOperation", name: "userOp", type: "tuple", }, { internalType: "bytes32", name: "userOpHash", type: "bytes32", }, { internalType: "uint256", name: "missingFunds", type: "uint256", }, ], name: "validateUserOp", outputs: [ { internalType: "ValidationData", name: "", type: "uint256", }, ], stateMutability: "payable", type: "function", }, ] as const; export class IKernelValidator__factory { static readonly abi = _abi; static createInterface(): IKernelValidatorInterface { return new utils.Interface(_abi) as IKernelValidatorInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IKernelValidator { return new Contract(address, _abi, signerOrProvider) as IKernelValidator; } }