@getclave/permissionless
Version:
A utility library for working with ERC-4337
129 lines (127 loc) • 3.06 kB
text/typescript
export const FactoryAbi = [
{
inputs: [
{
internalType: "address",
name: "moduleSetupContract",
type: "address"
},
{
internalType: "bytes",
name: "moduleSetupData",
type: "bytes"
},
{
internalType: "uint256",
name: "index",
type: "uint256"
}
],
name: "deployCounterFactualAccount",
outputs: [
{
internalType: "address",
name: "proxy",
type: "address"
}
],
stateMutability: "nonpayable",
type: "function"
}
] as const
export const BiconomyAbi = [
{
inputs: [
{
internalType: "address",
name: "handler",
type: "address"
},
{
internalType: "address",
name: "moduleSetupContract",
type: "address"
},
{
internalType: "bytes",
name: "moduleSetupData",
type: "bytes"
}
],
name: "init",
outputs: [
{
internalType: "address",
name: "",
type: "address"
}
],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address",
name: "eoaOwner",
type: "address"
}
],
name: "initForSmartAccount",
outputs: [
{
internalType: "address",
name: "",
type: "address"
}
],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address",
name: "dest",
type: "address"
},
{
internalType: "uint256",
name: "value",
type: "uint256"
},
{
internalType: "bytes",
name: "func",
type: "bytes"
}
],
name: "execute_ncC",
outputs: [],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address[]",
name: "dest",
type: "address[]"
},
{
internalType: "uint256[]",
name: "value",
type: "uint256[]"
},
{
internalType: "bytes[]",
name: "func",
type: "bytes[]"
}
],
name: "executeBatch_y6U",
outputs: [],
stateMutability: "nonpayable",
type: "function"
}
] as const