export const abi = [ { inputs: [ { internalType: 'address', name: 'smartAccount', type: 'address' }, ], name: 'AlreadyInitialized', type: 'error', }, { inputs: [], name: 'FlashloanCallbackFailed', type: 'error' }, { inputs: [], name: 'HookInvalidSelector', type: 'error' }, { inputs: [ { internalType: 'bytes32', name: 'executionHash', type: 'bytes32' }, ], name: 'InvalidExecutionHash', type: 'error', }, { inputs: [], name: 'InvalidOwner', type: 'error' }, { inputs: [], name: 'InvalidTransferReceiver', type: 'error' }, { inputs: [], name: 'InvalidWaitPeriod', type: 'error' }, { inputs: [ { internalType: 'address', name: 'smartAccount', type: 'address' }, ], name: 'NotInitialized', type: 'error', }, { inputs: [], name: 'TokenNotRepaid', type: 'error' }, { inputs: [], name: 'UnauthorizedAccess', type: 'error' }, { inputs: [], name: 'UnsupportedExecution', type: 'error' }, { inputs: [], name: 'UnsupportedTokenType', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'subAccount', type: 'address', }, { indexed: false, internalType: 'bytes32', name: 'hash', type: 'bytes32', }, ], name: 'TimelockExecuted', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'subAccount', type: 'address', }, { indexed: false, internalType: 'bytes32', name: 'hash', type: 'bytes32', }, { indexed: false, internalType: 'uint256', name: 'executeAfter', type: 'uint256', }, ], name: 'TimelockRequested', type: 'event', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'uint256', name: 'tokenId', type: 'uint256' }, ], name: 'availableForFlashLoan', outputs: [{ internalType: 'bool', name: 'hasToken', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'account', type: 'address' }, { internalType: 'bytes32', name: 'hash', type: 'bytes32' }, ], name: 'checkHash', outputs: [ { internalType: 'bytes32', name: 'executeAfter', type: 'bytes32' }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'clearTrustedForwarder', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'uint256', name: 'amount', type: 'uint256' }, ], name: 'flashFee', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'flashFeeToken', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'contract IERC3156FlashBorrower', name: 'receiver', type: 'address', }, { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, ], name: 'flashLoan', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'smartAccount', type: 'address' }, ], name: 'isInitialized', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'uint256', name: 'typeID', type: 'uint256' }], name: 'isModuleType', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'pure', type: 'function', }, { inputs: [ { internalType: 'address', name: 'forwarder', type: 'address' }, { internalType: 'address', name: 'account', type: 'address' }, ], name: 'isTrustedForwarder', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'maxFlashLoan', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'name', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'pure', type: 'function', }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'nonce', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'bytes', name: 'data', type: 'bytes' }], name: 'onInstall', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'bytes', name: '', type: 'bytes' }], name: 'onUninstall', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'bytes', name: 'hookData', type: 'bytes' }], name: 'postCheck', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'msgSender', type: 'address' }, { internalType: 'uint256', name: 'msgValue', type: 'uint256' }, { internalType: 'bytes', name: 'msgData', type: 'bytes' }, ], name: 'preCheck', outputs: [{ internalType: 'bytes', name: 'hookData', type: 'bytes' }], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { components: [ { internalType: 'address', name: 'target', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'bytes', name: 'callData', type: 'bytes' }, ], internalType: 'struct Execution', name: '_exec', type: 'tuple', }, { internalType: 'uint256', name: 'additionalWait', type: 'uint256' }, ], name: 'requestTimelockedExecution', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'uint256', name: 'moduleTypeId', type: 'uint256' }, { internalType: 'address', name: 'module', type: 'address' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, { internalType: 'bool', name: 'isInstall', type: 'bool' }, { internalType: 'uint256', name: 'additionalWait', type: 'uint256' }, ], name: 'requestTimelockedModuleConfig', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'forwarder', type: 'address' }], name: 'setTrustedForwarder', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'uint256', name: 'waitPeriod', type: 'uint256' }], name: 'setWaitPeriod', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'trustedForwarder', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'subAccount', type: 'address' }], name: 'vaultConfig', outputs: [ { internalType: 'uint128', name: 'waitPeriod', type: 'uint128' }, { internalType: 'address', name: 'owner', type: 'address' }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'version', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'pure', type: 'function', }, ]