Variable NexusImplementationAbiConst
NexusImplementationAbi: readonly [
{
inputs: readonly [
{ internalType: "address"; name: "anEntryPoint"; type: "address" },
];
stateMutability: "nonpayable";
type: "constructor";
},
{ inputs: readonly []; name: "AccountAccessUnauthorized"; type: "error" },
{ inputs: readonly []; name: "CanNotRemoveLastValidator"; type: "error" },
{ inputs: readonly []; name: "EmergencyTimeLockNotExpired"; type: "error" },
{ inputs: readonly []; name: "EnableModeSigError"; type: "error" },
{ inputs: readonly []; name: "EntryPointCanNotBeZero"; type: "error" },
{ inputs: readonly []; name: "ExecutionFailed"; type: "error" },
{
inputs: readonly [
{ internalType: "bytes4"; name: "selector"; type: "bytes4" },
];
name: "FallbackAlreadyInstalledForSelector";
type: "error";
},
{ inputs: readonly []; name: "FallbackCallTypeInvalid"; type: "error" },
{
inputs: readonly [];
name: "FallbackHandlerUninstallFailed";
type: "error";
},
{
inputs: readonly [
{ internalType: "bytes4"; name: "selector"; type: "bytes4" },
];
name: "FallbackNotInstalledForSelector";
type: "error";
},
{ inputs: readonly []; name: "FallbackSelectorForbidden"; type: "error" },
{
inputs: readonly [
{ internalType: "address"; name: "currentHook"; type: "address" },
];
name: "HookAlreadyInstalled";
type: "error";
},
{ inputs: readonly []; name: "HookPostCheckFailed"; type: "error" },
{
inputs: readonly [];
name: "ImplementationIsNotAContract";
type: "error";
},
{ inputs: readonly []; name: "InnerCallFailed"; type: "error" },
{
inputs: readonly [];
name: "InvalidImplementationAddress";
type: "error";
},
{ inputs: readonly []; name: "InvalidInput"; type: "error" },
{
inputs: readonly [
{ internalType: "address"; name: "module"; type: "address" },
];
name: "InvalidModule";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
];
name: "InvalidModuleTypeId";
type: "error";
},
{
inputs: readonly [];
name: "LinkedList_AlreadyInitialized";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "entry"; type: "address" },
];
name: "LinkedList_EntryAlreadyInList";
type: "error";
},
{
inputs: readonly [
{ internalType: "address"; name: "entry"; type: "address" },
];
name: "LinkedList_InvalidEntry";
type: "error";
},
{ inputs: readonly []; name: "LinkedList_InvalidPage"; type: "error" },
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
];
name: "MismatchModuleTypeId";
type: "error";
},
{
inputs: readonly [
{ internalType: "bytes4"; name: "selector"; type: "bytes4" },
];
name: "MissingFallbackHandler";
type: "error";
},
{ inputs: readonly []; name: "ModuleAddressCanNotBeZero"; type: "error" },
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
];
name: "ModuleAlreadyInstalled";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
];
name: "ModuleNotInstalled";
type: "error";
},
{ inputs: readonly []; name: "NexusInitializationFailed"; type: "error" },
{ inputs: readonly []; name: "NoValidatorInstalled"; type: "error" },
{ inputs: readonly []; name: "UnauthorizedCallContext"; type: "error" },
{
inputs: readonly [
{ internalType: "address"; name: "operator"; type: "address" },
];
name: "UnauthorizedOperation";
type: "error";
},
{
inputs: readonly [
{ internalType: "CallType"; name: "callType"; type: "bytes1" },
];
name: "UnsupportedCallType";
type: "error";
},
{
inputs: readonly [
{ internalType: "ExecType"; name: "execType"; type: "bytes1" },
];
name: "UnsupportedExecType";
type: "error";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
];
name: "UnsupportedModuleType";
type: "error";
},
{ inputs: readonly []; name: "UpgradeFailed"; type: "error" },
{
inputs: readonly [
{ internalType: "address"; name: "module"; type: "address" },
];
name: "ValidatorNotInstalled";
type: "error";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "contract IERC7484";
name: "registry";
type: "address";
},
];
name: "ERC7484RegistryConfigured";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "address";
name: "hook";
type: "address";
},
{
indexed: false;
internalType: "uint256";
name: "timestamp";
type: "uint256";
},
];
name: "EmergencyHookUninstallRequest";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "address";
name: "hook";
type: "address";
},
{
indexed: false;
internalType: "uint256";
name: "timestamp";
type: "uint256";
},
];
name: "EmergencyHookUninstallRequestReset";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
components: readonly [
{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32" },
{
internalType: "uint256";
name: "preVerificationGas";
type: "uint256";
},
{ internalType: "bytes32"; name: "gasFees"; type: "bytes32" },
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
indexed: false;
internalType: "struct PackedUserOperation";
name: "userOp";
type: "tuple";
},
{
indexed: false;
internalType: "bytes";
name: "innerCallRet";
type: "bytes";
},
];
name: "Executed";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "uint256";
name: "moduleTypeId";
type: "uint256";
},
{
indexed: false;
internalType: "address";
name: "module";
type: "address";
},
];
name: "ModuleInstalled";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "uint256";
name: "moduleTypeId";
type: "uint256";
},
{
indexed: false;
internalType: "address";
name: "module";
type: "address";
},
];
name: "ModuleUninstalled";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "bytes";
name: "callData";
type: "bytes";
},
{ indexed: false; internalType: "bytes"; name: "result"; type: "bytes" },
];
name: "TryDelegateCallUnsuccessful";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: false;
internalType: "bytes";
name: "callData";
type: "bytes";
},
{ indexed: false; internalType: "bytes"; name: "result"; type: "bytes" },
];
name: "TryExecuteUnsuccessful";
type: "event";
},
{
anonymous: false;
inputs: readonly [
{
indexed: true;
internalType: "address";
name: "implementation";
type: "address";
},
];
name: "Upgraded";
type: "event";
},
{ stateMutability: "payable"; type: "fallback" },
{
inputs: readonly [];
name: "DOMAIN_SEPARATOR";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "accountId";
outputs: readonly [{ internalType: "string"; name: ""; type: "string" }];
stateMutability: "pure";
type: "function";
},
{
inputs: readonly [];
name: "addDeposit";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "hash"; type: "bytes32" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
name: "checkERC7739Support";
outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "eip712Domain";
outputs: readonly [
{ internalType: "bytes1"; name: "fields"; type: "bytes1" },
{ internalType: "string"; name: "name"; type: "string" },
{ internalType: "string"; name: "version"; type: "string" },
{ internalType: "uint256"; name: "chainId"; type: "uint256" },
{ internalType: "address"; name: "verifyingContract"; type: "address" },
{ internalType: "bytes32"; name: "salt"; type: "bytes32" },
{ internalType: "uint256[]"; name: "extensions"; type: "uint256[]" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "hook"; type: "address" },
{ internalType: "bytes"; name: "deInitData"; type: "bytes" },
];
name: "emergencyUninstallHook";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [];
name: "entryPoint";
outputs: readonly [{ internalType: "address"; name: ""; type: "address" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "ExecutionMode"; name: "mode"; type: "bytes32" },
{ internalType: "bytes"; name: "executionCalldata"; type: "bytes" },
];
name: "execute";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "ExecutionMode"; name: "mode"; type: "bytes32" },
{ internalType: "bytes"; name: "executionCalldata"; type: "bytes" },
];
name: "executeFromExecutor";
outputs: readonly [
{ internalType: "bytes[]"; name: "returnData"; type: "bytes[]" },
];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32" },
{
internalType: "uint256";
name: "preVerificationGas";
type: "uint256";
},
{ internalType: "bytes32"; name: "gasFees"; type: "bytes32" },
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
internalType: "struct PackedUserOperation";
name: "userOp";
type: "tuple";
},
{ internalType: "bytes32"; name: ""; type: "bytes32" },
];
name: "executeUserOp";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [];
name: "getActiveHook";
outputs: readonly [
{ internalType: "address"; name: "hook"; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getDeposit";
outputs: readonly [
{ internalType: "uint256"; name: "result"; type: "uint256" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "cursor"; type: "address" },
{ internalType: "uint256"; name: "size"; type: "uint256" },
];
name: "getExecutorsPaginated";
outputs: readonly [
{ internalType: "address[]"; name: "array"; type: "address[]" },
{ internalType: "address"; name: "next"; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes4"; name: "selector"; type: "bytes4" },
];
name: "getFallbackHandlerBySelector";
outputs: readonly [
{ internalType: "CallType"; name: ""; type: "bytes1" },
{ internalType: "address"; name: ""; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "getImplementation";
outputs: readonly [
{ internalType: "address"; name: "implementation"; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "cursor"; type: "address" },
{ internalType: "uint256"; name: "size"; type: "uint256" },
];
name: "getValidatorsPaginated";
outputs: readonly [
{ internalType: "address[]"; name: "array"; type: "address[]" },
{ internalType: "address"; name: "next"; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "structHash"; type: "bytes32" },
];
name: "hashTypedData";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes"; name: "initData"; type: "bytes" },
];
name: "initializeAccount";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "initData"; type: "bytes" },
];
name: "installModule";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "additionalContext"; type: "bytes" },
];
name: "isModuleInstalled";
outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes32"; name: "hash"; type: "bytes32" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
name: "isValidSignature";
outputs: readonly [{ internalType: "bytes4"; name: ""; type: "bytes4" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint192"; name: "key"; type: "uint192" },
];
name: "nonce";
outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "proxiableUUID";
outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "registry";
outputs: readonly [
{ internalType: "contract IERC7484"; name: ""; type: "address" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{
internalType: "contract IERC7484";
name: "newRegistry";
type: "address";
},
{ internalType: "address[]"; name: "attesters"; type: "address[]" },
{ internalType: "uint8"; name: "threshold"; type: "uint8" },
];
name: "setRegistry";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "ExecutionMode"; name: "mode"; type: "bytes32" },
];
name: "supportsExecutionMode";
outputs: readonly [
{ internalType: "bool"; name: "isSupported"; type: "bool" },
];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
];
name: "supportsModule";
outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint256"; name: "moduleTypeId"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "deInitData"; type: "bytes" },
];
name: "uninstallModule";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
internalType: "address";
name: "newImplementation";
type: "address";
},
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
name: "upgradeToAndCall";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ 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: "bytes32"; name: "accountGasLimits"; type: "bytes32" },
{
internalType: "uint256";
name: "preVerificationGas";
type: "uint256";
},
{ internalType: "bytes32"; name: "gasFees"; type: "bytes32" },
{ internalType: "bytes"; name: "paymasterAndData"; type: "bytes" },
{ internalType: "bytes"; name: "signature"; type: "bytes" },
];
internalType: "struct PackedUserOperation";
name: "op";
type: "tuple";
},
{ internalType: "bytes32"; name: "userOpHash"; type: "bytes32" },
{ internalType: "uint256"; name: "missingAccountFunds"; type: "uint256" },
];
name: "validateUserOp";
outputs: readonly [
{ internalType: "uint256"; name: "validationData"; type: "uint256" },
];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "to"; type: "address" },
{ internalType: "uint256"; name: "amount"; type: "uint256" },
];
name: "withdrawDepositTo";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{ stateMutability: "payable"; type: "receive" },
] = ...