Skip to content

Commit 9bf084c

Browse files
committed
docs: document the change
1 parent 0fea847 commit 9bf084c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/adapters/GeneralAdapter1.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ contract GeneralAdapter1 is CoreAdapter {
5050
/// @notice Wraps underlying tokens to wrapped token and sends them to the initiator.
5151
/// @dev Underlying tokens must have been previously sent to the adapter.
5252
/// @dev Assumes that `wrapper` implements the `ERC20Wrapper` interface.
53+
/// @dev The account is hardcoded to the initiator, to prevent unauthorized wrapping.
5354
/// @param wrapper The address of the ERC20 wrapper contract.
5455
/// @param amount The amount of underlying tokens to deposit. Pass `type(uint).max` to deposit the adapter's
5556
/// underlying balance.

0 commit comments

Comments
 (0)