@mimic-fi/v1-chainlink-price-oracle
v0.0.4
Published
[](https://github.com/mimic-fi/chainlink-price-oracle/actions/workflows/ci.yml) [Development
In order to use a PriceOracle you can simply do:
import "@mimic-fi/v1-vault/contracts/interfaces/IPriceOracle.sol";
contract MyContract {
IPriceOracle connector;
function getTokenPrice(address token, address base)
external
returns (uint256)
{
return oracle.getTokenPrice(token, base);
}
}
