// This file was autogenerated by hardhat-viem, do not edit it. // prettier-ignore // tslint:disable // eslint-disable import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; export interface Err$Type { "_format": "hh-sol-artifact-1", "contractName": "Err", "sourceName": "contracts/lib/Errors.sol", "abi": [ { "inputs": [], "name": "AMMCutOffReached", "type": "error" }, { "inputs": [], "name": "AMMInsufficientCashIn", "type": "error" }, { "inputs": [], "name": "AMMInsufficientCashOut", "type": "error" }, { "inputs": [], "name": "AMMInsufficientLiquidity", "type": "error" }, { "inputs": [], "name": "AMMInsufficientLpOut", "type": "error" }, { "inputs": [], "name": "AMMInsufficientSizeOut", "type": "error" }, { "inputs": [], "name": "AMMInvalidParams", "type": "error" }, { "inputs": [], "name": "AMMInvalidRateRange", "type": "error" }, { "inputs": [], "name": "AMMNegativeCash", "type": "error" }, { "inputs": [], "name": "AMMNotFound", "type": "error" }, { "inputs": [], "name": "AMMSignMismatch", "type": "error" }, { "inputs": [], "name": "AMMTotalSupplyCapExceeded", "type": "error" }, { "inputs": [], "name": "AMMWithdrawOnly", "type": "error" }, { "inputs": [], "name": "AuthAgentExpired", "type": "error" }, { "inputs": [], "name": "AuthExpiryInPast", "type": "error" }, { "inputs": [], "name": "AuthIntentExecuted", "type": "error" }, { "inputs": [], "name": "AuthIntentExpired", "type": "error" }, { "inputs": [], "name": "AuthInvalidConnectionId", "type": "error" }, { "inputs": [], "name": "AuthInvalidMessage", "type": "error" }, { "inputs": [], "name": "AuthInvalidNonce", "type": "error" }, { "inputs": [], "name": "AuthSelectorNotAllowed", "type": "error" }, { "inputs": [], "name": "CLOInvalidThreshold", "type": "error" }, { "inputs": [], "name": "CLOMarketInvalidStatus", "type": "error" }, { "inputs": [], "name": "CLOThresholdNotMet", "type": "error" }, { "inputs": [], "name": "ConditionalActionExecuted", "type": "error" }, { "inputs": [], "name": "ConditionalInvalidAgent", "type": "error" }, { "inputs": [], "name": "ConditionalInvalidParams", "type": "error" }, { "inputs": [], "name": "ConditionalInvalidValidator", "type": "error" }, { "inputs": [], "name": "ConditionalMessageExpired", "type": "error" }, { "inputs": [], "name": "ConditionalOrderExpired", "type": "error" }, { "inputs": [], "name": "ConditionalOrderNotReduceOnly", "type": "error" }, { "inputs": [], "name": "DeleveragerAMMNotAllowed", "type": "error" }, { "inputs": [], "name": "DeleveragerDuplicateMarketId", "type": "error" }, { "inputs": [], "name": "DeleveragerHealthNonRisky", "type": "error" }, { "inputs": [], "name": "DeleveragerIncomplete", "type": "error" }, { "inputs": [], "name": "DeleveragerLoserHealthier", "type": "error" }, { "inputs": [], "name": "DeleveragerLoserInBadDebt", "type": "error" }, { "inputs": [], "name": "DeleveragerWinnerInBadDebt", "type": "error" }, { "inputs": [], "name": "FIndexInvalidTime", "type": "error" }, { "inputs": [], "name": "FIndexNotDueForUpdate", "type": "error" }, { "inputs": [], "name": "FIndexUpdatedAtMaturity", "type": "error" }, { "inputs": [], "name": "InsufficientDepositAmount", "type": "error" }, { "inputs": [], "name": "InsufficientProfit", "type": "error" }, { "inputs": [], "name": "InvalidAMMAcc", "type": "error" }, { "inputs": [], "name": "InvalidAMMId", "type": "error" }, { "inputs": [], "name": "InvalidFeeRates", "type": "error" }, { "inputs": [], "name": "InvalidLength", "type": "error" }, { "inputs": [], "name": "InvalidMaturity", "type": "error" }, { "inputs": [], "name": "InvalidNumTicks", "type": "error" }, { "inputs": [], "name": "InvalidObservationWindow", "type": "error" }, { "inputs": [], "name": "InvalidTokenId", "type": "error" }, { "inputs": [], "name": "LiquidationAMMNotAllowed", "type": "error" }, { "inputs": [], "name": "MHInvalidLiquidator", "type": "error" }, { "inputs": [], "name": "MHMarketExists", "type": "error" }, { "inputs": [], "name": "MHMarketNotByFactory", "type": "error" }, { "inputs": [], "name": "MHMarketNotExists", "type": "error" }, { "inputs": [], "name": "MHTokenExists", "type": "error" }, { "inputs": [], "name": "MHTokenLimitExceeded", "type": "error" }, { "inputs": [], "name": "MHTokenNotExists", "type": "error" }, { "inputs": [], "name": "MHWithdrawNotReady", "type": "error" }, { "inputs": [], "name": "MMHealthCritical", "type": "error" }, { "inputs": [], "name": "MMHealthNonRisky", "type": "error" }, { "inputs": [], "name": "MMInsufficientIM", "type": "error" }, { "inputs": [], "name": "MMInsufficientMinCash", "type": "error" }, { "inputs": [], "name": "MMInvalidCritHR", "type": "error" }, { "inputs": [], "name": "MMIsolatedMarketDenied", "type": "error" }, { "inputs": [], "name": "MMMarketAlreadyEntered", "type": "error" }, { "inputs": [], "name": "MMMarketExitDenied", "type": "error" }, { "inputs": [], "name": "MMMarketLimitExceeded", "type": "error" }, { "inputs": [], "name": "MMMarketMismatch", "type": "error" }, { "inputs": [], "name": "MMMarketNotEntered", "type": "error" }, { "inputs": [], "name": "MMSimulationOnly", "type": "error" }, { "inputs": [], "name": "MMTokenMismatch", "type": "error" }, { "inputs": [], "name": "MMTransferDenied", "type": "error" }, { "inputs": [], "name": "MarketCLO", "type": "error" }, { "inputs": [], "name": "MarketDuplicateOTC", "type": "error" }, { "inputs": [], "name": "MarketInvalidDeleverage", "type": "error" }, { "inputs": [], "name": "MarketInvalidFIndexOracle", "type": "error" }, { "inputs": [], "name": "MarketInvalidLiquidation", "type": "error" }, { "inputs": [], "name": "MarketLastTradedRateTooFar", "type": "error" }, { "inputs": [], "name": "MarketLiqNotReduceSize", "type": "error" }, { "inputs": [], "name": "MarketMatured", "type": "error" }, { "inputs": [], "name": "MarketMaxOrdersExceeded", "type": "error" }, { "inputs": [], "name": "MarketOICapExceeded", "type": "error" }, { "inputs": [], "name": "MarketOrderALOFilled", "type": "error" }, { "inputs": [], "name": "MarketOrderCancelled", "type": "error" }, { "inputs": [], "name": "MarketOrderFOKNotFilled", "type": "error" }, { "inputs": [], "name": "MarketOrderFilled", "type": "error" }, { "inputs": [], "name": "MarketOrderNotFound", "type": "error" }, { "inputs": [], "name": "MarketOrderRateOutOfBound", "type": "error" }, { "inputs": [], "name": "MarketPaused", "type": "error" }, { "inputs": [], "name": "MarketSelfSwap", "type": "error" }, { "inputs": [], "name": "MarketZeroSize", "type": "error" }, { "inputs": [], "name": "MathInvalidExponent", "type": "error" }, { "inputs": [], "name": "MathOutOfBounds", "type": "error" }, { "inputs": [], "name": "OTCInvalidAgent", "type": "error" }, { "inputs": [], "name": "OTCMessageExpired", "type": "error" }, { "inputs": [], "name": "OTCRequestExecuted", "type": "error" }, { "inputs": [], "name": "OrderCancellerDuplicateMarketId", "type": "error" }, { "inputs": [], "name": "OrderCancellerDuplicateOrderId", "type": "error" }, { "inputs": [], "name": "OrderCancellerInvalidOrder", "type": "error" }, { "inputs": [], "name": "OrderCancellerNotRisky", "type": "error" }, { "inputs": [], "name": "PauserNotRisky", "type": "error" }, { "inputs": [], "name": "PauserTokenMismatch", "type": "error" }, { "inputs": [], "name": "PortalInvalidMessenger", "type": "error" }, { "inputs": [], "name": "PortalMessengerNotSet", "type": "error" }, { "inputs": [], "name": "ProfitMismatch", "type": "error" }, { "inputs": [], "name": "SimulationOnly", "type": "error" }, { "inputs": [], "name": "TradeALOAMMNotAllowed", "type": "error" }, { "inputs": [], "name": "TradeAMMAlreadySet", "type": "error" }, { "inputs": [], "name": "TradeMarketIdMismatch", "type": "error" }, { "inputs": [], "name": "TradeOnlyAMMAccount", "type": "error" }, { "inputs": [], "name": "TradeOnlyForIsolated", "type": "error" }, { "inputs": [], "name": "TradeOnlyMainAccount", "type": "error" }, { "inputs": [], "name": "TradeUndesiredRate", "type": "error" }, { "inputs": [], "name": "TradeUndesiredSide", "type": "error" }, { "inputs": [], "name": "Unauthorized", "type": "error" }, { "inputs": [], "name": "WithdrawalPoliceAlreadyRestricted", "type": "error" }, { "inputs": [], "name": "WithdrawalPoliceInvalidCooldown", "type": "error" }, { "inputs": [], "name": "WithdrawalPoliceInvalidThreshold", "type": "error" }, { "inputs": [], "name": "WithdrawalPoliceUnsatCondition", "type": "error" }, { "inputs": [], "name": "ZeroArbitrageSize", "type": "error" }, { "inputs": [], "name": "ZoneGlobalCooldownAlreadyIncreased", "type": "error" }, { "inputs": [], "name": "ZoneInvalidGlobalCooldown", "type": "error" }, { "inputs": [], "name": "ZoneInvalidLiqSettings", "type": "error" }, { "inputs": [], "name": "ZoneInvalidRateDeviationConfig", "type": "error" }, { "inputs": [], "name": "ZoneMarketInvalidStatus", "type": "error" } ], "bytecode": "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220f34637dba2151b4b7b1a90b66acfb6e858ca59d9ece5ac37e3db25a43d37012564736f6c634300081c0033", "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040525f5ffdfea2646970667358221220f34637dba2151b4b7b1a90b66acfb6e858ca59d9ece5ac37e3db25a43d37012564736f6c634300081c0033", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Err", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/lib/Errors.sol:Err", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "Err", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/lib/Errors.sol:Err", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "Err", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/lib/Errors.sol:Err", address: Address, config?: GetContractAtConfig ): Promise>; }