Skip to content

Commit

Permalink
Addressed PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pinebit committed Jan 24, 2025
1 parent 4f03f52 commit 4901d30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/owr/OptimisticWithdrawalRecipientV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ contract OptimisticWithdrawalRecipientV2 is Clone, OwnableRoles {
return pullBalances[account];
}

/// Address to recover non-OWR tokens to
/// @dev equivalent to address public immutable recoveryAddress;
function recoveryAddress() public pure returns (address) {
return _getArgAddress(RECOVERY_ADDRESS_OFFSET);
}

/// -----------------------------------------------------------------------
/// functions - private & internal
/// -----------------------------------------------------------------------
Expand Down Expand Up @@ -439,12 +445,6 @@ contract OptimisticWithdrawalRecipientV2 is Clone, OwnableRoles {
}
}

/// Address to recover non-OWR tokens to
/// @dev equivalent to address public immutable recoveryAddress;
function recoveryAddress() public pure returns (address) {
return _getArgAddress(RECOVERY_ADDRESS_OFFSET);
}

/// Get OWR tranche `i`
/// @dev emulates to uint256[] internal immutable tranche;
function _getTranche(uint256 i) internal pure returns (uint256) {
Expand Down

0 comments on commit 4901d30

Please sign in to comment.