Skip to content

ErrorTypes ​

Git Source

State Variables ​

FluidOracleL2__SequencerOutage ​

| | FluidOracleL2 | |__________________________________

thrown when sequencer on a L2 has an outage and grace period has not yet passed.

solidity
uint256 internal constant FluidOracleL2__SequencerOutage = 60000;

UniV3CheckCLRSOracle__InvalidPrice ​

| | UniV3CheckCLRSOracle | |__________________________________

thrown when the delta between main price source and check rate source is exceeding the allowed delta

solidity
uint256 internal constant UniV3CheckCLRSOracle__InvalidPrice = 60001;

UniV3CheckCLRSOracle__InvalidParams ​

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant UniV3CheckCLRSOracle__InvalidParams = 60002;

UniV3CheckCLRSOracle__ExchangeRateZero ​

thrown when the exchange rate is zero, even after all possible fallbacks depending on config

solidity
uint256 internal constant UniV3CheckCLRSOracle__ExchangeRateZero = 60003;

FluidOracle__InvalidInfoName ​

| | FluidOracle | |__________________________________

thrown when an invalid info name is passed into a fluid oracle (e.g. not set or too long)

solidity
uint256 internal constant FluidOracle__InvalidInfoName = 60010;

SUSDeOracle__InvalidParams ​

| | sUSDe Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant SUSDeOracle__InvalidParams = 60102;

PendleOracle__InvalidParams ​

| | Pendle Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant PendleOracle__InvalidParams = 60201;

PendleOracle__MarketNotInitialized ​

thrown when the Pendle market Oracle has not been initialized yet

solidity
uint256 internal constant PendleOracle__MarketNotInitialized = 60202;

PendleOracle__MarketInvalidDecimals ​

thrown when the Pendle market does not have 18 decimals

solidity
uint256 internal constant PendleOracle__MarketInvalidDecimals = 60203;

PendleOracle__InvalidPrice ​

thrown when the Pendle market returns an unexpected price

solidity
uint256 internal constant PendleOracle__InvalidPrice = 60204;

CLRS2UniV3CheckCLRSOracleL2__ExchangeRateZero ​

| | CLRS2UniV3CheckCLRSOracleL2 | |__________________________________

thrown when the exchange rate is zero, even after all possible fallbacks depending on config

solidity
uint256 internal constant CLRS2UniV3CheckCLRSOracleL2__ExchangeRateZero = 60301;

Ratio2xFallbackCLRSOracleL2__ExchangeRateZero ​

| | Ratio2xFallbackCLRSOracleL2 | |__________________________________

thrown when the exchange rate is zero, even after all possible fallbacks depending on config

solidity
uint256 internal constant Ratio2xFallbackCLRSOracleL2__ExchangeRateZero = 60311;

WeETHsOracle__InvalidParams ​

| | WeETHsOracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant WeETHsOracle__InvalidParams = 60321;

ChainlinkOracle__InvalidParams ​

| | Chainlink Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant ChainlinkOracle__InvalidParams = 61001;

UniV3Oracle__InvalidParams ​

| | UniswapV3 Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant UniV3Oracle__InvalidParams = 62001;

UniV3Oracle__InvalidSecondsAgos ​

thrown when constructor is called with invalid ordered seconds agos values

solidity
uint256 internal constant UniV3Oracle__InvalidSecondsAgos = 62002;

UniV3Oracle__InvalidDeltas ​

thrown when constructor is called with invalid delta values > 100%

solidity
uint256 internal constant UniV3Oracle__InvalidDeltas = 62003;

WstETHOracle__InvalidParams ​

| | WstETh Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant WstETHOracle__InvalidParams = 63001;

RedstoneOracle__InvalidParams ​

| | Redstone Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant RedstoneOracle__InvalidParams = 64001;

FallbackOracle__InvalidParams ​

| | Fallback Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant FallbackOracle__InvalidParams = 65001;

FallbackCLRSOracle__ExchangeRateZero ​

| | FallbackCLRSOracle | |__________________________________

thrown when the exchange rate is zero, even for the fallback oracle source (if enabled)

solidity
uint256 internal constant FallbackCLRSOracle__ExchangeRateZero = 66001;

WstETHCLRSOracle__ExchangeRateZero ​

| | WstETHCLRSOracle | |__________________________________

thrown when the exchange rate is zero, even for the fallback oracle source (if enabled)

solidity
uint256 internal constant WstETHCLRSOracle__ExchangeRateZero = 67001;

CLFallbackUniV3Oracle__ExchangeRateZero ​

| | CLFallbackUniV3Oracle | |__________________________________

thrown when the exchange rate is zero, even for the uniV3 rate

solidity
uint256 internal constant CLFallbackUniV3Oracle__ExchangeRateZero = 68001;

WstETHCLRS2UniV3CheckCLRSOracle__ExchangeRateZero ​

| | WstETHCLRS2UniV3CheckCLRSOracle | |__________________________________

thrown when the exchange rate is zero, even for the uniV3 rate

solidity
uint256 internal constant WstETHCLRS2UniV3CheckCLRSOracle__ExchangeRateZero = 69001;

WeETHOracle__InvalidParams ​

| | WeETh Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

solidity
uint256 internal constant WeETHOracle__InvalidParams = 70001;