@@ -124,7 +124,8 @@ abstract contract DN404 {
124124
125125 /// @dev The canonical Permit2 address.
126126 /// For signature-based allowance granting for single transaction ERC20 `transferFrom`.
127- /// To enable, override `_givePermit2DefaultInfiniteAllowance()`.
127+ /// Enabled by default. In Permit2 we trust.
128+ /// To disable, override `_givePermit2DefaultInfiniteAllowance()`.
128129 /// [Github](https://github.com/Uniswap/permit2)
129130 /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)
130131 address internal constant _PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3 ;
@@ -450,13 +451,13 @@ abstract contract DN404 {
450451
451452 /// @dev Whether Permit2 has infinite allowances by default for all owners.
452453 /// For signature-based allowance granting for single transaction ERC20 `transferFrom`.
453- /// To enable , override this function to return true .
454+ /// To disable , override this function to return false .
454455 ///
455- /// Note: The returned value SHOULD be kept constant.
456- /// If the returned value changes from false to true,
456+ /// Note: The returned value SHOULD be kept constant after tokens have been minted .
457+ /// If the returned value changes from false to true and vice-versa ,
457458 /// it can override the user customized allowances for Permit2 to infinity.
458459 function _givePermit2DefaultInfiniteAllowance () internal view virtual returns (bool ) {
459- return false ;
460+ return true ;
460461 }
461462
462463 /// @dev Returns checks if `sender` is the canonical Permit2 address.
0 commit comments