Skip to content

Commit

Permalink
codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
bxmmm1 committed Dec 13, 2024
1 parent 2af9783 commit 57552d5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface IAVSDirectoryTypes {

interface IAVSDirectoryEvents is IAVSDirectoryTypes {
/**
* @notice Emitted when an operator's registration status with an AVS id udpated
* @notice Emitted when an operator's registration status with an AVS id updated
* @notice Only used by legacy M2 AVSs that have not integrated with operatorSets.
*/
event OperatorAVSRegistrationStatusUpdated(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ interface IDelegationManager is ISignatureUtils, IDelegationManagerErrors, IDele
) external;

/**
* @notice Used to complete the lastest queued withdrawal.
* @notice Used to complete the latest queued withdrawal.
* @param withdrawal The withdrawal to complete.
* @param tokens Array in which the i-th entry specifies the `token` input to the 'withdraw' function of the i-th Strategy in the `withdrawal.strategies` array.
* @param receiveAsTokens If true, the shares calculated to be withdrawn will be withdrawn from the specified strategies themselves
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ interface IEigenPodErrors {

interface IEigenPodTypes {
enum VALIDATOR_STATUS {
INACTIVE, // doesnt exist
INACTIVE, // doesn't exist
ACTIVE, // staked on ethpos and withdrawal credentials are pointed to the EigenPod
WITHDRAWN // withdrawn from the Beacon Chain

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ interface IPermissionController is IPermissionControllerErrors, IPermissionContr
function getPendingAdmins(address account) external view returns (address[] memory);

/**
* @notice Checks if the given caller has permissions to call the fucntion
* @notice Checks if the given caller has permissions to call the function
* @param account to check
* @param caller to check permission for
* @param target to check permission for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ interface IRewardsCoordinatorErrors {
error SplitExceedsMax();
/// @dev Thrown when input `duration` exceeds maximum.
error DurationExceedsMax();
/// @dev Thrown when input `duration` is not evenly divisble by CALCULATION_INTERVAL_SECONDS.
/// @dev Thrown when input `duration` is not evenly divisible by CALCULATION_INTERVAL_SECONDS.
error InvalidDurationRemainder();
/// @dev Thrown when GENESIS_REWARDS_TIMESTAMP is not evenly divisble by CALCULATION_INTERVAL_SECONDS.
/// @dev Thrown when GENESIS_REWARDS_TIMESTAMP is not evenly divisible by CALCULATION_INTERVAL_SECONDS.
error InvalidGenesisRewardsTimestampRemainder();
/// @dev Thrown when CALCULATION_INTERVAL_SECONDS is not evenly divisble by SNAPSHOT_CADENCE.
/// @dev Thrown when CALCULATION_INTERVAL_SECONDS is not evenly divisible by SNAPSHOT_CADENCE.
error InvalidCalculationIntervalSecondsRemainder();
/// @dev Thrown when `startTimestamp` is not evenly divisble by CALCULATION_INTERVAL_SECONDS.
/// @dev Thrown when `startTimestamp` is not evenly divisible by CALCULATION_INTERVAL_SECONDS.
error InvalidStartTimestampRemainder();
/// @dev Thrown when `startTimestamp` is too far in the future.
error StartTimestampTooFarInFuture();
Expand All @@ -67,7 +67,7 @@ interface IRewardsCoordinatorErrors {
error InvalidTokenLeafIndex();
/// @dev Thrown when an invalid earner leaf index is provided.
error InvalidEarnerLeafIndex();
/// @dev Thrown when cummulative earnings are not greater than cummulative claimed.
/// @dev Thrown when cumulative earnings are not greater than cumulative claimed.
error EarningsNotGreaterThanClaimed();

/// Reward Root Checks
Expand Down Expand Up @@ -275,7 +275,7 @@ interface IRewardsCoordinatorEvents is IRewardsCoordinatorTypes {
OperatorDirectedRewardsSubmission operatorDirectedRewardsSubmission
);

/// @notice rewardsUpdater is responsible for submiting DistributionRoots, only owner can set rewardsUpdater
/// @notice rewardsUpdater is responsible for submitting DistributionRoots, only owner can set rewardsUpdater
event RewardsUpdaterSet(address indexed oldRewardsUpdater, address indexed newRewardsUpdater);

event RewardsForAllSubmitterSet(
Expand Down Expand Up @@ -539,7 +539,7 @@ interface IRewardsCoordinator is IRewardsCoordinatorErrors, IRewardsCoordinatorE
/// @notice Mapping: claimer => token => total amount claimed
function cumulativeClaimed(address claimer, IERC20 token) external view returns (uint256);

/// @notice the defautl split for all operators across all avss
/// @notice the default split for all operators across all avss
function defaultOperatorSplitBips() external view returns (uint16);

/// @notice the split for a specific `operator` for a specific `avs`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ contract EigenLayerDelegationManagerMock is IDelegationManager {
) external { }

/**
* @notice Used to complete the lastest queued withdrawal.
* @notice Used to complete the latest queued withdrawal.
* @param withdrawal The withdrawal to complete.
* @param tokens Array in which the i-th entry specifies the `token` input to the 'withdraw' function of the i-th Strategy in the `withdrawal.strategies` array.
* @param receiveAsTokens If true, the shares calculated to be withdrawn will be withdrawn from the specified strategies themselves
Expand Down

0 comments on commit 57552d5

Please sign in to comment.