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

Unify handling of native and cw20 coins in contracts #88

Closed
maurolacy opened this issue Sep 12, 2020 · 0 comments
Closed

Unify handling of native and cw20 coins in contracts #88

maurolacy opened this issue Sep 12, 2020 · 0 comments
Assignees

Comments

@maurolacy
Copy link
Contributor

maurolacy commented Sep 12, 2020

Refactor cw20-enabled contracts to use the same pattern introduced in cw0-atomic-swap, of using the same function to handle both native and cw20 coins.

The main candidate for implementing this is cw20-escrow.

Also, document the pattern in the cosmwasm / cosmwasm-plus wiki docs.

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