diff --git a/contracts/mock/SimpleNFT.sol b/contracts/mock/SimpleNFT.sol new file mode 100644 index 0000000..2238b42 --- /dev/null +++ b/contracts/mock/SimpleNFT.sol @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.15; + +/* solhint-disable reason-string */ + +import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; + +// A simple ERC721 contract +contract SimpleNFT is ERC721 { + uint256 public tokenId; + + constructor() ERC721("SimpleNFT", "SNFT") {} + + // Anyone can mint an NFT for anyone + function mint(address _to) public { + _safeMint(_to, tokenId++); + } +} \ No newline at end of file diff --git a/lib/forge-std b/lib/forge-std index f73c73d..267acd3 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit f73c73d2018eb6a111f35e4dae7b4f27401e9421 +Subproject commit 267acd30a625086b3f16e1a28cfe0c5097fa46b8