这篇文章咱水一篇去年碰到的 2 个 NFT 的漏洞,首先还是先上代码function mintAllow(uint256 _tokenAmount, string memory name, bytes memory signature) public payable { uint256 s = totalSupply(); require(check(name, signature) == msg.sender, "Signature Invalid"); //server side signature require(OGStatus, "OG sale is not active"); require(_tokenAmount > 0, "Mint more than 0"); require(_tokenAmount <= maxMintPerTxOG, "Mint less"); require(s + _tokenAmount <= maxSupply, "Mint less"); require(msg.value >= priceOG * _to...