Closed ueco-jb closed 2 years ago
Someone else please review/comment.
I am bad at naming (as I am sure you have figured out)
I guess token
is more descriptive and concrete than asset
. Sounds cool with me.
The base
part is what feels weird to me TBH when used in the market/agency contracts. traded_token
? So we'd have a reward_token
, common_token
and then a bunch of traded_token
s.
The base part is what feels weird to me TBH when used in the market/agency contracts. traded_token?
Problem here is basically "local" denom (per market) vs "global" (per credit agency) - I think like that's the most important thing that those names should carry, to prevent confusion.
EDIT: Maybe market_token
would be good name (instead of local)?
Then we have market_token
and common_token
.
EDIT: Maybe
market_token
would be good name (instead of local)? Then we havemarket_token
andcommon_token
.
I don't like local_token
, but market_token
is 10/10. If I know I'm creating different markets, I'd instantly know what it's for based on the name.
I think that name better represents what this asset actually is. Plus it matches better with added later
common_token
passed down from Credit Agency.