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

convert_rate_to_scaled_per_second_rate(rate, ...)

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
Return type

int