ETH Price: $3,423.25 (+3.10%)

Token

CoolKidsNextGen (CKNG)
 

Overview

Max Total Supply

5,000 CKNG

Holders

902

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
zeroprofit.eth
Balance
10 CKNG
0xb2cba1d1cc8ffd812ec34d6ee91db4dd42302a15
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A Collection of 5000 Cool Kids Next Gen on Ethereum Blockchain, ready to spread the Coolness in 2022.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CoolKidsNextGen

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

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

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

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

// XXXXXXXXXXXXXXXXXXXXXX0OOKXXXXXXXXXKOOOOOOOOOOOOOOOOOOOOOOkxdolcccccld0X0KXXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXXX0kOKXXXXXXXXXKOOOOOOOOOOOOOOOOOOOxl:,,,;;;::cc,. oX0OKXXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXXXXX0kxkKXXXXXXXXKOkOOOkdolc::;,;;;,,;;;cldkOOOOOOd'.:xOKOOKXXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXXKKK0kxxxkKKKKXXXKkl::,'..'';:ccloxxooxOOOOOOOOOOkc..,;,'ckO0XXXXXXXXXXXXXX
// XXXXXXXXXXXXXXXKOkOOkxkOkkkxOXKx;..,;:loxkOOOOxldOOOOOOOOOOOOOOo'  .'cxc.;kOKXXXXXXXXXXXXX
// XXXXXXXXXXXXXXKOkkkOOkkkkkxlc:'.'lkOOOOOOOOxc,,lkOOOOOOOOOOOOkc.  .cxOOx'.lkOKXXXXXXXXXXXX
// XXXXXXXXXXXXXKOkOOOK0kkxc;'.  'lkOOOOOOOOkc,;ldOOOOOOOOOOOOOd'  .cxOOOOO: ;kOKXXXXXXXXXXXX
// XXXXXXXXXXXXK0k0XXXX0d:'','.,okOOOOOOOOOkc,oOOOOOOOOOOOOOOk:. 'lkOOOOOOOl.,kOOKXXXXXXXXXXX
// XXXXXXXXXXXK0k0XXKx:'.;ol,;oOOOOOOOOOOOOOkOOOOOOOOOOOOOOOd'.,okOOOOOOOOOd..x0kOOOKXXXXXXXX
// XXXXXXXXXXX0kOX0o'.,lxOxcokOOOOOOOOOOOOOOOOOOOOOOOOOOOOOl';dOOOOOOOOOOOOx'.dXK0Ok0XXXXXXXX
// XXXXXXXXXXKOOKO,.;dOOOOOOOOOOkkOOOOOOOOOOOOOOOOOOOOOOOOxcoOOOOOOOOOOOOOOd..xXXXKOOKXXXXXXX
// XXXXXXXXXXOk0Xo ,kOOOOOOOOOOd:dOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOk, ,lkXXX0k0XXXXXXX
// XXXXXXXXX0kOXXc ,kOOOOOOOOOd,cOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOk:  ..cKXXKOOKXXXXXX
// XXXXXXXXKOOKXo. ,kOOOOOOOOO;;kOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc  ,d:'kXXX0k0XXXXXX
// XXXXXXXKOk0Xk.  ,kOOOOOOOOk,;kOOOOOOOOOOOOOOOOOxxOOOOOOOOOOOOOOOOOOOOl.'okOl.lXKX0kOKXXXXX
// XXXXXXX0kOX0;.,.'kOOOOOOOOO;.dOOOOOOOOOOOOOOO0o.:OOOOOOOOkolokOOOOOOklckOOOo.:0OOkkkO00KXX
// XXXXXXKOOKXd.'dooOOOOOOOOOOl.;OOOOOOOOOOxoc:cl, ;kOOOxl:'...ckOOOOOOOOOOOOOd.;0OkkkOkxxk0X
// XXXXXX0k0XXl ,kOOOOOOOOOOOko..oOOOOOOkl,.,cdOKo..ll;'.';ld,.dOOOOOOOOOOOOOOd.,xkkkkkkkOOKX
// XXXXXKOO0XXd..dOOOxoxOOxl;.';..dOOOOd'.,d0XKXXO, ..;lx0KXKc.lOOOOOOOOOOOOOOd.,kkkkOOk0XXXX
// XXXXX0kkOKX0; :OOk,.cl,..,oO0l.'dOOo..oKKKKKKKKOxdl;,;xKKK: cOOOOOOOOOOOOOOd.,xxkOKKOOKXXX
// XXXXKOkxx0XXx..oOc  .':ccccc::;..ll..oKKKKKKKKKKx;;oo,,xX0; ;oc;'',:dOOOOOOd.;kOOOKXOk000K
// XXXX0kxxxOKK0c ,o' .oKKKKOxoox0x;..'dKKKKKKKKKXKOk0KK0O0KKl...  ..  .lOOOOOc'dXXXXXX0kkOkO
// KO00Oxxkkkkkkd,....o0OxxxxxkOKKKKOk0KKKKXKKKKKKKKKKKK0KKKKKkxoclkO,  ;kOOkc.cKXXXXXXX00K0k
// OkkOkxkOOOOOOOd' .;kKo'..:;.,kXKKKKKKKKKKKKKKKKd,'',;:;;xXKKKKx;oO,  cOOx;.:OKXXXXXXXXXXKO
// Okkkkkkkkkkkkxxd:',xXKo.:N0,.kXKKKKKKKKKKKKKKXKOd,.l0Kc.lXKKKKxdk:  :kOd'.,ccxXXXXXXXXXXX0
// kOkkOKKKKKKKkxkkxc:xKKk,.:,.:0KKKKKKKKKKKKKKKKKKXo.,xd'.xXKKK0dc. .ckOd' .  ,xKXXXXXXXXXXK
// OK00KXXXXXXKOkkkxxdxkkkxl::o0KKKKKKKKKXXXKX0OO0KKKd;'.,xKKKKXk'  ,dOOOx:...ckOO0XXXXXXXXXX
// 0XXXXXXXXXXXX0OOOl';k00KKXXKKKKKKK0xdoollol;lk0XKKKK00KKKKKKKK: ,kOOOo;..cxOOOOk0XXXXXXXXX
// KXXXXXXXXXXXK0OOOk;.;kKKKKXKKKKKKKkl::;:::cd0XKKKKKKKKKKKKKKKKl ,kkl,.'lkOOOOOOkOKXXXXXXXX
// XXXXXXXXXXXX0OOOOOkc..:d0XKKKKKKKXXXXXXXXXXXKKKKKKKKKKKKKKKKKXo .;'.'lkOOOOOOOOOOKXXXXXXXX
// XXXXXXXXXXXKOOOOOOOOxl'.'cdOKXXKKKKKKKKKKKKKKKXKKKKKKKKKKKKKOd,   'oOOOOOOOOOOOOk0XXXXXXXX
// XXXXXXXXXK00OOOOOOOOOOOdc,..,coxO0KXKKKKKKKKKKKKKKKXKKKKKX0d,  .  .':lxOOOOOOOOOO0XXXXXXXX
// XXXXXXXXKOOOOOOOOOOOOOOOkl'.   ':xKXKKKKKKKKKKKKKKKKKKKKKKKd' ';. ',...,cdOOOkkkkk0KKKXXXX
// XXXXXXXXOkOOOOOOOOOOOOd:... ...l0KKKKKKKKKKKKKKKKKKKKKKKKx:..,;. 'lllc;'..,dOOkkxxxkkkOO0K
// XXXXXXXKkkOOOOOOOOOOo,..,cc..'..,okKKXKKKKKKKKKKKKKKK0xl,..'::. 'cllllllc. .lkOkkxkOkxxkk0
// XXXXXXX0kkOOOOOOOOOc..,clll' .:,...':lxkOOOO000OOkdl:'..';cc,. ,lllllllc. ...,dxxkkkkkOOOk
// XXXXXXKOxxOOOOOOOOo. .cllll; .:lc:;'.................,;ccc:' .;lllllll;. 'cc' 'okkkOOOOOOk
// XXXXXX0kxxkOOOOOOd. . .:llll' .;cccccc:::;;;;;;;::cccccc;'..'cllllllc, .;cc,.  'xOOOOOOOOO
// XXXXXKOxxkxkOOOOk, 'c' .:llll;. .;ccccccccccccccccccc:'...':lllllllc. .::'..'c;.,kOOOOOOOO
// XXXXX0kxkOkkkkkko' .:c, .:llllc,. .,:ccccccccccccc:,...';cllllllll;. ';'..:x0XO; :OOOOOOOO
// XXXXKOkxkOOOOOOOkc...';. 'llllllc,.  .';cccccccc;....;cllllllllll,..'...ckKKKKXx..oOOOOOOO
// XXXX0kkkkkkkkkxkkoldc.   'lllllllll:,.....,;,'....,cllllllllllll,  ...cOKKKKKKKKc ,kOOOOOO
// XXXKOkOOOOOOOOkkkkxxkl.  ;lllllllllllll:,'.....,:llllllllllllll:.  .;xKKKKKKKKKXk'.lOOOOOO
// XXX0kkOOOOOOOOkc:dOkkkl..:lllllllllllllllllclllllllllllllllllll:. 'dKKKKKKKKKKKKKc ,kOOOOO
// XXKOkOOOOOOOOOd..dXKKKo .collllllllllllllllllllllllllllllllllllc..oXKKKKKKKKKKKKXx..dOOOOO

contract CoolKidsNextGen is ERC721Enum {
  using Strings for uint256;

  uint256 public constant COOL_KIDS_NEXT_GEN_SUPPLY = 5000;
  uint256 public constant MAX_MINT_PER_TX = 10;
  uint256 public coolKidsFree = 1000;
  uint256 public price = 0.01 ether;
  
  address private constant addressOne = 0xb0039C1f0b355CBE011b97bb75827291Ba6D78Cb
  ;
  address private constant addressTwo = 0x642559efb3C1E94A30ABbCbA431f818FbD507820
  ;
  address private constant addressThree = 0x1D3c99D01329b2D98CC3a7Fa5178aB4A31F7c155
  ;

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

  constructor() ERC721P("CoolKidsNextGen", "CKNG") {
    owner = msg.sender;
  }

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

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

  /** INTERNAL */ 

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

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

  /** Mint CoolKidsNextGen */ 

  function mint(uint16 amountPurchase) external payable mintOpen {
    uint256 currentSupply = totalSupply();
    require(
      amountPurchase <= MAX_MINT_PER_TX,
      "Max10perTX"
    );
    require(
      currentSupply + amountPurchase <= COOL_KIDS_NEXT_GEN_SUPPLY,
      "soldout"
    );
    if(currentSupply > coolKidsFree) {
      require(msg.value >= price * amountPurchase, "not enougth eth");
    }
    for (uint8 i; i < amountPurchase; i++) {
      _safeMint(msg.sender, currentSupply + i);
    }
  }
  
  /** Get tokenURI */

  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 SetPauseMint*/

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

  /** ADMIN SetBaseURI*/

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

  /** ADMIN SetFreeSupply*/

  function setFreeSupply(uint256 _freeSupply) external onlyOwner {
    coolKidsFree = _freeSupply;
  }

  /** ADMIN SetPrice*/

  function setPrice(uint256 _price) external onlyOwner {
    price = _price;
  }

  /** ADMIN withdraw*/

  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 12 : 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 12 : 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 4 of 12 : 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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": {
    "CoolKidsNextGen.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_NEXT_GEN_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":[{"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":[],"name":"coolKidsFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint16","name":"amountPurchase","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"price","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":"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":"uint256","name":"_freeSupply","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPauseMint","type":"bool"}],"name":"setPauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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"}]

6103e86005908155662386f26fc100006006556007805460ff1916600117905560e060405260a081905264173539b7b760d91b60c0908152620000469160099190620000cb565b503480156200005457600080fd5b50604080518082018252600f81526e21b7b7b625b4b239a732bc3a23b2b760891b602080830191825283518085019094526004845263434b4e4760e01b908401528151919291620000a891600091620000cb565b508051620000be906001906020840190620000cb565b50503360805250620001ae565b828054620000d99062000171565b90600052602060002090601f016020900481019282620000fd576000855562000148565b82601f106200011857805160ff191683800117855562000148565b8280016001018555821562000148579182015b82811115620001485782518255916020019190600101906200012b565b50620001569291506200015a565b5090565b5b808211156200015657600081556001016200015b565b600181811c908216806200018657607f821691505b60208210811415620001a857634e487b7160e01b600052602260045260246000fd5b50919050565b608051611ffa620001d16000396000818161042e01526113f70152611ffa6000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a035b1fe11610095578063cd85cdb511610064578063cd85cdb514610510578063e985e9c51461052a578063f59e26d014610573578063f676308a1461059357600080fd5b8063a035b1fe1461049a578063a22cb465146104b0578063b88d4fde146104d0578063c87b56dd146104f057600080fd5b80638da5cb5b116100d15780638da5cb5b1461041c5780638ecad7211461045057806391b7f5ed1461046557806395d89b411461048557600080fd5b806370a08231146103ba5780638462151c146103da578063853828b61461040757600080fd5b806323cf0a221161016f5780634f6ccce71161013e5780634f6ccce71461034557806355f804b3146103655780636352211e146103855780636c0360eb146103a557600080fd5b806323cf0a22146102dc57806324cd3680146102ef5780632f745c591461030557806342842e0e1461032557600080fd5b8063095ea7b3116101ab578063095ea7b314610261578063163119481461028357806318160ddd146102a757806323b872dd146102bc57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611926565b6105b3565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105de565b6040516101fe919061199b565b34801561023557600080fd5b506102496102443660046119ae565b610670565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046119e3565b6106fd565b005b34801561028f57600080fd5b5061029960055481565b6040519081526020016101fe565b3480156102b357600080fd5b50600254610299565b3480156102c857600080fd5b506102816102d7366004611a0d565b610813565b6102816102ea366004611a49565b610844565b3480156102fb57600080fd5b5061029961138881565b34801561031157600080fd5b506102996103203660046119e3565b6109b4565b34801561033157600080fd5b50610281610340366004611a0d565b610a63565b34801561035157600080fd5b506102996103603660046119ae565b610a7e565b34801561037157600080fd5b50610281610380366004611af9565b610adb565b34801561039157600080fd5b506102496103a03660046119ae565b610afa565b3480156103b157600080fd5b5061021c610b86565b3480156103c657600080fd5b506102996103d5366004611b42565b610c14565b3480156103e657600080fd5b506103fa6103f5366004611b42565b610ce6565b6040516101fe9190611b5d565b34801561041357600080fd5b50610281610db0565b34801561042857600080fd5b506102497f000000000000000000000000000000000000000000000000000000000000000081565b34801561045c57600080fd5b50610299600a81565b34801561047157600080fd5b506102816104803660046119ae565b610e7c565b34801561049157600080fd5b5061021c610e89565b3480156104a657600080fd5b5061029960065481565b3480156104bc57600080fd5b506102816104cb366004611bb1565b610e98565b3480156104dc57600080fd5b506102816104eb366004611be4565b610f5d565b3480156104fc57600080fd5b5061021c61050b3660046119ae565b610f95565b34801561051c57600080fd5b506007546101f29060ff1681565b34801561053657600080fd5b506101f2610545366004611c60565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561057f57600080fd5b5061028161058e366004611c8a565b611062565b34801561059f57600080fd5b506102816105ae3660046119ae565b61107d565b60006001600160e01b0319821663780e9d6360e01b14806105d857506105d88261108a565b92915050565b6060600080546105ed90611ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461061990611ca5565b80156106665780601f1061063b57610100808354040283529160200191610666565b820191906000526020600020905b81548152906001019060200180831161064957829003601f168201915b5050505050905090565b600061067b826110da565b6106e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061070882610afa565b9050806001600160a01b0316836001600160a01b031614156107765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d8565b336001600160a01b038216148061079257506107928133610545565b6108045760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d8565b61080e8383611124565b505050565b61081d3382611192565b6108395760405162461bcd60e51b81526004016106d890611ce0565b61080e83838361127c565b60075460ff16156108855760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b60448201526064016106d8565b600061089060025490565b9050600a8261ffff1611156108d45760405162461bcd60e51b815260206004820152600a60248201526909ac2f06260e0cae4a8b60b31b60448201526064016106d8565b6113886108e561ffff841683611d47565b111561091d5760405162461bcd60e51b81526020600482015260076024820152661cdbdb191bdd5d60ca1b60448201526064016106d8565b60055481111561097a578161ffff166006546109399190611d5f565b34101561097a5760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b60448201526064016106d8565b60005b8261ffff168160ff16101561080e576109a23361099d60ff841685611d47565b6113d2565b806109ac81611d7e565b91505061097d565b60006109bf83610c14565b82106109dd5760405162461bcd60e51b81526004016106d890611d9e565b6000805b600254811015610a4a57600281815481106109fe576109fe611dce565b6000918252602090912001546001600160a01b0386811691161415610a3a5783821415610a2e5791506105d89050565b610a3782611de4565b91505b610a4381611de4565b90506109e1565b5060405162461bcd60e51b81526004016106d890611d9e565b61080e83838360405180602001604052806000815250610f5d565b6000610a8960025490565b8210610ad75760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016106d8565b5090565b610ae36113ec565b8051610af6906008906020840190611880565b5050565b60008060028381548110610b1057610b10611dce565b6000918252602090912001546001600160a01b03169050806105d85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d8565b60088054610b9390611ca5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbf90611ca5565b8015610c0c5780601f10610be157610100808354040283529160200191610c0c565b820191906000526020600020905b815481529060010190602001808311610bef57829003601f168201915b505050505081565b60006001600160a01b038216610c7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d8565b600254600090815b81811015610cdd5760028181548110610ca257610ca2611dce565b6000918252602090912001546001600160a01b0386811691161415610ccd57610cca83611de4565b92505b610cd681611de4565b9050610c87565b50909392505050565b6060610cf182610c14565b600010610d105760405162461bcd60e51b81526004016106d890611d9e565b6000610d1b83610c14565b905060008167ffffffffffffffff811115610d3857610d38611a6d565b604051908082528060200260200182016040528015610d61578160200160208202803683370190505b50905060005b82811015610da857610d7985826109b4565b828281518110610d8b57610d8b611dce565b602090810291909101015280610da081611de4565b915050610d67565b509392505050565b610db86113ec565b4780610df15760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b60448201526064016106d8565b610e2573b0039c1f0b355cbe011b97bb75827291ba6d78cb6064610e1684601e611d5f565b610e209190611e15565b611452565b610e4a73642559efb3c1e94a30abbcba431f818fbd5078206064610e1684601e611d5f565b610e6f731d3c99d01329b2d98cc3a7fa5178ab4a31f7c1556064610e1684601e611d5f565b610e793347611452565b50565b610e846113ec565b600655565b6060600180546105ed90611ca5565b6001600160a01b038216331415610ef15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d8565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f673383611192565b610f835760405162461bcd60e51b81526004016106d890611ce0565b610f8f848484846114e7565b50505050565b6060610fa0826110da565b6110035760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b60648201526084016106d8565b600061100d61151a565b9050600081511161102d576040518060200160405280600081525061105b565b8061103784611529565b600960405160200161104b93929190611e29565b6040516020818303038152906040525b9392505050565b61106a6113ec565b6007805460ff1916911515919091179055565b6110856113ec565b600555565b60006001600160e01b031982166380ac58cd60e01b14806110bb57506001600160e01b03198216635b5e139f60e01b145b806105d857506301ffc9a760e01b6001600160e01b03198316146105d8565b600254600090821080156105d8575060006001600160a01b03166002838154811061110757611107611dce565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061115982610afa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061119d826110da565b6111fe5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d8565b600061120983610afa565b9050806001600160a01b0316846001600160a01b031614806112445750836001600160a01b031661123984610670565b6001600160a01b0316145b8061127457506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661128f82610afa565b6001600160a01b0316146112f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d8565b6001600160a01b0382166113595760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d8565b611364600082611124565b816002828154811061137857611378611dce565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610af6828260405180602001604052806000815250611627565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146114505760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b60448201526064016106d8565b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461149f576040519150601f19603f3d011682016040523d82523d6000602084013e6114a4565b606091505b505090508061080e5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016106d8565b6114f284848461127c565b6114fe8484848461165a565b610f8f5760405162461bcd60e51b81526004016106d890611eed565b6060600880546105ed90611ca5565b60608161154d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611577578061156181611de4565b91506115709050600a83611e15565b9150611551565b60008167ffffffffffffffff81111561159257611592611a6d565b6040519080825280601f01601f1916602001820160405280156115bc576020820181803683370190505b5090505b8415611274576115d1600183611f3f565b91506115de600a86611f56565b6115e9906030611d47565b60f81b8183815181106115fe576115fe611dce565b60200101906001600160f81b031916908160001a905350611620600a86611e15565b94506115c0565b6116318383611758565b61163e600084848461165a565b61080e5760405162461bcd60e51b81526004016106d890611eed565b60006001600160a01b0384163b1561174d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061169e903390899088908890600401611f6a565b6020604051808303816000875af19250505080156116d9575060408051601f3d908101601f191682019092526116d691810190611fa7565b60015b611733573d808015611707576040519150601f19603f3d011682016040523d82523d6000602084013e61170c565b606091505b50805161172b5760405162461bcd60e51b81526004016106d890611eed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611274565b506001949350505050565b6001600160a01b0382166117ae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d8565b6117b7816110da565b156118045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d8565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461188c90611ca5565b90600052602060002090601f0160209004810192826118ae57600085556118f4565b82601f106118c757805160ff19168380011785556118f4565b828001600101855582156118f4579182015b828111156118f45782518255916020019190600101906118d9565b50610ad79291505b80821115610ad757600081556001016118fc565b6001600160e01b031981168114610e7957600080fd5b60006020828403121561193857600080fd5b813561105b81611910565b60005b8381101561195e578181015183820152602001611946565b83811115610f8f5750506000910152565b60008151808452611987816020860160208601611943565b601f01601f19169290920160200192915050565b60208152600061105b602083018461196f565b6000602082840312156119c057600080fd5b5035919050565b80356001600160a01b03811681146119de57600080fd5b919050565b600080604083850312156119f657600080fd5b6119ff836119c7565b946020939093013593505050565b600080600060608486031215611a2257600080fd5b611a2b846119c7565b9250611a39602085016119c7565b9150604084013590509250925092565b600060208284031215611a5b57600080fd5b813561ffff8116811461105b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a9e57611a9e611a6d565b604051601f8501601f19908116603f01168101908282118183101715611ac657611ac6611a6d565b81604052809350858152868686011115611adf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b0b57600080fd5b813567ffffffffffffffff811115611b2257600080fd5b8201601f81018413611b3357600080fd5b61127484823560208401611a83565b600060208284031215611b5457600080fd5b61105b826119c7565b6020808252825182820181905260009190848201906040850190845b81811015611b9557835183529284019291840191600101611b79565b50909695505050505050565b803580151581146119de57600080fd5b60008060408385031215611bc457600080fd5b611bcd836119c7565b9150611bdb60208401611ba1565b90509250929050565b60008060008060808587031215611bfa57600080fd5b611c03856119c7565b9350611c11602086016119c7565b925060408501359150606085013567ffffffffffffffff811115611c3457600080fd5b8501601f81018713611c4557600080fd5b611c5487823560208401611a83565b91505092959194509250565b60008060408385031215611c7357600080fd5b611c7c836119c7565b9150611bdb602084016119c7565b600060208284031215611c9c57600080fd5b61105b82611ba1565b600181811c90821680611cb957607f821691505b60208210811415611cda57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d5a57611d5a611d31565b500190565b6000816000190483118215151615611d7957611d79611d31565b500290565b600060ff821660ff811415611d9557611d95611d31565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611df857611df8611d31565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611e2457611e24611dff565b500490565b600084516020611e3c8285838a01611943565b855191840191611e4f8184848a01611943565b8554920191600090600181811c9080831680611e6c57607f831692505b858310811415611e8a57634e487b7160e01b85526022600452602485fd5b808015611e9e5760018114611eaf57611edc565b60ff19851688528388019550611edc565b60008b81526020902060005b85811015611ed45781548a820152908401908801611ebb565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082821015611f5157611f51611d31565b500390565b600082611f6557611f65611dff565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f9d9083018461196f565b9695505050505050565b600060208284031215611fb957600080fd5b815161105b8161191056fea2646970667358221220335a4bb9f8e3a7fe21e03f46bb491d0dc99bf2729042ca5ba46038233a4836fe64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a035b1fe11610095578063cd85cdb511610064578063cd85cdb514610510578063e985e9c51461052a578063f59e26d014610573578063f676308a1461059357600080fd5b8063a035b1fe1461049a578063a22cb465146104b0578063b88d4fde146104d0578063c87b56dd146104f057600080fd5b80638da5cb5b116100d15780638da5cb5b1461041c5780638ecad7211461045057806391b7f5ed1461046557806395d89b411461048557600080fd5b806370a08231146103ba5780638462151c146103da578063853828b61461040757600080fd5b806323cf0a221161016f5780634f6ccce71161013e5780634f6ccce71461034557806355f804b3146103655780636352211e146103855780636c0360eb146103a557600080fd5b806323cf0a22146102dc57806324cd3680146102ef5780632f745c591461030557806342842e0e1461032557600080fd5b8063095ea7b3116101ab578063095ea7b314610261578063163119481461028357806318160ddd146102a757806323b872dd146102bc57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611926565b6105b3565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105de565b6040516101fe919061199b565b34801561023557600080fd5b506102496102443660046119ae565b610670565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046119e3565b6106fd565b005b34801561028f57600080fd5b5061029960055481565b6040519081526020016101fe565b3480156102b357600080fd5b50600254610299565b3480156102c857600080fd5b506102816102d7366004611a0d565b610813565b6102816102ea366004611a49565b610844565b3480156102fb57600080fd5b5061029961138881565b34801561031157600080fd5b506102996103203660046119e3565b6109b4565b34801561033157600080fd5b50610281610340366004611a0d565b610a63565b34801561035157600080fd5b506102996103603660046119ae565b610a7e565b34801561037157600080fd5b50610281610380366004611af9565b610adb565b34801561039157600080fd5b506102496103a03660046119ae565b610afa565b3480156103b157600080fd5b5061021c610b86565b3480156103c657600080fd5b506102996103d5366004611b42565b610c14565b3480156103e657600080fd5b506103fa6103f5366004611b42565b610ce6565b6040516101fe9190611b5d565b34801561041357600080fd5b50610281610db0565b34801561042857600080fd5b506102497f000000000000000000000000f05da6731212f86ed2cea46aa26b8831e44a590581565b34801561045c57600080fd5b50610299600a81565b34801561047157600080fd5b506102816104803660046119ae565b610e7c565b34801561049157600080fd5b5061021c610e89565b3480156104a657600080fd5b5061029960065481565b3480156104bc57600080fd5b506102816104cb366004611bb1565b610e98565b3480156104dc57600080fd5b506102816104eb366004611be4565b610f5d565b3480156104fc57600080fd5b5061021c61050b3660046119ae565b610f95565b34801561051c57600080fd5b506007546101f29060ff1681565b34801561053657600080fd5b506101f2610545366004611c60565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561057f57600080fd5b5061028161058e366004611c8a565b611062565b34801561059f57600080fd5b506102816105ae3660046119ae565b61107d565b60006001600160e01b0319821663780e9d6360e01b14806105d857506105d88261108a565b92915050565b6060600080546105ed90611ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461061990611ca5565b80156106665780601f1061063b57610100808354040283529160200191610666565b820191906000526020600020905b81548152906001019060200180831161064957829003601f168201915b5050505050905090565b600061067b826110da565b6106e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061070882610afa565b9050806001600160a01b0316836001600160a01b031614156107765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d8565b336001600160a01b038216148061079257506107928133610545565b6108045760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d8565b61080e8383611124565b505050565b61081d3382611192565b6108395760405162461bcd60e51b81526004016106d890611ce0565b61080e83838361127c565b60075460ff16156108855760405162461bcd60e51b815260206004820152600b60248201526a1b5a5b9d081c185d5cd95960aa1b60448201526064016106d8565b600061089060025490565b9050600a8261ffff1611156108d45760405162461bcd60e51b815260206004820152600a60248201526909ac2f06260e0cae4a8b60b31b60448201526064016106d8565b6113886108e561ffff841683611d47565b111561091d5760405162461bcd60e51b81526020600482015260076024820152661cdbdb191bdd5d60ca1b60448201526064016106d8565b60055481111561097a578161ffff166006546109399190611d5f565b34101561097a5760405162461bcd60e51b815260206004820152600f60248201526e0dcdee840cadcdeeacee8d040cae8d608b1b60448201526064016106d8565b60005b8261ffff168160ff16101561080e576109a23361099d60ff841685611d47565b6113d2565b806109ac81611d7e565b91505061097d565b60006109bf83610c14565b82106109dd5760405162461bcd60e51b81526004016106d890611d9e565b6000805b600254811015610a4a57600281815481106109fe576109fe611dce565b6000918252602090912001546001600160a01b0386811691161415610a3a5783821415610a2e5791506105d89050565b610a3782611de4565b91505b610a4381611de4565b90506109e1565b5060405162461bcd60e51b81526004016106d890611d9e565b61080e83838360405180602001604052806000815250610f5d565b6000610a8960025490565b8210610ad75760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016106d8565b5090565b610ae36113ec565b8051610af6906008906020840190611880565b5050565b60008060028381548110610b1057610b10611dce565b6000918252602090912001546001600160a01b03169050806105d85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d8565b60088054610b9390611ca5565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbf90611ca5565b8015610c0c5780601f10610be157610100808354040283529160200191610c0c565b820191906000526020600020905b815481529060010190602001808311610bef57829003601f168201915b505050505081565b60006001600160a01b038216610c7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d8565b600254600090815b81811015610cdd5760028181548110610ca257610ca2611dce565b6000918252602090912001546001600160a01b0386811691161415610ccd57610cca83611de4565b92505b610cd681611de4565b9050610c87565b50909392505050565b6060610cf182610c14565b600010610d105760405162461bcd60e51b81526004016106d890611d9e565b6000610d1b83610c14565b905060008167ffffffffffffffff811115610d3857610d38611a6d565b604051908082528060200260200182016040528015610d61578160200160208202803683370190505b50905060005b82811015610da857610d7985826109b4565b828281518110610d8b57610d8b611dce565b602090810291909101015280610da081611de4565b915050610d67565b509392505050565b610db86113ec565b4780610df15760405162461bcd60e51b81526020600482015260086024820152674e6f206d6f6e657960c01b60448201526064016106d8565b610e2573b0039c1f0b355cbe011b97bb75827291ba6d78cb6064610e1684601e611d5f565b610e209190611e15565b611452565b610e4a73642559efb3c1e94a30abbcba431f818fbd5078206064610e1684601e611d5f565b610e6f731d3c99d01329b2d98cc3a7fa5178ab4a31f7c1556064610e1684601e611d5f565b610e793347611452565b50565b610e846113ec565b600655565b6060600180546105ed90611ca5565b6001600160a01b038216331415610ef15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d8565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f673383611192565b610f835760405162461bcd60e51b81526004016106d890611ce0565b610f8f848484846114e7565b50505050565b6060610fa0826110da565b6110035760405162461bcd60e51b815260206004820152602e60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526d6e6578697374656e74206d656f7760901b60648201526084016106d8565b600061100d61151a565b9050600081511161102d576040518060200160405280600081525061105b565b8061103784611529565b600960405160200161104b93929190611e29565b6040516020818303038152906040525b9392505050565b61106a6113ec565b6007805460ff1916911515919091179055565b6110856113ec565b600555565b60006001600160e01b031982166380ac58cd60e01b14806110bb57506001600160e01b03198216635b5e139f60e01b145b806105d857506301ffc9a760e01b6001600160e01b03198316146105d8565b600254600090821080156105d8575060006001600160a01b03166002838154811061110757611107611dce565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061115982610afa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061119d826110da565b6111fe5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d8565b600061120983610afa565b9050806001600160a01b0316846001600160a01b031614806112445750836001600160a01b031661123984610670565b6001600160a01b0316145b8061127457506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661128f82610afa565b6001600160a01b0316146112f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d8565b6001600160a01b0382166113595760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d8565b611364600082611124565b816002828154811061137857611378611dce565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610af6828260405180602001604052806000815250611627565b336001600160a01b037f000000000000000000000000f05da6731212f86ed2cea46aa26b8831e44a590516146114505760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b60448201526064016106d8565b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461149f576040519150601f19603f3d011682016040523d82523d6000602084013e6114a4565b606091505b505090508061080e5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016106d8565b6114f284848461127c565b6114fe8484848461165a565b610f8f5760405162461bcd60e51b81526004016106d890611eed565b6060600880546105ed90611ca5565b60608161154d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611577578061156181611de4565b91506115709050600a83611e15565b9150611551565b60008167ffffffffffffffff81111561159257611592611a6d565b6040519080825280601f01601f1916602001820160405280156115bc576020820181803683370190505b5090505b8415611274576115d1600183611f3f565b91506115de600a86611f56565b6115e9906030611d47565b60f81b8183815181106115fe576115fe611dce565b60200101906001600160f81b031916908160001a905350611620600a86611e15565b94506115c0565b6116318383611758565b61163e600084848461165a565b61080e5760405162461bcd60e51b81526004016106d890611eed565b60006001600160a01b0384163b1561174d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061169e903390899088908890600401611f6a565b6020604051808303816000875af19250505080156116d9575060408051601f3d908101601f191682019092526116d691810190611fa7565b60015b611733573d808015611707576040519150601f19603f3d011682016040523d82523d6000602084013e61170c565b606091505b50805161172b5760405162461bcd60e51b81526004016106d890611eed565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611274565b506001949350505050565b6001600160a01b0382166117ae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d8565b6117b7816110da565b156118045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d8565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461188c90611ca5565b90600052602060002090601f0160209004810192826118ae57600085556118f4565b82601f106118c757805160ff19168380011785556118f4565b828001600101855582156118f4579182015b828111156118f45782518255916020019190600101906118d9565b50610ad79291505b80821115610ad757600081556001016118fc565b6001600160e01b031981168114610e7957600080fd5b60006020828403121561193857600080fd5b813561105b81611910565b60005b8381101561195e578181015183820152602001611946565b83811115610f8f5750506000910152565b60008151808452611987816020860160208601611943565b601f01601f19169290920160200192915050565b60208152600061105b602083018461196f565b6000602082840312156119c057600080fd5b5035919050565b80356001600160a01b03811681146119de57600080fd5b919050565b600080604083850312156119f657600080fd5b6119ff836119c7565b946020939093013593505050565b600080600060608486031215611a2257600080fd5b611a2b846119c7565b9250611a39602085016119c7565b9150604084013590509250925092565b600060208284031215611a5b57600080fd5b813561ffff8116811461105b57600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a9e57611a9e611a6d565b604051601f8501601f19908116603f01168101908282118183101715611ac657611ac6611a6d565b81604052809350858152868686011115611adf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b0b57600080fd5b813567ffffffffffffffff811115611b2257600080fd5b8201601f81018413611b3357600080fd5b61127484823560208401611a83565b600060208284031215611b5457600080fd5b61105b826119c7565b6020808252825182820181905260009190848201906040850190845b81811015611b9557835183529284019291840191600101611b79565b50909695505050505050565b803580151581146119de57600080fd5b60008060408385031215611bc457600080fd5b611bcd836119c7565b9150611bdb60208401611ba1565b90509250929050565b60008060008060808587031215611bfa57600080fd5b611c03856119c7565b9350611c11602086016119c7565b925060408501359150606085013567ffffffffffffffff811115611c3457600080fd5b8501601f81018713611c4557600080fd5b611c5487823560208401611a83565b91505092959194509250565b60008060408385031215611c7357600080fd5b611c7c836119c7565b9150611bdb602084016119c7565b600060208284031215611c9c57600080fd5b61105b82611ba1565b600181811c90821680611cb957607f821691505b60208210811415611cda57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611d5a57611d5a611d31565b500190565b6000816000190483118215151615611d7957611d79611d31565b500290565b600060ff821660ff811415611d9557611d95611d31565b60010192915050565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611df857611df8611d31565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611e2457611e24611dff565b500490565b600084516020611e3c8285838a01611943565b855191840191611e4f8184848a01611943565b8554920191600090600181811c9080831680611e6c57607f831692505b858310811415611e8a57634e487b7160e01b85526022600452602485fd5b808015611e9e5760018114611eaf57611edc565b60ff19851688528388019550611edc565b60008b81526020902060005b85811015611ed45781548a820152908401908801611ebb565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082821015611f5157611f51611d31565b500390565b600082611f6557611f65611dff565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f9d9083018461196f565b9695505050505050565b600060208284031215611fb957600080fd5b815161105b8161191056fea2646970667358221220335a4bb9f8e3a7fe21e03f46bb491d0dc99bf2729042ca5ba46038233a4836fe64736f6c634300080a0033

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.