Skip to content

Commit b37aec9

Browse files
committed
add fee requirement
1 parent cc04f52 commit b37aec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/tokenbridge/libraries/vault/MasterVault.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
2323
/// For a subVault to be compatible with the MasterVault, it must adhere to the following:
2424
/// - It must be able to handle arbitrarily large deposits and withdrawals
2525
/// - Deposit size or withdrawal size must not affect the exchange rate (i.e. no slippage)
26+
/// - Must not have deposit or withdrawal fees (or the deposit/withdrawal fee beneficiary is trusted by all MasterVault users)
2627
///
2728
/// For performance fees to be enabled, the subVault should also have a manipulation resistant
2829
/// convertToAssets function. If convertToAssets can be manipulated,

0 commit comments

Comments
 (0)