enzyme.utils
Documentation for eth_defi.enzyme.utils Python module.
Enzyme protocol utilities.
Random uncommented Enzyme TS code ported to Python.
Original code written in Decimal.js
https://mikemcl.github.io/decimal.js/#toSD
Functions
|
Internal helper to deal with Enzyme per second rates. |
- convert_rate_to_scaled_per_second_rate(rate, adjust_inflation)
Internal helper to deal with Enzyme per second rates.
- Parameters
rate (decimal.Decimal) –
adjust_inflation (bool) –
- Return type