Skip to content

Commit

Permalink
cleanup immutables
Browse files Browse the repository at this point in the history
  • Loading branch information
pblivin0x committed Jun 11, 2024
1 parent d30288a commit 2b589d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion contracts/adapters/PrtFeeSplitExtension.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ contract PrtFeeSplitExtension is FeeSplitExtension {
uint256 prtTake
);

/* ============ Immutables ============ */

IPrt public immutable prt;

/* ============ State Variables ============ */

IPrt public prt;
IPrtStakingPool public prtStakingPool;

/* ============ Constructor ============ */
Expand Down
4 changes: 3 additions & 1 deletion contracts/staking/PrtStakingPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@ contract PrtStakingPool is Ownable, ERC20Snapshot, ReentrancyGuard {

event FeeSplitExtensionChanged(address _newFeeSplitExtension);

/* ============ State Variables ============ */
/* ============ Immutables ============ */

/// @notice SetToken to be distributed to stakers
ISetToken public immutable setToken;

/// @notice PRT token to be staked
IPrt public immutable prt;

/* ============ State Variables ============ */

/// @notice PRT Fee split extension which accrues fees and distributes setToken
address public feeSplitExtension;

Expand Down

0 comments on commit 2b589d2

Please sign in to comment.