账号A先在ERC721中对合约地址ApproveAll,然后账号A调用函数some(合约地址,某个nftID)
```
contract Town is IERC721Receiver,ERC165{
constructor(){}
function some(address nft,uint256 _tokenId) public {
IERC721(nft).transferFrom(msg.sender,address(this),...
```
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import {ERC20} from "./ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IUniswapV2Router02} from "./IUniswapV2Router02.sol";
import {IUniswapV2Factory} from "./IUniswapV2Factory.sol";
contra...