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

Allow converting prices to token amounts #41

Open
fubuloubu opened this issue Feb 23, 2024 · 1 comment
Open

Allow converting prices to token amounts #41

fubuloubu opened this issue Feb 23, 2024 · 1 comment

Comments

@fubuloubu
Copy link
Member

Overview

Really not sure if this is a good idea for safety reasons, but it would be awesome to be able to specify a price like $1000 and then have it convert to the relevant token amount you want

Specification

>>> convert("$1000 in USDC", int)
1000000000

Dependencies

#40

Copy link

linear bot commented Feb 23, 2024

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

No branches or pull requests

1 participant