Variable NexusBootstrapAbiConst
NexusBootstrapAbi: readonly [
{
inputs: readonly [
{ internalType: "address"; name: "defaultValidator"; type: "address" },
{ internalType: "bytes"; name: "initData"; type: "bytes" },
];
stateMutability: "nonpayable";
type: "constructor";
},
{ inputs: readonly []; name: "CanNotRemoveLastValidator"; type: "error" },
{
inputs: readonly [];
name: "DefaultValidatorAlreadyInstalled";
type: "error";
},
{ inputs: readonly []; name: "EmergencyUninstallSigError"; type: "error" },
{ inputs: readonly []; name: "EnableModeSigError"; 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: "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: "InvalidNonce"; 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 []; 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: "NoValidatorInstalled"; type: "error" },
{
inputs: readonly [
{
internalType: "address";
name: "currentPreValidationHook";
type: "address";
},
];
name: "PrevalidationHookAlreadyInstalled";
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: "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: "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";
},
{ stateMutability: "payable"; type: "fallback" },
{
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 [];
name: "getActiveHook";
outputs: readonly [
{ internalType: "address"; name: "hook"; type: "address" },
];
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: "getRegistry";
outputs: readonly [
{ internalType: "contract IERC7484"; name: ""; 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 [
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "validators";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "executors";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "fallbacks";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "uint256"; name: "hookType"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapPreValidationHookConfig[]";
name: "preValidationHooks";
type: "tuple[]";
},
{
components: readonly [
{
internalType: "contract IERC7484";
name: "registry";
type: "address";
},
{ internalType: "address[]"; name: "attesters"; type: "address[]" },
{ internalType: "uint8"; name: "threshold"; type: "uint8" },
];
internalType: "struct RegistryConfig";
name: "registryConfig";
type: "tuple";
},
];
name: "initNexus";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "validators";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "executors";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "fallbacks";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "uint256"; name: "hookType"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapPreValidationHookConfig[]";
name: "preValidationHooks";
type: "tuple[]";
},
];
name: "initNexusNoRegistry";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "validators";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
{
components: readonly [
{
internalType: "contract IERC7484";
name: "registry";
type: "address";
},
{ internalType: "address[]"; name: "attesters"; type: "address[]" },
{ internalType: "uint8"; name: "threshold"; type: "uint8" },
];
internalType: "struct RegistryConfig";
name: "registryConfig";
type: "tuple";
},
];
name: "initNexusScoped";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "validators";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
];
name: "initNexusScopedNoRegistry";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
name: "initNexusWithDefaultValidator";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
internalType: "bytes";
name: "defaultValidatorInitData";
type: "bytes";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "executors";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "fallbacks";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "uint256"; name: "hookType"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapPreValidationHookConfig[]";
name: "preValidationHooks";
type: "tuple[]";
},
{
components: readonly [
{
internalType: "contract IERC7484";
name: "registry";
type: "address";
},
{ internalType: "address[]"; name: "attesters"; type: "address[]" },
{ internalType: "uint8"; name: "threshold"; type: "uint8" },
];
internalType: "struct RegistryConfig";
name: "registryConfig";
type: "tuple";
},
];
name: "initNexusWithDefaultValidatorAndOtherModules";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
internalType: "bytes";
name: "defaultValidatorInitData";
type: "bytes";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "validators";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "executors";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig";
name: "hook";
type: "tuple";
},
{
components: readonly [
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapConfig[]";
name: "fallbacks";
type: "tuple[]";
},
{
components: readonly [
{ internalType: "uint256"; name: "hookType"; type: "uint256" },
{ internalType: "address"; name: "module"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
internalType: "struct BootstrapPreValidationHookConfig[]";
name: "preValidationHooks";
type: "tuple[]";
},
];
name: "initNexusWithDefaultValidatorAndOtherModulesNoRegistry";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "validator"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
{
components: readonly [
{
internalType: "contract IERC7484";
name: "registry";
type: "address";
},
{ internalType: "address[]"; name: "attesters"; type: "address[]" },
{ internalType: "uint8"; name: "threshold"; type: "uint8" },
];
internalType: "struct RegistryConfig";
name: "registryConfig";
type: "tuple";
},
];
name: "initNexusWithSingleValidator";
outputs: readonly [];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "address"; name: "validator"; type: "address" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
name: "initNexusWithSingleValidatorNoRegistry";
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: "installed"; 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";
},
{ stateMutability: "payable"; type: "receive" },
] = ...