Skip to content

Commit 2be359f

Browse files
committed
Merge branch 'refactor/erc4626fees' of github.com:OpenZeppelin/openzeppelin-contracts-experimental into refactor/erc4626fees
2 parents 30bd7e1 + 0f0dfad commit 2be359f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contracts/token/ERC4626Fees.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
1010
/**
1111
* @dev ERC-4626 vault with entry/exit fees expressed in https://en.wikipedia.org/wiki/Basis_point[basis point (bp)].
1212
*
13-
* The `_feeOnRaw` and `_feeOnTotal` function are left unimplemented. See {ERC4626FeesOnTaxed} and
14-
* {ERC4626FeesOnUntaxed} for possible implementations
13+
* The `_feeOnRaw` and `_feeOnTotal` function are left unimplemented. See {ERC4626FeesOnTotal} and
14+
* {ERC4626FeesOnValue} for possible implementations
1515
*/
1616
abstract contract ERC4626Fees is ERC4626 {
1717
uint256 internal constant _BASIS_POINT_SCALE = 1e4;
@@ -103,7 +103,7 @@ abstract contract ERC4626Fees is ERC4626 {
103103
*@dev Variant of {ERC4626Fees} where the fee is expressed as a fraction of the total amount paid.
104104
*
105105
* 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
106-
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% ot the total paid price
106+
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% of the total paid price
107107
* and 25% of the value of the shares bought.
108108
*/
109109
abstract contract ERC4626FeesOnTotal is ERC4626Fees {
@@ -126,7 +126,7 @@ abstract contract ERC4626FeesOnTotal is ERC4626Fees {
126126
* @dev Variant of {ERC4626Fees} where the fee is expressed as a fraction of the value of value being converted.
127127
*
128128
* 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
129-
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% ot the total
129+
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% of the total
130130
* paid price and 20% of the value of the shares bought.
131131
*/
132132
abstract contract ERC4626FeesOnValue is ERC4626Fees {

0 commit comments

Comments
 (0)