ETH Price: $3,402.07 (+2.71%)

Contract

0x4F7bFe138B61a5370771f874B91703DC20463AB9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0xc1c26ef9220b6ca74b2da3c9c727cd8c1181da03e8fc8412e277174cdbfa9362 Mint To(pending)2024-11-04 13:45:0619 days ago1730727906IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x07ac830916c734e58f5c943d25303cea282c2ca4a5e36f4e3d944c8ad1098649 Mint To(pending)2024-11-04 8:46:3919 days ago1730709999IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xbc4d10096bbf4fda356678406ae40653e9660336e43102c6d4592f7d079a3e6e Mint To(pending)2024-11-04 8:46:3919 days ago1730709999IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x7330714f608fe324cf40728b09abb80f1e875eb3dcba5acc3a2430f0682ee03c Mint To(pending)2024-11-04 4:24:4519 days ago1730694285IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xbd2fab01c425be31e804ac7a0703bffd0be1b576d6e4190d04f86bc15e29e81b Mint To(pending)2024-11-04 4:14:4619 days ago1730693686IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x6cfe65fb4a6cec9e95800cc01499e9598b3b0be378048bdf3f69174b03959f76 Mint To(pending)2024-11-04 3:09:3519 days ago1730689775IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xab3339972b46d8ded2a9f54c569ab805c2a2de4690a4e29973c1b29b0b165955 Mint To(pending)2024-11-04 3:09:3519 days ago1730689775IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x9e69cbc297b123b5dd9b5d2dd9f70633b2fcb6624da4f82046346ca1ec4bcef8 Mint To(pending)2024-11-04 2:22:5119 days ago1730686971IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x742079b3d026d3f11da2fab1f79b4c901bb1efacdf5f3b10f6d758797305aa80 Mint To(pending)2024-11-04 1:50:2419 days ago1730685024IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xf708333cd382021e2c9d637304506cf8c2e48b4a9f3fef1367f2ca16f2614f43 Mint To(pending)2024-11-04 1:34:2619 days ago1730684066IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xa8933e057544489dbe775cb3d096cbe94871ac29a91943c7eed49454e800f8e2 Mint To(pending)2024-11-04 1:00:0819 days ago1730682008IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x63038b7d52e87f0639d073b3db87e12337e74c63365677fdcb09bb24fa1ad7a4 Mint To(pending)2024-11-04 0:03:1219 days ago1730678592IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x809d919e6b2080c3b062b51767d60a9fdc442fe358cc78d6dd11442593a02259 Mint To(pending)2024-11-04 0:03:1219 days ago1730678592IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xd3cf6f15fcee6db6ac46139df9febf50b640148db128caae793d061a1ac538bf Mint To(pending)2024-11-03 22:54:1419 days ago1730674454IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x6d5f979240d705fdf2e2a38f7f583e17b71c312ef1dabfdc55c674b0b18521cf Mint To(pending)2024-11-03 22:54:1419 days ago1730674454IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x8a7cd0d387718ec8c34ae218dd886f0e20fe9ab564d3d5b18f436482f854f751 Mint To(pending)2024-11-03 22:54:1419 days ago1730674454IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x0e2f3640718de704448fb5c4a680240f36cac1ba616605f4d7ba31cae50eae21 Mint To(pending)2024-11-03 22:52:5519 days ago1730674375IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x6c7f639bb84ac8db20ddd58c4b8c9364d4d4c0a4e3a1352b154281cafcdc3691 Mint To(pending)2024-11-03 22:52:5219 days ago1730674372IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xddc4e4f6e703cde15b1565871af8ea4da40e9e5f3c349a38ea9d993cb38bc88b Mint To(pending)2024-11-03 22:10:2919 days ago1730671829IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0xef0fc231db86dc7510fd56b016f46fe413ea20d8bed890176d03346662e01bfe Mint To(pending)2024-11-03 22:10:2919 days ago1730671829IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x118e67afcc38a5a63804fe83f378d2fe072a76337f2c6d6b9e5a8b99732037fa Mint To(pending)2024-11-03 14:46:5320 days ago1730645213IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x0c586cc51bd189c925f60272fe65b8f8a9570344b80e58ae58c6e9b2d5076261 Mint To(pending)2024-11-03 14:33:3920 days ago1730644419IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
0x9c6585d890c3c39f2e3096f87aa9844f3427b73fe2424e9f9134f98984a8748d Mint To(pending)2024-11-03 4:28:1720 days ago1730608097IN
0x4F7bFe13...C20463AB9
0 ETH(Pending)(Pending)
Set Approval For...211419962024-11-08 9:22:2315 days ago1731057743IN
0x4F7bFe13...C20463AB9
0 ETH0.0005020110.89465292
Mint To210030422024-10-19 23:55:4734 days ago1729382147IN
0x4F7bFe13...C20463AB9
0 ETH0.00014275.43982039
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShizomoriKey

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 7 : ShizomoriKey.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.10;

import "solmate/tokens/ERC721.sol";
import "openzeppelin-contracts/contracts/utils/Strings.sol";
import "openzeppelin-contracts/contracts/access/Ownable.sol";

error MaxSupply();
error NonExistentTokenURI();
error InvalidSignature();
error MintLimitReached();

contract ShizomoriKey is ERC721, Ownable {
    using Strings for uint256;

    string public baseURI;

    uint256 public currentTokenId;
    uint256 public totalSupply = 500;

    mapping(address => bool) public hasMinted;
    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseURI
    ) ERC721(_name, _symbol) Ownable(msg.sender) {
        baseURI = _baseURI;
    }

    function mintTo(address recipient) public returns (uint256) {
        uint256 newTokenId = currentTokenId + 1;

        if (newTokenId > totalSupply) {
            revert MaxSupply();
        }

        if (hasMinted[recipient]) {
            revert MintLimitReached();
        }

        hasMinted[recipient] = true;
        currentTokenId = newTokenId;

        _safeMint(recipient, newTokenId);
        return newTokenId;
    }

    function setTotalSupply(uint256 _totalSupply) external onlyOwner {
        totalSupply = _totalSupply;
    }

    function setBaseURI(string calldata _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        if (ownerOf(tokenId) == address(0)) {
            revert NonExistentTokenURI();
        }
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString()))
                : "";
    }
}

File 2 of 7 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

File 3 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 7 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 6 of 7 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/solmate/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/openzeppelin-contracts/lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintLimitReached","type":"error"},{"inputs":[],"name":"NonExistentTokenURI","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526101f460095534801561001657600080fd5b50604051611832380380611832833981016040819052610035916101ac565b338383600061004483826102ca565b50600161005182826102ca565b5050506001600160a01b03811661008257604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61008b816100a1565b50600761009882826102ca565b50505050610388565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261011a57600080fd5b81516001600160401b03811115610133576101336100f3565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610161576101616100f3565b60405281815283820160200185101561017957600080fd5b60005b828110156101985760208186018101518383018201520161017c565b506000918101602001919091529392505050565b6000806000606084860312156101c157600080fd5b83516001600160401b038111156101d757600080fd5b6101e386828701610109565b602086015190945090506001600160401b0381111561020157600080fd5b61020d86828701610109565b604086015190935090506001600160401b0381111561022b57600080fd5b61023786828701610109565b9150509250925092565b600181811c9082168061025557607f821691505b60208210810361027557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156102c557806000526020600020601f840160051c810160208510156102a25750805b601f840160051c820191505b818110156102c257600081556001016102ae565b50505b505050565b81516001600160401b038111156102e3576102e36100f3565b6102f7816102f18454610241565b8461027b565b6020601f82116001811461032b57600083156103135750848201515b600019600385901b1c1916600184901b1784556102c2565b600084815260208120601f198516915b8281101561035b578785015182556020948501946001909201910161033b565b50848210156103795786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b61149b806103976000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c80636c0360eb116100c3578063a22cb4651161007c578063a22cb465146102c2578063b88d4fde146102d5578063c87b56dd146102e8578063e985e9c5146102fb578063f2fde38b14610329578063f7ea7a3d1461033c57600080fd5b80636c0360eb1461027357806370a082311461027b578063715018a61461028e578063755edd17146102965780638da5cb5b146102a957806395d89b41146102ba57600080fd5b806318160ddd1161011557806318160ddd146101fb57806323b872dd1461020457806338e21cce1461021757806342842e0e1461023a57806355f804b31461024d5780636352211e1461026057600080fd5b80629a9b7b1461015157806301ffc9a71461016d57806306fdde0314610190578063081812fc146101a5578063095ea7b3146101e6575b600080fd5b61015a60085481565b6040519081526020015b60405180910390f35b61018061017b366004610f39565b61034f565b6040519015158152602001610164565b6101986103a1565b6040516101649190610f81565b6101ce6101b3366004610fb4565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610164565b6101f96101f4366004610fe4565b61042f565b005b61015a60095481565b6101f961021236600461100e565b610516565b61018061022536600461104b565b600a6020526000908152604090205460ff1681565b6101f961024836600461100e565b6106dd565b6101f961025b3660046110af565b6107b2565b6101ce61026e366004610fb4565b6107c7565b61019861081e565b61015a61028936600461104b565b61082b565b6101f961088e565b61015a6102a436600461104b565b6108a2565b6006546001600160a01b03166101ce565b610198610945565b6101f96102d03660046110f1565b610952565b6101f96102e336600461112d565b6109be565b6101986102f6366004610fb4565b610a83565b61018061030936600461119c565b600560209081526000928352604080842090915290825290205460ff1681565b6101f961033736600461104b565b610b13565b6101f961034a366004610fb4565b610b51565b60006301ffc9a760e01b6001600160e01b03198316148061038057506380ac58cd60e01b6001600160e01b03198316145b8061039b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546103ae906111cf565b80601f01602080910402602001604051908101604052809291908181526020018280546103da906111cf565b80156104275780601f106103fc57610100808354040283529160200191610427565b820191906000526020600020905b81548152906001019060200180831161040a57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061047857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104ba5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b0384811691161461056c5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016104b1565b6001600160a01b0382166105b65760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016104b1565b336001600160a01b03841614806105f057506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061061157506000818152600460205260409020546001600160a01b031633145b61064e5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016104b1565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106e8838383610516565b6001600160a01b0382163b15806107915750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610761573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107859190611209565b6001600160e01b031916145b6107ad5760405162461bcd60e51b81526004016104b190611226565b505050565b6107ba610b5e565b60076107ad8284836112ad565b6000818152600260205260409020546001600160a01b0316806108195760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016104b1565b919050565b600780546103ae906111cf565b60006001600160a01b0382166108725760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016104b1565b506001600160a01b031660009081526003602052604090205490565b610896610b5e565b6108a06000610b8b565b565b60008060085460016108b4919061136d565b90506009548111156108d957604051632cdb04a160e21b815260040160405180910390fd5b6001600160a01b0383166000908152600a602052604090205460ff16156109135760405163303b682f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a60205260409020805460ff19166001179055600881905561039b8382610bdd565b600180546103ae906111cf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109c9858585610516565b6001600160a01b0384163b1580610a605750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610a119033908a9089908990899060040161138e565b6020604051808303816000875af1158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a549190611209565b6001600160e01b031916145b610a7c5760405162461bcd60e51b81526004016104b190611226565b5050505050565b60606000610a90836107c7565b6001600160a01b031603610ab75760405163d872946b60e01b815260040160405180910390fd5b600060078054610ac6906111cf565b905011610ae2576040518060200160405280600081525061039b565b6007610aed83610cad565b604051602001610afe9291906113df565b60405160208183030381529060405292915050565b610b1b610b5e565b6001600160a01b038116610b4557604051631e4fbdf760e01b8152600060048201526024016104b1565b610b4e81610b8b565b50565b610b59610b5e565b600955565b6006546001600160a01b031633146108a05760405163118cdaa760e01b81523360048201526024016104b1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610be78282610d40565b6001600160a01b0382163b1580610c8d5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015610c5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c819190611209565b6001600160e01b031916145b610ca95760405162461bcd60e51b81526004016104b190611226565b5050565b60606000610cba83610e4b565b600101905060008167ffffffffffffffff811115610cda57610cda611250565b6040519080825280601f01601f191660200182016040528015610d04576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610d0e57509392505050565b6001600160a01b038216610d8a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016104b1565b6000818152600260205260409020546001600160a01b031615610de05760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016104b1565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610e8a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610eb6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ed457662386f26fc10000830492506010015b6305f5e1008310610eec576305f5e100830492506008015b6127108310610f0057612710830492506004015b60648310610f12576064830492506002015b600a831061039b5760010192915050565b6001600160e01b031981168114610b4e57600080fd5b600060208284031215610f4b57600080fd5b8135610f5681610f23565b9392505050565b60005b83811015610f78578181015183820152602001610f60565b50506000910152565b6020815260008251806020840152610fa0816040850160208701610f5d565b601f01601f19169190910160400192915050565b600060208284031215610fc657600080fd5b5035919050565b80356001600160a01b038116811461081957600080fd5b60008060408385031215610ff757600080fd5b61100083610fcd565b946020939093013593505050565b60008060006060848603121561102357600080fd5b61102c84610fcd565b925061103a60208501610fcd565b929592945050506040919091013590565b60006020828403121561105d57600080fd5b610f5682610fcd565b60008083601f84011261107857600080fd5b50813567ffffffffffffffff81111561109057600080fd5b6020830191508360208285010111156110a857600080fd5b9250929050565b600080602083850312156110c257600080fd5b823567ffffffffffffffff8111156110d957600080fd5b6110e585828601611066565b90969095509350505050565b6000806040838503121561110457600080fd5b61110d83610fcd565b91506020830135801515811461112257600080fd5b809150509250929050565b60008060008060006080868803121561114557600080fd5b61114e86610fcd565b945061115c60208701610fcd565b935060408601359250606086013567ffffffffffffffff81111561117f57600080fd5b61118b88828901611066565b969995985093965092949392505050565b600080604083850312156111af57600080fd5b6111b883610fcd565b91506111c660208401610fcd565b90509250929050565b600181811c908216806111e357607f821691505b60208210810361120357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561121b57600080fd5b8151610f5681610f23565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f8211156107ad57806000526020600020601f840160051c8101602085101561128d5750805b601f840160051c820191505b81811015610a7c5760008155600101611299565b67ffffffffffffffff8311156112c5576112c5611250565b6112d9836112d383546111cf565b83611266565b6000601f84116001811461130d57600085156112f55750838201355b600019600387901b1c1916600186901b178355610a7c565b600083815260209020601f19861690835b8281101561133e578685013582556020948501946001909201910161131e565b508682101561135b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082018082111561039b57634e487b7160e01b600052601160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b60008084546113ed816111cf565b600182168015611404576001811461141957611449565b60ff1983168652811515820286019350611449565b87600052602060002060005b8381101561144157815488820152600190910190602001611425565b505081860193505b505050835161145c818360208801610f5d565b0194935050505056fea26469706673582212202cf8e10b9c3bc04aba04643ce009d48a1a18cf514a0e807be72739f0217423f364736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c5368697a6f6d6f72694b6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085348495a4f4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d555a424e523969377870446672754a734648796b6d47675850456755434152725a677a5a705265635a4a5a472f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014c5760003560e01c80636c0360eb116100c3578063a22cb4651161007c578063a22cb465146102c2578063b88d4fde146102d5578063c87b56dd146102e8578063e985e9c5146102fb578063f2fde38b14610329578063f7ea7a3d1461033c57600080fd5b80636c0360eb1461027357806370a082311461027b578063715018a61461028e578063755edd17146102965780638da5cb5b146102a957806395d89b41146102ba57600080fd5b806318160ddd1161011557806318160ddd146101fb57806323b872dd1461020457806338e21cce1461021757806342842e0e1461023a57806355f804b31461024d5780636352211e1461026057600080fd5b80629a9b7b1461015157806301ffc9a71461016d57806306fdde0314610190578063081812fc146101a5578063095ea7b3146101e6575b600080fd5b61015a60085481565b6040519081526020015b60405180910390f35b61018061017b366004610f39565b61034f565b6040519015158152602001610164565b6101986103a1565b6040516101649190610f81565b6101ce6101b3366004610fb4565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610164565b6101f96101f4366004610fe4565b61042f565b005b61015a60095481565b6101f961021236600461100e565b610516565b61018061022536600461104b565b600a6020526000908152604090205460ff1681565b6101f961024836600461100e565b6106dd565b6101f961025b3660046110af565b6107b2565b6101ce61026e366004610fb4565b6107c7565b61019861081e565b61015a61028936600461104b565b61082b565b6101f961088e565b61015a6102a436600461104b565b6108a2565b6006546001600160a01b03166101ce565b610198610945565b6101f96102d03660046110f1565b610952565b6101f96102e336600461112d565b6109be565b6101986102f6366004610fb4565b610a83565b61018061030936600461119c565b600560209081526000928352604080842090915290825290205460ff1681565b6101f961033736600461104b565b610b13565b6101f961034a366004610fb4565b610b51565b60006301ffc9a760e01b6001600160e01b03198316148061038057506380ac58cd60e01b6001600160e01b03198316145b8061039b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546103ae906111cf565b80601f01602080910402602001604051908101604052809291908181526020018280546103da906111cf565b80156104275780601f106103fc57610100808354040283529160200191610427565b820191906000526020600020905b81548152906001019060200180831161040a57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061047857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6104ba5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b0384811691161461056c5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016104b1565b6001600160a01b0382166105b65760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016104b1565b336001600160a01b03841614806105f057506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061061157506000818152600460205260409020546001600160a01b031633145b61064e5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016104b1565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106e8838383610516565b6001600160a01b0382163b15806107915750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610761573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107859190611209565b6001600160e01b031916145b6107ad5760405162461bcd60e51b81526004016104b190611226565b505050565b6107ba610b5e565b60076107ad8284836112ad565b6000818152600260205260409020546001600160a01b0316806108195760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016104b1565b919050565b600780546103ae906111cf565b60006001600160a01b0382166108725760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016104b1565b506001600160a01b031660009081526003602052604090205490565b610896610b5e565b6108a06000610b8b565b565b60008060085460016108b4919061136d565b90506009548111156108d957604051632cdb04a160e21b815260040160405180910390fd5b6001600160a01b0383166000908152600a602052604090205460ff16156109135760405163303b682f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600a60205260409020805460ff19166001179055600881905561039b8382610bdd565b600180546103ae906111cf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109c9858585610516565b6001600160a01b0384163b1580610a605750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610a119033908a9089908990899060040161138e565b6020604051808303816000875af1158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a549190611209565b6001600160e01b031916145b610a7c5760405162461bcd60e51b81526004016104b190611226565b5050505050565b60606000610a90836107c7565b6001600160a01b031603610ab75760405163d872946b60e01b815260040160405180910390fd5b600060078054610ac6906111cf565b905011610ae2576040518060200160405280600081525061039b565b6007610aed83610cad565b604051602001610afe9291906113df565b60405160208183030381529060405292915050565b610b1b610b5e565b6001600160a01b038116610b4557604051631e4fbdf760e01b8152600060048201526024016104b1565b610b4e81610b8b565b50565b610b59610b5e565b600955565b6006546001600160a01b031633146108a05760405163118cdaa760e01b81523360048201526024016104b1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610be78282610d40565b6001600160a01b0382163b1580610c8d5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015610c5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c819190611209565b6001600160e01b031916145b610ca95760405162461bcd60e51b81526004016104b190611226565b5050565b60606000610cba83610e4b565b600101905060008167ffffffffffffffff811115610cda57610cda611250565b6040519080825280601f01601f191660200182016040528015610d04576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610d0e57509392505050565b6001600160a01b038216610d8a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016104b1565b6000818152600260205260409020546001600160a01b031615610de05760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016104b1565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610e8a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610eb6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ed457662386f26fc10000830492506010015b6305f5e1008310610eec576305f5e100830492506008015b6127108310610f0057612710830492506004015b60648310610f12576064830492506002015b600a831061039b5760010192915050565b6001600160e01b031981168114610b4e57600080fd5b600060208284031215610f4b57600080fd5b8135610f5681610f23565b9392505050565b60005b83811015610f78578181015183820152602001610f60565b50506000910152565b6020815260008251806020840152610fa0816040850160208701610f5d565b601f01601f19169190910160400192915050565b600060208284031215610fc657600080fd5b5035919050565b80356001600160a01b038116811461081957600080fd5b60008060408385031215610ff757600080fd5b61100083610fcd565b946020939093013593505050565b60008060006060848603121561102357600080fd5b61102c84610fcd565b925061103a60208501610fcd565b929592945050506040919091013590565b60006020828403121561105d57600080fd5b610f5682610fcd565b60008083601f84011261107857600080fd5b50813567ffffffffffffffff81111561109057600080fd5b6020830191508360208285010111156110a857600080fd5b9250929050565b600080602083850312156110c257600080fd5b823567ffffffffffffffff8111156110d957600080fd5b6110e585828601611066565b90969095509350505050565b6000806040838503121561110457600080fd5b61110d83610fcd565b91506020830135801515811461112257600080fd5b809150509250929050565b60008060008060006080868803121561114557600080fd5b61114e86610fcd565b945061115c60208701610fcd565b935060408601359250606086013567ffffffffffffffff81111561117f57600080fd5b61118b88828901611066565b969995985093965092949392505050565b600080604083850312156111af57600080fd5b6111b883610fcd565b91506111c660208401610fcd565b90509250929050565b600181811c908216806111e357607f821691505b60208210810361120357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561121b57600080fd5b8151610f5681610f23565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f8211156107ad57806000526020600020601f840160051c8101602085101561128d5750805b601f840160051c820191505b81811015610a7c5760008155600101611299565b67ffffffffffffffff8311156112c5576112c5611250565b6112d9836112d383546111cf565b83611266565b6000601f84116001811461130d57600085156112f55750838201355b600019600387901b1c1916600186901b178355610a7c565b600083815260209020601f19861690835b8281101561133e578685013582556020948501946001909201910161131e565b508682101561135b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082018082111561039b57634e487b7160e01b600052601160045260246000fd5b6001600160a01b03868116825285166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f19160101949350505050565b60008084546113ed816111cf565b600182168015611404576001811461141957611449565b60ff1983168652811515820286019350611449565b87600052602060002060005b8381101561144157815488820152600190910190602001611425565b505081860193505b505050835161145c818360208801610f5d565b0194935050505056fea26469706673582212202cf8e10b9c3bc04aba04643ce009d48a1a18cf514a0e807be72739f0217423f364736f6c634300081a0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c5368697a6f6d6f72694b6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085348495a4f4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d555a424e523969377870446672754a734648796b6d47675850456755434152725a677a5a705265635a4a5a472f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): ShizomoriKey
Arg [1] : _symbol (string): SHIZOKEY
Arg [2] : _baseURI (string): ipfs://QmUZBNR9i7xpDfruJsFHykmGgXPEgUCARrZgzZpRecZJZG/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 5368697a6f6d6f72694b65790000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 5348495a4f4b4559000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d555a424e523969377870446672754a734648796b6d4767
Arg [9] : 5850456755434152725a677a5a705265635a4a5a472f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.