Relies on oracle Adapter contracts to convert token values to USD. Uses internal configuration to decide which oracles to use for each token.
function convert(
address _token,
uint256 _amount,
bytes memory _payload
) external view returns (uint256);
Uses configured adapter contract for the token to convert to USD.
function convertMultiple(
address[] memory _tokens,
uint256[] memory _amounts,
bytes memory _payload
) external view override returns (uint256[] memory results)
Calls adapter contracts to convert token amounts to USD.