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 migrate method to cw20 base. #745

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

0xekez
Copy link
Contributor

@0xekez 0xekez commented Jun 27, 2022

This adds a migrate method to cw20-base. Having this will be nice as it will allow cw20 users to upgrade to a token where the minter can be upgraded.

We'd particularly like this for DAO DAO as it will make it easier for DAOs to upgrade their governance tokens.

let cw20_addr = app
.instantiate_contract(
cw20_id,
Addr::unchecked("meow"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this is just a one of many tests. But this is still an open source code that will be used in multiple projectes - please replace those random strings with something proper.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, np.

Copy link
Collaborator

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you for another contribution.

@ueco-jb ueco-jb merged commit d0b68db into CosmWasm:main Jul 19, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants