Closed jalextowle closed 7 months ago
We should add a function to the Rust SDK that calculates the long amount that brings the pool to a targeted effective rate (including fees). Traders could use this to calculate the optimal trade to make given their expected future variable rate.
duplicate of https://github.com/delvtech/hyperdrive/issues/775
We should add a function to the Rust SDK that calculates the long amount that brings the pool to a targeted effective rate (including fees). Traders could use this to calculate the optimal trade to make given their expected future variable rate.