Skip to content

ResolverHelpers ​

Git Source

Functions ​

_getLiquidityExternalBalances ​

Returns the Liquidity Layer's balance of the given token currently sitting externally.

solidity
function _getLiquidityExternalBalances(
    address,
    /**
     *
     */
    address /**
             *
             */
)
    internal
    pure
    returns (uint256);

Returns

NameTypeDescription
<none>uint256The total external balance of the contract.

_fetchOraclePrices ​

Fetches oracle prices for resolver/UI reads. Falls back to *Raw getters when guarded getters revert (e.g. L2 sequencer grace today).

solidity
function _fetchOraclePrices(address oracle_)
    internal
    view
    returns (uint256 oraclePriceOperate_, uint256 oraclePriceLiquidate_);