Skip to content

Conversation

@mcclurejt
Copy link
Contributor

Hyperdrive returns the minimum transaction amount in base and rounds up when handling conversions.

Previously, it was not being converted in some places and values were rounded down.

This pr unifies the minimum transaction amount calculation and adds a buffer to overestimate it.

issue

Hyperdrive returns the minimum transaction amount in base and rounds up
when handling conversions.

Previously, it was not being converted in some places and values were
rounded down.

This pr unifies the minimum transaction amount calculation and adds a
buffer to overestimate it.
Remove additional conversion for wrapped tokens since the wrapped token
denominations are the same as hyperdrive's vault shares token.
@mcclurejt mcclurejt requested a review from MrToph January 7, 2025 12:48
@Sean329 Sean329 added this pull request to the merge queue Mar 18, 2025
Merged via the queue into main with commit 0570880 Mar 18, 2025
3 checks passed
@Sean329 Sean329 deleted the mcclurejt/fix/min-tx-amount-buffer branch March 18, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants