ETH Price: $3,012.69 (+4.57%)
Gas: 2 Gwei

Contract

0x649A8F180276520bd521fd478d8094826A4E5c61
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Transaction Hash
Method
Block
From
To
Value
Set Approval For...198367682024-05-10 2:50:4757 days ago1715309447IN
IKUSA: IKS Token
0 ETH0.000281636.07618966
Safe Transfer Fr...198364852024-05-10 1:52:5957 days ago1715305979IN
IKUSA: IKS Token
0 ETH0.000387465.93063002
Safe Transfer Fr...198146782024-05-07 0:40:2360 days ago1715042423IN
IKUSA: IKS Token
0 ETH0.000397936.09084621
Set Approval For...196315652024-04-11 9:43:4785 days ago1712828627IN
IKUSA: IKS Token
0 ETH0.0007478416.13012568
Safe Transfer Fr...196257592024-04-10 14:15:1186 days ago1712758511IN
IKUSA: IKS Token
0 ETH0.0021860233.45972887
Safe Transfer Fr...195355292024-03-28 22:35:1199 days ago1711665311IN
IKUSA: IKS Token
0 ETH0.0021995733.66713352
Set Approval For...193243182024-02-28 6:42:59129 days ago1709102579IN
IKUSA: IKS Token
0 ETH0.0015984834.48649981
Set Approval For...192960102024-02-24 7:39:35132 days ago1708760375IN
IKUSA: IKS Token
0 ETH0.0006483226.60675013
Set Approval For...192351822024-02-15 18:40:59141 days ago1708022459IN
IKUSA: IKS Token
0 ETH0.0027311259.0143875
Set Approval For...189314392024-01-04 3:58:35184 days ago1704340715IN
IKUSA: IKS Token
0 ETH0.0003645114.9594842
Set Approval For...189314392024-01-04 3:58:35184 days ago1704340715IN
IKUSA: IKS Token
0 ETH0.0003657714.9594842
Transfer From189261302024-01-03 10:05:59184 days ago1704276359IN
IKUSA: IKS Token
0 ETH0.001357621.7105481
Transfer From189250042024-01-03 6:18:59185 days ago1704262739IN
IKUSA: IKS Token
0 ETH0.0007387711.81433576
Transfer From189249642024-01-03 6:10:59185 days ago1704262259IN
IKUSA: IKS Token
0 ETH0.0007896212.62751565
Transfer From189249232024-01-03 6:02:47185 days ago1704261767IN
IKUSA: IKS Token
0 ETH0.0007785212.44997485
Set Approval For...188390992023-12-22 4:46:59197 days ago1703220419IN
IKUSA: IKS Token
0 ETH0.0011799725.45733715
Set Approval For...186418032023-11-24 13:15:59224 days ago1700831759IN
IKUSA: IKS Token
0 ETH0.0007686731.54574397
Set Approval For...186092672023-11-19 23:56:47229 days ago1700438207IN
IKUSA: IKS Token
0 ETH0.0012149926.25380397
Safe Transfer Fr...185420852023-11-10 14:17:11238 days ago1699625831IN
IKUSA: IKS Token
0 ETH0.0030031245.96644124
Set Approval For...184714992023-10-31 17:08:11248 days ago1698772091IN
IKUSA: IKS Token
0 ETH0.0015279733.01651402
Withdraw Money182203372023-09-26 13:46:11283 days ago1695735971IN
IKUSA: IKS Token
0 ETH0.0003860912.65228782
Set Approval For...182103672023-09-25 4:17:35285 days ago1695615455IN
IKUSA: IKS Token
0 ETH0.000302146.5288372
Set Approval For...181732372023-09-19 23:28:47290 days ago1695166127IN
IKUSA: IKS Token
0 ETH0.0005201711.24008326
Set Approval For...181732322023-09-19 23:27:47290 days ago1695166067IN
IKUSA: IKS Token
0 ETH0.0005773512.4528535
Set Approval For...181200112023-09-12 11:39:59297 days ago1694518799IN
IKUSA: IKS Token
0 ETH0.0005807212.54839515
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To Value
182203372023-09-26 13:46:11283 days ago1695735971
IKUSA: IKS Token
0.4 ETH
151638852022-07-18 2:21:35719 days ago1658110895
IKUSA: IKS Token
2.9 ETH
151274862022-07-12 11:17:42724 days ago1657624662
IKUSA: IKS Token
9.5 ETH
150955802022-07-07 12:57:28729 days ago1657198648
IKUSA: IKS Token
169.8 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IKUSA

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : IKUSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract IKUSA is Ownable, ERC721A, ReentrancyGuard {
  bytes32 public root;

  uint256 public privateSalePrice = 0.1 ether;
  uint256 public publicSalePrice = 0.15 ether;
  uint256 public maxPerAddressDuringMint = 2;
  bool public privateSaleState = false;
  bool public publicSaleState = false;

  constructor(bytes32 _root)
    ERC721A("IKUSA", "IKS", 100, 7777)
    ReentrancyGuard()
  {
    root = _root;
  }

  function privateMint(uint256 quantity, bytes32[] memory proof)
    external
    payable
    nonReentrant
  {
    require(
      isValid(proof, keccak256(abi.encodePacked(msg.sender))),
      "Not a WhiteListed Address"
    );
    require(_numberMinted(msg.sender) + quantity <= maxPerAddressDuringMint);
    require(
      totalSupply() + quantity <= 5000,
      "IKUSA: Mint Will exceed CollectionSize"
    );
    uint256 totalCost = privateSalePrice * quantity;

    require(msg.value >= totalCost, "Wrong Amount Sent");
    require(privateSaleState, "Sale Not Started");

    _safeMint(msg.sender, quantity);
  }

  function publicMint(uint256 quantity) external payable nonReentrant {
    require(
      totalSupply() + quantity <= 7777,
      "IKUSA: Mint Will exceed CollectionSize"
    );
    require(_numberMinted(msg.sender) + quantity <= maxPerAddressDuringMint);
    uint256 totalCost = publicSalePrice * quantity;

    require(msg.value >= totalCost, "Wrong Amount Sent");
    require(publicSaleState, "Sale Not Started");

    _safeMint(msg.sender, quantity);
  }

  function reserveIKUSA(uint256 _amount) external onlyOwner {
    _safeMint(msg.sender, _amount);
  }

  function isValid(bytes32[] memory proof, bytes32 leaf)
    public
    view
    returns (bool)
  {
    return MerkleProof.verify(proof, root, leaf);
  }

  function changePrivateSale(bool _privateSale) public onlyOwner {
    privateSaleState = _privateSale;
  }

  function changeRoot(bytes32 _root) public onlyOwner {
    root = _root;
  }

  function changePublicSale(bool _publicSale) public onlyOwner {
    publicSaleState = _publicSale;
  }

  // // metadata URI
  string private _baseTokenURI;

  function _baseURI() internal view virtual override returns (string memory) {
    return _baseTokenURI;
  }

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

  function withdrawMoney() external onlyOwner {
    (bool success, ) = msg.sender.call{ value: address(this).balance }("");
    require(success, "Transfer failed.");
  }

  function changePublicSalePrice(uint256 newPublicSalePrice)
    external
    onlyOwner
  {
    publicSalePrice = newPublicSalePrice;
  }

  function changeMaxMintPerAddress(uint256 newMintAmount) external onlyOwner {
    maxPerAddressDuringMint = newMintAmount;
  }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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 3 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
    Context,
    ERC165,
    IERC721,
    IERC721Metadata,
    IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable collectionSize;
    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) private _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev
     * `maxBatchSize` refers to how much a minter can mint at a time.
     * `collectionSize_` refers to how many tokens are in the collection.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_,
        uint256 collectionSize_
    ) {
        require(
            collectionSize_ > 0,
            "ERC721A: collection must have a nonzero supply"
        );
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
        collectionSize = collectionSize_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return currentIndex;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        override
        returns (uint256)
    {
        require(index < totalSupply(), "ERC721A: global index out of bounds");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        override
        returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC165, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: balance query for the zero address"
        );
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString()))
                : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, "ERC721A: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721A: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721A: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
    {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - there must be `quantity` tokens remaining unminted in the total collection.
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > collectionSize - 1) {
            endIndex = collectionSize - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try
                IERC721Receiver(to).onERC721Received(
                    _msgSender(),
                    from,
                    tokenId,
                    _data
                )
            returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721A: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 4 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 5 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 6 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

File 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 11 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":[{"internalType":"uint256","name":"newMintAmount","type":"uint256"}],"name":"changeMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_privateSale","type":"bool"}],"name":"changePrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"changePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicSalePrice","type":"uint256"}],"name":"changePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"changeRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"privateSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reserveIKUSA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526000600181905560085567016345785d8a0000600b55670214e8348c4f0000600c556002600d55600e805461ffff191690553480156200004357600080fd5b5060405162002e7238038062002e7283398101604081905262000066916200024d565b60405180604001604052806005815260200164494b55534160d81b81525060405180604001604052806003815260200162494b5360e81b8152506064611e61620000bf620000b96200015360201b60201c565b62000157565b60008111620000eb5760405162461bcd60e51b8152600401620000e290620002ad565b60405180910390fd5b600082116200010e5760405162461bcd60e51b8152600401620000e29062000266565b835162000123906002906020870190620001a7565b50825162000139906003906020860190620001a7565b5060a09190915260805250506001600955600a5562000338565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001b590620002fb565b90600052602060002090601f016020900481019282620001d9576000855562000224565b82601f10620001f457805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022457825182559160200191906001019062000207565b506200023292915062000236565b5090565b5b8082111562000232576000815560010162000237565b6000602082840312156200025f578081fd5b5051919050565b60208082526027908201527f455243373231413a206d61782062617463682073697a65206d757374206265206040820152666e6f6e7a65726f60c81b606082015260800190565b6020808252602e908201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060408201526d6e6f6e7a65726f20737570706c7960901b606082015260800190565b6002810460018216806200031057607f821691505b602082108114156200033257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612b0962000369600039600081816115d90152818161160301526119b8015260005050612b096000f3fe60806040526004361061021a5760003560e01c80638bc35c2f11610123578063b8a20ed0116100ab578063ebf0c7171161006f578063ebf0c717146105d6578063f1ed0be9146105eb578063f2fde38b14610600578063f5114a1514610620578063f560d415146106405761021a565b8063b8a20ed01461054e578063b977fe551461056e578063c87b56dd14610581578063d7224ba0146105a1578063e985e9c5146105b65761021a565b8063a22cb465116100f2578063a22cb465146104b9578063a8f97fa3146104d9578063a9153b89146104f9578063ac44600214610519578063b88d4fde1461052e5761021a565b80638bc35c2f146104655780638da5cb5b1461047a57806395d89b411461048f5780639b6860c8146104a45761021a565b806342842e0e116101a657806355f804b31161017557806355f804b3146103db5780636352211e146103fb57806370a082311461041b578063715018a61461043b57806371adc02a146104505761021a565b806342842e0e1461035b5780634d046b211461037b5780634f6ccce71461039b5780634fda7285146103bb5761021a565b806318160ddd116101ed57806318160ddd146102c657806323b872dd146102e85780632db11544146103085780632f745c591461031b5780633d59cd601461033b5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063095ea7b3146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ff4565b610655565b60405161024c91906121b8565b60405180910390f35b34801561026157600080fd5b5061026a6106b8565b60405161024c91906121cc565b34801561028357600080fd5b50610297610292366004611fdc565b61074a565b60405161024c9190612167565b3480156102b057600080fd5b506102c46102bf366004611f56565b610796565b005b3480156102d257600080fd5b506102db61082f565b60405161024c91906121c3565b3480156102f457600080fd5b506102c4610303366004611e3a565b610835565b6102c4610316366004611fdc565b610840565b34801561032757600080fd5b506102db610336366004611f56565b61092a565b34801561034757600080fd5b506102c4610356366004611fdc565b610a26565b34801561036757600080fd5b506102c4610376366004611e3a565b610a6a565b34801561038757600080fd5b506102c4610396366004611fc2565b610a85565b3480156103a757600080fd5b506102db6103b6366004611fdc565b610ad7565b3480156103c757600080fd5b506102c46103d6366004611fdc565b610b03565b3480156103e757600080fd5b506102c46103f636600461202c565b610b47565b34801561040757600080fd5b50610297610416366004611fdc565b610b92565b34801561042757600080fd5b506102db610436366004611dee565b610ba4565b34801561044757600080fd5b506102c4610bf1565b34801561045c57600080fd5b5061023f610c3c565b34801561047157600080fd5b506102db610c4a565b34801561048657600080fd5b50610297610c50565b34801561049b57600080fd5b5061026a610c5f565b3480156104b057600080fd5b506102db610c6e565b3480156104c557600080fd5b506102c46104d4366004611f2d565b610c74565b3480156104e557600080fd5b506102c46104f4366004611fc2565b610d42565b34801561050557600080fd5b506102c4610514366004611fdc565b610d9b565b34801561052557600080fd5b506102c4610ddf565b34801561053a57600080fd5b506102c4610549366004611e75565b610e9d565b34801561055a57600080fd5b5061023f610569366004611f7f565b610ed6565b6102c461057c366004612099565b610eec565b34801561058d57600080fd5b5061026a61059c366004611fdc565b611020565b3480156105ad57600080fd5b506102db6110a2565b3480156105c257600080fd5b5061023f6105d1366004611e08565b6110a8565b3480156105e257600080fd5b506102db6110d6565b3480156105f757600080fd5b5061023f6110dc565b34801561060c57600080fd5b506102c461061b366004611dee565b6110e5565b34801561062c57600080fd5b506102c461063b366004611fdc565b611153565b34801561064c57600080fd5b506102db61119c565b60006001600160e01b031982166380ac58cd60e01b148061068657506001600160e01b03198216635b5e139f60e01b145b806106a157506001600160e01b0319821663780e9d6360e01b145b806106b057506106b0826111a2565b90505b919050565b6060600280546106c790612a11565b80601f01602080910402602001604051908101604052809291908181526020018280546106f390612a11565b80156107405780601f1061071557610100808354040283529160200191610740565b820191906000526020600020905b81548152906001019060200180831161072357829003601f168201915b5050505050905090565b6000610755826111bb565b61077a5760405162461bcd60e51b815260040161077190612862565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a182610b92565b9050806001600160a01b0316836001600160a01b031614156107d55760405162461bcd60e51b815260040161077190612657565b806001600160a01b03166107e76111c2565b6001600160a01b031614806108035750610803816105d16111c2565b61081f5760405162461bcd60e51b8152600401610771906123ec565b61082a8383836111c6565b505050565b60015490565b61082a838383611222565b600260095414156108635760405162461bcd60e51b8152600401610771906127dc565b6002600955611e618161087461082f565b61087e9190612944565b111561089c5760405162461bcd60e51b815260040161077190612449565b600d54816108a933611536565b6108b39190612944565b11156108be57600080fd5b600081600c546108ce9190612970565b9050803410156108f05760405162461bcd60e51b8152600401610771906122e8565b600e54610100900460ff166109175760405162461bcd60e51b8152600401610771906124da565b610921338361158a565b50506001600955565b600061093583610ba4565b82106109535760405162461bcd60e51b8152600401610771906121df565b600061095d61082f565b905060008060005b83811015610a07576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109b857805192505b876001600160a01b0316836001600160a01b031614156109f457868414156109e657509350610a2092505050565b836109f081612a4c565b9450505b50806109ff81612a4c565b915050610965565b5060405162461bcd60e51b81526004016107719061278e565b92915050565b610a2e6111c2565b6001600160a01b0316610a3f610c50565b6001600160a01b031614610a655760405162461bcd60e51b81526004016107719061254a565b600a55565b61082a83838360405180602001604052806000815250610e9d565b610a8d6111c2565b6001600160a01b0316610a9e610c50565b6001600160a01b031614610ac45760405162461bcd60e51b81526004016107719061254a565b600e805460ff1916911515919091179055565b6000610ae161082f565b8210610aff5760405162461bcd60e51b815260040161077190612313565b5090565b610b0b6111c2565b6001600160a01b0316610b1c610c50565b6001600160a01b031614610b425760405162461bcd60e51b81526004016107719061254a565b600c55565b610b4f6111c2565b6001600160a01b0316610b60610c50565b6001600160a01b031614610b865760405162461bcd60e51b81526004016107719061254a565b61082a600f8383611c99565b6000610b9d826115a8565b5192915050565b60006001600160a01b038216610bcc5760405162461bcd60e51b81526004016107719061248f565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610bf96111c2565b6001600160a01b0316610c0a610c50565b6001600160a01b031614610c305760405162461bcd60e51b81526004016107719061254a565b610c3a60006116bb565b565b600e54610100900460ff1681565b600d5481565b6000546001600160a01b031690565b6060600380546106c790612a11565b600c5481565b610c7c6111c2565b6001600160a01b0316826001600160a01b03161415610cad5760405162461bcd60e51b8152600401610771906125ce565b8060076000610cba6111c2565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cfe6111c2565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d3691906121b8565b60405180910390a35050565b610d4a6111c2565b6001600160a01b0316610d5b610c50565b6001600160a01b031614610d815760405162461bcd60e51b81526004016107719061254a565b600e80549115156101000261ff0019909216919091179055565b610da36111c2565b6001600160a01b0316610db4610c50565b6001600160a01b031614610dda5760405162461bcd60e51b81526004016107719061254a565b600d55565b610de76111c2565b6001600160a01b0316610df8610c50565b6001600160a01b031614610e1e5760405162461bcd60e51b81526004016107719061254a565b6000336001600160a01b031647604051610e3790612164565b60006040518083038185875af1925050503d8060008114610e74576040519150601f19603f3d011682016040523d82523d6000602084013e610e79565b606091505b5050905080610e9a5760405162461bcd60e51b815260040161077190612699565b50565b610ea8848484611222565b610eb48484848461170b565b610ed05760405162461bcd60e51b8152600401610771906126c3565b50505050565b6000610ee583600a5484611827565b9392505050565b60026009541415610f0f5760405162461bcd60e51b8152600401610771906127dc565b6002600955604051610f46908290610f2b90339060200161210a565b60405160208183030381529060405280519060200120610ed6565b610f625760405162461bcd60e51b815260040161077190612221565b600d5482610f6f33611536565b610f799190612944565b1115610f8457600080fd5b61138882610f9061082f565b610f9a9190612944565b1115610fb85760405162461bcd60e51b815260040161077190612449565b600082600b54610fc89190612970565b905080341015610fea5760405162461bcd60e51b8152600401610771906122e8565b600e5460ff1661100c5760405162461bcd60e51b8152600401610771906124da565b611016338461158a565b5050600160095550565b606061102b826111bb565b6110475760405162461bcd60e51b81526004016107719061257f565b600061105161183d565b905060008151116110715760405180602001604052806000815250610ee5565b8061107b8461184c565b60405160200161108c929190612135565b6040516020818303038152906040529392505050565b60085481565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600a5481565b600e5460ff1681565b6110ed6111c2565b6001600160a01b03166110fe610c50565b6001600160a01b0316146111245760405162461bcd60e51b81526004016107719061254a565b6001600160a01b03811661114a5760405162461bcd60e51b815260040161077190612258565b610e9a816116bb565b61115b6111c2565b6001600160a01b031661116c610c50565b6001600160a01b0316146111925760405162461bcd60e51b81526004016107719061254a565b610e9a338261158a565b600b5481565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061122d826115a8565b9050600081600001516001600160a01b03166112476111c2565b6001600160a01b0316148061127c575061125f6111c2565b6001600160a01b03166112718461074a565b6001600160a01b0316145b8061129057508151611290906105d16111c2565b9050806112af5760405162461bcd60e51b815260040161077190612605565b846001600160a01b031682600001516001600160a01b0316146112e45760405162461bcd60e51b815260040161077190612504565b6001600160a01b03841661130a5760405162461bcd60e51b815260040161077190612356565b6113178585856001610ed0565b61132760008484600001516111c6565b6001600160a01b03851660009081526005602052604081208054600192906113599084906001600160801b031661298f565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926113a591859116612922565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b0319909116171617905561143b846001612944565b6000818152600460205260409020549091506001600160a01b03166114e057611463816111bb565b156114e05760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461152e8686866001610ed0565b505050505050565b60006001600160a01b03821661155e5760405162461bcd60e51b81526004016107719061239b565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6115a4828260405180602001604052806000815250611967565b5050565b6115b0611d19565b6115b9826111bb565b6115d55760405162461bcd60e51b81526004016107719061229e565b60007f00000000000000000000000000000000000000000000000000000000000000008310611636576116287f0000000000000000000000000000000000000000000000000000000000000000846129b7565b611633906001612944565b90505b825b8181106116a2576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561168f5792506106b3915050565b508061169a816129fa565b915050611638565b5060405162461bcd60e51b815260040161077190612813565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061171f846001600160a01b0316611bdb565b1561181b57836001600160a01b031663150b7a0261173b6111c2565b8786866040518563ffffffff1660e01b815260040161175d949392919061217b565b602060405180830381600087803b15801561177757600080fd5b505af19250505080156117a7575060408051601f3d908101601f191682019092526117a491810190612010565b60015b611801573d8080156117d5576040519150601f19603f3d011682016040523d82523d6000602084013e6117da565b606091505b5080516117f95760405162461bcd60e51b8152600401610771906126c3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061181f565b5060015b949350505050565b6000826118348584611be1565b14949350505050565b6060600f80546106c790612a11565b60608161187157506040805180820190915260018152600360fc1b60208201526106b3565b8160005b811561189b578061188581612a4c565b91506118949050600a8361295c565b9150611875565b60008167ffffffffffffffff8111156118c457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118ee576020820181803683370190505b5090505b841561181f576119036001836129b7565b9150611910600a86612a67565b61191b906030612944565b60f81b81838151811061193e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611960600a8661295c565b94506118f2565b6001546001600160a01b0384166119905760405162461bcd60e51b81526004016107719061274d565b611999816111bb565b156119b65760405162461bcd60e51b815260040161077190612716565b7f00000000000000000000000000000000000000000000000000000000000000008311156119f65760405162461bcd60e51b8152600401610771906128af565b611a036000858386610ed0565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611a5f908790612922565b6001600160801b03168152602001858360200151611a7d9190612922565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff1990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611bc85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b8c600088848861170b565b611ba85760405162461bcd60e51b8152600401610771906126c3565b81611bb281612a4c565b9250508080611bc090612a4c565b915050611b3f565b50600181905561152e6000878588610ed0565b3b151590565b600081815b8451811015611c91576000858281518110611c1157634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611c52578281604051602001611c35929190612127565b604051602081830303815290604052805190602001209250611c7e565b8083604051602001611c65929190612127565b6040516020818303038152906040528051906020012092505b5080611c8981612a4c565b915050611be6565b509392505050565b828054611ca590612a11565b90600052602060002090601f016020900481019282611cc75760008555611d0d565b82601f10611ce05782800160ff19823516178555611d0d565b82800160010185558215611d0d579182015b82811115611d0d578235825591602001919060010190611cf2565b50610aff929150611d30565b604080518082019091526000808252602082015290565b5b80821115610aff5760008155600101611d31565b80356001600160a01b03811681146106b357600080fd5b600082601f830112611d6c578081fd5b8135602067ffffffffffffffff821115611d8857611d88612aa7565b808202611d968282016128f1565b838152828101908684018388018501891015611db0578687fd5b8693505b85841015611dd2578035835260019390930192918401918401611db4565b50979650505050505050565b803580151581146106b357600080fd5b600060208284031215611dff578081fd5b610ee582611d45565b60008060408385031215611e1a578081fd5b611e2383611d45565b9150611e3160208401611d45565b90509250929050565b600080600060608486031215611e4e578081fd5b611e5784611d45565b9250611e6560208501611d45565b9150604084013590509250925092565b60008060008060808587031215611e8a578081fd5b611e9385611d45565b93506020611ea2818701611d45565b935060408601359250606086013567ffffffffffffffff80821115611ec5578384fd5b818801915088601f830112611ed8578384fd5b813581811115611eea57611eea612aa7565b611efc601f8201601f191685016128f1565b91508082528984828501011115611f11578485fd5b8084840185840137810190920192909252939692955090935050565b60008060408385031215611f3f578182fd5b611f4883611d45565b9150611e3160208401611dde565b60008060408385031215611f68578182fd5b611f7183611d45565b946020939093013593505050565b60008060408385031215611f91578182fd5b823567ffffffffffffffff811115611fa7578283fd5b611fb385828601611d5c565b95602094909401359450505050565b600060208284031215611fd3578081fd5b610ee582611dde565b600060208284031215611fed578081fd5b5035919050565b600060208284031215612005578081fd5b8135610ee581612abd565b600060208284031215612021578081fd5b8151610ee581612abd565b6000806020838503121561203e578182fd5b823567ffffffffffffffff80821115612055578384fd5b818501915085601f830112612068578384fd5b813581811115612076578485fd5b866020828501011115612087578485fd5b60209290920196919550909350505050565b600080604083850312156120ab578182fd5b82359150602083013567ffffffffffffffff8111156120c8578182fd5b6120d485828601611d5c565b9150509250929050565b600081518084526120f68160208601602086016129ce565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516121478184602088016129ce565b83519083019061215b8183602088016129ce565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121ae908301846120de565b9695505050505050565b901515815260200190565b90815260200190565b600060208252610ee560208301846120de565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526019908201527f4e6f7420612057686974654c6973746564204164647265737300000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526011908201527015dc9bdb99c8105b5bdd5b9d0814d95b9d607a1b604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527020746865207a65726f206164647265737360781b606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526026908201527f494b5553413a204d696e742057696c6c2065786365656420436f6c6c656374696040820152656f6e53697a6560d01b606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526010908201526f14d85b1948139bdd0814dd185c9d195960821b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561291a5761291a612aa7565b604052919050565b60006001600160801b0380831681851680830382111561215b5761215b612a7b565b6000821982111561295757612957612a7b565b500190565b60008261296b5761296b612a91565b500490565b600081600019048311821515161561298a5761298a612a7b565b500290565b60006001600160801b03838116908316818110156129af576129af612a7b565b039392505050565b6000828210156129c9576129c9612a7b565b500390565b60005b838110156129e95781810151838201526020016129d1565b83811115610ed05750506000910152565b600081612a0957612a09612a7b565b506000190190565b600281046001821680612a2557607f821691505b60208210811415612a4657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a6057612a60612a7b565b5060010190565b600082612a7657612a76612a91565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e9a57600080fdfea2646970667358221220a8e86a04292d0022c545f8dcefc189cf56a1b8c26bc4b7f8723f0b319719b44f64736f6c63430008010033b12c71ce23ab1b340b7221924d7cc429677b3c749e30b56cdd7b7ea095bcfdc4

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80638bc35c2f11610123578063b8a20ed0116100ab578063ebf0c7171161006f578063ebf0c717146105d6578063f1ed0be9146105eb578063f2fde38b14610600578063f5114a1514610620578063f560d415146106405761021a565b8063b8a20ed01461054e578063b977fe551461056e578063c87b56dd14610581578063d7224ba0146105a1578063e985e9c5146105b65761021a565b8063a22cb465116100f2578063a22cb465146104b9578063a8f97fa3146104d9578063a9153b89146104f9578063ac44600214610519578063b88d4fde1461052e5761021a565b80638bc35c2f146104655780638da5cb5b1461047a57806395d89b411461048f5780639b6860c8146104a45761021a565b806342842e0e116101a657806355f804b31161017557806355f804b3146103db5780636352211e146103fb57806370a082311461041b578063715018a61461043b57806371adc02a146104505761021a565b806342842e0e1461035b5780634d046b211461037b5780634f6ccce71461039b5780634fda7285146103bb5761021a565b806318160ddd116101ed57806318160ddd146102c657806323b872dd146102e85780632db11544146103085780632f745c591461031b5780633d59cd601461033b5761021a565b806301ffc9a71461021f57806306fdde0314610255578063081812fc14610277578063095ea7b3146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ff4565b610655565b60405161024c91906121b8565b60405180910390f35b34801561026157600080fd5b5061026a6106b8565b60405161024c91906121cc565b34801561028357600080fd5b50610297610292366004611fdc565b61074a565b60405161024c9190612167565b3480156102b057600080fd5b506102c46102bf366004611f56565b610796565b005b3480156102d257600080fd5b506102db61082f565b60405161024c91906121c3565b3480156102f457600080fd5b506102c4610303366004611e3a565b610835565b6102c4610316366004611fdc565b610840565b34801561032757600080fd5b506102db610336366004611f56565b61092a565b34801561034757600080fd5b506102c4610356366004611fdc565b610a26565b34801561036757600080fd5b506102c4610376366004611e3a565b610a6a565b34801561038757600080fd5b506102c4610396366004611fc2565b610a85565b3480156103a757600080fd5b506102db6103b6366004611fdc565b610ad7565b3480156103c757600080fd5b506102c46103d6366004611fdc565b610b03565b3480156103e757600080fd5b506102c46103f636600461202c565b610b47565b34801561040757600080fd5b50610297610416366004611fdc565b610b92565b34801561042757600080fd5b506102db610436366004611dee565b610ba4565b34801561044757600080fd5b506102c4610bf1565b34801561045c57600080fd5b5061023f610c3c565b34801561047157600080fd5b506102db610c4a565b34801561048657600080fd5b50610297610c50565b34801561049b57600080fd5b5061026a610c5f565b3480156104b057600080fd5b506102db610c6e565b3480156104c557600080fd5b506102c46104d4366004611f2d565b610c74565b3480156104e557600080fd5b506102c46104f4366004611fc2565b610d42565b34801561050557600080fd5b506102c4610514366004611fdc565b610d9b565b34801561052557600080fd5b506102c4610ddf565b34801561053a57600080fd5b506102c4610549366004611e75565b610e9d565b34801561055a57600080fd5b5061023f610569366004611f7f565b610ed6565b6102c461057c366004612099565b610eec565b34801561058d57600080fd5b5061026a61059c366004611fdc565b611020565b3480156105ad57600080fd5b506102db6110a2565b3480156105c257600080fd5b5061023f6105d1366004611e08565b6110a8565b3480156105e257600080fd5b506102db6110d6565b3480156105f757600080fd5b5061023f6110dc565b34801561060c57600080fd5b506102c461061b366004611dee565b6110e5565b34801561062c57600080fd5b506102c461063b366004611fdc565b611153565b34801561064c57600080fd5b506102db61119c565b60006001600160e01b031982166380ac58cd60e01b148061068657506001600160e01b03198216635b5e139f60e01b145b806106a157506001600160e01b0319821663780e9d6360e01b145b806106b057506106b0826111a2565b90505b919050565b6060600280546106c790612a11565b80601f01602080910402602001604051908101604052809291908181526020018280546106f390612a11565b80156107405780601f1061071557610100808354040283529160200191610740565b820191906000526020600020905b81548152906001019060200180831161072357829003601f168201915b5050505050905090565b6000610755826111bb565b61077a5760405162461bcd60e51b815260040161077190612862565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a182610b92565b9050806001600160a01b0316836001600160a01b031614156107d55760405162461bcd60e51b815260040161077190612657565b806001600160a01b03166107e76111c2565b6001600160a01b031614806108035750610803816105d16111c2565b61081f5760405162461bcd60e51b8152600401610771906123ec565b61082a8383836111c6565b505050565b60015490565b61082a838383611222565b600260095414156108635760405162461bcd60e51b8152600401610771906127dc565b6002600955611e618161087461082f565b61087e9190612944565b111561089c5760405162461bcd60e51b815260040161077190612449565b600d54816108a933611536565b6108b39190612944565b11156108be57600080fd5b600081600c546108ce9190612970565b9050803410156108f05760405162461bcd60e51b8152600401610771906122e8565b600e54610100900460ff166109175760405162461bcd60e51b8152600401610771906124da565b610921338361158a565b50506001600955565b600061093583610ba4565b82106109535760405162461bcd60e51b8152600401610771906121df565b600061095d61082f565b905060008060005b83811015610a07576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109b857805192505b876001600160a01b0316836001600160a01b031614156109f457868414156109e657509350610a2092505050565b836109f081612a4c565b9450505b50806109ff81612a4c565b915050610965565b5060405162461bcd60e51b81526004016107719061278e565b92915050565b610a2e6111c2565b6001600160a01b0316610a3f610c50565b6001600160a01b031614610a655760405162461bcd60e51b81526004016107719061254a565b600a55565b61082a83838360405180602001604052806000815250610e9d565b610a8d6111c2565b6001600160a01b0316610a9e610c50565b6001600160a01b031614610ac45760405162461bcd60e51b81526004016107719061254a565b600e805460ff1916911515919091179055565b6000610ae161082f565b8210610aff5760405162461bcd60e51b815260040161077190612313565b5090565b610b0b6111c2565b6001600160a01b0316610b1c610c50565b6001600160a01b031614610b425760405162461bcd60e51b81526004016107719061254a565b600c55565b610b4f6111c2565b6001600160a01b0316610b60610c50565b6001600160a01b031614610b865760405162461bcd60e51b81526004016107719061254a565b61082a600f8383611c99565b6000610b9d826115a8565b5192915050565b60006001600160a01b038216610bcc5760405162461bcd60e51b81526004016107719061248f565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610bf96111c2565b6001600160a01b0316610c0a610c50565b6001600160a01b031614610c305760405162461bcd60e51b81526004016107719061254a565b610c3a60006116bb565b565b600e54610100900460ff1681565b600d5481565b6000546001600160a01b031690565b6060600380546106c790612a11565b600c5481565b610c7c6111c2565b6001600160a01b0316826001600160a01b03161415610cad5760405162461bcd60e51b8152600401610771906125ce565b8060076000610cba6111c2565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cfe6111c2565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d3691906121b8565b60405180910390a35050565b610d4a6111c2565b6001600160a01b0316610d5b610c50565b6001600160a01b031614610d815760405162461bcd60e51b81526004016107719061254a565b600e80549115156101000261ff0019909216919091179055565b610da36111c2565b6001600160a01b0316610db4610c50565b6001600160a01b031614610dda5760405162461bcd60e51b81526004016107719061254a565b600d55565b610de76111c2565b6001600160a01b0316610df8610c50565b6001600160a01b031614610e1e5760405162461bcd60e51b81526004016107719061254a565b6000336001600160a01b031647604051610e3790612164565b60006040518083038185875af1925050503d8060008114610e74576040519150601f19603f3d011682016040523d82523d6000602084013e610e79565b606091505b5050905080610e9a5760405162461bcd60e51b815260040161077190612699565b50565b610ea8848484611222565b610eb48484848461170b565b610ed05760405162461bcd60e51b8152600401610771906126c3565b50505050565b6000610ee583600a5484611827565b9392505050565b60026009541415610f0f5760405162461bcd60e51b8152600401610771906127dc565b6002600955604051610f46908290610f2b90339060200161210a565b60405160208183030381529060405280519060200120610ed6565b610f625760405162461bcd60e51b815260040161077190612221565b600d5482610f6f33611536565b610f799190612944565b1115610f8457600080fd5b61138882610f9061082f565b610f9a9190612944565b1115610fb85760405162461bcd60e51b815260040161077190612449565b600082600b54610fc89190612970565b905080341015610fea5760405162461bcd60e51b8152600401610771906122e8565b600e5460ff1661100c5760405162461bcd60e51b8152600401610771906124da565b611016338461158a565b5050600160095550565b606061102b826111bb565b6110475760405162461bcd60e51b81526004016107719061257f565b600061105161183d565b905060008151116110715760405180602001604052806000815250610ee5565b8061107b8461184c565b60405160200161108c929190612135565b6040516020818303038152906040529392505050565b60085481565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600a5481565b600e5460ff1681565b6110ed6111c2565b6001600160a01b03166110fe610c50565b6001600160a01b0316146111245760405162461bcd60e51b81526004016107719061254a565b6001600160a01b03811661114a5760405162461bcd60e51b815260040161077190612258565b610e9a816116bb565b61115b6111c2565b6001600160a01b031661116c610c50565b6001600160a01b0316146111925760405162461bcd60e51b81526004016107719061254a565b610e9a338261158a565b600b5481565b6001600160e01b031981166301ffc9a760e01b14919050565b6001541190565b3390565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061122d826115a8565b9050600081600001516001600160a01b03166112476111c2565b6001600160a01b0316148061127c575061125f6111c2565b6001600160a01b03166112718461074a565b6001600160a01b0316145b8061129057508151611290906105d16111c2565b9050806112af5760405162461bcd60e51b815260040161077190612605565b846001600160a01b031682600001516001600160a01b0316146112e45760405162461bcd60e51b815260040161077190612504565b6001600160a01b03841661130a5760405162461bcd60e51b815260040161077190612356565b6113178585856001610ed0565b61132760008484600001516111c6565b6001600160a01b03851660009081526005602052604081208054600192906113599084906001600160801b031661298f565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926113a591859116612922565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b0319909116171617905561143b846001612944565b6000818152600460205260409020549091506001600160a01b03166114e057611463816111bb565b156114e05760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461152e8686866001610ed0565b505050505050565b60006001600160a01b03821661155e5760405162461bcd60e51b81526004016107719061239b565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6115a4828260405180602001604052806000815250611967565b5050565b6115b0611d19565b6115b9826111bb565b6115d55760405162461bcd60e51b81526004016107719061229e565b60007f00000000000000000000000000000000000000000000000000000000000000648310611636576116287f0000000000000000000000000000000000000000000000000000000000000064846129b7565b611633906001612944565b90505b825b8181106116a2576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561168f5792506106b3915050565b508061169a816129fa565b915050611638565b5060405162461bcd60e51b815260040161077190612813565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061171f846001600160a01b0316611bdb565b1561181b57836001600160a01b031663150b7a0261173b6111c2565b8786866040518563ffffffff1660e01b815260040161175d949392919061217b565b602060405180830381600087803b15801561177757600080fd5b505af19250505080156117a7575060408051601f3d908101601f191682019092526117a491810190612010565b60015b611801573d8080156117d5576040519150601f19603f3d011682016040523d82523d6000602084013e6117da565b606091505b5080516117f95760405162461bcd60e51b8152600401610771906126c3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061181f565b5060015b949350505050565b6000826118348584611be1565b14949350505050565b6060600f80546106c790612a11565b60608161187157506040805180820190915260018152600360fc1b60208201526106b3565b8160005b811561189b578061188581612a4c565b91506118949050600a8361295c565b9150611875565b60008167ffffffffffffffff8111156118c457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118ee576020820181803683370190505b5090505b841561181f576119036001836129b7565b9150611910600a86612a67565b61191b906030612944565b60f81b81838151811061193e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611960600a8661295c565b94506118f2565b6001546001600160a01b0384166119905760405162461bcd60e51b81526004016107719061274d565b611999816111bb565b156119b65760405162461bcd60e51b815260040161077190612716565b7f00000000000000000000000000000000000000000000000000000000000000648311156119f65760405162461bcd60e51b8152600401610771906128af565b611a036000858386610ed0565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611a5f908790612922565b6001600160801b03168152602001858360200151611a7d9190612922565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff1990991698909817909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611bc85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b8c600088848861170b565b611ba85760405162461bcd60e51b8152600401610771906126c3565b81611bb281612a4c565b9250508080611bc090612a4c565b915050611b3f565b50600181905561152e6000878588610ed0565b3b151590565b600081815b8451811015611c91576000858281518110611c1157634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611c52578281604051602001611c35929190612127565b604051602081830303815290604052805190602001209250611c7e565b8083604051602001611c65929190612127565b6040516020818303038152906040528051906020012092505b5080611c8981612a4c565b915050611be6565b509392505050565b828054611ca590612a11565b90600052602060002090601f016020900481019282611cc75760008555611d0d565b82601f10611ce05782800160ff19823516178555611d0d565b82800160010185558215611d0d579182015b82811115611d0d578235825591602001919060010190611cf2565b50610aff929150611d30565b604080518082019091526000808252602082015290565b5b80821115610aff5760008155600101611d31565b80356001600160a01b03811681146106b357600080fd5b600082601f830112611d6c578081fd5b8135602067ffffffffffffffff821115611d8857611d88612aa7565b808202611d968282016128f1565b838152828101908684018388018501891015611db0578687fd5b8693505b85841015611dd2578035835260019390930192918401918401611db4565b50979650505050505050565b803580151581146106b357600080fd5b600060208284031215611dff578081fd5b610ee582611d45565b60008060408385031215611e1a578081fd5b611e2383611d45565b9150611e3160208401611d45565b90509250929050565b600080600060608486031215611e4e578081fd5b611e5784611d45565b9250611e6560208501611d45565b9150604084013590509250925092565b60008060008060808587031215611e8a578081fd5b611e9385611d45565b93506020611ea2818701611d45565b935060408601359250606086013567ffffffffffffffff80821115611ec5578384fd5b818801915088601f830112611ed8578384fd5b813581811115611eea57611eea612aa7565b611efc601f8201601f191685016128f1565b91508082528984828501011115611f11578485fd5b8084840185840137810190920192909252939692955090935050565b60008060408385031215611f3f578182fd5b611f4883611d45565b9150611e3160208401611dde565b60008060408385031215611f68578182fd5b611f7183611d45565b946020939093013593505050565b60008060408385031215611f91578182fd5b823567ffffffffffffffff811115611fa7578283fd5b611fb385828601611d5c565b95602094909401359450505050565b600060208284031215611fd3578081fd5b610ee582611dde565b600060208284031215611fed578081fd5b5035919050565b600060208284031215612005578081fd5b8135610ee581612abd565b600060208284031215612021578081fd5b8151610ee581612abd565b6000806020838503121561203e578182fd5b823567ffffffffffffffff80821115612055578384fd5b818501915085601f830112612068578384fd5b813581811115612076578485fd5b866020828501011115612087578485fd5b60209290920196919550909350505050565b600080604083850312156120ab578182fd5b82359150602083013567ffffffffffffffff8111156120c8578182fd5b6120d485828601611d5c565b9150509250929050565b600081518084526120f68160208601602086016129ce565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516121478184602088016129ce565b83519083019061215b8183602088016129ce565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121ae908301846120de565b9695505050505050565b901515815260200190565b90815260200190565b600060208252610ee560208301846120de565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526019908201527f4e6f7420612057686974654c6973746564204164647265737300000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526011908201527015dc9bdb99c8105b5bdd5b9d0814d95b9d607a1b604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526031908201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260408201527020746865207a65726f206164647265737360781b606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526026908201527f494b5553413a204d696e742057696c6c2065786365656420436f6c6c656374696040820152656f6e53697a6560d01b606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526010908201526f14d85b1948139bdd0814dd185c9d195960821b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561291a5761291a612aa7565b604052919050565b60006001600160801b0380831681851680830382111561215b5761215b612a7b565b6000821982111561295757612957612a7b565b500190565b60008261296b5761296b612a91565b500490565b600081600019048311821515161561298a5761298a612a7b565b500290565b60006001600160801b03838116908316818110156129af576129af612a7b565b039392505050565b6000828210156129c9576129c9612a7b565b500390565b60005b838110156129e95781810151838201526020016129d1565b83811115610ed05750506000910152565b600081612a0957612a09612a7b565b506000190190565b600281046001821680612a2557607f821691505b60208210811415612a4657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a6057612a60612a7b565b5060010190565b600082612a7657612a76612a91565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e9a57600080fdfea2646970667358221220a8e86a04292d0022c545f8dcefc189cf56a1b8c26bc4b7f8723f0b319719b44f64736f6c63430008010033

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

b12c71ce23ab1b340b7221924d7cc429677b3c749e30b56cdd7b7ea095bcfdc4

-----Decoded View---------------
Arg [0] : _root (bytes32): 0xb12c71ce23ab1b340b7221924d7cc429677b3c749e30b56cdd7b7ea095bcfdc4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : b12c71ce23ab1b340b7221924d7cc429677b3c749e30b56cdd7b7ea095bcfdc4


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Ikusa is a WEB3 streetwear brand inspired by anime and high-fashion Japanese aesthetics. Actual, measurable, and authentic liquid advantages are the finest way to feel real worth. The benefits of shared ownership, transparency, and privacy, community as well as the enjoyment of those benefits, ar...

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.