const SimpleAccountAbi_v7: readonly [
{
inputs: readonly [
{
internalType: "contract IEntryPoint";
name: "anEntryPoint";
type: "address";
},
];
stateMutability: "nonpayable";
type: "constructor";
},
{
inputs: readonly [
{
internalType: "address";
name: "target";
type: "address";
},
];
name: "AddressEmptyCode";
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 [
{
internalType: "address";
name: "implementation";
type: "address";
},
];
name: "ERC1967InvalidImplementation";
type: "error";
},
{
inputs: readonly [];
name: "ERC1967NonPayable";
type: "error";
},
{
inputs: readonly [];
name: "FailedInnerCall";
type: "error";
},
{
inputs: readonly [];
name: "InvalidInitialization";
type: "error";
},
{
inputs: readonly [];
name: "NotInitializing";
type: "error";
},
{
inputs: readonly [];
name: "UUPSUnauthorizedCallContext";
type: "error";
},
{
inputs: readonly [
{
internalType: "bytes32";
name: "slot";
type: "bytes32";
},
];
name: "UUPSUnsupportedProxiableUUID";
type: "error";
},
{
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: "SimpleAccountInitialized";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "implementation";
type: "address";
},
];
name: "Upgraded";
type: "event";
},
{
inputs: readonly [];
name: "UPGRADE_INTERFACE_VERSION";
outputs: readonly [
{
internalType: "string";
name: "";
type: "string";
},
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "addDeposit";
outputs: readonly [];
stateMutability: "payable";
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: "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: "anOwner";
type: "address";
},
];
name: "initialize";
outputs: readonly [];
stateMutability: "nonpayable";
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: "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";
},
{
stateMutability: "payable";
type: "receive";
},
];Defined in: aa-sdk/core/src/abis/SimpleAccountAbi_v7.ts:1