# Shiba or SB

By [01dcat](https://paragraph.com/@01dcat) · 2022-01-26

---

![](https://storage.googleapis.com/papyrus_images/688f1b69fceaf502fc66327e5701d13c17a61cd715f5db929ab914234161a08e.png)

今天的新SB
------

我昨天个群里的小伙伴们安利了一只Shiba狗，太太也说这狗挺好看的，我赶快的加到我的shopping list里面。

他的网站是 [https://www.shiba-beast.io/](https://www.shiba-beast.io/) ，同时他的discord是满的，非常的牛逼亚。

抽奖了
---

在他的Twitter上，项目方放了一个抽奖链接，我用自己的一个钱包注册了一下。但是我发觉这个钱包注册并没有发出任何的请求出去，仅仅是一个签名。

开奖了
---

PST 11:00am的时候，可以mint了，我竟然中了，可以mint 3个呢，每个要我0.3e。不过因为之前有过怀疑，觉得这个项目方太fishy了，我就没有见过discrod满的项目，我也没有见过我可以中奖的抽奖！所以我打算先看看他们的合约：

我们再看看代码

[https://etherscan.io/address/0xe3155db13b2be4866b7723b1458eb9611b838930#code%23L1](https://etherscan.io/address/0xe3155db13b2be4866b7723b1458eb9611b838930#code%23L1)

    // ========== SB CONTRACT MINTER ==========
      function SHIBABEAST_MINT(uint256 _MINT_AMOUNT) public payable nonReentrant {
        require(!PAUSE, "SHIBABEAST CONTRACT IS PAUSED");
        uint256 MINTED_SUPPLY = totalSupply();
        require(_MINT_AMOUNT > 0, "MINT AMOUNT SHOULD BE AT LEAST 1");
        require(MINTED_SUPPLY + _MINT_AMOUNT <= SUPPLY, "MAX SUPPLY EXCEEDED");
    
        if (msg.sender != owner()) {
          require(_MINT_AMOUNT <= 5, "MAX PER TRANSACTION EXCEEDED");
          require(msg.value >= COST * _MINT_AMOUNT, "INSUFFICIENT FUNDS");
        }
    
        uint256 _NEW_TOKEN_ID;
        for (uint256 i = 1; i <= _MINT_AMOUNT; i++) {
          _TOKEN_IDS.increment();
          _NEW_TOKEN_ID = _TOKEN_IDS.current();
          _safeMint(msg.sender, _NEW_TOKEN_ID);
        }
      }
    
    /**
         * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
         * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
         */
        function _safeMint(
            address to,
            uint256 tokenId,
            bytes memory _data
        ) internal virtual {
            _mint(to, tokenId);
            require(
                _checkOnERC721Received(address(0), to, tokenId, _data),
                "ERC721: transfer to non ERC721Receiver implementer"
            );
        }
    
        /**
         * @dev Mints `tokenId` and transfers it to `to`.
         *
         * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
         *
         * Requirements:
         *
         * - `tokenId` must not exist.
         * - `to` cannot be the zero address.
         *
         * Emits a {Transfer} event.
         */
        function _mint(address to, uint256 tokenId) internal virtual {
            require(to != address(0), "ERC721: mint to the zero address");
            require(!_exists(tokenId), "ERC721: token already minted");
    
            _beforeTokenTransfer(address(0), to, tokenId);
    
            _balances[to] += 1;
            _owners[tokenId] = to;
    
            emit Transfer(address(0), to, tokenId);
        }
    
        /**
    

恩。。每次可以mint 5个，但是没有限制每个钱包可以有多少个。慢着，为啥没有白名单检查？为啥没有中奖检查？

在看看opensea上的情况

![](https://storage.googleapis.com/papyrus_images/9b7181a89f931db6d5b5404a37410b80f12217d4333a4ac3ae297a50b8aafa32.png)

0.1e的地板价，其实我看的时候是0.01….你们心不疼吗？还是说你们也发觉风险太大，想收回点成本呢？

后记
--

我突然可以进入他们的discord了，完全没有热度。我不好评论这个项目，但是我是决定不碰了，按照我们的说法：没有这么大只青蛙满街跳！

---

*Originally published on [01dcat](https://paragraph.com/@01dcat/shiba-or-sb)*
