ErrorTypes ​
State Variables ​
DexT1__AlreadyEntered ​
| | DexT1 | |__________________________________
thrown at reentrancy
solidity
uint256 internal constant DexT1__AlreadyEntered = 51001;
DexT1__NotAnAuth ​
solidity
uint256 internal constant DexT1__NotAnAuth = 51002;
DexT1__SmartColNotEnabled ​
solidity
uint256 internal constant DexT1__SmartColNotEnabled = 51003;
DexT1__SmartDebtNotEnabled ​
solidity
uint256 internal constant DexT1__SmartDebtNotEnabled = 51004;
DexT1__PoolNotInitialized ​
solidity
uint256 internal constant DexT1__PoolNotInitialized = 51005;
DexT1__TokenReservesTooLow ​
solidity
uint256 internal constant DexT1__TokenReservesTooLow = 51006;
DexT1__EthAndAmountInMisMatch ​
solidity
uint256 internal constant DexT1__EthAndAmountInMisMatch = 51007;
DexT1__EthSentForNonNativeSwap ​
solidity
uint256 internal constant DexT1__EthSentForNonNativeSwap = 51008;
DexT1__NoSwapRoute ​
solidity
uint256 internal constant DexT1__NoSwapRoute = 51009;
DexT1__NotEnoughAmountOut ​
solidity
uint256 internal constant DexT1__NotEnoughAmountOut = 51010;
DexT1__LiquidityLayerTokenUtilizationCapReached ​
solidity
uint256 internal constant DexT1__LiquidityLayerTokenUtilizationCapReached = 51011;
DexT1__HookReturnedFalse ​
solidity
uint256 internal constant DexT1__HookReturnedFalse = 51012;
DexT1__UserSupplyInNotOn ​
solidity
uint256 internal constant DexT1__UserSupplyInNotOn = 51013;
DexT1__UserDebtInNotOn ​
solidity
uint256 internal constant DexT1__UserDebtInNotOn = 51014;
DexT1__AboveDepositMax ​
solidity
uint256 internal constant DexT1__AboveDepositMax = 51015;
DexT1__MsgValueLowOnDepositOrPayback ​
solidity
uint256 internal constant DexT1__MsgValueLowOnDepositOrPayback = 51016;
DexT1__WithdrawLimitReached ​
solidity
uint256 internal constant DexT1__WithdrawLimitReached = 51017;
DexT1__BelowWithdrawMin ​
solidity
uint256 internal constant DexT1__BelowWithdrawMin = 51018;
DexT1__DebtLimitReached ​
solidity
uint256 internal constant DexT1__DebtLimitReached = 51019;
DexT1__BelowBorrowMin ​
solidity
uint256 internal constant DexT1__BelowBorrowMin = 51020;
DexT1__AbovePaybackMax ​
solidity
uint256 internal constant DexT1__AbovePaybackMax = 51021;
DexT1__InvalidDepositAmts ​
solidity
uint256 internal constant DexT1__InvalidDepositAmts = 51022;
DexT1__DepositAmtsZero ​
solidity
uint256 internal constant DexT1__DepositAmtsZero = 51023;
DexT1__SharesMintedLess ​
solidity
uint256 internal constant DexT1__SharesMintedLess = 51024;
DexT1__WithdrawalNotEnough ​
solidity
uint256 internal constant DexT1__WithdrawalNotEnough = 51025;
DexT1__InvalidWithdrawAmts ​
solidity
uint256 internal constant DexT1__InvalidWithdrawAmts = 51026;
DexT1__WithdrawAmtsZero ​
solidity
uint256 internal constant DexT1__WithdrawAmtsZero = 51027;
DexT1__WithdrawExcessSharesBurn ​
solidity
uint256 internal constant DexT1__WithdrawExcessSharesBurn = 51028;
DexT1__InvalidBorrowAmts ​
solidity
uint256 internal constant DexT1__InvalidBorrowAmts = 51029;
DexT1__BorrowAmtsZero ​
solidity
uint256 internal constant DexT1__BorrowAmtsZero = 51030;
DexT1__BorrowExcessSharesMinted ​
solidity
uint256 internal constant DexT1__BorrowExcessSharesMinted = 51031;
DexT1__PaybackAmtTooHigh ​
solidity
uint256 internal constant DexT1__PaybackAmtTooHigh = 51032;
DexT1__InvalidPaybackAmts ​
solidity
uint256 internal constant DexT1__InvalidPaybackAmts = 51033;
DexT1__PaybackAmtsZero ​
solidity
uint256 internal constant DexT1__PaybackAmtsZero = 51034;
DexT1__PaybackSharedBurnedLess ​
solidity
uint256 internal constant DexT1__PaybackSharedBurnedLess = 51035;
DexT1__NothingToArbitrage ​
solidity
uint256 internal constant DexT1__NothingToArbitrage = 51036;
DexT1__MsgSenderNotLiquidity ​
solidity
uint256 internal constant DexT1__MsgSenderNotLiquidity = 51037;
DexT1__ReentrancyBitShouldBeOn ​
solidity
uint256 internal constant DexT1__ReentrancyBitShouldBeOn = 51038;
DexT1__OraclePriceFetchAlreadyEntered ​
solidity
uint256 internal constant DexT1__OraclePriceFetchAlreadyEntered = 51039;
DexT1__OracleUpdateHugeSwapDiff ​
solidity
uint256 internal constant DexT1__OracleUpdateHugeSwapDiff = 51040;
DexT1__Token0ShouldBeSmallerThanToken1 ​
solidity
uint256 internal constant DexT1__Token0ShouldBeSmallerThanToken1 = 51041;
DexT1__OracleMappingOverflow ​
solidity
uint256 internal constant DexT1__OracleMappingOverflow = 51042;
DexT1__SwapAndArbitragePaused ​
thrown if governance has paused the swapping & arbitrage so only perfect functions are usable
solidity
uint256 internal constant DexT1__SwapAndArbitragePaused = 51043;
DexT1__ExceedsAmountInMax ​
solidity
uint256 internal constant DexT1__ExceedsAmountInMax = 51044;
DexT1__SwapInLimitingAmounts ​
thrown if amount in is too high or too low
solidity
uint256 internal constant DexT1__SwapInLimitingAmounts = 51045;
DexT1__SwapOutLimitingAmounts ​
thrown if amount out is too high or too low
solidity
uint256 internal constant DexT1__SwapOutLimitingAmounts = 51046;
DexT1__MintAmtOverflow ​
solidity
uint256 internal constant DexT1__MintAmtOverflow = 51047;
DexT1__BurnAmtOverflow ​
solidity
uint256 internal constant DexT1__BurnAmtOverflow = 51048;
DexT1__LimitingAmountsSwapAndNonPerfectActions ​
solidity
uint256 internal constant DexT1__LimitingAmountsSwapAndNonPerfectActions = 51049;
DexT1__InsufficientOracleData ​
solidity
uint256 internal constant DexT1__InsufficientOracleData = 51050;
DexT1__SharesAmountInsufficient ​
solidity
uint256 internal constant DexT1__SharesAmountInsufficient = 51051;
DexT1__CenterPriceOutOfRange ​
solidity
uint256 internal constant DexT1__CenterPriceOutOfRange = 51052;
DexT1__DebtReservesTooLow ​
solidity
uint256 internal constant DexT1__DebtReservesTooLow = 51053;
DexT1__SwapAndDepositTooLowOrTooHigh ​
solidity
uint256 internal constant DexT1__SwapAndDepositTooLowOrTooHigh = 51054;
DexT1__WithdrawAndSwapTooLowOrTooHigh ​
solidity
uint256 internal constant DexT1__WithdrawAndSwapTooLowOrTooHigh = 51055;
DexT1__BorrowAndSwapTooLowOrTooHigh ​
solidity
uint256 internal constant DexT1__BorrowAndSwapTooLowOrTooHigh = 51056;
DexT1__SwapAndPaybackTooLowOrTooHigh ​
solidity
uint256 internal constant DexT1__SwapAndPaybackTooLowOrTooHigh = 51057;
DexT1__InvalidImplementation ​
solidity
uint256 internal constant DexT1__InvalidImplementation = 51058;
DexT1__OnlyDelegateCallAllowed ​
solidity
uint256 internal constant DexT1__OnlyDelegateCallAllowed = 51059;
DexT1__IncorrectDataLength ​
solidity
uint256 internal constant DexT1__IncorrectDataLength = 51060;
DexT1__AmountToSendLessThanAmount ​
solidity
uint256 internal constant DexT1__AmountToSendLessThanAmount = 51061;
DexT1__InvalidCollateralReserves ​
solidity
uint256 internal constant DexT1__InvalidCollateralReserves = 51062;
DexT1__InvalidDebtReserves ​
solidity
uint256 internal constant DexT1__InvalidDebtReserves = 51063;
DexT1Admin__PoolNotInitialized ​
| | DEX Admin | |__________________________________
thrown when pool is not initialized
solidity
uint256 internal constant DexT1Admin__PoolNotInitialized = 52001;
DexT1Admin__SmartColIsAlreadyOn ​
solidity
uint256 internal constant DexT1Admin__SmartColIsAlreadyOn = 52002;
DexT1Admin__SmartDebtIsAlreadyOn ​
solidity
uint256 internal constant DexT1Admin__SmartDebtIsAlreadyOn = 52003;
DexT1Admin__ConfigOverflow ​
thrown when any of the configs value overflow the maximum limit
solidity
uint256 internal constant DexT1Admin__ConfigOverflow = 52004;
DexT1Admin__AddressNotAContract ​
solidity
uint256 internal constant DexT1Admin__AddressNotAContract = 52005;
DexT1Admin__InvalidParams ​
solidity
uint256 internal constant DexT1Admin__InvalidParams = 52006;
DexT1Admin__UserNotDefined ​
solidity
uint256 internal constant DexT1Admin__UserNotDefined = 52007;
DexT1Admin__OnlyDelegateCallAllowed ​
solidity
uint256 internal constant DexT1Admin__OnlyDelegateCallAllowed = 52008;
DexT1Admin__UnexpectedPoolState ​
solidity
uint256 internal constant DexT1Admin__UnexpectedPoolState = 52009;
DexT1Admin__InvalidPauseToggle ​
thrown when trying to pause or unpause but user is already in the target pause state
solidity
uint256 internal constant DexT1Admin__InvalidPauseToggle = 52009;
DexFactory__InvalidOperation ​
| | DEX Factory | |__________________________________
solidity
uint256 internal constant DexFactory__InvalidOperation = 53001;
DexFactory__Unauthorized ​
solidity
uint256 internal constant DexFactory__Unauthorized = 53002;
DexFactory__SameTokenNotAllowed ​
solidity
uint256 internal constant DexFactory__SameTokenNotAllowed = 53003;
DexFactory__TokenConfigNotProper ​
solidity
uint256 internal constant DexFactory__TokenConfigNotProper = 53004;
DexFactory__InvalidParams ​
solidity
uint256 internal constant DexFactory__InvalidParams = 53005;
DexFactory__OnlyDelegateCallAllowed ​
solidity
uint256 internal constant DexFactory__OnlyDelegateCallAllowed = 53006;
DexFactory__InvalidDexAddress ​
solidity
uint256 internal constant DexFactory__InvalidDexAddress = 53007;