Skip to content

Commit

Permalink
feat: Add decimals to MockAggregator to match Chainlink Aggregator in…
Browse files Browse the repository at this point in the history
…terface
  • Loading branch information
kartojal committed Dec 1, 2021
1 parent 5104cc4 commit 4cf1dac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/mocks/oracle/CLAggregators/MockAggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ contract MockAggregator {
function getTokenType() external pure returns (uint256) {
return 1;
}

function decimals() external pure returns (uint8) {
return 8;
}
}

0 comments on commit 4cf1dac

Please sign in to comment.