Skip to content

Commit

Permalink
fix(typo): typos in portfolio natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexangelj committed Jul 24, 2023
1 parent 4669bd5 commit 88db916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Portfolio.sol
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ contract Portfolio is ERC1155, IPortfolio {
_preLock();
if (_currentMulticall == false) _deposit();

// Return and event variables are kept native token decimals.
// Return and event variables are kept in native token decimals.
(poolId, input, output) = (args.poolId, args.input, args.output);

PortfolioPool storage pool = pools[args.poolId];
Expand Down Expand Up @@ -592,7 +592,7 @@ contract Portfolio is ERC1155, IPortfolio {
_decreaseReserves(inter.tokenOutput, inter.amountOutputUnit);

if (inter.protocolFeeAmountUnit != 0) {
// protocolFees are stored in WAD units, which reauires Unit = WAD on protocolFeeAmount.
// protocolFees are stored in WAD units, which requires Unit = WAD on protocolFeeAmount.
protocolFees[inter.tokenInput] += inter.protocolFeeAmountUnit;
}

Expand Down

0 comments on commit 88db916

Please sign in to comment.