Skip to content

Commit

Permalink
Added clarification about the maxAmount usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzel98 authored Feb 20, 2025
1 parent 3d2c1df commit 8c446f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/enforcers/NativeTokenStreamingEnforcer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { ModeCode } from "../utils/Types.sol";
* if an attempted transfer (i.e. the value sent) exceeds what remains unlocked.
*
* @dev This enforcer only works when the execution is in single mode (`ModeCode.Single`).
* @dev To enable an 'infinite' token stream, set `maxAmount` to type(uint256).max
*/
contract NativeTokenStreamingEnforcer is CaveatEnforcer {
using ExecutionLib for bytes;
Expand Down

0 comments on commit 8c446f8

Please sign in to comment.