is_listed field is quite limited and doesn't give much information. At the same time, we still want to keep additional info about "good" tokens we want to decrease default gas fees or save some stats. Once DAO whitelists the token, there is no reason to erase the history in case of delisting anyway.
The task contains of the following steps:
[ ] Replace is_listed with is_paid. This value will be used for determining do we need to take commission in this token or NEAR.
[ ] Revisit all usages of is_paid and make sure it works as expected.
is_listed
field is quite limited and doesn't give much information. At the same time, we still want to keep additional info about "good" tokens we want to decrease default gas fees or save some stats. Once DAO whitelists the token, there is no reason to erase the history in case of delisting anyway.The task contains of the following steps:
is_listed
withis_paid
. This value will be used for determining do we need to take commission in this token or NEAR.is_paid
and make sure it works as expected.