Closed sampocs closed 1 year ago
Do you guys think it makes more sense to have the bool as tokenizedShares
and the check is
if !tokenizedShares {
// updatedTotal
}
Or as newDelegation
and the check is
if newDelegation {
// update total
}
Latter might be more clear
LGTM
See #89 for more context and s/o @xlab for catching this!
Brief Changelog
CheckExceedsGlobalLiquidStakingCap
andSafetlyIncreaseTotalLiquidStakedTokens
to take a parameter that distinguishes between native delegations and tokenizations.