FluidUsdOracleCore ​
Functions ​
validAddress ​
validates that an address is not the zero address
solidity
modifier validAddress(address value_) ;_checkValidAddress ​
solidity
function _checkValidAddress(address value_) internal pure;_keyHash ​
Computes the storage key for a config lookup.
solidity
function _keyHash(address token_, uint256 eMode_, uint256 isOperate_, uint256 isCollateral_)
internal
pure
returns (bytes32);_isChainlinkStyleSourceType ​
SOURCE_CHAINLINK and SOURCE_REDSTONE both use AggregatorV3-compatible feeds.
solidity
function _isChainlinkStyleSourceType(uint8 sourceType_) internal pure returns (bool);_tokenHasEmodeInConfigsMap ​
Returns true if configsMap[token_] contains at least one row with eMode == eMode_.
solidity
function _tokenHasEmodeInConfigsMap(address token_, uint256 eMode_) internal view returns (bool);_isStablePeg ​
True for STABLE tokens in PEG mode, which resolve to a constant $1 and skip the price tree.
solidity
function _isStablePeg(uint8 tokenType_, uint8 priceMode_) internal pure returns (bool);_isCrossPath ​
True for the two cross-path overall cap modes, which price against a second source leg.
solidity
function _isCrossPath(uint8 overallCapMode_) internal pure returns (bool);_revertIfTokenKeysBlockAltRemoval ​
Reverts if any listed key for token_ still uses fallback, deviation, or CROSS_PATH.
solidity
function _revertIfTokenKeysBlockAltRemoval(address token_) internal view;