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 cw20 token as reserve token for bonding curve #191

Closed
ethanfrey opened this issue Dec 17, 2020 · 1 comment
Closed

Allow cw20 token as reserve token for bonding curve #191

ethanfrey opened this issue Dec 17, 2020 · 1 comment
Labels
bonding curve Work on bonding curve contracts

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Dec 17, 2020

Follow up from #185
Similar to #143

Right now we only accept native tokens, setting denom in InitMsg.
Accept an enum (Native{denom}, Cw20{address}) to set the reserve currency and enable handle_buy or handle_receive based on the config

Please refer to the description in #143 for a step-by-step of how to integrate (maybe better to do that first, then the same here)

@ethanfrey ethanfrey added the bonding curve Work on bonding curve contracts label Dec 17, 2020
@ethanfrey ethanfrey added this to the 0.6.1 milestone Mar 16, 2021
@ethanfrey ethanfrey modified the milestones: 0.6.1, v0.9.0 Aug 17, 2021
@ethanfrey ethanfrey modified the milestones: v0.9.0, v0.10.0 Sep 6, 2021
@uint uint self-assigned this Nov 15, 2021
@uint uint removed their assignment Nov 17, 2021
@ethanfrey
Copy link
Member Author

Interesting idea, but I think no one is using cw20-bonding anyway, certainly not me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bonding curve Work on bonding curve contracts
Projects
None yet
Development

No branches or pull requests

2 participants