Errors
returned by the Lending Pool Contract.
PSP22Error
An error related to PSP22 tokens.
AccessControlError
An error related to access control.
MathError
An error related to mathematical calculations.
AssetRulesError
An error related to asset rules.
ReserveDataError
An error related to reserve data.
ReserveRestrictionsError
An error related to reserve restrictions.
PriceFeedError
An error related to price feed.
FlashLoanReceiverError
An error related to flash loan receiver.
AmountNotGreaterThanZero
Returned if the amount
argument is zero.
AlreadyRegistered
Returned if an asset that is already registered is attempted to be registered again.
AssetNotRegistered
Returned if an asset that is not registered is passed as an argument to a message.
AssetIsProtocolStablecoin
Returned if the Abax native Stable Tokens AccountId is passed as an argument to a message where these tokens are not supported.
AssetIsNotProtocolStablecoin
Returned if an operation reserved only to Abax stable tokens is called on a normal asset.
RuleBorrowDisable
Returned if one tries to borrow an asset that is not allowed to be borrowed based on the market rule chosen.
RuleCollateralDisable
Returned if one tries to use an asset as collateral that is not allowed to be used as collateral based on the market rule chosen.
InsufficientCollateral
Returned if after the action, the user would become undercollateralized.
InsufficientDebt
Returned if one tries to transfer a debt they don't have.
Collaterized
Returned if one tries to liquidate a collaterized account.
InsufficientDeposit
Returned if one tries to transfer a deposit they don't have.
MinimumRecieved
Returned if the liquidation would result in not enough compensation per repaid token.
NothingToRepay
Returned if there is nothing to be repaid in an asset during liquidation.
NothingToCompensateWith
Returned if there is nothing to compensate the liquidation with in an asset.
TakingNotACollateral
Returned if a liquidator tries to take an asset that is not collateral as compensation.
FlashLoanAmountsAssetsInconsistentLengths
Returned if the length of the vector of assets to be borrowed is different from the length of the vector of amounts.
MarketRuleInvalidId
Returned if a passed market_rule_id
is invalid or not used.
Last updated