Closed uint closed 2 years ago
LGTM Only nitpick for me - I'd personally choose some big-longer-more-meaningful name then "cap". I wonder if after some time, without context that one might be confusing in middle of code.
Would market_cap
be helpful? "It's the cap for the whole market, not some random temporary internal variable."
Would market_cap be helpful? "It's the cap for the whole market, not some random temporary internal variable."
Yeah, that looks good.
Closes #65
The cap is against LToken supply. It's a hard cap.
There's this requirement...
Technically, the UI can query the ltoken contract for the ltoken supply and the market contract cfg for the cap. If we need one snug query for this is probably something to figure out in integration.