Errors

Git Source

Errors

CeilingExceeded

error CeilingExceeded(uint256 newDebt, uint256 debtCeiling);

UnsafePositionChange

error UnsafePositionChange(uint256 newTotalDebtInVault, uint256 collateral, uint256 spot);

UnsafePositionChangeWithoutConsent

error UnsafePositionChangeWithoutConsent(uint8 ilkIndex, address user, address unconsentedOperator);

GemTransferWithoutConsent

error GemTransferWithoutConsent(uint8 ilkIndex, address user, address unconsentedOperator);

UseOfCollateralWithoutConsent

error UseOfCollateralWithoutConsent(uint8 ilkIndex, address depositor, address unconsentedOperator);

TakingWethWithoutConsent

error TakingWethWithoutConsent(address payer, address unconsentedOperator);

VaultCannotBeDusty

ArithmeticError

IlkAlreadyAdded

IlkNotInitialized

DepositSurpassesSupplyCap

MaxIlksReached

InvalidIlkAddress

InvalidInterestRateModule

InvalidWhitelist

InvalidExchangeRate

InvalidIlkIndex

AlreadyUpdated

EnforcedPause

ExpectedPause

InvalidInitialization

NotInitializing

ProxyDeniedAdminAccess

AccessControlBadConfirmation

InvalidUniswapPool

InvalidZeroLiquidityRegionSwap

CallbackOnlyCallableByPool

OutputAmountNotReceived