Skip to content

Commit 30bd7e1

Browse files
committed
up
1 parent c255b72 commit 30bd7e1

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
@@ -100,13 +100,13 @@ abstract contract ERC4626Fees is ERC4626 {
100100
}
101101

102102
/**
103-
*@dev Variant of ERC4626Fees where the fee is expressed as a fraction of the total amount paid.
103+
*@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
106106
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% ot the total paid price
107107
* and 25% of the value of the shares bought.
108108
*/
109-
abstract contract ERC4626FeesOnTaxed is ERC4626Fees {
109+
abstract contract ERC4626FeesOnTotal is ERC4626Fees {
110110
using Math for uint256;
111111

112112
/// @dev Calculates the fees that should be added to an amount `assets` that does not already include fees.
@@ -123,13 +123,13 @@ abstract contract ERC4626FeesOnTaxed is ERC4626Fees {
123123
}
124124

125125
/**
126-
* @dev Variant of ERC4626Fees where the fee is expressed as a fraction of the value of value being converted.
126+
* @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
129129
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% ot the total
130130
* paid price and 20% of the value of the shares bought.
131131
*/
132-
abstract contract ERC4626FeesOnUntaxed is ERC4626Fees {
132+
abstract contract ERC4626FeesOnValue is ERC4626Fees {
133133
using Math for uint256;
134134

135135
/// @dev Calculates the fees that should be added to an amount `assets` that does not already include fees.

0 commit comments

Comments
 (0)