added type method on aggregator

This commit is contained in:
pol 2020-10-20 12:54:17 +02:00
parent 5509e442d5
commit 4e951147c2

View File

@ -14,4 +14,20 @@ contract MockAggregator {
function latestAnswer() external view returns (int256) {
return _latestAnswer;
}
// function getToken() external view returns (address) {
// }
function getTokenType() external view returns (uint256) {
return 1;
}
// function getPlatformId() external view returns (uint256) {
// }
// function getSubTokens() external view returns (address[] memory) {
// }
}