diff --git a/contracts/staking/ERC20TokenStakingManager.sol b/contracts/staking/ERC20TokenStakingManager.sol index c5048cc9e..a26f1dc95 100644 --- a/contracts/staking/ERC20TokenStakingManager.sol +++ b/contracts/staking/ERC20TokenStakingManager.sol @@ -14,7 +14,6 @@ import {SafeERC20} from "@openzeppelin/contracts@5.0.2/token/ERC20/utils/SafeERC import {ICMInitializable} from "../utilities/ICMInitializable.sol"; import {PoSValidatorManager} from "./PoSValidatorManager.sol"; import {PoSValidatorManagerSettings} from "./interfaces/IPoSValidatorManager.sol"; -import {IRewardCalculator} from "./interfaces/IRewardCalculator.sol"; contract ERC20TokenStakingManager is Initializable, diff --git a/contracts/staking/ExampleRewardCalculator.sol b/contracts/staking/ExampleRewardCalculator.sol index 42a7711ec..981a9db95 100644 --- a/contracts/staking/ExampleRewardCalculator.sol +++ b/contracts/staking/ExampleRewardCalculator.sol @@ -26,9 +26,6 @@ contract ExampleRewardCalculator is IRewardCalculator { uint256, // initialSupply uint256 // endSupply ) external view returns (uint256) { - return - (stakeAmount * rewardBasisPoints * (endTime - startTime)) / - SECONDS_IN_YEAR / - 1000; + return (stakeAmount * rewardBasisPoints * (endTime - startTime)) / SECONDS_IN_YEAR / 1000; } } diff --git a/contracts/staking/NativeTokenStakingManager.sol b/contracts/staking/NativeTokenStakingManager.sol index 7abc6b2bf..1099dbef1 100644 --- a/contracts/staking/NativeTokenStakingManager.sol +++ b/contracts/staking/NativeTokenStakingManager.sol @@ -12,7 +12,6 @@ import {Initializable} from import {ICMInitializable} from "../utilities/ICMInitializable.sol"; import {PoSValidatorManager} from "./PoSValidatorManager.sol"; import {PoSValidatorManagerSettings} from "./interfaces/IPoSValidatorManager.sol"; -import {IRewardCalculator} from "./interfaces/IRewardCalculator.sol"; contract NativeTokenStakingManager is Initializable,