Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
567 B
Solidity
17 lines
567 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.4;
|
|
|
|
import {MockERC20} from "./MockERC20.sol";
|
|
|
|
/// @dev WARNING! This mock is strictly intended for testing purposes only.
|
|
/// Do NOT copy anything here into production code unless you really know what you are doing.
|
|
contract MockERC20ForPermit2 is MockERC20 {
|
|
constructor(string memory name_, string memory symbol_, uint8 decimals_)
|
|
MockERC20(name_, symbol_, decimals_)
|
|
{}
|
|
|
|
function _givePermit2InfiniteAllowance() internal view virtual override returns (bool) {
|
|
return true;
|
|
}
|
|
}
|