@@ -100,13 +100,13 @@ abstract contract ERC4626Fees is ERC4626 {
100
100
}
101
101
102
102
/**
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.
104
104
*
105
105
* 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
106
* shares, and 20 assets go toward the payment of fees. In this case, fees correspond to 20% ot the total paid price
107
107
* and 25% of the value of the shares bought.
108
108
*/
109
- abstract contract ERC4626FeesOnTaxed is ERC4626Fees {
109
+ abstract contract ERC4626FeesOnTotal is ERC4626Fees {
110
110
using Math for uint256 ;
111
111
112
112
/// @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 {
123
123
}
124
124
125
125
/**
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.
127
127
*
128
128
* 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
129
* the shares, and 16.66 assets go toward the payment of fees. In this case, fees correspond to 16.66% ot the total
130
130
* paid price and 20% of the value of the shares bought.
131
131
*/
132
- abstract contract ERC4626FeesOnUntaxed is ERC4626Fees {
132
+ abstract contract ERC4626FeesOnValue is ERC4626Fees {
133
133
using Math for uint256 ;
134
134
135
135
/// @dev Calculates the fees that should be added to an amount `assets` that does not already include fees.
0 commit comments