UNPKG

@etherspot/modular-sdk

Version:

Etherspot Modular SDK - build with ERC-7579 smart accounts modules

637 lines 20.6 kB
export const BiconomyAccountAbi = [ { inputs: [ { internalType: "contract IEntryPoint", name: "anEntryPoint", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AlreadyInitialized", type: "error" }, { inputs: [], name: "BaseImplementationCannotBeZero", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotAnEntryPoint", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotEntryPoint", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotEntryPointOrOwner", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotEntryPointOrSelf", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotOwner", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "CallerIsNotSelf", type: "error" }, { inputs: [], name: "DelegateCallsOnly", type: "error" }, { inputs: [], name: "EntryPointCannotBeZero", type: "error" }, { inputs: [], name: "HandlerCannotBeZero", type: "error" }, { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" } ], name: "InvalidImplementation", type: "error" }, { inputs: [{ internalType: "address", name: "caller", type: "address" }], name: "MixedAuthFail", type: "error" }, { inputs: [{ internalType: "address", name: "module", type: "address" }], name: "ModuleAlreadyEnabled", type: "error" }, { inputs: [ { internalType: "address", name: "expectedModule", type: "address" }, { internalType: "address", name: "returnedModule", type: "address" }, { internalType: "address", name: "prevModule", type: "address" } ], name: "ModuleAndPrevModuleMismatch", type: "error" }, { inputs: [{ internalType: "address", name: "module", type: "address" }], name: "ModuleCannotBeZeroOrSentinel", type: "error" }, { inputs: [{ internalType: "address", name: "module", type: "address" }], name: "ModuleNotEnabled", type: "error" }, { inputs: [], name: "ModulesAlreadyInitialized", type: "error" }, { inputs: [], name: "ModulesSetupExecutionFailed", type: "error" }, { inputs: [], name: "OwnerCanNotBeSelf", type: "error" }, { inputs: [], name: "OwnerCannotBeZero", type: "error" }, { inputs: [], name: "OwnerProvidedIsSame", type: "error" }, { inputs: [], name: "TransferToZeroAddressAttempt", type: "error" }, { inputs: [ { internalType: "uint256", name: "destLength", type: "uint256" }, { internalType: "uint256", name: "valueLength", type: "uint256" }, { internalType: "uint256", name: "funcLength", type: "uint256" }, { internalType: "uint256", name: "operationLength", type: "uint256" } ], name: "WrongBatchProvided", type: "error" }, { inputs: [ { internalType: "bytes", name: "contractSignature", type: "bytes" } ], name: "WrongContractSignature", type: "error" }, { inputs: [ { internalType: "uint256", name: "uintS", type: "uint256" }, { internalType: "uint256", name: "contractSignatureLength", type: "uint256" }, { internalType: "uint256", name: "signatureLength", type: "uint256" } ], name: "WrongContractSignatureFormat", type: "error" }, { inputs: [ { internalType: "address", name: "moduleAddressProvided", type: "address" } ], name: "WrongValidationModule", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousHandler", type: "address" }, { indexed: true, internalType: "address", name: "handler", type: "address" } ], name: "ChangedFallbackHandler", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "DisabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "EnabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "value", type: "uint256" }, { indexed: true, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { indexed: false, internalType: "uint256", name: "txGas", type: "uint256" } ], name: "ExecutionFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "value", type: "uint256" }, { indexed: true, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { indexed: false, internalType: "uint256", name: "txGas", type: "uint256" } ], name: "ExecutionSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ImplementationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" }, { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "ModuleTransaction", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "uint256", name: "value", type: "uint256" } ], name: "SmartAccountReceivedNativeToken", type: "event" }, { stateMutability: "nonpayable", type: "fallback" }, { inputs: [], name: "VERSION", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function" }, { inputs: [], name: "addDeposit", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "prevModule", type: "address" }, { internalType: "address", name: "module", type: "address" } ], name: "disableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "address", name: "module", type: "address" }], name: "enableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "entryPoint", outputs: [ { internalType: "contract IEntryPoint", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "to", type: "address[]" }, { internalType: "uint256[]", name: "value", type: "uint256[]" }, { internalType: "bytes[]", name: "data", type: "bytes[]" }, { internalType: "enum Enum.Operation[]", name: "operations", type: "uint8[]" } ], name: "execBatchTransactionFromModule", outputs: [{ internalType: "bool", name: "success", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "txGas", type: "uint256" } ], name: "execTransactionFromModule", outputs: [{ internalType: "bool", name: "success", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModule", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModuleReturnData", outputs: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], 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", 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", 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" }, { 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: [], name: "getDeposit", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getFallbackHandler", outputs: [{ internalType: "address", name: "_handler", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [], name: "getImplementation", outputs: [ { internalType: "address", name: "_implementation", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "start", type: "address" }, { internalType: "uint256", name: "pageSize", type: "uint256" } ], name: "getModulesPaginated", outputs: [ { internalType: "address[]", name: "array", type: "address[]" }, { internalType: "address", name: "next", type: "address" } ], stateMutability: "view", type: "function" }, { 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: "module", type: "address" }], name: "isModuleEnabled", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "isValidSignature", outputs: [{ internalType: "bytes4", name: "", type: "bytes4" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint192", name: "_key", type: "uint192" }], name: "nonce", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "noncesDeprecated", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function" }, { inputs: [], name: "ownerDeprecated", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" }, { inputs: [{ internalType: "address", name: "handler", type: "address" }], name: "setFallbackHandler", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "setupContract", type: "address" }, { internalType: "bytes", name: "setupData", type: "bytes" } ], name: "setupAndEnableModule", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "nonpayable", type: "function" }, { inputs: [{ internalType: "bytes4", name: "_interfaceId", type: "bytes4" }], name: "supportsInterface", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_implementation", type: "address" } ], name: "updateImplementation", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { 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: "uint256", name: "callGasLimit", type: "uint256" }, { internalType: "uint256", name: "verificationGasLimit", type: "uint256" }, { internalType: "uint256", name: "preVerificationGas", type: "uint256" }, { internalType: "uint256", name: "maxFeePerGas", type: "uint256" }, { internalType: "uint256", name: "maxPriorityFeePerGas", type: "uint256" }, { internalType: "bytes", name: "paymasterAndData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct UserOperation", name: "userOp", type: "tuple" }, { internalType: "bytes32", name: "userOpHash", type: "bytes32" }, { internalType: "uint256", name: "missingAccountFunds", type: "uint256" } ], name: "validateUserOp", outputs: [ { internalType: "uint256", name: "validationData", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "withdrawAddress", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "withdrawDepositTo", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; //# sourceMappingURL=SmartAccount.js.map