confio / tfi

Contracts for Regulated DeFi on the Tgrade blockchain
Apache License 2.0
9 stars 0 forks source link

Add event for new coins created #49

Closed alpe closed 2 years ago

alpe commented 2 years ago

Emit event for dso_token instantiate with attributes for name, symbol, decimal and whitelist_group

ethanfrey commented 2 years ago

For dso_token::instantiate.

Maybe we can add this to cw20-base??

{
  "type": "create_token",
  "attributes": [
    {"key": "name", "value": "Liquid Gold"},
    {"key": "symbol", "value": "GOLD"},
    {"key": "decimal", "value": "6"},
    {"key": "allow_group", "value": "tgrade123456789"},
  ]
}
ethanfrey commented 2 years ago

Let's do this for v0.2.1 (point release)