File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,18 @@ pragma solidity ^0.8.26;
4
4
import {IValidatorRewarder} from "../interfaces/IValidatorRewarder.sol " ;
5
5
6
6
import {Consensus, SubnetID} from "../types/CommonTypes.sol " ;
7
- import {SubnetIDHelper} from "../util/SubnetIDHelper.sol " ;
8
7
import {Recall} from "./Recall.sol " ;
9
8
10
9
import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/contracts/access/OwnableUpgradeable.sol " ;
11
10
import {UUPSUpgradeable} from "@openzeppelin/contracts-upgradeable/contracts/proxy/utils/UUPSUpgradeable.sol " ;
12
11
13
- import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol " ;
14
12
import {UD60x18, ud} from "@prb/math/UD60x18.sol " ;
15
13
16
14
/// @title ValidatorRewarder
17
15
/// @notice This contract is responsible for distributing rewards to validators.
18
16
/// @dev The rewarder is responsible for distributing the inflation to the validators.
19
17
/// @dev The rewarder is called by the subnet actor when a validator claims rewards.
20
18
contract ValidatorRewarder is IValidatorRewarder , UUPSUpgradeable , OwnableUpgradeable {
21
- using SubnetIDHelper for SubnetID;
22
- using SafeERC20 for Recall;
23
-
24
19
// ========== STATE VARIABLES ==========
25
20
26
21
/// @notice Indicates whether the rewarder is active or not
You can’t perform that action at this time.
0 commit comments