delvtech / hyperdrive-bindings

Python and WASM bindings for the Hyperdrive Rust SDK.
Apache License 2.0
5 stars 0 forks source link

Add `calcImpliedRate` method to hyperwasm #99

Closed DannyDelott closed 7 months ago

DannyDelott commented 7 months ago

Related to https://github.com/delvtech/hyperdrive/pull/998 and https://github.com/delvtech/hyperdrive/issues/996

This wraps the calculate_implied_rate method from Rust that we'll use in the frontend to show the effective apy for shorts