export const KernelAccountAbi = [ { inputs: [ { internalType: "contract IEntryPoint", name: "_entryPoint", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldValidator", type: "address", }, { indexed: true, internalType: "address", name: "newValidator", type: "address", }, ], name: "DefaultValidatorChanged", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes4", name: "selector", type: "bytes4", }, { indexed: true, internalType: "address", name: "executor", type: "address", }, { indexed: true, internalType: "address", name: "validator", type: "address", }, ], name: "ExecutionChanged", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newImplementation", type: "address", }, ], name: "Upgraded", type: "event", }, { stateMutability: "payable", type: "fallback", }, { inputs: [ { internalType: "bytes4", name: "_disableFlag", type: "bytes4", }, ], name: "disableMode", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "entryPoint", outputs: [ { internalType: "contract IEntryPoint", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "data", type: "bytes", }, { internalType: "enum Operation", name: "operation", type: "uint8", }, ], name: "execute", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getDefaultValidator", outputs: [ { internalType: "contract IKernelValidator", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getDisabledMode", outputs: [ { internalType: "bytes4", name: "", type: "bytes4", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes4", name: "_selector", type: "bytes4", }, ], name: "getExecution", outputs: [ { components: [ { internalType: "uint48", name: "validUntil", type: "uint48", }, { internalType: "uint48", name: "validAfter", type: "uint48", }, { internalType: "address", name: "executor", type: "address", }, { internalType: "contract IKernelValidator", name: "validator", type: "address", }, ], internalType: "struct ExecutionDetail", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getLastDisabledTime", outputs: [ { internalType: "uint48", name: "", type: "uint48", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint192", name: "key", type: "uint192", }, ], name: "getNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "contract IKernelValidator", name: "_defaultValidator", type: "address", }, { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, { internalType: "address", name: "", type: "address", }, { internalType: "uint256[]", name: "", type: "uint256[]", }, { internalType: "uint256[]", name: "", type: "uint256[]", }, { internalType: "bytes", name: "", type: "bytes", }, ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, { internalType: "address", name: "", type: "address", }, { internalType: "uint256", name: "", type: "uint256", }, { internalType: "uint256", name: "", type: "uint256", }, { internalType: "bytes", name: "", type: "bytes", }, ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, { internalType: "address", name: "", type: "address", }, { internalType: "uint256", name: "", type: "uint256", }, { internalType: "bytes", name: "", type: "bytes", }, ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "contract IKernelValidator", name: "_defaultValidator", type: "address", }, { internalType: "bytes", name: "_data", type: "bytes", }, ], name: "setDefaultValidator", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes4", name: "_selector", type: "bytes4", }, { internalType: "address", name: "_executor", type: "address", }, { internalType: "contract IKernelValidator", name: "_validator", type: "address", }, { internalType: "uint48", name: "_validUntil", type: "uint48", }, { internalType: "uint48", name: "_validAfter", type: "uint48", }, { internalType: "bytes", name: "_enableData", type: "bytes", }, ], name: "setExecution", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_newImplementation", type: "address", }, ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", 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: "missingAccountFunds", type: "uint256", }, ], name: "validateUserOp", outputs: [ { internalType: "uint256", name: "validationData", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { stateMutability: "payable", type: "receive", }, ] as const;