UNPKG

@alchemy/aa-core

Version:

viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

75 lines (74 loc) 1.36 kB
export const SimpleAccountFactoryAbi = [ { inputs: [ { internalType: "contract IEntryPoint", name: "_entryPoint", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "accountImplementation", outputs: [ { internalType: "contract SimpleAccount", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "uint256", name: "salt", type: "uint256", }, ], name: "createAccount", outputs: [ { internalType: "contract SimpleAccount", name: "ret", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "uint256", name: "salt", type: "uint256", }, ], name: "getAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ] as const;