@etherspot/prime-sdk
Version:
Etherspot Prime (Account Abstraction) SDK
78 lines (77 loc) • 1.86 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.SimpleAccountFactoryAbi = void 0;
exports.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",
},
];
;