export const webauthnValidationModuleAbi = [ { type: "constructor", inputs: [ { name: "_entryPoint", type: "address", internalType: "contract IEntryPoint", }, { name: "_accountImpl", type: "address", internalType: "contract ModularAccount", }, { name: "_webauthnValidationModule", type: "address", internalType: "address", }, { name: "owner", type: "address", internalType: "address", }, ], stateMutability: "nonpayable", }, { type: "function", name: "ACCOUNT_IMPL", inputs: [], outputs: [ { name: "", type: "address", internalType: "contract ModularAccount", }, ], stateMutability: "view", }, { type: "function", name: "ENTRY_POINT", inputs: [], outputs: [ { name: "", type: "address", internalType: "contract IEntryPoint", }, ], stateMutability: "view", }, { type: "function", name: "WEBAUTHN_VALIDATION_MODULE", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "addStake", inputs: [ { name: "unstakeDelay", type: "uint32", internalType: "uint32", }, ], outputs: [], stateMutability: "payable", }, { type: "function", name: "createAccount", inputs: [ { name: "ownerX", type: "uint256", internalType: "uint256", }, { name: "ownerY", type: "uint256", internalType: "uint256", }, { name: "salt", type: "uint256", internalType: "uint256", }, { name: "entityId", type: "uint32", internalType: "uint32", }, ], outputs: [ { name: "", type: "address", internalType: "contract ModularAccount", }, ], stateMutability: "nonpayable", }, { type: "function", name: "getAddress", inputs: [ { name: "ownerX", type: "uint256", internalType: "uint256", }, { name: "ownerY", type: "uint256", internalType: "uint256", }, { name: "salt", type: "uint256", internalType: "uint256", }, { name: "entityId", type: "uint32", internalType: "uint32", }, ], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "getSalt", inputs: [ { name: "ownerX", type: "uint256", internalType: "uint256", }, { name: "ownerY", type: "uint256", internalType: "uint256", }, { name: "salt", type: "uint256", internalType: "uint256", }, { name: "entityId", type: "uint32", internalType: "uint32", }, ], outputs: [ { name: "", type: "bytes32", internalType: "bytes32", }, ], stateMutability: "pure", }, { type: "function", name: "owner", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "renounceOwnership", inputs: [], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "transferOwnership", inputs: [ { name: "newOwner", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "unlockStake", inputs: [], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "withdraw", inputs: [ { name: "to", type: "address", internalType: "address payable", }, { name: "token", type: "address", internalType: "address", }, { name: "amount", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "withdrawStake", inputs: [ { name: "withdrawAddress", type: "address", internalType: "address payable", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "event", name: "ModularAccountDeployed", inputs: [ { name: "account", type: "address", indexed: true, internalType: "address", }, { name: "ownerX", type: "uint256", indexed: true, internalType: "uint256", }, { name: "ownerY", type: "uint256", indexed: true, internalType: "uint256", }, { name: "salt", type: "uint256", indexed: false, internalType: "uint256", }, ], anonymous: false, }, { type: "event", name: "OwnershipTransferred", inputs: [ { name: "previousOwner", type: "address", indexed: true, internalType: "address", }, { name: "newOwner", type: "address", indexed: true, internalType: "address", }, ], anonymous: false, }, { type: "error", name: "AddressEmptyCode", inputs: [ { name: "target", type: "address", internalType: "address", }, ], }, { type: "error", name: "AddressInsufficientBalance", inputs: [ { name: "account", type: "address", internalType: "address", }, ], }, { type: "error", name: "FailedInnerCall", inputs: [], }, { type: "error", name: "OwnableInvalidOwner", inputs: [ { name: "owner", type: "address", internalType: "address", }, ], }, { type: "error", name: "OwnableUnauthorizedAccount", inputs: [ { name: "account", type: "address", internalType: "address", }, ], }, { type: "error", name: "SafeERC20FailedOperation", inputs: [ { name: "token", type: "address", internalType: "address", }, ], }, { type: "error", name: "TransferFailed", inputs: [], }, ] as const;