ErrorTypes

Git Source

State Variables

UniV3CheckCLRSOracle__InvalidPrice

| | UniV3CheckCLRSOracle | |__________________________________

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

uint256 internal constant UniV3CheckCLRSOracle__InvalidPrice = 60001;

UniV3CheckCLRSOracle__InvalidParams

thrown when an invalid parameter is passed to a method

uint256 internal constant UniV3CheckCLRSOracle__InvalidParams = 60002;

UniV3CheckCLRSOracle__ExchangeRateZero

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

uint256 internal constant UniV3CheckCLRSOracle__ExchangeRateZero = 60003;

ChainlinkOracle__InvalidParams

| | Chainlink Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant ChainlinkOracle__InvalidParams = 61001;

UniV3Oracle__InvalidParams

| | UniswapV3 Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant UniV3Oracle__InvalidParams = 62001;

UniV3Oracle__InvalidSecondsAgos

thrown when constructor is called with invalid ordered seconds agos values

uint256 internal constant UniV3Oracle__InvalidSecondsAgos = 62002;

UniV3Oracle__InvalidDeltas

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

uint256 internal constant UniV3Oracle__InvalidDeltas = 62003;

WstETHOracle__InvalidParams

| | WstETh Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant WstETHOracle__InvalidParams = 63001;

RedstoneOracle__InvalidParams

| | Redstone Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant RedstoneOracle__InvalidParams = 64001;

FallbackOracle__InvalidParams

| | Fallback Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant FallbackOracle__InvalidParams = 65001;

FallbackCLRSOracle__ExchangeRateZero

| | FallbackCLRSOracle | |__________________________________

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

uint256 internal constant FallbackCLRSOracle__ExchangeRateZero = 66001;

WstETHCLRSOracle__ExchangeRateZero

| | WstETHCLRSOracle | |__________________________________

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

uint256 internal constant WstETHCLRSOracle__ExchangeRateZero = 67001;

CLFallbackUniV3Oracle__ExchangeRateZero

| | CLFallbackUniV3Oracle | |__________________________________

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

uint256 internal constant CLFallbackUniV3Oracle__ExchangeRateZero = 68001;

WstETHCLRS2UniV3CheckCLRSOracle__ExchangeRateZero

| | WstETHCLRS2UniV3CheckCLRSOracle | |__________________________________

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

uint256 internal constant WstETHCLRS2UniV3CheckCLRSOracle__ExchangeRateZero = 69001;

WeETHOracle__InvalidParams

| | WeETh Oracle | |__________________________________

thrown when an invalid parameter is passed to a method

uint256 internal constant WeETHOracle__InvalidParams = 70001;