@zerodev/sdk
Version:
A utility library for working with ERC-4337
49 lines • 1.44 kB
JavaScript
export const KernelModuleIsInitializedAbi = [
{
type: "function",
name: "isInitialized",
inputs: [
{ name: "smartAccount", type: "address", internalType: "address" }
],
outputs: [{ name: "", type: "bool", internalType: "bool" }],
stateMutability: "view"
}
];
export const KernelModuleInstallAbi = [
{
inputs: [
{
internalType: "uint256",
name: "moduleType",
type: "uint256"
},
{ internalType: "address", name: "module", type: "address" },
{ internalType: "bytes", name: "initData", type: "bytes" }
],
stateMutability: "payable",
type: "function",
name: "installModule"
}
];
export const KernelModuleIsModuleInstalledAbi = [
{
inputs: [
{
internalType: "uint256",
name: "moduleType",
type: "uint256"
},
{ internalType: "address", name: "module", type: "address" },
{
internalType: "bytes",
name: "additionalContext",
type: "bytes"
}
],
stateMutability: "view",
type: "function",
name: "isModuleInstalled",
outputs: [{ internalType: "bool", name: "", type: "bool" }]
}
];
//# sourceMappingURL=KernelModuleAbi.js.map