makerdao / pymaker

Python API for Maker contracts
GNU Affero General Public License v3.0
195 stars 96 forks source link

API: Solve the issue of `joy()`/`woe()` calculation as it's changing every second #7

Open ghost opened 7 years ago

EdNoepel commented 3 years ago

The amount of debt is always changing, though it can be queried with single block (13.4 second) granularity. Is there a specific place where this causes a problem?