...uint256 amount ) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(to != from, "ERC20: transfer to the same address");
if(address(rewardToken) == from){
upda...
...
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
```
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf...