Skip to content
Alchemy Logo

AccountVersionRegistry

const AccountVersionRegistry: object;

Defined in: packages/smart-accounts/src/light-account/registry.ts:19

Account version registry interface that defines the light account versions and the version definition for each light account type

NameTypeDefault value

LightAccount

object

LightAccount.v1.0.1

LightAccountV1StaticImpl

lightAccountStaticImplV1_0_1

LightAccount.v1.0.2

LightAccountV1StaticImpl

lightAccountStaticImplV1_0_2

LightAccount.v1.1.0

LightAccountV1StaticImpl

lightAccountStaticImplV1_1_0

LightAccount.v2.0.0

StaticSmartAccountImplementation<false, "0.7", LightAccountFactoryArgs, readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }], readonly [{ inputs: readonly [{ internalType: "contract IEntryPoint"; name: "entryPoint_"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "addDeposit"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly []; name: "eip712Domain"; outputs: readonly [{ 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: readonly []; name: "entryPoint"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "dest"; type: "address"; }, { internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "bytes"; name: "func"; type: "bytes"; }]; name: "execute"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "uint256[]"; name: "value"; type: "uint256[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "getDeposit"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getNonce"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner_"; type: "address"; }]; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "hash"; type: "bytes32"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; name: "isValidSignature"; outputs: readonly [{ internalType: "bytes4"; name: "result"; type: "bytes4"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }, { internalType: "address"; name: ""; type: "address"; }, { internalType: "uint256"; name: ""; type: "uint256"; }, { internalType: "bytes"; name: ""; type: "bytes"; }]; name: "onERC721Received"; outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "proxiableUUID"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newImplementation"; type: "address"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "upgradeToAndCall"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ components: readonly [{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32"; }, { internalType: "uint256"; name: "preVerificationGas"; type: "uint256"; }, { internalType: "bytes32"; name: "gasFees"; type: "bytes32"; }, { internalType: "bytes"; name: "paymasterAndData"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; internalType: "struct PackedUserOperation"; name: "userOp"; type: "tuple"; }, { internalType: "bytes32"; name: "userOpHash"; type: "bytes32"; }, { internalType: "uint256"; name: "missingAccountFunds"; type: "uint256"; }]; name: "validateUserOp"; outputs: readonly [{ internalType: "uint256"; name: "validationData"; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "withdrawAddress"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdrawDepositTo"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "uint64"; name: "version"; type: "uint64"; }]; name: "Initialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }, { indexed: true; internalType: "address"; name: "owner"; type: "address"; }]; name: "LightAccountInitialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "implementation"; type: "address"; }]; name: "Upgraded"; type: "event"; }, { inputs: readonly []; name: "ArrayLengthMismatch"; type: "error"; }, { inputs: readonly []; name: "ECDSAInvalidSignature"; type: "error"; }, { inputs: readonly [{ internalType: "uint256"; name: "length"; type: "uint256"; }]; name: "ECDSAInvalidSignatureLength"; type: "error"; }, { inputs: readonly [{ internalType: "bytes32"; name: "s"; type: "bytes32"; }]; name: "ECDSAInvalidSignatureS"; type: "error"; }, { inputs: readonly []; name: "InvalidInitialization"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "InvalidOwner"; type: "error"; }, { inputs: readonly []; name: "InvalidSignatureType"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "caller"; type: "address"; }]; name: "NotAuthorized"; type: "error"; }, { inputs: readonly []; name: "NotInitializing"; type: "error"; }, { inputs: readonly []; name: "UnauthorizedCallContext"; type: "error"; }, { inputs: readonly []; name: "UpgradeFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }], readonly [{ inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "ACCOUNT_IMPLEMENTATION"; outputs: readonly [{ internalType: "contract LightAccount"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "ENTRY_POINT"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "acceptOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "uint32"; name: "unstakeDelay"; type: "uint32"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "addStake"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "createAccount"; outputs: readonly [{ internalType: "contract LightAccount"; name: "account"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "getAddress"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "pendingOwner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "renounceOwnership"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "unlockStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }, { internalType: "address"; name: "token"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdraw"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }]; name: "withdrawStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferStarted"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "target"; type: "address"; }]; name: "AddressEmptyCode"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "AddressInsufficientBalance"; type: "error"; }, { inputs: readonly []; name: "FailedInnerCall"; type: "error"; }, { inputs: readonly []; name: "InvalidAction"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "entryPoint"; type: "address"; }]; name: "InvalidEntryPoint"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnableInvalidOwner"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "OwnableUnauthorizedAccount"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "token"; type: "address"; }]; name: "SafeERC20FailedOperation"; type: "error"; }, { inputs: readonly []; name: "TransferFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }]>

lightAccountStaticImplV2_0_0

LightAccount.v2.1.0

StaticSmartAccountImplementation<false, "0.8", LightAccountFactoryArgs, readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }], readonly [{ inputs: readonly [{ internalType: "contract IEntryPoint"; name: "entryPoint_"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "addDeposit"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly []; name: "eip712Domain"; outputs: readonly [{ 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: readonly []; name: "entryPoint"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "dest"; type: "address"; }, { internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "bytes"; name: "func"; type: "bytes"; }]; name: "execute"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "uint256[]"; name: "value"; type: "uint256[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "getDeposit"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getNonce"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner_"; type: "address"; }]; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "hash"; type: "bytes32"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; name: "isValidSignature"; outputs: readonly [{ internalType: "bytes4"; name: "result"; type: "bytes4"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }, { internalType: "address"; name: ""; type: "address"; }, { internalType: "uint256"; name: ""; type: "uint256"; }, { internalType: "bytes"; name: ""; type: "bytes"; }]; name: "onERC721Received"; outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "proxiableUUID"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newImplementation"; type: "address"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "upgradeToAndCall"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ components: readonly [{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32"; }, { internalType: "uint256"; name: "preVerificationGas"; type: "uint256"; }, { internalType: "bytes32"; name: "gasFees"; type: "bytes32"; }, { internalType: "bytes"; name: "paymasterAndData"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; internalType: "struct PackedUserOperation"; name: "userOp"; type: "tuple"; }, { internalType: "bytes32"; name: "userOpHash"; type: "bytes32"; }, { internalType: "uint256"; name: "missingAccountFunds"; type: "uint256"; }]; name: "validateUserOp"; outputs: readonly [{ internalType: "uint256"; name: "validationData"; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "withdrawAddress"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdrawDepositTo"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "uint64"; name: "version"; type: "uint64"; }]; name: "Initialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }, { indexed: true; internalType: "address"; name: "owner"; type: "address"; }]; name: "LightAccountInitialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "implementation"; type: "address"; }]; name: "Upgraded"; type: "event"; }, { inputs: readonly []; name: "ArrayLengthMismatch"; type: "error"; }, { inputs: readonly []; name: "ECDSAInvalidSignature"; type: "error"; }, { inputs: readonly [{ internalType: "uint256"; name: "length"; type: "uint256"; }]; name: "ECDSAInvalidSignatureLength"; type: "error"; }, { inputs: readonly [{ internalType: "bytes32"; name: "s"; type: "bytes32"; }]; name: "ECDSAInvalidSignatureS"; type: "error"; }, { inputs: readonly []; name: "InvalidInitialization"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "InvalidOwner"; type: "error"; }, { inputs: readonly []; name: "InvalidSignatureType"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "caller"; type: "address"; }]; name: "NotAuthorized"; type: "error"; }, { inputs: readonly []; name: "NotInitializing"; type: "error"; }, { inputs: readonly []; name: "UnauthorizedCallContext"; type: "error"; }, { inputs: readonly []; name: "UpgradeFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }], readonly [{ inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "ACCOUNT_IMPLEMENTATION"; outputs: readonly [{ internalType: "contract LightAccount"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "ENTRY_POINT"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "acceptOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "uint32"; name: "unstakeDelay"; type: "uint32"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "addStake"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "createAccount"; outputs: readonly [{ internalType: "contract LightAccount"; name: "account"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "getAddress"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "pendingOwner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "renounceOwnership"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "unlockStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }, { internalType: "address"; name: "token"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdraw"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }]; name: "withdrawStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferStarted"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "target"; type: "address"; }]; name: "AddressEmptyCode"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "AddressInsufficientBalance"; type: "error"; }, { inputs: readonly []; name: "FailedInnerCall"; type: "error"; }, { inputs: readonly []; name: "InvalidAction"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "entryPoint"; type: "address"; }]; name: "InvalidEntryPoint"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnableInvalidOwner"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "OwnableUnauthorizedAccount"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "token"; type: "address"; }]; name: "SafeERC20FailedOperation"; type: "error"; }, { inputs: readonly []; name: "TransferFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }]>

lightAccountStaticImplV2_1_0

LightAccount.v2.2.0

StaticSmartAccountImplementation<false, "0.9", LightAccountFactoryArgs, readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }], readonly [{ inputs: readonly [{ internalType: "contract IEntryPoint"; name: "entryPoint_"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "addDeposit"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly []; name: "eip712Domain"; outputs: readonly [{ 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: readonly []; name: "entryPoint"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "dest"; type: "address"; }, { internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "bytes"; name: "func"; type: "bytes"; }]; name: "execute"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "uint256[]"; name: "value"; type: "uint256[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "getDeposit"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getNonce"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner_"; type: "address"; }]; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "hash"; type: "bytes32"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; name: "isValidSignature"; outputs: readonly [{ internalType: "bytes4"; name: "result"; type: "bytes4"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }, { internalType: "address"; name: ""; type: "address"; }, { internalType: "uint256"; name: ""; type: "uint256"; }, { internalType: "bytes"; name: ""; type: "bytes"; }]; name: "onERC721Received"; outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "proxiableUUID"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newImplementation"; type: "address"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "upgradeToAndCall"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ components: readonly [{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32"; }, { internalType: "uint256"; name: "preVerificationGas"; type: "uint256"; }, { internalType: "bytes32"; name: "gasFees"; type: "bytes32"; }, { internalType: "bytes"; name: "paymasterAndData"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; internalType: "struct PackedUserOperation"; name: "userOp"; type: "tuple"; }, { internalType: "bytes32"; name: "userOpHash"; type: "bytes32"; }, { internalType: "uint256"; name: "missingAccountFunds"; type: "uint256"; }]; name: "validateUserOp"; outputs: readonly [{ internalType: "uint256"; name: "validationData"; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "withdrawAddress"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdrawDepositTo"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "uint64"; name: "version"; type: "uint64"; }]; name: "Initialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }, { indexed: true; internalType: "address"; name: "owner"; type: "address"; }]; name: "LightAccountInitialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "implementation"; type: "address"; }]; name: "Upgraded"; type: "event"; }, { inputs: readonly []; name: "ArrayLengthMismatch"; type: "error"; }, { inputs: readonly []; name: "ECDSAInvalidSignature"; type: "error"; }, { inputs: readonly [{ internalType: "uint256"; name: "length"; type: "uint256"; }]; name: "ECDSAInvalidSignatureLength"; type: "error"; }, { inputs: readonly [{ internalType: "bytes32"; name: "s"; type: "bytes32"; }]; name: "ECDSAInvalidSignatureS"; type: "error"; }, { inputs: readonly []; name: "InvalidInitialization"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "InvalidOwner"; type: "error"; }, { inputs: readonly []; name: "InvalidSignatureType"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "caller"; type: "address"; }]; name: "NotAuthorized"; type: "error"; }, { inputs: readonly []; name: "NotInitializing"; type: "error"; }, { inputs: readonly []; name: "UnauthorizedCallContext"; type: "error"; }, { inputs: readonly []; name: "UpgradeFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }], readonly [{ inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "ACCOUNT_IMPLEMENTATION"; outputs: readonly [{ internalType: "contract LightAccount"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "ENTRY_POINT"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "acceptOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "uint32"; name: "unstakeDelay"; type: "uint32"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "addStake"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "createAccount"; outputs: readonly [{ internalType: "contract LightAccount"; name: "account"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "getAddress"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "pendingOwner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "renounceOwnership"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "unlockStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }, { internalType: "address"; name: "token"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdraw"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }]; name: "withdrawStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferStarted"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "target"; type: "address"; }]; name: "AddressEmptyCode"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "AddressInsufficientBalance"; type: "error"; }, { inputs: readonly []; name: "FailedInnerCall"; type: "error"; }, { inputs: readonly []; name: "InvalidAction"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "entryPoint"; type: "address"; }]; name: "InvalidEntryPoint"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnableInvalidOwner"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "OwnableUnauthorizedAccount"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "token"; type: "address"; }]; name: "SafeERC20FailedOperation"; type: "error"; }, { inputs: readonly []; name: "TransferFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }]>

lightAccountStaticImplV2_2_0

MultiOwnerLightAccount

object

MultiOwnerLightAccount.v2.0.0

StaticSmartAccountImplementation<false, "0.7", MultiOwnerLightAccountFactoryArgs, readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }], readonly [{ inputs: readonly [{ internalType: "contract IEntryPoint"; name: "entryPoint_"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "addDeposit"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly []; name: "eip712Domain"; outputs: readonly [{ 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: readonly []; name: "entryPoint"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "dest"; type: "address"; }, { internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "bytes"; name: "func"; type: "bytes"; }]; name: "execute"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "dest"; type: "address[]"; }, { internalType: "uint256[]"; name: "value"; type: "uint256[]"; }, { internalType: "bytes[]"; name: "func"; type: "bytes[]"; }]; name: "executeBatch"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "getDeposit"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getNonce"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "owners_"; type: "address[]"; }]; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "hash"; type: "bytes32"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; name: "isValidSignature"; outputs: readonly [{ internalType: "bytes4"; name: "result"; type: "bytes4"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ 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: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }, { internalType: "address"; name: ""; type: "address"; }, { internalType: "uint256"; name: ""; type: "uint256"; }, { internalType: "bytes"; name: ""; type: "bytes"; }]; name: "onERC721Received"; outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "owners"; outputs: readonly [{ internalType: "address[]"; name: ""; type: "address[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "proxiableUUID"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes4"; name: "interfaceId"; type: "bytes4"; }]; name: "supportsInterface"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "ownersToAdd"; type: "address[]"; }, { internalType: "address[]"; name: "ownersToRemove"; type: "address[]"; }]; name: "updateOwners"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newImplementation"; type: "address"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; name: "upgradeToAndCall"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ components: readonly [{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32"; }, { internalType: "uint256"; name: "preVerificationGas"; type: "uint256"; }, { internalType: "bytes32"; name: "gasFees"; type: "bytes32"; }, { internalType: "bytes"; name: "paymasterAndData"; type: "bytes"; }, { internalType: "bytes"; name: "signature"; type: "bytes"; }]; internalType: "struct PackedUserOperation"; name: "userOp"; type: "tuple"; }, { internalType: "bytes32"; name: "userOpHash"; type: "bytes32"; }, { internalType: "uint256"; name: "missingAccountFunds"; type: "uint256"; }]; name: "validateUserOp"; outputs: readonly [{ internalType: "uint256"; name: "validationData"; type: "uint256"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "withdrawAddress"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdrawDepositTo"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "uint64"; name: "version"; type: "uint64"; }]; name: "Initialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }, { indexed: false; internalType: "address[]"; name: "owners"; type: "address[]"; }]; name: "LightAccountInitialized"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: false; internalType: "address[]"; name: "addedOwners"; type: "address[]"; }, { indexed: false; internalType: "address[]"; name: "removedOwners"; type: "address[]"; }]; name: "OwnersUpdated"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "implementation"; type: "address"; }]; name: "Upgraded"; type: "event"; }, { inputs: readonly []; name: "ArrayLengthMismatch"; type: "error"; }, { inputs: readonly []; name: "ECDSAInvalidSignature"; type: "error"; }, { inputs: readonly [{ internalType: "uint256"; name: "length"; type: "uint256"; }]; name: "ECDSAInvalidSignatureLength"; type: "error"; }, { inputs: readonly [{ internalType: "bytes32"; name: "s"; type: "bytes32"; }]; name: "ECDSAInvalidSignatureS"; type: "error"; }, { inputs: readonly []; name: "EmptyOwnersNotAllowed"; type: "error"; }, { inputs: readonly []; name: "InvalidInitialization"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "InvalidOwner"; type: "error"; }, { inputs: readonly []; name: "InvalidSignatureType"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "caller"; type: "address"; }]; name: "NotAuthorized"; type: "error"; }, { inputs: readonly []; name: "NotInitializing"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnerDoesNotExist"; type: "error"; }, { inputs: readonly []; name: "UnauthorizedCallContext"; type: "error"; }, { inputs: readonly []; name: "UpgradeFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }], readonly [{ inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "contract IEntryPoint"; name: "entryPoint"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { stateMutability: "payable"; type: "receive"; }, { inputs: readonly []; name: "ACCOUNT_IMPLEMENTATION"; outputs: readonly [{ internalType: "contract MultiOwnerLightAccount"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "ENTRY_POINT"; outputs: readonly [{ internalType: "contract IEntryPoint"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "acceptOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "uint32"; name: "unstakeDelay"; type: "uint32"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "addStake"; outputs: readonly []; stateMutability: "payable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "owners"; type: "address[]"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "createAccount"; outputs: readonly [{ internalType: "contract MultiOwnerLightAccount"; name: "account"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "createAccountSingle"; outputs: readonly [{ internalType: "contract MultiOwnerLightAccount"; name: "account"; type: "address"; }]; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address[]"; name: "owners"; type: "address[]"; }, { internalType: "uint256"; name: "salt"; type: "uint256"; }]; name: "getAddress"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "owner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "pendingOwner"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "renounceOwnership"; outputs: readonly []; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "newOwner"; type: "address"; }]; name: "transferOwnership"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "unlockStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }, { internalType: "address"; name: "token"; type: "address"; }, { internalType: "uint256"; name: "amount"; type: "uint256"; }]; name: "withdraw"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address payable"; name: "to"; type: "address"; }]; name: "withdrawStake"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferStarted"; type: "event"; }, { anonymous: false; inputs: readonly [{ indexed: true; internalType: "address"; name: "previousOwner"; type: "address"; }, { indexed: true; internalType: "address"; name: "newOwner"; type: "address"; }]; name: "OwnershipTransferred"; type: "event"; }, { inputs: readonly [{ internalType: "address"; name: "target"; type: "address"; }]; name: "AddressEmptyCode"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "AddressInsufficientBalance"; type: "error"; }, { inputs: readonly []; name: "FailedInnerCall"; type: "error"; }, { inputs: readonly []; name: "InvalidAction"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "entryPoint"; type: "address"; }]; name: "InvalidEntryPoint"; type: "error"; }, { inputs: readonly []; name: "InvalidOwners"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "owner"; type: "address"; }]; name: "OwnableInvalidOwner"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "account"; type: "address"; }]; name: "OwnableUnauthorizedAccount"; type: "error"; }, { inputs: readonly []; name: "OwnersArrayEmpty"; type: "error"; }, { inputs: readonly []; name: "OwnersLimitExceeded"; type: "error"; }, { inputs: readonly [{ internalType: "address"; name: "token"; type: "address"; }]; name: "SafeERC20FailedOperation"; type: "error"; }, { inputs: readonly []; name: "TransferFailed"; type: "error"; }, { inputs: readonly []; name: "ZeroAddressNotAllowed"; type: "error"; }]>

multiOwnerLightAccountStaticImplV2_0_0

Was this page helpful?