Skip to content

Commit

Permalink
Remove natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
garyghayrat committed Oct 8, 2024
1 parent 7ea2e99 commit 8669241
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/interfaces/IEarningPowerCalculator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,11 @@ pragma solidity ^0.8.23;
/// @notice Interface for calculating earning power of a staker based on their delegate score in
/// GovernanceStaker.
interface IEarningPowerCalculator {
/// @notice Calculates the earning power for a given delegate and staking amount.
/// @param _amountStaked The amount of tokens staked.
/// @param _staker The address of the staker.
/// @param _delegatee The address of the delegatee.
/// @return _earningPower The calculated earning power.
function getEarningPower(uint256 _amountStaked, address _staker, address _delegatee)
external
view
returns (uint256 _earningPower);

/// @notice Calculates the new earning power and determines if it qualifies for an update.`
/// @param _amountStaked The amount of tokens staked.
/// @param _staker The address of the staker.
/// @param _delegatee The address of the delegatee.
/// @param _oldEarningPower The previous earning power value.
/// @return _newEarningPower The newly calculated earning power.
/// @return _isQualifiedForUpdate Boolean indicating if the new earning power qualifies for an
/// update.
function getNewEarningPower(
uint256 _amountStaked,
address _staker,
Expand Down

0 comments on commit 8669241

Please sign in to comment.