merofinance / analyzer

A monitor for borrow and lending protocols on Ethereum.
MIT License
23 stars 2 forks source link

Add logic to compute supply/borrow across markets for a single user #8

Closed danhper closed 4 years ago

danhper commented 4 years ago

Look at the comptroller to see how to do that.

https://github.com/compound-finance/compound-protocol/blob/master/contracts/ComptrollerG1.sol#L657