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

Use Coin Enum instead of Option<Addr> #18

Open
JakeHartnell opened this issue Dec 7, 2021 · 1 comment
Open

Use Coin Enum instead of Option<Addr> #18

JakeHartnell opened this issue Dec 7, 2021 · 1 comment

Comments

@JakeHartnell
Copy link

JakeHartnell commented Dec 7, 2021

Having a token enum, would be cleaner than having Optional addresses representing Native Tokens / Cw20s.

https://github.com/Wasmswap/Junoswap/blob/18092a733281622e8dec8f0a23c8d343dae1b8a5/src/msg.rs#L10

@JakeHartnell JakeHartnell changed the title Use Enum instead for Instantiate msg Use Coin Enum instead of Option<Addr> Dec 7, 2021
@JakeHartnell
Copy link
Author

Use this for Token state as well.

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