Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Estimate swap claim fee requirement #422

Closed
grod220 opened this issue Jan 29, 2024 · 3 comments
Closed

Estimate swap claim fee requirement #422

grod220 opened this issue Jan 29, 2024 · 3 comments
Labels
ui Related to user interface or ux design

Comments

@grod220
Copy link
Contributor

grod220 commented Jan 29, 2024

No description provided.

@grod220 grod220 mentioned this issue Jan 29, 2024
16 tasks
@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Penumbra web Jan 29, 2024
@grod220 grod220 added the ui Related to user interface or ux design label Jan 29, 2024
@hdevalence
Copy link
Member

This should be fairly straightforward, we can use the current gas prices to estimate the cost of a "pure" swap claim transaction (which will have ~constant size, we can always overestimate a bit), then multiply by the current fee tier (on the assumption that prices won't change dramatically block to block, which seems reasonable).

@grod220 grod220 moved this from 🗄️ Backlog to 🛑 Blocked in Penumbra web Feb 1, 2024
@grod220 grod220 moved this from 🛑 Blocked to 📝 Todo in Penumbra web Feb 1, 2024
@jessepinho jessepinho self-assigned this Feb 6, 2024
@jessepinho jessepinho moved this from 📝 Todo to 🏗 In progress in Penumbra web Feb 6, 2024
@jessepinho jessepinho moved this from 🏗 In progress to 🛑 Blocked in Penumbra web Feb 6, 2024
@jessepinho jessepinho removed their assignment Feb 6, 2024
@jessepinho
Copy link
Contributor

jessepinho commented Feb 6, 2024

Per @hdevalence in Discord, we'll wait to do this for now since we want to refactor the WasmPlanner a bit first, and the gas prices are all 0 in testnet-preview anyway.

@grod220 grod220 moved this from 🛑 Blocked to 🗄️ Backlog in Penumbra web Feb 8, 2024
@grod220 grod220 moved this from 🗄️ Backlog to 📝 Todo in Penumbra web Feb 8, 2024
@grod220 grod220 moved this from 📝 Todo to 🗄️ Backlog in Penumbra web Feb 9, 2024
@TalDerei
Copy link
Contributor

outdated as fee logic has changed

@github-project-automation github-project-automation bot moved this from 🗄️ Backlog to ✅ Done in Penumbra web Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Related to user interface or ux design
Projects
Archived in project
Development

No branches or pull requests

4 participants