Errors
Read every custom error the deployed Hookr contracts can revert with, listed by name straight from their published ABIs.
Every custom error the deployed contracts can revert with, by name, read out of the published ABIs rather than transcribed. The list below is generated from the same JSON /api/v2-abi/<Contract> serves, so it cannot fall behind the deployed code.
An interface should surface these rather than retrying. Most of them are structural: the transaction was going to be refused whatever the price did, and re-sending it unchanged fails the same way.
The ones an integrator meets most often, and what each one means, are in Integrating as a launcher. The guard-window errors are in Guard window, and PartialFillUnsupportedWithInputCuts is in Swapping and quoting.
Errors that carry arguments are shown with their argument types, which is what an ABI decoder needs to read the revert data.
HookrModularHookV6
7 custom errors in its ABI.
- AccountingKernelCodeChanged(bytes32, bytes32)
- DelegateCallFailed()
- InvalidHookData()
- InvalidPayload()
- InvalidStack()
- InvalidWiring()
- ReentrantCallback()
HookrMarketCoordinatorV5
32 custom errors in its ABI.
- BadCallback()
- CreatorTierUnchanged(address)
- DefaultProtocolShareBpsUnchanged()
- DuplicateMarket(bytes32)
- ExcessiveSettlement()
- InitialBuyAboveCap(uint256, uint256)
- InitialBuyInputMismatch(uint256, uint256)
- IntentAlreadyUsed(address, bytes32, address)
- InvalidInitialBuy()
- InvalidMarketArgs()
- InvalidPayment(uint256, uint256)
- InvalidStack()
- InvalidToken()
- InvalidWiring()
- MarketOpeningPaused(address)
- MarketOpeningPauseUnchanged()
- NativeMechanicsModuleRequired()
- NativeTransferFailed()
- NoFoundingPosition(bytes32)
- NotCreator(address, address)
- NotOwner()
- NotPendingOwner()
- NotPoolManager()
- ProtocolShareAboveCeiling(uint24)
- ReentrantCall()
- TaxedTransfer()
- TierNotSet(address)
- TokenSaltAlreadyUsed(bytes32, address)
- TransferFailed()
- UnexpectedToken(address, address)
- ZeroAddress()
- ZeroLiquidity()
HookrNativeMechanicsBlockV2
15 custom errors in its ABI.
- ClaimTransferFailed()
- ExactOutputBlockedDuringGuard()
- ExternalLiquidityBlockedDuringGuard()
- HookNotCalled()
- InvalidConfig()
- InvalidPotRecipient()
- InvalidRuntimeContext()
- MaxBuyExceeded(uint256, uint256)
- NothingToClaim()
- NotKernel()
- NotPoolManager()
- PartialFillUnsupportedWithInputCuts()
- ProtocolShareNotEnforced()
- StatefulKernelRequired()
- ZeroAddress()
HookrStackRegistryV2
70 custom errors in its ABI.
- ConfigTooLarge(bytes32)
- CoordinatorAlreadySet()
- CoordinatorNotSet()
- DuplicateModule(bytes32)
- DuplicateModuleImplementation(address)
- ExceptionalKernelInstancesDisabled(bytes32)
- ExclusiveGroupConflict(bytes32)
- IntegrationAlreadyExists(bytes32)
- IntegrationAlreadyRetired(bytes32)
- IntegrationCodeChanged(address, bytes32, bytes32)
- IntegrationFamilyMismatch(address, bytes32, bytes32)
- IntegrationImplementationAlreadyRegistered(address, bytes32)
- IntegrationKindMismatch(address, bytes32, bytes32)
- IntegrationMetadataMismatch(address)
- IntegrationNotActive(bytes32)
- IntegrationOutsideRootProfile(bytes32, bytes32)
- IntegrationPoolManagerMismatch(address)
- IntegrationStackRegistryMismatch(address)
- InvalidCurrencyPair()
- InvalidHookFlagDependencies()
- InvalidHookFlags(uint160, uint160)
- InvalidIntegration()
- InvalidIntegrationWiring()
- InvalidKernel()
- InvalidKernelInstance(address)
- InvalidKernelInstanceFactory()
- InvalidModuleConfig(bytes32)
- InvalidModuleStackBinding(bytes32)
- InvalidPoolKey()
- InvalidRootProfile()
- InvalidStackLimits()
- KernelAlreadyExists(bytes32)
- KernelAlreadyRetired(bytes32)
- KernelCodeChanged(bytes32, bytes32)
- KernelCoordinatorMismatch()
- KernelInstanceFactoryAlreadyExists(address)
- KernelInstanceFactoryAlreadyRetired(address)
- KernelInstanceFactoryCodeChanged(address, bytes32, bytes32)
- KernelInstanceFactoryNotActive(address)
- KernelNotActive(bytes32)
- KernelPoolManagerMismatch()
- KernelStackRegistryMismatch()
- MissingDependency(bytes32, bytes32)
- ModuleCapsExceedStackLimits()
- ModuleCodeChanged(bytes32, bytes32, bytes32)
- ModuleConfigCapsExceedSnapshot(bytes32)
- ModuleConflict(bytes32, bytes32)
- ModuleGasExceedsStackLimit()
- ModuleMetadataMismatch(bytes32)
- ModuleOutsideRootProfile(bytes32, bytes32)
- NonCanonicalProfileModuleOrder(bytes32, bytes32)
- NotCoordinator()
- NotOwner()
- NotPendingOwner()
- NotStackKernel(address, address)
- RootImplementationAlreadyRegistered(address, bytes32)
- RootProfileAlreadySealed(bytes32)
- RootProfileIdentityAlreadyUsed(bytes32, uint32, bytes32)
- RootProfileNotSealed(bytes32)
- StableRootProfilesRequired()
- StackAlreadyConfigured(bytes32)
- StackAlreadyInitialized(bytes32)
- TooManyModules()
- UnknownIntegration(bytes32)
- UnknownKernel(bytes32)
- UnknownKernelInstanceFactory(address)
- UnknownStack(bytes32)
- UnregisteredIntegration(address)
- UnsupportedHookFlags(bytes32, uint160, uint160)
- ZeroAddress()
HookrKernelRouterV3
28 custom errors in its ABI.
- BalanceQueryFailed()
- CallbackNotActive()
- CallbackNotCompleted()
- CoordinatorCodeHashMismatch(bytes32, bytes32)
- DeadlineExpired(uint256, uint256)
- InputDebitMismatch(uint256, uint256)
- InvalidAmount()
- InvalidNativeValue(uint256, uint256)
- InvalidRecipient()
- InvalidSqrtPriceLimit()
- InvalidStack()
- InvalidWiring()
- ModuleDataTooLarge()
- NotCoordinator(address, address)
- NotPoolManager()
- OutputCustodyMismatch(uint256, uint256)
- OutputDeliveryMismatch(uint256, uint256)
- PartialFill(uint256, uint256)
- Reentrancy()
- RetainedBalance(address, uint256, uint256)
- SettlementMismatch(uint256, uint256)
- StackNotInitialized()
- TooLittleReceived(uint256, uint256)
- TooMuchRequested(uint256, uint256)
- TransferFailed()
- UnexpectedDelta()
- UnexpectedNativeSender()
- UntrustedStackRouter(address, address)
HookrKernelQuoterV1
18 custom errors in its ABI.
- CallbackNotActive()
- InvalidAmount()
- InvalidAmountBound()
- InvalidIdentity()
- InvalidQuoteResult()
- InvalidSqrtPriceLimit()
- InvalidStack()
- InvalidWiring()
- ModuleDataTooLarge()
- NotPoolManager()
- QuoteResult(bytes32, uint128, uint128)
- Reentrancy()
- SimulationDidNotRevert()
- StackNotInitialized()
- TooLittleReceived(uint256, uint256)
- TooMuchRequested(uint256, uint256)
- UnexpectedDelta()
- UntrustedStackQuoter(address, address)
HookrTreasuryForwarderV1
11 custom errors in its ABI.
- InvalidNativeBlock()
- InvalidPoolManager()
- InvalidTarget()
- NativeBlockUnchanged()
- NativeTransferFailed()
- NotBound()
- NotOwner()
- NotPendingOwner()
- TargetUnchanged()
- TokenCallFailed()
- ZeroAddress()
HookrTokenV61
2 custom errors in its ABI.
- MathOverflowedMulDiv()
- ZeroAddress()