Skip to content

Commit 308c3e7

Browse files
committed
Uniformize and Improve ERC20 Forwarder Documentation
1 parent 4fca08c commit 308c3e7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

contracts/src/forwarders/ERC20Forwarder.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ contract ERC20Forwarder is EmergencyMigratableForwarderBase {
1919
Wrap
2020
}
2121

22-
/// @notice The canonical Uniswap Permit2 contract deployed at the same address on all supported chains
22+
/// @notice The canonical Uniswap Permit2 contract deployed at the same address on all supported chains.
2323
/// (see [Uniswap's announcement](https://blog.uniswap.org/permit2-and-universal-router)).
2424
IPermit2 internal constant _PERMIT2 = IPermit2(0x000000000022D473030F116dDEE9F6B43aC78BA3);
2525

@@ -47,9 +47,9 @@ contract ERC20Forwarder is EmergencyMigratableForwarderBase {
4747
EmergencyMigratableForwarderBase(protocolAdapter, calldataCarrierLogicRef, emergencyCommittee)
4848
{}
4949

50-
/// @notice Forwards calls.
51-
/// @param input The `bytes` encoded input of the call.
52-
/// @return output The `bytes` encoded output of the call.
50+
/// @notice Wraps and unwraps the ERC20 token based on the provided inputs.
51+
/// @param input Contains information to store or send out provided ERC20 tokens.
52+
/// @return output The empty string signaling that the function call has succeeded.
5353
function _forwardCall(bytes calldata input) internal override returns (bytes memory output) {
5454
CallType callType = CallType(uint8(input[31]));
5555

0 commit comments

Comments
 (0)