Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lam committed Aug 21, 2024
1 parent e010350 commit 008ef9d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion contracts/staking/ERC20TokenStakingManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {SafeERC20} from "@openzeppelin/[email protected]/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,
Expand Down
5 changes: 1 addition & 4 deletions contracts/staking/ExampleRewardCalculator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
1 change: 0 additions & 1 deletion contracts/staking/NativeTokenStakingManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 008ef9d

Please sign in to comment.