tokencard / contracts

The Consumer Contract Wallet
GNU General Public License v3.0
94 stars 40 forks source link

Adjust redeemable counter when setting the corresponding flag #573

Closed i-stam closed 4 years ago

i-stam commented 4 years ago

Adresseses #572

i-stam commented 4 years ago

Regarding the question about how the redeemable counter is related to the loadable tokens: since we assume that loadable and redeemable are decoupled i.e. a token can be redeemable even though it is currently non-loadable we can leave it as it is. The only reason to add similar functionality for the loadable assets is to have easily accessible information: how many loadable tokens exist and which are those. @mischat