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

error VaultCannotBeDusty(uint256 amountLeft, uint256 dust);

ArithmeticError

error ArithmeticError();

IlkAlreadyAdded

error IlkAlreadyAdded(address ilkAddress);

IlkNotInitialized

error IlkNotInitialized(uint256 ilkIndex);

DepositSurpassesSupplyCap

error DepositSurpassesSupplyCap(uint256 depositAmount, uint256 supplyCap);

MaxIlksReached

error MaxIlksReached();

InvalidIlkAddress

error InvalidIlkAddress();

InvalidInterestRateModule

error InvalidInterestRateModule(InterestRate invalidInterestRateModule);

InvalidWhitelist

error InvalidWhitelist();

InvalidExchangeRate

error InvalidExchangeRate(uint256 ilkIndex);

InvalidIlkIndex

error InvalidIlkIndex(uint256 ilkIndex);

AlreadyUpdated

error AlreadyUpdated();

EnforcedPause

error EnforcedPause();

ExpectedPause

error ExpectedPause();

InvalidInitialization

error InvalidInitialization();

NotInitializing

error NotInitializing();

ProxyDeniedAdminAccess

error ProxyDeniedAdminAccess();
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

AccessControlBadConfirmation

error AccessControlBadConfirmation();

InvalidUniswapPool

error InvalidUniswapPool();

InvalidZeroLiquidityRegionSwap

error InvalidZeroLiquidityRegionSwap();

CallbackOnlyCallableByPool

error CallbackOnlyCallableByPool(address unauthorizedCaller);

OutputAmountNotReceived

error OutputAmountNotReceived(uint256 amountReceived, uint256 amountRequired);