Closed ryangoree closed 7 months ago
Add a function to the Rust SDK that calculates the amount of LP shares received when adding liquidity. Traders and UIs could use this to preview their position without hitting the chain.
Fixed in https://github.com/delvtech/hyperdrive/pull/934
Add a function to the Rust SDK that calculates the amount of LP shares received when adding liquidity. Traders and UIs could use this to preview their position without hitting the chain.