This PR will add a disabled status to the UniV3RewardToken contract.
The contract owner can set the reward token contract as disabled. If the contract is disabled, it will:
not allocate funds to the TokenDistro
emit a InvalidRewardsPaid event to track the reward claim if triggered by the UniV3Staker
This will prevent stakers from claiming rewards and allow tracking of invalid rewards (when the contract is disabled) for potential later reimbursement.
This should allow safe disabling of the token, and re-enabling it in case of failure;
Disable UniV3 Rewards
This PR will add a
disabled
status to the UniV3RewardToken contract.The contract owner can set the reward token contract as disabled. If the contract is disabled, it will:
InvalidRewardsPaid
event to track the reward claim if triggered by the UniV3StakerThis will prevent stakers from claiming rewards and allow tracking of invalid rewards (when the contract is disabled) for potential later reimbursement.
This should allow safe disabling of the token, and re-enabling it in case of failure;