ETH Price: $3,008.51 (+4.43%)
Gas: 2 Gwei

Token

CoolKidsClub (CKC)
 

Overview

Max Total Supply

139 CKC

Holders

48

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
arnavraj.eth
Balance
4 CKC
0xac99f950c90b5b8ebed32706dfc19c662e7a5888
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CoolKidsClub

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 13 : CoolKidsClub.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import "Strings.sol";
import "MerkleProof.sol";
import "ERC721Enum.sol";

//   _____            _   _  ___     _        _____ _       _     
//  / ____|          | | | |/ (_)   | |      / ____| |     | |    
// | |     ___   ___ | | | ' / _  __| |___  | |    | |_   _| |__  
// | |    / _ \ / _ \| | |  < | |/ _` / __| | |    | | | | | '_ \ 
// | |___| (_) | (_) | | | . \| | (_| \__ \ | |____| | |_| | |_) |
//  \_____\___/ \___/|_| |_|\_\_|\__,_|___/  \_____|_|\__,_|_.__/ 

// MMMMMMMMMMMMMMMMMMMMMMMMMWNNXXKK0000OOOOOOOO0000KKXXNNWWMMMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMWN000000OOOOOOOOOkkkOOOOOOOOOOOOOO00KXNWWMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMWXOo;....,:cdxOOOkl,'..',,;coxkOOOOOOOOOOO0KXNWMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMNOo;'........ ..':ldc. ...... ..';lxOOOOOOOOOOO00XNWMMMMMMMMMMMMMM
// MMMMMMMMMMMWKd:'..................'.  ............;okOOOOOOOOOOO0KXWMMMMMMMMMMMM
// MMMMMMMMMMW0l. .....................  ............ .'lkOOOOOOOOOOOO0XWMMMMMMMMMM
// MMMMMMMMWX0Oko;. ................................... .'clldxkOOOOOOOO0XWMMMMMMMM
// MMMMMMMNKOOOOOOd;. .........................................';lxOOOOOOOKNWMMMMMM
// MMMMMNOdollllllll;. ......................................... ..:dOOOOOO0XWMMMMM
// MMMMKc............   ........................................... .:xOOOOO0KWMMMM
// MMM0:............................................................. .okOOOOOKNMMM
// MMNOc.............................................................. .:kOOOOOKNMM
// MWKOOx:.............................................................  :kOOOOOKWM
// WX0OOOOd;. ...........   ........................ ................... .ckOOOO0XW
// N0OOOOOOOo,............  ..'lo'.............;oxOc..................... .dOOOOO0N
// X0OOOOOOOOx:. ..... .:,  'lOKO; ...... ..;oOKKX0; .................... .oOOOOO0X
// KOOOOOOOd:'....... 'xx, .o0KKKc..... .;x00kdkKXO,  .'................. .lOOOOOOK
// 0OOOOko,......... 'xKKkdc;dKKKd.... .dK0Oo;ckKKKxldOx'................ 'xOOOOOO0
// OOOOd,   ....... .oKKKKK0OOKKKO;  .;kKKK0kkOOkOKKKKKo................ .lOOOOOOOO
// OOOOo,,:loooll:. ;OKx:,',cxKKKKOocd0KKKKKOl'...,d0X0:  .':;.........  'okOOOOOOO
// OOOOOOOOOOOOOOk,.oKd..:o;..dKKKKKXKKKKKK0c .dOc..dKKo',clkx. ........ ...,cdkOOO
// 0OOOOOOOOOOOOOd.'kKo..o0d. lKKKKKKKKKKKK0o..cd:..dKKK00xld:............... .,ok0
// 0OOOOOOOOOOOOOd.'kK0o'....lOKKK0OkkkO0KKK0d:,'':xKKKKKKxl'................   .o0
// KOOOOOOOOOOOOOx'.xKKK0kkkOKXK0l......:kKKKKKK00KKKKKKKO,  ..........  ..,:clodkK
// X0OOOOOOOOOOOOO:.:0KKKKKKKKKKd.   .''.:0KKKKKKKKKKKKKK0; ............ .;xOOOOO0X
// WKOOOOOOOOOOOOOk;.;xKKKKKKKKO;   .,:;..xXKKKKKKKKKKKKKKc  ....   ....   ,xOOOOKW
// MN0OOOOOOOOOOOOOkl,';oOKKKKK0o:::::cccd0KKKKKKKKKKKXKKKo.  .',;:cllllcc:lkOOO0NM
// MWX0OOOOOOOOOOOOOOkd:'';ldO0KKK0K00000kkkkkxxdddooollc;.  ..;xOOOOOOOOOOOOOO0XWM
// MMWX0OOOOOOOOOOOOOOOOx;...,;::;;;,''''..'','''''''''',;;;::'.':okOOOOOOOOOO0XWMM
// MMMWX0OOOOOOOOOOOOOOko,'clllllllc,.. ..';coooooooooooooooooolc:''cxOOOOOOO0XWMMM
// MMMMWN0OOOOOOOOOOOko,':looooooooo;.'...';looooooooooooooooooodkOo'.cxOOOOKNWMMMM
// MMMMMMNK0OOOOOOOOx;.:OOdooooooooo;......;coooooooooooooooooooodOXO:.'oO0KNMMMMMM
// MMMMMMMWXK0OOOOOo'.lK0doooooooooo:......,cooooooooooooooooooooodOX0o''dXWMMMMMMM
// MMMMMMMMMWX0OOOo..oXKxoooooooooooc... ..':ooooooooooooooooooooood0X0xxKMMMMMMMMM
// MMMMMMMMMMMWX0x'.lKXkooooooooooooc... ...;ooodxkxdoooolloooooooooxXWWMMMMMMMMMMM
// MMMMMMMMMMMMMWOcl0NOl,'coooooooool'.. ...,oodONWKxoooo;.:oooooodkKNMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMWNWXkc..coooooooool'.. .. 'lodOXN0xoooo:..codxk0XWMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMWNOllddooooooooo,.. .. .loodkOxdooool,.lOKXWWMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMWWNK0Okxddooo;.. ....:ooooooddxkO00KNMMMMMMMMMMMMMMMMMMMMMM
// MMMMMMMMMMMMMMMMMMMMMMMMMMWWXK0Okxc'......:dddxkO0KXWWMMMMMMMMMMMMMMMMMMMMMMMMMM

contract CoolKidsClub is ERC721Enum {
  using Strings for uint256;

  uint256 public COOL_KIDS_SUPPLY = 4010;
  uint256 public constant PRICE = 0.06 ether;
  uint256 public constant PRE_PRICE = 0.05 ether;
  uint256 public constant MAX_MINT_PER_TX = 5;
  
  address private constant addressOne = 0xb0039C1f0b355CBE011b97bb75827291Ba6D78Cb
  ;
  address private constant addressTwo = 0x642559efb3C1E94A30ABbCbA431f818FbD507820
  ;
  address private constant addressThree = 0x1D3c99D01329b2D98CC3a7Fa5178aB4A31F7c155
  ;

  bool public pauseMint = true;
  bool public pausePreMint = true;
  string public baseURI;
  bytes32 private root;
  string internal baseExtension = ".json";
  address public immutable owner;

  constructor() ERC721P("CoolKidsClub", "CKC") {
    owner = msg.sender;
  }

  modifier mintOpen() {
    require(!pauseMint, "mint paused");
    _;
  }

  modifier preMintOpen() {
    require(!pausePreMint, "premint paused");
    _;
  }

  modifier onlyOwner() {
    _onlyOwner();
    _;
  }

  /** INTERNAL */ 

  function _onlyOwner() private view {
    require(msg.sender == owner, "onlyOwner");
  }

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

  /** EXTERNAL */ 

  function mint(uint16 amountPurchase) external payable mintOpen {
    uint256 currentSupply = totalSupply();
    require(
      amountPurchase <= MAX_MINT_PER_TX,
      "Max5perTX"
    );
    require(
      currentSupply + amountPurchase <= COOL_KIDS_SUPPLY,
      "soldout"
    );
    require(msg.value >= PRICE * amountPurchase, "not enougth eth");
    for (uint8 i; i < amountPurchase; i++) {
      _safeMint(msg.sender, currentSupply + i);
    }
  }

  function preMint(
    uint16 amountPurchase,
    bytes32[] calldata proof,
    uint256 _number
  ) external payable preMintOpen {
    uint16 eligibilitySender = isEligible(proof, _number);
    uint256 currentSupply = totalSupply();
    uint256 buyerTokenCount = balanceOf(_msgSender());
    if (eligibilitySender == 0) revert("notWL");
    require(
      buyerTokenCount + amountPurchase <= 4, "Max4Presale"
    );
    require(
      currentSupply + amountPurchase <= COOL_KIDS_SUPPLY,
      "soldout"
    );
    require(msg.value >= PRE_PRICE * amountPurchase, "not enougth eth");
    for (uint8 i; i < amountPurchase; i++) {
      _safeMint(msg.sender, currentSupply + i);
    }
  }

  function mintUnsold(uint16 amountMint) external onlyOwner {
    uint256 currentSupply = totalSupply();
    require(
      currentSupply + amountMint <= COOL_KIDS_SUPPLY,
      "soldout"
    );
    for (uint8 i; i < amountMint; i++) {
      _safeMint(msg.sender, currentSupply + i);
    }
  }

  /** READ */   

  function isEligible(bytes32[] calldata proof, uint256 _number)
    public
    view
    returns (uint16 eligibility)
  {
    bytes32 leaf = keccak256(abi.encodePacked(_number, msg.sender));
    if (MerkleProof.verify(proof, root, leaf)) return 1;
    return 0;
  }
  
  /** RENDER */

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent meow");

    string memory currentBaseURI = _baseURI();

    return (
      bytes(currentBaseURI).length > 0
        ? string(
          abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)
        )
        : ""
    );
  }

  /** ADMIN */

  function setPauseMint(bool _setPauseMint) external onlyOwner {
    pauseMint = _setPauseMint;
  }

  function setPausePreMint(bool _setPausePreMint) external onlyOwner {
    pausePreMint = _setPausePreMint;
  }

  function setBaseURI(string memory _newBaseURI) external onlyOwner {
    baseURI = _newBaseURI;
  }

  function setRoot(
    bytes32 _root
  ) external onlyOwner {
    root = _root;
  }

  function withdrawAll() external onlyOwner {
    uint256 balance = address(this).balance;
    require(balance > 0, "No money");
    _withdraw(addressOne, (balance * 30) / 100);
    _withdraw(addressTwo, (balance * 30) / 100);
    _withdraw(addressThree, (balance * 30) / 100);
    _withdraw(msg.sender, address(this).balance);
  }

  function _withdraw(address _address, uint256 _amount) private {
    (bool success, ) = _address.call{ value: _amount }("");
    require(success, "Transfer failed");
  }
}

File 2 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 3 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 4 of 13 : ERC721Enum.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "ERC721P.sol";
import "IERC721Enumerable.sol";

abstract contract ERC721Enum is ERC721P, IERC721Enumerable {
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(IERC165, ERC721P)
    returns (bool)
  {
    return
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256 tokenId)
  {
    require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob");
    uint256 count;
    for (uint256 i; i < _owners.length; ++i) {
      if (owner == _owners[i]) {
        if (count == index) return i;
        else ++count;
      }
    }
    require(false, "ERC721Enum: owner ioob");
  }

  function tokensOfOwner(address owner) public view returns (uint256[] memory) {
    require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob");
    uint256 tokenCount = balanceOf(owner);
    uint256[] memory tokenIds = new uint256[](tokenCount);
    for (uint256 i = 0; i < tokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(owner, i);
    }
    return tokenIds;
  }

  function totalSupply() public view virtual override returns (uint256) {
    return _owners.length;
  }

  function tokenByIndex(uint256 index)
    public
    view
    virtual
    override
    returns (uint256)
  {
    require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob");
    return index;
  }
}

File 5 of 13 : ERC721P.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "IERC721.sol";
import "IERC721Receiver.sol";
import "IERC721Metadata.sol";
import "Address.sol";
import "Context.sol";
import "ERC165.sol";

abstract contract ERC721P is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;
  string private _name;
  string private _symbol;
  address[] internal _owners;
  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  constructor(string memory name_, string memory symbol_) {
    _name = name_;
    _symbol = symbol_;
  }

  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC165, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  function balanceOf(address owner)
    public
    view
    virtual
    override
    returns (uint256)
  {
    require(owner != address(0), "ERC721: balance query for the zero address");
    uint256 count = 0;
    uint256 length = _owners.length;
    for (uint256 i = 0; i < length; ++i) {
      if (owner == _owners[i]) {
        ++count;
      }
    }
    delete length;
    return count;
  }

  function ownerOf(uint256 tokenId)
    public
    view
    virtual
    override
    returns (address)
  {
    address owner = _owners[tokenId];
    require(owner != address(0), "ERC721: owner query for nonexistent token");
    return owner;
  }

  function name() public view virtual override returns (string memory) {
    return _name;
  }

  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  function approve(address to, uint256 tokenId) public virtual override {
    address owner = ERC721P.ownerOf(tokenId);
    require(to != owner, "ERC721: approval to current owner");

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

    _approve(to, tokenId);
  }

  function getApproved(uint256 tokenId)
    public
    view
    virtual
    override
    returns (address)
  {
    require(_exists(tokenId), "ERC721: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  function setApprovalForAll(address operator, bool approved)
    public
    virtual
    override
  {
    require(operator != _msgSender(), "ERC721: approve to caller");

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

  function isApprovedForAll(address owner, address operator)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _operatorApprovals[owner][operator];
  }

  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    //solhint-disable-next-line max-line-length
    require(
      _isApprovedOrOwner(_msgSender(), tokenId),
      "ERC721: transfer caller is not owner nor approved"
    );

    _transfer(from, to, tokenId);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    safeTransferFrom(from, to, tokenId, "");
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public virtual override {
    require(
      _isApprovedOrOwner(_msgSender(), tokenId),
      "ERC721: transfer caller is not owner nor approved"
    );
    _safeTransfer(from, to, tokenId, _data);
  }

  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal virtual {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721: transfer to non ERC721Receiver implementer"
    );
  }

  function _exists(uint256 tokenId) internal view virtual returns (bool) {
    return tokenId < _owners.length && _owners[tokenId] != address(0);
  }

  function _isApprovedOrOwner(address spender, uint256 tokenId)
    internal
    view
    virtual
    returns (bool)
  {
    require(_exists(tokenId), "ERC721: operator query for nonexistent token");
    address owner = ERC721P.ownerOf(tokenId);
    return (spender == owner ||
      getApproved(tokenId) == spender ||
      isApprovedForAll(owner, spender));
  }

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

  function _safeMint(
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal virtual {
    _mint(to, tokenId);
    require(
      _checkOnERC721Received(address(0), to, tokenId, _data),
      "ERC721: transfer to non ERC721Receiver implementer"
    );
  }

  function _mint(address to, uint256 tokenId) internal virtual {
    require(to != address(0), "ERC721: mint to the zero address");
    require(!_exists(tokenId), "ERC721: token already minted");

    _beforeTokenTransfer(address(0), to, tokenId);
    _owners.push(to);

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

  function _burn(uint256 tokenId) internal virtual {
    address owner = ERC721P.ownerOf(tokenId);

    _beforeTokenTransfer(owner, address(0), tokenId);

    // Clear approvals
    _approve(address(0), tokenId);
    _owners[tokenId] = address(0);

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

  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {
    require(
      ERC721P.ownerOf(tokenId) == from,
      "ERC721: transfer of token that is not own"
    );
    require(to != address(0), "ERC721: transfer to the zero address");

    _beforeTokenTransfer(from, to, tokenId);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId);
    _owners[tokenId] = to;

    emit Transfer(from, to, tokenId);
  }

  function _approve(address to, uint256 tokenId) internal virtual {
    _tokenApprovals[tokenId] = to;
    emit Approval(ERC721P.ownerOf(tokenId), to, tokenId);
  }

  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.onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {}
}

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "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 7 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COOL_KIDS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"uint256","name":"_number","type":"uint256"}],"name":"isEligible","outputs":[{"internalType":"uint16","name":"eligibility","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amountPurchase","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amountMint","type":"uint16"}],"name":"mintUnsold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePreMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amountPurchase","type":"uint16"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPauseMint","type":"bool"}],"name":"setPauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPausePreMint","type":"bool"}],"name":"setPausePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","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":"tokenId","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610faa60059081556006805461ffff191661010117905560e060405260a081905264173539b7b760d91b60c09081526200003d9160099190620000be565b503480156200004b57600080fd5b50604080518082018252600c81526b21b7b7b625b4b239a1b63ab160a11b602080830191825283518085019094526003845262434b4360e81b9084015281519192916200009b91600091620000be565b508051620000b1906001906020840190620000be565b50503360805250620001a1565b828054620000cc9062000164565b90600052602060002090601f016020900481019282620000f057600085556200013b565b82601f106200010b57805160ff19168380011785556200013b565b828001600101855582156200013b579182015b828111156200013b5782518255916020019190600101906200011e565b50620001499291506200014d565b5090565b5b808211156200014957600081556001016200014e565b600181811c908216806200017957607f821691505b602082108114156200019b57634e487b7160e01b600052602260045260246000fd5b50919050565b608051612554620001c4600039600081816104fc015261152101526125546000f3fe6080604052600436106101f95760003560e01c80636c0360eb1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146105a7578063cd85cdb5146105c7578063dab5f340146105e1578063e985e9c514610601578063f59e26d01461064a57600080fd5b806395d89b4114610533578063a22cb46514610548578063a40a65ab14610568578063b88d4fde1461058757600080fd5b8063853828b6116100dc578063853828b6146104ba5780638d859f3e146104cf5780638da5cb5b146104ea5780638ecad7211461051e57600080fd5b80636c0360eb146104425780636ee7d36a1461045757806370a082311461046d5780638462151c1461048d57600080fd5b80632f745c591161019057806355f804b31161015f57806355f804b31461039c57806357f8b60c146103bc5780635b33cd22146103ef5780636352211e1461040f578063651f1f001461042f57600080fd5b80632f745c591461032157806342842e0e146103415780634f6ccce714610361578063556fedd21461038157600080fd5b806309f74df8116101cc57806309f74df8146102af57806318160ddd146102cf57806323b872dd146102ee57806323cf0a221461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611d64565b61066a565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610695565b60405161022a9190611dd9565b34801561026157600080fd5b50610275610270366004611dec565b610727565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611e21565b6107b4565b005b3480156102bb57600080fd5b506102ad6102ca366004611e5b565b6108ca565b3480156102db57600080fd5b506002545b60405190815260200161022a565b3480156102fa57600080fd5b506102ad610309366004611e76565b6108ec565b6102ad61031c366004611ec4565b61091d565b34801561032d57600080fd5b506102e061033c366004611e21565b610a6b565b34801561034d57600080fd5b506102ad61035c366004611e76565b610b1a565b34801561036d57600080fd5b506102e061037c366004611dec565b610b35565b34801561038d57600080fd5b506102e066b1a2bc2ec5000081565b3480156103a857600080fd5b506102ad6103b7366004611f6b565b610b92565b3480156103c857600080fd5b506103dc6103d7366004612000565b610bb1565b60405161ffff909116815260200161022a565b3480156103fb57600080fd5b506102ad61040a366004611ec4565b610c57565b34801561041b57600080fd5b5061027561042a366004611dec565b610cd1565b6102ad61043d36600461204c565b610d5d565b34801561044e57600080fd5b50610248610f18565b34801561046357600080fd5b506102e060055481565b34801561047957600080fd5b506102e06104883660046120a6565b610fa6565b34801561049957600080fd5b506104ad6104a83660046120a6565b611078565b60405161022a91906120c1565b3480156104c657600080fd5b506102ad611142565b3480156104db57600080fd5b506102e066d529ae9e86000081565b3480156104f657600080fd5b506102757f000000000000000000000000000000000000000000000000000000000000000081565b34801561052a57600080fd5b506102e0600581565b34801561053f57600080fd5b5061024861120e565b34801561055457600080fd5b506102ad610563366004612105565b61121d565b34801561057457600080fd5b5060065461021e90610100900460ff1681565b34801561059357600080fd5b506102ad6105a2366004612138565b6112e2565b3480156105b357600080fd5b506102486105c2366004611dec565b61131a565b3480156105d357600080fd5b5060065461021e9060ff1681565b3480156105ed57600080fd5b506102ad6105fc366004611dec565b6113e6565b34801561060d57600080fd5b5061021e61061c3660046121b4565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561065657600080fd5b506102ad610665366004611e5b565b6113f3565b60006001600160e01b0319821663780e9d6360e01b148061068f575061068f8261140e565b92915050565b6060600080546106a4906121de565b80601f01602080910402602001604051908101604052809291908181526020018280546106d0906121de565b801561071d5780601f106106f25761010080835404028352916020019161071d565b820191906000526020600020905b81548152906001019060200180831161070057829003601f168201915b5050505050905090565b60006107328261145e565b6107985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006107bf82610cd1565b9050806001600160a01b0316836001600160a01b0316141561082d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078f565b336001600160a01b03821614806108495750610849813361061c565b6108bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078f565b6108c583836114a8565b505050565b6108d2611516565b600680549115156101000261ff0019909216919091179055565b6108f6338261157c565b6109125760405162461bcd60e51b815260040161078f90612219565b6108c5838383611666565b60065460ff161561095e5760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b604482015260640161078f565b600061096960025490565b905060058261ffff1611156109ac5760405162461bcd60e51b815260206004820152600960248201526809ac2f06ae0cae4a8b60bb1b604482015260640161078f565b6005546109bd61ffff841683612280565b11156109db5760405162461bcd60e51b815260040161078f90612298565b6109f061ffff831666d529ae9e8600006122b9565b341015610a315760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b604482015260640161078f565b60005b8261ffff168160ff1610156108c557610a5933610a5460ff841685612280565b6117bc565b80610a63816122d8565b915050610a34565b6000610a7683610fa6565b8210610a945760405162461bcd60e51b815260040161078f906122f8565b6000805b600254811015610b015760028181548110610ab557610ab5612328565b6000918252602090912001546001600160a01b0386811691161415610af15783821415610ae557915061068f9050565b610aee8261233e565b91505b610afa8161233e565b9050610a98565b5060405162461bcd60e51b815260040161078f906122f8565b6108c5838383604051806020016040528060008152506112e2565b6000610b4060025490565b8210610b8e5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604482015260640161078f565b5090565b610b9a611516565b8051610bad906007906020840190611cbe565b5050565b6000808233604051602001610be292919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b604051602081830303815290604052805190602001209050610c3b8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060085491508490506117d6565b15610c4a576001915050610c50565b60009150505b9392505050565b610c5f611516565b6000610c6a60025490565b600554909150610c7e61ffff841683612280565b1115610c9c5760405162461bcd60e51b815260040161078f90612298565b60005b8261ffff168160ff1610156108c557610cbf33610a5460ff841685612280565b80610cc9816122d8565b915050610c9f565b60008060028381548110610ce757610ce7612328565b6000918252602090912001546001600160a01b031690508061068f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078f565b600654610100900460ff1615610da65760405162461bcd60e51b815260206004820152600e60248201526d1c1c995b5a5b9d081c185d5cd95960921b604482015260640161078f565b6000610db3848484610bb1565b90506000610dc060025490565b90506000610dcd33610fa6565b905061ffff8316610e085760405162461bcd60e51b81526020600482015260056024820152641b9bdd15d360da1b604482015260640161078f565b6004610e1861ffff891683612280565b1115610e545760405162461bcd60e51b815260206004820152600b60248201526a4d61783450726573616c6560a81b604482015260640161078f565b600554610e6561ffff891684612280565b1115610e835760405162461bcd60e51b815260040161078f90612298565b610e9861ffff881666b1a2bc2ec500006122b9565b341015610ed95760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b604482015260640161078f565b60005b8761ffff168160ff161015610f0e57610efc33610a5460ff841686612280565b80610f06816122d8565b915050610edc565b5050505050505050565b60078054610f25906121de565b80601f0160208091040260200160405190810160405280929190818152602001828054610f51906121de565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b505050505081565b60006001600160a01b0382166110115760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078f565b600254600090815b8181101561106f576002818154811061103457611034612328565b6000918252602090912001546001600160a01b038681169116141561105f5761105c8361233e565b92505b6110688161233e565b9050611019565b50909392505050565b606061108382610fa6565b6000106110a25760405162461bcd60e51b815260040161078f906122f8565b60006110ad83610fa6565b905060008167ffffffffffffffff8111156110ca576110ca611edf565b6040519080825280602002602001820160405280156110f3578160200160208202803683370190505b50905060005b8281101561113a5761110b8582610a6b565b82828151811061111d5761111d612328565b6020908102919091010152806111328161233e565b9150506110f9565b509392505050565b61114a611516565b47806111835760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b604482015260640161078f565b6111b773b0039c1f0b355cbe011b97bb75827291ba6d78cb60646111a884601e6122b9565b6111b2919061236f565b6117ec565b6111dc73642559efb3c1e94a30abbcba431f818fbd50782060646111a884601e6122b9565b611201731d3c99d01329b2d98cc3a7fa5178ab4a31f7c15560646111a884601e6122b9565b61120b33476117ec565b50565b6060600180546106a4906121de565b6001600160a01b0382163314156112765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078f565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112ec338361157c565b6113085760405162461bcd60e51b815260040161078f90612219565b61131484848484611881565b50505050565b60606113258261145e565b6113885760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b606482015260840161078f565b60006113926118b4565b905060008151116113b25760405180602001604052806000815250610c50565b806113bc846118c3565b60096040516020016113d093929190612383565b6040516020818303038152906040529392505050565b6113ee611516565b600855565b6113fb611516565b6006805460ff1916911515919091179055565b60006001600160e01b031982166380ac58cd60e01b148061143f57506001600160e01b03198216635b5e139f60e01b145b8061068f57506301ffc9a760e01b6001600160e01b031983161461068f565b6002546000908210801561068f575060006001600160a01b03166002838154811061148b5761148b612328565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114dd82610cd1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461157a5760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b604482015260640161078f565b565b60006115878261145e565b6115e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078f565b60006115f383610cd1565b9050806001600160a01b0316846001600160a01b0316148061162e5750836001600160a01b031661162384610727565b6001600160a01b0316145b8061165e57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661167982610cd1565b6001600160a01b0316146116e15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078f565b6001600160a01b0382166117435760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078f565b61174e6000826114a8565b816002828154811061176257611762612328565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610bad8282604051806020016040528060008152506119c1565b6000826117e385846119f4565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611839576040519150601f19603f3d011682016040523d82523d6000602084013e61183e565b606091505b50509050806108c55760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161078f565b61188c848484611666565b61189884848484611a98565b6113145760405162461bcd60e51b815260040161078f90612447565b6060600780546106a4906121de565b6060816118e75750506040805180820190915260018152600360fc1b602082015290565b8160005b811561191157806118fb8161233e565b915061190a9050600a8361236f565b91506118eb565b60008167ffffffffffffffff81111561192c5761192c611edf565b6040519080825280601f01601f191660200182016040528015611956576020820181803683370190505b5090505b841561165e5761196b600183612499565b9150611978600a866124b0565b611983906030612280565b60f81b81838151811061199857611998612328565b60200101906001600160f81b031916908160001a9053506119ba600a8661236f565b945061195a565b6119cb8383611b96565b6119d86000848484611a98565b6108c55760405162461bcd60e51b815260040161078f90612447565b600081815b845181101561113a576000858281518110611a1657611a16612328565b60200260200101519050808311611a58576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611a85565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611a908161233e565b9150506119f9565b60006001600160a01b0384163b15611b8b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611adc9033908990889088906004016124c4565b6020604051808303816000875af1925050508015611b17575060408051601f3d908101601f19168201909252611b1491810190612501565b60015b611b71573d808015611b45576040519150601f19603f3d011682016040523d82523d6000602084013e611b4a565b606091505b508051611b695760405162461bcd60e51b815260040161078f90612447565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061165e565b506001949350505050565b6001600160a01b038216611bec5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078f565b611bf58161145e565b15611c425760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078f565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611cca906121de565b90600052602060002090601f016020900481019282611cec5760008555611d32565b82601f10611d0557805160ff1916838001178555611d32565b82800160010185558215611d32579182015b82811115611d32578251825591602001919060010190611d17565b50610b8e9291505b80821115610b8e5760008155600101611d3a565b6001600160e01b03198116811461120b57600080fd5b600060208284031215611d7657600080fd5b8135610c5081611d4e565b60005b83811015611d9c578181015183820152602001611d84565b838111156113145750506000910152565b60008151808452611dc5816020860160208601611d81565b601f01601f19169290920160200192915050565b602081526000610c506020830184611dad565b600060208284031215611dfe57600080fd5b5035919050565b80356001600160a01b0381168114611e1c57600080fd5b919050565b60008060408385031215611e3457600080fd5b611e3d83611e05565b946020939093013593505050565b80358015158114611e1c57600080fd5b600060208284031215611e6d57600080fd5b610c5082611e4b565b600080600060608486031215611e8b57600080fd5b611e9484611e05565b9250611ea260208501611e05565b9150604084013590509250925092565b803561ffff81168114611e1c57600080fd5b600060208284031215611ed657600080fd5b610c5082611eb2565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f1057611f10611edf565b604051601f8501601f19908116603f01168101908282118183101715611f3857611f38611edf565b81604052809350858152868686011115611f5157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7d57600080fd5b813567ffffffffffffffff811115611f9457600080fd5b8201601f81018413611fa557600080fd5b61165e84823560208401611ef5565b60008083601f840112611fc657600080fd5b50813567ffffffffffffffff811115611fde57600080fd5b6020830191508360208260051b8501011115611ff957600080fd5b9250929050565b60008060006040848603121561201557600080fd5b833567ffffffffffffffff81111561202c57600080fd5b61203886828701611fb4565b909790965060209590950135949350505050565b6000806000806060858703121561206257600080fd5b61206b85611eb2565b9350602085013567ffffffffffffffff81111561208757600080fd5b61209387828801611fb4565b9598909750949560400135949350505050565b6000602082840312156120b857600080fd5b610c5082611e05565b6020808252825182820181905260009190848201906040850190845b818110156120f9578351835292840192918401916001016120dd565b50909695505050505050565b6000806040838503121561211857600080fd5b61212183611e05565b915061212f60208401611e4b565b90509250929050565b6000806000806080858703121561214e57600080fd5b61215785611e05565b935061216560208601611e05565b925060408501359150606085013567ffffffffffffffff81111561218857600080fd5b8501601f8101871361219957600080fd5b6121a887823560208401611ef5565b91505092959194509250565b600080604083850312156121c757600080fd5b6121d083611e05565b915061212f60208401611e05565b600181811c908216806121f257607f821691505b6020821081141561221357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122935761229361226a565b500190565b6020808252600790820152661cdbdb191bdd5d60ca1b604082015260600190565b60008160001904831182151516156122d3576122d361226a565b500290565b600060ff821660ff8114156122ef576122ef61226a565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156123525761235261226a565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261237e5761237e612359565b500490565b6000845160206123968285838a01611d81565b8551918401916123a98184848a01611d81565b8554920191600090600181811c90808316806123c657607f831692505b8583108114156123e457634e487b7160e01b85526022600452602485fd5b8080156123f8576001811461240957612436565b60ff19851688528388019550612436565b60008b81526020902060005b8581101561242e5781548a820152908401908801612415565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000828210156124ab576124ab61226a565b500390565b6000826124bf576124bf612359565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124f790830184611dad565b9695505050505050565b60006020828403121561251357600080fd5b8151610c5081611d4e56fea2646970667358221220174dcc18636e254f7770f3ce383cd576c84e7bcbef631e1034b934ab9909727e64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80636c0360eb1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146105a7578063cd85cdb5146105c7578063dab5f340146105e1578063e985e9c514610601578063f59e26d01461064a57600080fd5b806395d89b4114610533578063a22cb46514610548578063a40a65ab14610568578063b88d4fde1461058757600080fd5b8063853828b6116100dc578063853828b6146104ba5780638d859f3e146104cf5780638da5cb5b146104ea5780638ecad7211461051e57600080fd5b80636c0360eb146104425780636ee7d36a1461045757806370a082311461046d5780638462151c1461048d57600080fd5b80632f745c591161019057806355f804b31161015f57806355f804b31461039c57806357f8b60c146103bc5780635b33cd22146103ef5780636352211e1461040f578063651f1f001461042f57600080fd5b80632f745c591461032157806342842e0e146103415780634f6ccce714610361578063556fedd21461038157600080fd5b806309f74df8116101cc57806309f74df8146102af57806318160ddd146102cf57806323b872dd146102ee57806323cf0a221461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611d64565b61066a565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610695565b60405161022a9190611dd9565b34801561026157600080fd5b50610275610270366004611dec565b610727565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611e21565b6107b4565b005b3480156102bb57600080fd5b506102ad6102ca366004611e5b565b6108ca565b3480156102db57600080fd5b506002545b60405190815260200161022a565b3480156102fa57600080fd5b506102ad610309366004611e76565b6108ec565b6102ad61031c366004611ec4565b61091d565b34801561032d57600080fd5b506102e061033c366004611e21565b610a6b565b34801561034d57600080fd5b506102ad61035c366004611e76565b610b1a565b34801561036d57600080fd5b506102e061037c366004611dec565b610b35565b34801561038d57600080fd5b506102e066b1a2bc2ec5000081565b3480156103a857600080fd5b506102ad6103b7366004611f6b565b610b92565b3480156103c857600080fd5b506103dc6103d7366004612000565b610bb1565b60405161ffff909116815260200161022a565b3480156103fb57600080fd5b506102ad61040a366004611ec4565b610c57565b34801561041b57600080fd5b5061027561042a366004611dec565b610cd1565b6102ad61043d36600461204c565b610d5d565b34801561044e57600080fd5b50610248610f18565b34801561046357600080fd5b506102e060055481565b34801561047957600080fd5b506102e06104883660046120a6565b610fa6565b34801561049957600080fd5b506104ad6104a83660046120a6565b611078565b60405161022a91906120c1565b3480156104c657600080fd5b506102ad611142565b3480156104db57600080fd5b506102e066d529ae9e86000081565b3480156104f657600080fd5b506102757f000000000000000000000000f05da6731212f86ed2cea46aa26b8831e44a590581565b34801561052a57600080fd5b506102e0600581565b34801561053f57600080fd5b5061024861120e565b34801561055457600080fd5b506102ad610563366004612105565b61121d565b34801561057457600080fd5b5060065461021e90610100900460ff1681565b34801561059357600080fd5b506102ad6105a2366004612138565b6112e2565b3480156105b357600080fd5b506102486105c2366004611dec565b61131a565b3480156105d357600080fd5b5060065461021e9060ff1681565b3480156105ed57600080fd5b506102ad6105fc366004611dec565b6113e6565b34801561060d57600080fd5b5061021e61061c3660046121b4565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561065657600080fd5b506102ad610665366004611e5b565b6113f3565b60006001600160e01b0319821663780e9d6360e01b148061068f575061068f8261140e565b92915050565b6060600080546106a4906121de565b80601f01602080910402602001604051908101604052809291908181526020018280546106d0906121de565b801561071d5780601f106106f25761010080835404028352916020019161071d565b820191906000526020600020905b81548152906001019060200180831161070057829003601f168201915b5050505050905090565b60006107328261145e565b6107985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006107bf82610cd1565b9050806001600160a01b0316836001600160a01b0316141561082d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161078f565b336001600160a01b03821614806108495750610849813361061c565b6108bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161078f565b6108c583836114a8565b505050565b6108d2611516565b600680549115156101000261ff0019909216919091179055565b6108f6338261157c565b6109125760405162461bcd60e51b815260040161078f90612219565b6108c5838383611666565b60065460ff161561095e5760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b604482015260640161078f565b600061096960025490565b905060058261ffff1611156109ac5760405162461bcd60e51b815260206004820152600960248201526809ac2f06ae0cae4a8b60bb1b604482015260640161078f565b6005546109bd61ffff841683612280565b11156109db5760405162461bcd60e51b815260040161078f90612298565b6109f061ffff831666d529ae9e8600006122b9565b341015610a315760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b604482015260640161078f565b60005b8261ffff168160ff1610156108c557610a5933610a5460ff841685612280565b6117bc565b80610a63816122d8565b915050610a34565b6000610a7683610fa6565b8210610a945760405162461bcd60e51b815260040161078f906122f8565b6000805b600254811015610b015760028181548110610ab557610ab5612328565b6000918252602090912001546001600160a01b0386811691161415610af15783821415610ae557915061068f9050565b610aee8261233e565b91505b610afa8161233e565b9050610a98565b5060405162461bcd60e51b815260040161078f906122f8565b6108c5838383604051806020016040528060008152506112e2565b6000610b4060025490565b8210610b8e5760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604482015260640161078f565b5090565b610b9a611516565b8051610bad906007906020840190611cbe565b5050565b6000808233604051602001610be292919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b604051602081830303815290604052805190602001209050610c3b8585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060085491508490506117d6565b15610c4a576001915050610c50565b60009150505b9392505050565b610c5f611516565b6000610c6a60025490565b600554909150610c7e61ffff841683612280565b1115610c9c5760405162461bcd60e51b815260040161078f90612298565b60005b8261ffff168160ff1610156108c557610cbf33610a5460ff841685612280565b80610cc9816122d8565b915050610c9f565b60008060028381548110610ce757610ce7612328565b6000918252602090912001546001600160a01b031690508061068f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161078f565b600654610100900460ff1615610da65760405162461bcd60e51b815260206004820152600e60248201526d1c1c995b5a5b9d081c185d5cd95960921b604482015260640161078f565b6000610db3848484610bb1565b90506000610dc060025490565b90506000610dcd33610fa6565b905061ffff8316610e085760405162461bcd60e51b81526020600482015260056024820152641b9bdd15d360da1b604482015260640161078f565b6004610e1861ffff891683612280565b1115610e545760405162461bcd60e51b815260206004820152600b60248201526a4d61783450726573616c6560a81b604482015260640161078f565b600554610e6561ffff891684612280565b1115610e835760405162461bcd60e51b815260040161078f90612298565b610e9861ffff881666b1a2bc2ec500006122b9565b341015610ed95760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b604482015260640161078f565b60005b8761ffff168160ff161015610f0e57610efc33610a5460ff841686612280565b80610f06816122d8565b915050610edc565b5050505050505050565b60078054610f25906121de565b80601f0160208091040260200160405190810160405280929190818152602001828054610f51906121de565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b505050505081565b60006001600160a01b0382166110115760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161078f565b600254600090815b8181101561106f576002818154811061103457611034612328565b6000918252602090912001546001600160a01b038681169116141561105f5761105c8361233e565b92505b6110688161233e565b9050611019565b50909392505050565b606061108382610fa6565b6000106110a25760405162461bcd60e51b815260040161078f906122f8565b60006110ad83610fa6565b905060008167ffffffffffffffff8111156110ca576110ca611edf565b6040519080825280602002602001820160405280156110f3578160200160208202803683370190505b50905060005b8281101561113a5761110b8582610a6b565b82828151811061111d5761111d612328565b6020908102919091010152806111328161233e565b9150506110f9565b509392505050565b61114a611516565b47806111835760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b604482015260640161078f565b6111b773b0039c1f0b355cbe011b97bb75827291ba6d78cb60646111a884601e6122b9565b6111b2919061236f565b6117ec565b6111dc73642559efb3c1e94a30abbcba431f818fbd50782060646111a884601e6122b9565b611201731d3c99d01329b2d98cc3a7fa5178ab4a31f7c15560646111a884601e6122b9565b61120b33476117ec565b50565b6060600180546106a4906121de565b6001600160a01b0382163314156112765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161078f565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112ec338361157c565b6113085760405162461bcd60e51b815260040161078f90612219565b61131484848484611881565b50505050565b60606113258261145e565b6113885760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b606482015260840161078f565b60006113926118b4565b905060008151116113b25760405180602001604052806000815250610c50565b806113bc846118c3565b60096040516020016113d093929190612383565b6040516020818303038152906040529392505050565b6113ee611516565b600855565b6113fb611516565b6006805460ff1916911515919091179055565b60006001600160e01b031982166380ac58cd60e01b148061143f57506001600160e01b03198216635b5e139f60e01b145b8061068f57506301ffc9a760e01b6001600160e01b031983161461068f565b6002546000908210801561068f575060006001600160a01b03166002838154811061148b5761148b612328565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114dd82610cd1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b336001600160a01b037f000000000000000000000000f05da6731212f86ed2cea46aa26b8831e44a5905161461157a5760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b604482015260640161078f565b565b60006115878261145e565b6115e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161078f565b60006115f383610cd1565b9050806001600160a01b0316846001600160a01b0316148061162e5750836001600160a01b031661162384610727565b6001600160a01b0316145b8061165e57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661167982610cd1565b6001600160a01b0316146116e15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161078f565b6001600160a01b0382166117435760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161078f565b61174e6000826114a8565b816002828154811061176257611762612328565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610bad8282604051806020016040528060008152506119c1565b6000826117e385846119f4565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611839576040519150601f19603f3d011682016040523d82523d6000602084013e61183e565b606091505b50509050806108c55760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161078f565b61188c848484611666565b61189884848484611a98565b6113145760405162461bcd60e51b815260040161078f90612447565b6060600780546106a4906121de565b6060816118e75750506040805180820190915260018152600360fc1b602082015290565b8160005b811561191157806118fb8161233e565b915061190a9050600a8361236f565b91506118eb565b60008167ffffffffffffffff81111561192c5761192c611edf565b6040519080825280601f01601f191660200182016040528015611956576020820181803683370190505b5090505b841561165e5761196b600183612499565b9150611978600a866124b0565b611983906030612280565b60f81b81838151811061199857611998612328565b60200101906001600160f81b031916908160001a9053506119ba600a8661236f565b945061195a565b6119cb8383611b96565b6119d86000848484611a98565b6108c55760405162461bcd60e51b815260040161078f90612447565b600081815b845181101561113a576000858281518110611a1657611a16612328565b60200260200101519050808311611a58576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611a85565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611a908161233e565b9150506119f9565b60006001600160a01b0384163b15611b8b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611adc9033908990889088906004016124c4565b6020604051808303816000875af1925050508015611b17575060408051601f3d908101601f19168201909252611b1491810190612501565b60015b611b71573d808015611b45576040519150601f19603f3d011682016040523d82523d6000602084013e611b4a565b606091505b508051611b695760405162461bcd60e51b815260040161078f90612447565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061165e565b506001949350505050565b6001600160a01b038216611bec5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161078f565b611bf58161145e565b15611c425760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161078f565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611cca906121de565b90600052602060002090601f016020900481019282611cec5760008555611d32565b82601f10611d0557805160ff1916838001178555611d32565b82800160010185558215611d32579182015b82811115611d32578251825591602001919060010190611d17565b50610b8e9291505b80821115610b8e5760008155600101611d3a565b6001600160e01b03198116811461120b57600080fd5b600060208284031215611d7657600080fd5b8135610c5081611d4e565b60005b83811015611d9c578181015183820152602001611d84565b838111156113145750506000910152565b60008151808452611dc5816020860160208601611d81565b601f01601f19169290920160200192915050565b602081526000610c506020830184611dad565b600060208284031215611dfe57600080fd5b5035919050565b80356001600160a01b0381168114611e1c57600080fd5b919050565b60008060408385031215611e3457600080fd5b611e3d83611e05565b946020939093013593505050565b80358015158114611e1c57600080fd5b600060208284031215611e6d57600080fd5b610c5082611e4b565b600080600060608486031215611e8b57600080fd5b611e9484611e05565b9250611ea260208501611e05565b9150604084013590509250925092565b803561ffff81168114611e1c57600080fd5b600060208284031215611ed657600080fd5b610c5082611eb2565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f1057611f10611edf565b604051601f8501601f19908116603f01168101908282118183101715611f3857611f38611edf565b81604052809350858152868686011115611f5157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7d57600080fd5b813567ffffffffffffffff811115611f9457600080fd5b8201601f81018413611fa557600080fd5b61165e84823560208401611ef5565b60008083601f840112611fc657600080fd5b50813567ffffffffffffffff811115611fde57600080fd5b6020830191508360208260051b8501011115611ff957600080fd5b9250929050565b60008060006040848603121561201557600080fd5b833567ffffffffffffffff81111561202c57600080fd5b61203886828701611fb4565b909790965060209590950135949350505050565b6000806000806060858703121561206257600080fd5b61206b85611eb2565b9350602085013567ffffffffffffffff81111561208757600080fd5b61209387828801611fb4565b9598909750949560400135949350505050565b6000602082840312156120b857600080fd5b610c5082611e05565b6020808252825182820181905260009190848201906040850190845b818110156120f9578351835292840192918401916001016120dd565b50909695505050505050565b6000806040838503121561211857600080fd5b61212183611e05565b915061212f60208401611e4b565b90509250929050565b6000806000806080858703121561214e57600080fd5b61215785611e05565b935061216560208601611e05565b925060408501359150606085013567ffffffffffffffff81111561218857600080fd5b8501601f8101871361219957600080fd5b6121a887823560208401611ef5565b91505092959194509250565b600080604083850312156121c757600080fd5b6121d083611e05565b915061212f60208401611e05565b600181811c908216806121f257607f821691505b6020821081141561221357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156122935761229361226a565b500190565b6020808252600790820152661cdbdb191bdd5d60ca1b604082015260600190565b60008160001904831182151516156122d3576122d361226a565b500290565b600060ff821660ff8114156122ef576122ef61226a565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156123525761235261226a565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261237e5761237e612359565b500490565b6000845160206123968285838a01611d81565b8551918401916123a98184848a01611d81565b8554920191600090600181811c90808316806123c657607f831692505b8583108114156123e457634e487b7160e01b85526022600452602485fd5b8080156123f8576001811461240957612436565b60ff19851688528388019550612436565b60008b81526020902060005b8581101561242e5781548a820152908401908801612415565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000828210156124ab576124ab61226a565b500390565b6000826124bf576124bf612359565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124f790830184611dad565b9695505050505050565b60006020828403121561251357600080fd5b8151610c5081611d4e56fea2646970667358221220174dcc18636e254f7770f3ce383cd576c84e7bcbef631e1034b934ab9909727e64736f6c634300080a0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.