PlanetsManagerUpgradeable
allows us to retain in memory the data like the holders, the planets they own, the tiers and rewards they have while still being able to fix bugs and add features as the roadmap goes on
WalletObserverUpgradeable
, making it upgradeable allow us to keep in memory who bought how much, their limits as well as the malicious addresses that have been blocked in the past
accountBurn
and accountReward
functions were added to it to allow the PlanetsManagerUpgradeable
to dynamically burn and mint rewards to the holders without having the need to approve the use of the token. The liquidityReward
function was added to actually transfer the fees collected to the LiquidityPoolManager
.
accountBurn
and accountReward
functions were added to it to allow the PlanetsManagerUpgradeable to dynamically burn and mint rewards to the holders without needing to approve the use of the token. The liquidityReward function was added to transfer the fees collected to the LiquidityPoolManager
.
LiquidityPoolManager
is also immutable but can be replaced by redeploying the contract and updating the LiquidityPoolManager
implementation on all the other contracts as it doesn't contain data that need to be retained.