feat: 🎸 return default data

This commit is contained in:
Daksh Miglani 2021-05-08 17:31:51 +05:30
parent 14dd664e72
commit ae77f88111

View File

@ -213,11 +213,14 @@ contract Resolver is Helpers {
function getPosition(address owner, address[] memory crAddress) function getPosition(address owner, address[] memory crAddress)
public public
returns (CreamData[] memory) returns (
// CompReadInterface.CompBalanceMetadataExt memory CreamData[] memory,
CompReadInterface.CompBalanceMetadataExt memory
)
{ {
return ( return (
getCreamData(owner, crAddress) getCreamData(owner, crAddress),
CompReadInterface.CompBalanceMetadataExt(0, 0, address(0), 0)
// CompReadInterface(getCreamReadAddress()).getCompBalanceMetadataExt( // CompReadInterface(getCreamReadAddress()).getCompBalanceMetadataExt(
// getCreamToken(), // getCreamToken(),
// getComptroller(), // getComptroller(),