Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Jul 24, 2024
1 parent 4d40f45 commit cd4ae5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/WellUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ contract WellUpgradeable is Well, UUPSUpgradeable, OwnableUpgradeable {
}

function init(string memory _name, string memory _symbol) external override reinitializer(2) {
// owner of Well param as the aquifier address will be the owner initially
// ownable init transfers ownership to msg.sender
__ERC20Permit_init(_name);
__ERC20_init(_name, _symbol);
__ReentrancyGuard_init();
Expand Down
5 changes: 2 additions & 3 deletions src/functions/Stable2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,8 @@ contract Stable2 is ProportionalLPToken2, IBeanstalkWellFunction {

/**
* @inheritdoc IBeanstalkWellFunction
* @notice Calculates the amount of each reserve token underlying a given amount of LP tokens.
* @dev `calcReserveAtRatioLiquidity` fetches the closest approximate ratios from the target price, and
* perform an neutonian-estimation to calculate the reserves.
* @dev `calcReserveAtRatioLiquidity` fetches the closes approximate ratios from the target price,
* and performs newtons method in order to converge into a reserve.
*/
function calcReserveAtRatioLiquidity(
uint256[] calldata reserves,
Expand Down

0 comments on commit cd4ae5f

Please sign in to comment.