Skip to content

Commit

Permalink
Merge branch 'refactor/erc4626fees' of github.com:OpenZeppelin/openze…
Browse files Browse the repository at this point in the history
…ppelin-contracts-experimental into refactor/erc4626fees
  • Loading branch information
Amxx committed Jul 30, 2024
2 parents 30bd7e1 + 0f0dfad commit 5636637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/token/ERC4626Fees.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ abstract contract ERC4626Fees is ERC4626 {
*@dev Variant of {ERC4626Fees} where the fee is expressed as a fraction of the total amount paid.
*
* In this version if the fee is set to 20%, and a user deposits 100 assets, then 80 assets go toward the price of the
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% ot the total paid price
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% of the total paid price
* and 25% of the value of the shares bought.
*/
abstract contract ERC4626FeesOnTotal is ERC4626Fees {
Expand All @@ -126,7 +126,7 @@ abstract contract ERC4626FeesOnTotal is ERC4626Fees {
* @dev Variant of {ERC4626Fees} where the fee is expressed as a fraction of the value of value being converted.
*
* In this version if the fee is set to 20%, and a user deposits 100 assets, then 83.33 assets go toward the price of
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% ot the total
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% of the total
* paid price and 20% of the value of the shares bought.
*/
abstract contract ERC4626FeesOnValue is ERC4626Fees {
Expand Down

0 comments on commit 5636637

Please sign in to comment.