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

Add support to native token #363

Open
3 tasks
Corantin opened this issue Jul 28, 2022 · 0 comments
Open
3 tasks

Add support to native token #363

Corantin opened this issue Jul 28, 2022 · 0 comments
Labels
App 📱 User-facing issues Contracts 🌞 Smart Contract issues enhancement New feature or request

Comments

@Corantin
Copy link
Collaborator

Corantin commented Jul 28, 2022

  • Add support in contracts to set null as a reward token (null address will be considered as a native token)
  • Contract should make the distinction if native token then transfers like this:
    image.png
  • Frontend should detect if a native token is used and fetch the balance differently like this:
    image.png
@Corantin Corantin added App 📱 User-facing issues Contracts 🌞 Smart Contract issues enhancement New feature or request labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App 📱 User-facing issues Contracts 🌞 Smart Contract issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant