Skip to content

Allow cw20 token as reserve token for bonding curve #191

@ethanfrey

Description

@ethanfrey

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bonding curveWork on bonding curve contracts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions