diff --git a/contracts/BaseBundler.sol b/contracts/BaseBundler.sol index 80024e83..3435884b 100644 --- a/contracts/BaseBundler.sol +++ b/contracts/BaseBundler.sol @@ -47,8 +47,7 @@ abstract contract BaseBundler is BaseSelfMulticall, BaseCallbackReceiver { } /// @notice Transfers the minimum between the given `amount` and the bundler's balance of native asset from the - /// bundler - /// to `recipient`. + /// bundler to `recipient`. function transferNative(address recipient, uint256 amount) external payable { require(recipient != address(0), ErrorsLib.ZERO_ADDRESS); require(recipient != address(this), ErrorsLib.BUNDLER_ADDRESS); diff --git a/contracts/Permit2Bundler.sol b/contracts/Permit2Bundler.sol index 3f18ab5f..957f9495 100644 --- a/contracts/Permit2Bundler.sol +++ b/contracts/Permit2Bundler.sol @@ -19,9 +19,8 @@ abstract contract Permit2Bundler is BaseBundler { /* ACTIONS */ /// @notice Approves the given `amount` of `asset` from sender to be spent by this contract via Permit2 with the - /// given - /// `deadline` & EIP712 `signature`. - /// Should only be called via the bundler's `multicall` function. + /// given `deadline` & EIP-712 `signature`. + /// @notice Warning: should only be called via the bundler's `multicall` function. function approve2(address asset, uint256 amount, uint256 deadline, Signature calldata signature) external payable { require(amount != 0, ErrorsLib.ZERO_AMOUNT); @@ -30,7 +29,7 @@ abstract contract Permit2Bundler is BaseBundler { /// @notice Transfers the given `amount` of `asset` from sender to this contract via ERC20 transfer with Permit2 /// fallback. - /// Should only be called via the bundler's `multicall` function. + /// @notice Warning: should only be called via the bundler's `multicall` function. function transferFrom2(address asset, uint256 amount) external payable { require(amount != 0, ErrorsLib.ZERO_AMOUNT);