ETH Price: $3,713.02 (+4.72%)

Token

ERC-20: Just Greg (GREG)
 

Overview

Max Total Supply

1,234 GREG

Holders

678

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x000...000
Balance
0 GREG
0x0000000000000000000000000000000000000000
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:
JustGreg

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import './Blimpie/Delegated.sol';
import './Blimpie/ERC721Batch.sol';
import './Blimpie/SignedSecret.sol';

contract JustGreg is Delegated, ERC721Batch, SignedSecret {
  using Strings for uint256;

  uint public ETH_PRICE  = 0.0 ether;
  uint public MAX_MINT   = 1;
  uint public MAX_ORDER  = 1;
  uint public MAX_SUPPLY = 1234;

  bool public isPresaleActive;
  bool public isMainsaleActive;

  string private _tokenURIPrefix;
  string private _tokenURISuffix;

  constructor()
    ERC721B( "Just Greg", "GREG", 0 )
    SignedSecret( 0xBf5F724DAa9760Fc231699199b00f577be09BB1b, "Can you believe they put a man on the moon" ){
  }


  //safety first
  receive() external payable {}

  function withdraw() external onlyOwner {
    require(address(this).balance >= 0, "no funds available");
    Address.sendValue(payable(owner()), address(this).balance);
  }


  //view: IERC721Metadata
  function tokenURI( uint tokenId ) external view override returns( string memory ){
    require(_exists(tokenId), "query for nonexistent token");
    return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix));
  }

  //payable
  function mint( uint16 quantity, bytes calldata signature ) external payable {
    require( quantity > 0,                      "must order 1+" );
    require( quantity <= MAX_ORDER,             "order too big" );
    require( owners[msg.sender].purchased + quantity <= MAX_MINT, "don't be greedy" );
    require( msg.value >= ETH_PRICE * quantity, "ether sent is not correct" );

    if( isMainsaleActive ){

    }
    else if( isPresaleActive ){
      require( _isAuthorizedSigner( uint(quantity).toString(), signature ),  "account not authorized" );
    }
    else{
      revert( "sale is not active" );
    }

    uint supply = totalSupply();
    require( supply + quantity <= MAX_SUPPLY, "mint/order exceeds supply" );

    owners[msg.sender].balance += quantity;
    owners[msg.sender].purchased += quantity;
    for(uint i; i < quantity; ++i){
      _mint( msg.sender, tokens.length );
    }
  }


  //onlyDelegates
  function mintTo(uint16[] calldata quantity, address[] calldata recipient) external payable onlyDelegates{
    require(quantity.length == recipient.length, "must provide equal quantities and recipients" );

    uint totalQuantity;
    for(uint i; i < quantity.length; ++i){
      totalQuantity += quantity[i];
    }

    uint supply = totalSupply();
    require( supply + totalQuantity < MAX_SUPPLY, "mint/order exceeds supply" );

    for(uint i; i < recipient.length; ++i){
      if( quantity[i] > 0 ){
        owners[recipient[i]].balance += quantity[i];
        for(uint j; j < quantity[i]; ++j){
          _mint( recipient[i], tokens.length );
        }
      }
    }
  }

  function setConfig( bool isPresaleActive_, bool isMainsaleActive_,
    uint maxMint_, uint maxOrder_, uint maxSupply_, uint price_ ) external onlyDelegates{
    require( maxSupply_ >= totalSupply(), "specified supply is lower than current balance" );

    isPresaleActive = isPresaleActive_;
    isMainsaleActive = isMainsaleActive_;
    
    MAX_MINT = maxMint_;
    MAX_ORDER = maxOrder_;
    MAX_SUPPLY = maxSupply_;

    ETH_PRICE = price_;
  }

  function setBaseURI(string calldata _newPrefix, string calldata _newSuffix) external onlyDelegates{
    _tokenURIPrefix = _newPrefix;
    _tokenURISuffix = _newSuffix;
  }

  function transferOwnership( address newOwner ) public override( Delegated, Ownable ) onlyOwner{
    Ownable.transferOwnership( newOwner );
  }


  //private
  function _mint( address to, uint tokenId ) internal override {
    tokenId = tokens.length;

    tokens.push( Token( to ) );
    emit Transfer(address(0), to, tokenId);
  }
}

File 2 of 18 : SignedSecret.sol
// SPDX-License-Identifier: BSD-3

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract SignedSecret is Ownable{
  using ECDSA for bytes32;

  address internal _signer;
  string internal _secret;

  constructor( address signer, string memory secret ){
    setSignedConfig( signer, secret );
  }

  function setSignedConfig( address signer, string memory secret ) public onlyOwner{
    _signer = signer;
    _secret = secret;
  }

  function _createHash( string memory data ) internal virtual view returns ( bytes32 ){
    return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) );
  }

  function _isAuthorizedSigner( string memory data, bytes calldata signature ) internal view virtual returns( bool ){
    return _signer == _recoverSigner( _createHash( data ), signature );
  }

  function _recoverSigner( bytes32 hashed, bytes memory signature ) internal pure returns( address ){
    return hashed.toEthSignedMessageHash().recover( signature );
  }
}

File 3 of 18 : IERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

interface IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool );
  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external;
  function walletOfOwner( address account ) external view returns( uint[] memory );
}

File 4 of 18 : ERC721EnumerableB.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "./ERC721B.sol";

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

  function tokenOfOwnerByIndex( address owner, uint index ) external view override returns( uint tokenId ){
    uint count;
    for( uint i; i < tokens.length; ++i ){
      if( owner == tokens[i].owner ){
        if( count == index )
          return i;
        else
          ++count;
      }
    }

    revert("ERC721EnumerableB: owner index out of bounds");
  }

  function tokenByIndex( uint index ) external view override returns( uint tokenId ){
    require( index < totalSupply(), "ERC721EnumerableB: query for nonexistent token");
    return index + _offset;
  }

  function totalSupply() public view virtual override( ERC721B, IERC721Enumerable ) returns( uint ){
    return ERC721B.totalSupply();
  }
}

File 5 of 18 : ERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

import "../Blimpie/IERC721Batch.sol";
import "./ERC721EnumerableB.sol";

abstract contract ERC721Batch is ERC721EnumerableB, IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
    for(uint i; i < tokenIds.length; ++i ){
      if( account != tokens[ tokenIds[i] ].owner )
        return false;
    }

    return true;
  }

  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{
    for(uint i; i < tokenIds.length; ++i ){
      safeTransferFrom( from, to, tokenIds[i], data );
    }
  }

  function walletOfOwner( address account ) external view override returns( uint[] memory wallet ){
    uint count;
    uint quantity = owners[ account ].balance;
    wallet = new uint[]( quantity );
    for( uint i; i < tokens.length; ++i ){
      if( account == tokens[i].owner ){
        wallet[ count++ ] = i;
        if( count == quantity )
          break;
      }
    }
    return wallet;
  }
}

File 6 of 18 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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


abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;

  struct Owner{
    uint16 balance;
    uint16 claimed;
    uint16 purchased;
  }

  struct Token{
    address owner;
  }

  Token[] public tokens;
  mapping(address => Owner) public owners;

  uint internal _burned;
  uint internal _offset;
  string private _name;
  string private _symbol;

  mapping(uint => address) internal _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

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

    _offset = offset_;
    for(uint i; i < _offset; ++i ){
      tokens.push();
    }
  }

  //public view
  function balanceOf(address owner) external view override returns( uint balance ){
    return owners[owner].balance;
  }

  function name() external view override returns( string memory name_ ){
    return _name;
  }

  function ownerOf(uint tokenId) public view override returns( address owner ){
    require(_exists(tokenId), "ERC721B: query for nonexistent token");
    return tokens[tokenId].owner;
  }

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

  function symbol() external view override returns( string memory symbol_ ){
    return _symbol;
  }

  function totalSupply() public view virtual returns (uint) {
    return tokens.length - (_burned + _offset);
  }


  //approvals
  function approve(address to, uint tokenId) external override {
    address owner = ownerOf(tokenId);
    require(to != owner, "ERC721B: approval to current owner");

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

    _approve(to, tokenId);
  }

  function getApproved(uint tokenId) public view override returns( address approver ){
    require(_exists(tokenId), "ERC721: query for nonexistent token");
    return _tokenApprovals[tokenId];
  }

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

  function setApprovalForAll(address operator, bool approved) external override {
    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }


  //transfers
  function safeTransferFrom(address from, address to, uint tokenId) external override{
    safeTransferFrom(from, to, tokenId, "");
  }

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

  function transferFrom(address from, address to, uint tokenId) external override {
    //solhint-disable-next-line max-line-length
    require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721B: caller is not owner nor approved");
    _transfer(from, to, tokenId);
  }


  //internal
  function _approve(address to, uint tokenId) internal{
    _tokenApprovals[tokenId] = to;
    emit Approval(ownerOf(tokenId), to, tokenId);
  }

  function _beforeTokenTransfer(address from, address to) internal virtual {
    if( from != address(0) )
      --owners[from].balance;

    if( to != address(0) )
      ++owners[to].balance;
  }


  function _burn(uint tokenId) internal {
    address owner = ownerOf(tokenId);

    _beforeTokenTransfer(owner, address(0));

    // Clear approvals
    _approve(address(0), tokenId);
    tokens[tokenId].owner = address(0);

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

  function _checkOnERC721Received(address from, address to, uint 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("ERC721B: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _exists(uint tokenId) internal view returns( bool ){
    return tokenId < tokens.length && tokens[tokenId].owner != address(0);
  }

  function _isApprovedOrOwner(address spender, uint tokenId) internal view returns( bool isApproved ){
    require(_exists(tokenId), "ERC721B: query for nonexistent token");
    address owner = ownerOf(tokenId);
    return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
  }

  function _mint(address to, uint tokenId) internal virtual;

  function _next() internal view virtual returns(uint){
    return tokens.length + _offset;
  }

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

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

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

  function _transfer(address from, address to, uint tokenId) internal {
    require(ownerOf(tokenId) == from, "ERC721B: transfer of token that is not own");
    _beforeTokenTransfer(from, to);

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

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

File 7 of 18 : Delegated.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

contract Delegated is Ownable{
  mapping(address => bool) internal _delegates;

  constructor(){
    _delegates[owner()] = true;
  }

  modifier onlyDelegates {
    require(_delegates[msg.sender], "Invalid delegate" );
    _;
  }

  //onlyOwner
  function isDelegate( address addr ) external view onlyOwner returns ( bool ){
    return _delegates[addr];
  }

  function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{
    _delegates[addr] = isDelegate_;
  }

  function transferOwnership(address newOwner) public virtual override onlyOwner {
    _delegates[newOwner] = true;
    super.transferOwnership( newOwner );
  }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 14 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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);

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

File 16 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 17 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ETH_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","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":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","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":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMainsaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"quantity","type":"uint16[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"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":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"owners","outputs":[{"internalType":"uint16","name":"balance","type":"uint16"},{"internalType":"uint16","name":"claimed","type":"uint16"},{"internalType":"uint16","name":"purchased","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPresaleActive_","type":"bool"},{"internalType":"bool","name":"isMainsaleActive_","type":"bool"},{"internalType":"uint256","name":"maxMint_","type":"uint256"},{"internalType":"uint256","name":"maxOrder_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"string","name":"secret","type":"string"}],"name":"setSignedConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"}],"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":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600c556001600d556001600e556104d2600f553480156200002657600080fd5b5073bf5f724daa9760fc231699199b00f577be09bb1b6040518060600160405280602a81526020016200337a602a9139604051806040016040528060098152602001684a757374204772656760b81b815250604051806040016040528060048152602001634752454760e01b8152506000620000b1620000ab6200016e60201b60201c565b62000172565b6001806000620000c96000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff191692151592909217909155835162000107916006919086019062000256565b5081516200011d90600790602085019062000256565b50600581905560005b60055481101562000150576002805460010181556000526200014881620002fc565b905062000126565b50505050620001668282620001c260201b60201c565b505062000360565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620002215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600a80546001600160a01b0319166001600160a01b03841617905580516200025190600b90602084019062000256565b505050565b828054620002649062000324565b90600052602060002090601f016020900481019282620002885760008555620002d3565b82601f10620002a357805160ff1916838001178555620002d3565b82800160010185558215620002d3579182015b82811115620002d3578251825591602001919060010190620002b6565b50620002e1929150620002e5565b5090565b5b80821115620002e15760008155600101620002e6565b6000600182016200031d57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200033957607f821691505b6020821081036200035a57634e487b7160e01b600052602260045260246000fd5b50919050565b61300a80620003706000396000f3fe6080604052600436106102295760003560e01c806360d938dc1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146106a7578063d2e24965146106c7578063e985e9c5146106da578063f0292a0314610723578063f2fde38b1461073957600080fd5b806395d89b411461061f578063a22cb46514610634578063ae7bf4c814610654578063b534a5c414610667578063b88d4fde1461068757600080fd5b806370a08231116100f257806370a082311461057d578063715018a6146105b75780637f75c315146105cc5780638832bc29146105eb5780638da5cb5b1461060157600080fd5b806360d938dc146105035780636352211e1461051d5780636790a9de1461053d578063695b97131461055d57600080fd5b80632f745c59116101b15780634a994eef116101755780634a994eef1461046d5780634d44660c1461048d5780634f64b2be146104ad5780634f6ccce7146104cd57806350c5a00c146104ed57600080fd5b80632f745c59146103d557806332cb6b0c146103f55780633ccfd60b1461040b57806342842e0e14610420578063438b63001461044057600080fd5b806307779627116101f8578063077796271461031a578063081812fc1461033a578063095ea7b31461037257806318160ddd1461039257806323b872dd146103b557600080fd5b806301ffc9a714610235578063022914a71461026a57806302d1ec59146102d657806306fdde03146102f857600080fd5b3661023057005b600080fd5b34801561024157600080fd5b50610255610250366004612550565b610759565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b506102b1610285366004612584565b60036020526000908152604090205461ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610261565b3480156102e257600080fd5b506102f66102f136600461262b565b610784565b005b34801561030457600080fd5b5061030d6107ea565b60405161026191906126e5565b34801561032657600080fd5b50610255610335366004612584565b61087c565b34801561034657600080fd5b5061035a6103553660046126f8565b6108ca565b6040516001600160a01b039091168152602001610261565b34801561037e57600080fd5b506102f661038d366004612711565b610949565b34801561039e57600080fd5b506103a7610a4e565b604051908152602001610261565b3480156103c157600080fd5b506102f66103d036600461273b565b610a5d565b3480156103e157600080fd5b506103a76103f0366004612711565b610a8e565b34801561040157600080fd5b506103a7600f5481565b34801561041757600080fd5b506102f6610b5a565b34801561042c57600080fd5b506102f661043b36600461273b565b610ba1565b34801561044c57600080fd5b5061046061045b366004612584565b610bbc565b6040516102619190612777565b34801561047957600080fd5b506102f66104883660046127cb565b610caa565b34801561049957600080fd5b506102556104a8366004612843565b610cff565b3480156104b957600080fd5b5061035a6104c83660046126f8565b610d7b565b3480156104d957600080fd5b506103a76104e83660046126f8565b610da5565b3480156104f957600080fd5b506103a7600e5481565b34801561050f57600080fd5b506010546102559060ff1681565b34801561052957600080fd5b5061035a6105383660046126f8565b610e21565b34801561054957600080fd5b506102f66105583660046128d8565b610e76565b34801561056957600080fd5b506102f6610578366004612944565b610ec5565b34801561058957600080fd5b506103a7610598366004612584565b6001600160a01b031660009081526003602052604090205461ffff1690565b3480156105c357600080fd5b506102f6610f9b565b3480156105d857600080fd5b5060105461025590610100900460ff1681565b3480156105f757600080fd5b506103a7600c5481565b34801561060d57600080fd5b506000546001600160a01b031661035a565b34801561062b57600080fd5b5061030d610fcf565b34801561064057600080fd5b506102f661064f3660046127cb565b610fde565b6102f6610662366004612999565b61104a565b34801561067357600080fd5b506102f66106823660046129f9565b6112ff565b34801561069357600080fd5b506102f66106a2366004612a8a565b611374565b3480156106b357600080fd5b5061030d6106c23660046126f8565b6113ac565b6102f66106d5366004612b18565b611438565b3480156106e657600080fd5b506102556106f5366004612b5e565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561072f57600080fd5b506103a7600d5481565b34801561074557600080fd5b506102f6610754366004612584565b611763565b60006001600160e01b0319821663780e9d6360e01b148061077e575061077e82611799565b92915050565b6000546001600160a01b031633146107b75760405162461bcd60e51b81526004016107ae90612b88565b60405180910390fd5b600a80546001600160a01b0319166001600160a01b03841617905580516107e590600b90602084019061242d565b505050565b6060600680546107f990612bbd565b80601f016020809104026020016040519081016040528092919081815260200182805461082590612bbd565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b600080546001600160a01b031633146108a75760405162461bcd60e51b81526004016107ae90612b88565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006108d5826117e9565b61092d5760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b60648201526084016107ae565b506000908152600860205260409020546001600160a01b031690565b600061095482610e21565b9050806001600160a01b0316836001600160a01b0316036109c25760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107ae565b336001600160a01b03821614806109de57506109de81336106f5565b610a445760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b60648201526084016107ae565b6107e58383611833565b6000610a586118a1565b905090565b610a6733826118c0565b610a835760405162461bcd60e51b81526004016107ae90612bf7565b6107e5838383611965565b60008060005b600254811015610afc5760028181548110610ab157610ab1612c40565b6000918252602090912001546001600160a01b0390811690861603610aec57838203610ae057915061077e9050565b610ae982612c6c565b91505b610af581612c6c565b9050610a94565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ae565b6000546001600160a01b03163314610b845760405162461bcd60e51b81526004016107ae90612b88565b610b9f610b996000546001600160a01b031690565b47611a64565b565b6107e583838360405180602001604052806000815250611374565b6001600160a01b0381166000908152600360205260408120546060919061ffff168067ffffffffffffffff811115610bf657610bf661259f565b604051908082528060200260200182016040528015610c1f578160200160208202803683370190505b50925060005b600254811015610ca25760028181548110610c4257610c42612c40565b6000918252602090912001546001600160a01b0390811690861603610c9257808484610c6d81612c6c565b955081518110610c7f57610c7f612c40565b6020908102919091010152828214610ca2575b610c9b81612c6c565b9050610c25565b505050919050565b6000546001600160a01b03163314610cd45760405162461bcd60e51b81526004016107ae90612b88565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610d6e576002848483818110610d1f57610d1f612c40565b9050602002013581548110610d3657610d36612c40565b6000918252602090912001546001600160a01b03868116911614610d5e576000915050610d74565b610d6781612c6c565b9050610d03565b50600190505b9392505050565b60028181548110610d8b57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610daf610a4e565b8210610e145760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107ae565b60055461077e9083612c85565b6000610e2c826117e9565b610e485760405162461bcd60e51b81526004016107ae90612c9d565b60028281548110610e5b57610e5b612c40565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff16610ea55760405162461bcd60e51b81526004016107ae90612ce1565b610eb1601185856124b1565b50610ebe601283836124b1565b5050505050565b3360009081526001602052604090205460ff16610ef45760405162461bcd60e51b81526004016107ae90612ce1565b610efc610a4e565b821015610f625760405162461bcd60e51b815260206004820152602e60248201527f73706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016107ae565b601080549515156101000261ff00199715159790971661ffff199096169590951795909517909355600d91909155600e55600f55600c55565b6000546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107ae90612b88565b610b9f6000611b7d565b6060600780546107f990612bbd565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166110795760405162461bcd60e51b81526004016107ae90612ce1565b8281146110dd5760405162461bcd60e51b815260206004820152602c60248201527f6d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016107ae565b6000805b84811015611130578585828181106110fb576110fb612c40565b90506020020160208101906111109190612d0b565b61111e9061ffff1683612c85565b915061112981612c6c565b90506110e1565b50600061113b610a4e565b600f5490915061114b8383612c85565b106111945760405162461bcd60e51b81526020600482015260196024820152786d696e742f6f72646572206578636565647320737570706c7960381b60448201526064016107ae565b60005b838110156112f65760008787838181106111b3576111b3612c40565b90506020020160208101906111c89190612d0b565b61ffff1611156112e6578686828181106111e4576111e4612c40565b90506020020160208101906111f99190612d0b565b6003600087878581811061120f5761120f612c40565b90506020020160208101906112249190612584565b6001600160a01b0316815260208101919091526040016000908120805490919061125390849061ffff16612d26565b92506101000a81548161ffff021916908361ffff16021790555060005b87878381811061128257611282612c40565b90506020020160208101906112979190612d0b565b61ffff168110156112e4576112d48686848181106112b7576112b7612c40565b90506020020160208101906112cc9190612584565b600254611bcd565b6112dd81612c6c565b9050611270565b505b6112ef81612c6c565b9050611197565b50505050505050565b60005b838110156112f657611364878787878581811061132157611321612c40565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061137492505050565b61136d81612c6c565b9050611302565b61137e33836118c0565b61139a5760405162461bcd60e51b81526004016107ae90612bf7565b6113a684848484611c5c565b50505050565b60606113b7826117e9565b6114035760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064016107ae565b601161140e83611c8f565b601260405160200161142293929190612de5565b6040516020818303038152906040529050919050565b60008361ffff161161147c5760405162461bcd60e51b815260206004820152600d60248201526c6d757374206f7264657220312b60981b60448201526064016107ae565b600e548361ffff1611156114c25760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b60448201526064016107ae565b600d54336000908152600360205260409020546114ec908590640100000000900461ffff16612d26565b61ffff1611156115305760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b60448201526064016107ae565b8261ffff16600c546115429190612e18565b3410156115915760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016107ae565b601054610100900460ff166116495760105460ff161561160c576115c26115bb8461ffff16611c8f565b8383611d90565b6116075760405162461bcd60e51b81526020600482015260166024820152751858d8dbdd5b9d081b9bdd08185d5d1a1bdc9a5e995960521b60448201526064016107ae565b611649565b60405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b60448201526064016107ae565b6000611653610a4e565b600f5490915061166761ffff861683612c85565b11156116b15760405162461bcd60e51b81526020600482015260196024820152786d696e742f6f72646572206578636565647320737570706c7960381b60448201526064016107ae565b33600090815260036020526040812080548692906116d490849061ffff16612d26565b82546101009290920a61ffff8181021990931691831602179091553360009081526003602052604090208054879350909160049161171c918591640100000000900416612d26565b92506101000a81548161ffff021916908361ffff16021790555060005b8461ffff16811015610ebe57600254611753903390611bcd565b61175c81612c6c565b9050611739565b6000546001600160a01b0316331461178d5760405162461bcd60e51b81526004016107ae90612b88565b61179681611df3565b50565b60006001600160e01b031982166380ac58cd60e01b14806117ca57506001600160e01b03198216635b5e139f60e01b145b8061077e57506301ffc9a760e01b6001600160e01b031983161461077e565b6002546000908210801561077e575060006001600160a01b03166002838154811061181657611816612c40565b6000918252602090912001546001600160a01b0316141592915050565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061186882610e21565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006005546004546118b39190612c85565b600254610a589190612e37565b60006118cb826117e9565b6118e75760405162461bcd60e51b81526004016107ae90612c9d565b60006118f283610e21565b9050806001600160a01b0316846001600160a01b0316148061192d5750836001600160a01b0316611922846108ca565b6001600160a01b0316145b8061195d57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661197882610e21565b6001600160a01b0316146119e15760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b60648201526084016107ae565b6119eb8383611e8b565b6119f6600082611833565b8160028281548110611a0a57611a0a612c40565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b80471015611ab45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ae565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b01576040519150601f19603f3d011682016040523d82523d6000602084013e611b06565b606091505b50509050806107e55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ae565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5060028054604080516020810182526001600160a01b03858116808352600185018655600095865291517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace850180546001600160a01b031916919092161790559051919283927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611c67848484611965565b611c7384848484611f37565b6113a65760405162461bcd60e51b81526004016107ae90612e4e565b606081600003611cb65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ce05780611cca81612c6c565b9150611cd99050600a83612eb7565b9150611cba565b60008167ffffffffffffffff811115611cfb57611cfb61259f565b6040519080825280601f01601f191660200182016040528015611d25576020820181803683370190505b5090505b841561195d57611d3a600183612e37565b9150611d47600a86612ecb565b611d52906030612c85565b60f81b818381518110611d6757611d67612c40565b60200101906001600160f81b031916908160001a905350611d89600a86612eb7565b9450611d29565b6000611dda611d9e85612038565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061206f92505050565b600a546001600160a01b03918216911614949350505050565b6000546001600160a01b03163314611e1d5760405162461bcd60e51b81526004016107ae90612b88565b6001600160a01b038116611e825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b61179681611b7d565b6001600160a01b03821615611edf576001600160a01b03821660009081526003602052604081208054909190611ec49061ffff16612edf565b91906101000a81548161ffff021916908361ffff1602179055505b6001600160a01b03811615611f33576001600160a01b03811660009081526003602052604081208054909190611f189061ffff16612efd565b91906101000a81548161ffff021916908361ffff1602179055505b5050565b60006001600160a01b0384163b1561202d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f7b903390899088908890600401612f1e565b6020604051808303816000875af1925050508015611fb6575060408051601f3d908101601f19168201909252611fb391810190612f5b565b60015b612013573d808015611fe4576040519150601f19603f3d011682016040523d82523d6000602084013e611fe9565b606091505b50805160000361200b5760405162461bcd60e51b81526004016107ae90612e4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061195d565b506001949350505050565b6000303383600b6040516020016120529493929190612f78565b604051602081830303815290604052805190602001209050919050565b6000610d748261207e85612084565b906120bf565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612052565b60008060006120ce85856120e3565b915091506120db81612151565b509392505050565b60008082516041036121195760208301516040840151606085015160001a61210d87828585612307565b9450945050505061214a565b825160400361214257602083015160408401516121378683836123f4565b93509350505061214a565b506000905060025b9250929050565b600081600481111561216557612165612fbe565b0361216d5750565b600181600481111561218157612181612fbe565b036121ce5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ae565b60028160048111156121e2576121e2612fbe565b0361222f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ae565b600381600481111561224357612243612fbe565b0361229b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ae565b60048160048111156122af576122af612fbe565b036117965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107ae565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561233e57506000905060036123eb565b8460ff16601b1415801561235657508460ff16601c14155b1561236757506000905060046123eb565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156123bb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123e4576000600192509250506123eb565b9150600090505b94509492505050565b6000806001600160ff1b0383168161241160ff86901c601b612c85565b905061241f87828885612307565b935093505050935093915050565b82805461243990612bbd565b90600052602060002090601f01602090048101928261245b57600085556124a1565b82601f1061247457805160ff19168380011785556124a1565b828001600101855582156124a1579182015b828111156124a1578251825591602001919060010190612486565b506124ad929150612525565b5090565b8280546124bd90612bbd565b90600052602060002090601f0160209004810192826124df57600085556124a1565b82601f106124f85782800160ff198235161785556124a1565b828001600101855582156124a1579182015b828111156124a157823582559160200191906001019061250a565b5b808211156124ad5760008155600101612526565b6001600160e01b03198116811461179657600080fd5b60006020828403121561256257600080fd5b8135610d748161253a565b80356001600160a01b03811681146108c557600080fd5b60006020828403121561259657600080fd5b610d748261256d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156125d0576125d061259f565b604051601f8501601f19908116603f011681019082821181831017156125f8576125f861259f565b8160405280935085815286868601111561261157600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561263e57600080fd5b6126478361256d565b9150602083013567ffffffffffffffff81111561266357600080fd5b8301601f8101851361267457600080fd5b612683858235602084016125b5565b9150509250929050565b60005b838110156126a8578181015183820152602001612690565b838111156113a65750506000910152565b600081518084526126d181602086016020860161268d565b601f01601f19169290920160200192915050565b602081526000610d7460208301846126b9565b60006020828403121561270a57600080fd5b5035919050565b6000806040838503121561272457600080fd5b61272d8361256d565b946020939093013593505050565b60008060006060848603121561275057600080fd5b6127598461256d565b92506127676020850161256d565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156127af57835183529284019291840191600101612793565b50909695505050505050565b803580151581146108c557600080fd5b600080604083850312156127de57600080fd5b6127e78361256d565b91506127f5602084016127bb565b90509250929050565b60008083601f84011261281057600080fd5b50813567ffffffffffffffff81111561282857600080fd5b6020830191508360208260051b850101111561214a57600080fd5b60008060006040848603121561285857600080fd5b6128618461256d565b9250602084013567ffffffffffffffff81111561287d57600080fd5b612889868287016127fe565b9497909650939450505050565b60008083601f8401126128a857600080fd5b50813567ffffffffffffffff8111156128c057600080fd5b60208301915083602082850101111561214a57600080fd5b600080600080604085870312156128ee57600080fd5b843567ffffffffffffffff8082111561290657600080fd5b61291288838901612896565b9096509450602087013591508082111561292b57600080fd5b5061293887828801612896565b95989497509550505050565b60008060008060008060c0878903121561295d57600080fd5b612966876127bb565b9550612974602088016127bb565b95989597505050506040840135936060810135936080820135935060a0909101359150565b600080600080604085870312156129af57600080fd5b843567ffffffffffffffff808211156129c757600080fd5b6129d3888389016127fe565b909650945060208701359150808211156129ec57600080fd5b50612938878288016127fe565b60008060008060008060808789031215612a1257600080fd5b612a1b8761256d565b9550612a296020880161256d565b9450604087013567ffffffffffffffff80821115612a4657600080fd5b612a528a838b016127fe565b90965094506060890135915080821115612a6b57600080fd5b50612a7889828a01612896565b979a9699509497509295939492505050565b60008060008060808587031215612aa057600080fd5b612aa98561256d565b9350612ab76020860161256d565b925060408501359150606085013567ffffffffffffffff811115612ada57600080fd5b8501601f81018713612aeb57600080fd5b612afa878235602084016125b5565b91505092959194509250565b803561ffff811681146108c557600080fd5b600080600060408486031215612b2d57600080fd5b612b3684612b06565b9250602084013567ffffffffffffffff811115612b5257600080fd5b61288986828701612896565b60008060408385031215612b7157600080fd5b612b7a8361256d565b91506127f56020840161256d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612bd157607f821691505b602082108103612bf157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612c7e57612c7e612c56565b5060010190565b60008219821115612c9857612c98612c56565b500190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b600060208284031215612d1d57600080fd5b610d7482612b06565b600061ffff808316818516808303821115612d4357612d43612c56565b01949350505050565b8054600090600181811c9080831680612d6657607f831692505b60208084108203612d8757634e487b7160e01b600052602260045260246000fd5b818015612d9b5760018114612dac57612dd9565b60ff19861689528489019650612dd9565b60008881526020902060005b86811015612dd15781548b820152908501908301612db8565b505084890196505b50505050505092915050565b6000612df18286612d4c565b8451612e0181836020890161268d565b612e0d81830186612d4c565b979650505050505050565b6000816000190483118215151615612e3257612e32612c56565b500290565b600082821015612e4957612e49612c56565b500390565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612ec657612ec6612ea1565b500490565b600082612eda57612eda612ea1565b500690565b600061ffff821680612ef357612ef3612c56565b6000190192915050565b600061ffff808316818103612f1457612f14612c56565b6001019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f51908301846126b9565b9695505050505050565b600060208284031215612f6d57600080fd5b8151610d748161253a565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351612faf81602885016020880161268d565b612e0d60288285010185612d4c565b634e487b7160e01b600052602160045260246000fdfea264697066735822122026824b1cdce5ecc6876e5289e0c89af2aca226b525f678a9c28ec1ff938bc1cd64736f6c634300080d003343616e20796f752062656c696576652074686579207075742061206d616e206f6e20746865206d6f6f6e

Deployed Bytecode

0x6080604052600436106102295760003560e01c806360d938dc1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146106a7578063d2e24965146106c7578063e985e9c5146106da578063f0292a0314610723578063f2fde38b1461073957600080fd5b806395d89b411461061f578063a22cb46514610634578063ae7bf4c814610654578063b534a5c414610667578063b88d4fde1461068757600080fd5b806370a08231116100f257806370a082311461057d578063715018a6146105b75780637f75c315146105cc5780638832bc29146105eb5780638da5cb5b1461060157600080fd5b806360d938dc146105035780636352211e1461051d5780636790a9de1461053d578063695b97131461055d57600080fd5b80632f745c59116101b15780634a994eef116101755780634a994eef1461046d5780634d44660c1461048d5780634f64b2be146104ad5780634f6ccce7146104cd57806350c5a00c146104ed57600080fd5b80632f745c59146103d557806332cb6b0c146103f55780633ccfd60b1461040b57806342842e0e14610420578063438b63001461044057600080fd5b806307779627116101f8578063077796271461031a578063081812fc1461033a578063095ea7b31461037257806318160ddd1461039257806323b872dd146103b557600080fd5b806301ffc9a714610235578063022914a71461026a57806302d1ec59146102d657806306fdde03146102f857600080fd5b3661023057005b600080fd5b34801561024157600080fd5b50610255610250366004612550565b610759565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b506102b1610285366004612584565b60036020526000908152604090205461ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610261565b3480156102e257600080fd5b506102f66102f136600461262b565b610784565b005b34801561030457600080fd5b5061030d6107ea565b60405161026191906126e5565b34801561032657600080fd5b50610255610335366004612584565b61087c565b34801561034657600080fd5b5061035a6103553660046126f8565b6108ca565b6040516001600160a01b039091168152602001610261565b34801561037e57600080fd5b506102f661038d366004612711565b610949565b34801561039e57600080fd5b506103a7610a4e565b604051908152602001610261565b3480156103c157600080fd5b506102f66103d036600461273b565b610a5d565b3480156103e157600080fd5b506103a76103f0366004612711565b610a8e565b34801561040157600080fd5b506103a7600f5481565b34801561041757600080fd5b506102f6610b5a565b34801561042c57600080fd5b506102f661043b36600461273b565b610ba1565b34801561044c57600080fd5b5061046061045b366004612584565b610bbc565b6040516102619190612777565b34801561047957600080fd5b506102f66104883660046127cb565b610caa565b34801561049957600080fd5b506102556104a8366004612843565b610cff565b3480156104b957600080fd5b5061035a6104c83660046126f8565b610d7b565b3480156104d957600080fd5b506103a76104e83660046126f8565b610da5565b3480156104f957600080fd5b506103a7600e5481565b34801561050f57600080fd5b506010546102559060ff1681565b34801561052957600080fd5b5061035a6105383660046126f8565b610e21565b34801561054957600080fd5b506102f66105583660046128d8565b610e76565b34801561056957600080fd5b506102f6610578366004612944565b610ec5565b34801561058957600080fd5b506103a7610598366004612584565b6001600160a01b031660009081526003602052604090205461ffff1690565b3480156105c357600080fd5b506102f6610f9b565b3480156105d857600080fd5b5060105461025590610100900460ff1681565b3480156105f757600080fd5b506103a7600c5481565b34801561060d57600080fd5b506000546001600160a01b031661035a565b34801561062b57600080fd5b5061030d610fcf565b34801561064057600080fd5b506102f661064f3660046127cb565b610fde565b6102f6610662366004612999565b61104a565b34801561067357600080fd5b506102f66106823660046129f9565b6112ff565b34801561069357600080fd5b506102f66106a2366004612a8a565b611374565b3480156106b357600080fd5b5061030d6106c23660046126f8565b6113ac565b6102f66106d5366004612b18565b611438565b3480156106e657600080fd5b506102556106f5366004612b5e565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561072f57600080fd5b506103a7600d5481565b34801561074557600080fd5b506102f6610754366004612584565b611763565b60006001600160e01b0319821663780e9d6360e01b148061077e575061077e82611799565b92915050565b6000546001600160a01b031633146107b75760405162461bcd60e51b81526004016107ae90612b88565b60405180910390fd5b600a80546001600160a01b0319166001600160a01b03841617905580516107e590600b90602084019061242d565b505050565b6060600680546107f990612bbd565b80601f016020809104026020016040519081016040528092919081815260200182805461082590612bbd565b80156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b600080546001600160a01b031633146108a75760405162461bcd60e51b81526004016107ae90612b88565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b60006108d5826117e9565b61092d5760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b60648201526084016107ae565b506000908152600860205260409020546001600160a01b031690565b600061095482610e21565b9050806001600160a01b0316836001600160a01b0316036109c25760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016107ae565b336001600160a01b03821614806109de57506109de81336106f5565b610a445760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b60648201526084016107ae565b6107e58383611833565b6000610a586118a1565b905090565b610a6733826118c0565b610a835760405162461bcd60e51b81526004016107ae90612bf7565b6107e5838383611965565b60008060005b600254811015610afc5760028181548110610ab157610ab1612c40565b6000918252602090912001546001600160a01b0390811690861603610aec57838203610ae057915061077e9050565b610ae982612c6c565b91505b610af581612c6c565b9050610a94565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ae565b6000546001600160a01b03163314610b845760405162461bcd60e51b81526004016107ae90612b88565b610b9f610b996000546001600160a01b031690565b47611a64565b565b6107e583838360405180602001604052806000815250611374565b6001600160a01b0381166000908152600360205260408120546060919061ffff168067ffffffffffffffff811115610bf657610bf661259f565b604051908082528060200260200182016040528015610c1f578160200160208202803683370190505b50925060005b600254811015610ca25760028181548110610c4257610c42612c40565b6000918252602090912001546001600160a01b0390811690861603610c9257808484610c6d81612c6c565b955081518110610c7f57610c7f612c40565b6020908102919091010152828214610ca2575b610c9b81612c6c565b9050610c25565b505050919050565b6000546001600160a01b03163314610cd45760405162461bcd60e51b81526004016107ae90612b88565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b82811015610d6e576002848483818110610d1f57610d1f612c40565b9050602002013581548110610d3657610d36612c40565b6000918252602090912001546001600160a01b03868116911614610d5e576000915050610d74565b610d6781612c6c565b9050610d03565b50600190505b9392505050565b60028181548110610d8b57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610daf610a4e565b8210610e145760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016107ae565b60055461077e9083612c85565b6000610e2c826117e9565b610e485760405162461bcd60e51b81526004016107ae90612c9d565b60028281548110610e5b57610e5b612c40565b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff16610ea55760405162461bcd60e51b81526004016107ae90612ce1565b610eb1601185856124b1565b50610ebe601283836124b1565b5050505050565b3360009081526001602052604090205460ff16610ef45760405162461bcd60e51b81526004016107ae90612ce1565b610efc610a4e565b821015610f625760405162461bcd60e51b815260206004820152602e60248201527f73706563696669656420737570706c79206973206c6f776572207468616e206360448201526d757272656e742062616c616e636560901b60648201526084016107ae565b601080549515156101000261ff00199715159790971661ffff199096169590951795909517909355600d91909155600e55600f55600c55565b6000546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107ae90612b88565b610b9f6000611b7d565b6060600780546107f990612bbd565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166110795760405162461bcd60e51b81526004016107ae90612ce1565b8281146110dd5760405162461bcd60e51b815260206004820152602c60248201527f6d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b60648201526084016107ae565b6000805b84811015611130578585828181106110fb576110fb612c40565b90506020020160208101906111109190612d0b565b61111e9061ffff1683612c85565b915061112981612c6c565b90506110e1565b50600061113b610a4e565b600f5490915061114b8383612c85565b106111945760405162461bcd60e51b81526020600482015260196024820152786d696e742f6f72646572206578636565647320737570706c7960381b60448201526064016107ae565b60005b838110156112f65760008787838181106111b3576111b3612c40565b90506020020160208101906111c89190612d0b565b61ffff1611156112e6578686828181106111e4576111e4612c40565b90506020020160208101906111f99190612d0b565b6003600087878581811061120f5761120f612c40565b90506020020160208101906112249190612584565b6001600160a01b0316815260208101919091526040016000908120805490919061125390849061ffff16612d26565b92506101000a81548161ffff021916908361ffff16021790555060005b87878381811061128257611282612c40565b90506020020160208101906112979190612d0b565b61ffff168110156112e4576112d48686848181106112b7576112b7612c40565b90506020020160208101906112cc9190612584565b600254611bcd565b6112dd81612c6c565b9050611270565b505b6112ef81612c6c565b9050611197565b50505050505050565b60005b838110156112f657611364878787878581811061132157611321612c40565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061137492505050565b61136d81612c6c565b9050611302565b61137e33836118c0565b61139a5760405162461bcd60e51b81526004016107ae90612bf7565b6113a684848484611c5c565b50505050565b60606113b7826117e9565b6114035760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064016107ae565b601161140e83611c8f565b601260405160200161142293929190612de5565b6040516020818303038152906040529050919050565b60008361ffff161161147c5760405162461bcd60e51b815260206004820152600d60248201526c6d757374206f7264657220312b60981b60448201526064016107ae565b600e548361ffff1611156114c25760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b60448201526064016107ae565b600d54336000908152600360205260409020546114ec908590640100000000900461ffff16612d26565b61ffff1611156115305760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b60448201526064016107ae565b8261ffff16600c546115429190612e18565b3410156115915760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016107ae565b601054610100900460ff166116495760105460ff161561160c576115c26115bb8461ffff16611c8f565b8383611d90565b6116075760405162461bcd60e51b81526020600482015260166024820152751858d8dbdd5b9d081b9bdd08185d5d1a1bdc9a5e995960521b60448201526064016107ae565b611649565b60405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b60448201526064016107ae565b6000611653610a4e565b600f5490915061166761ffff861683612c85565b11156116b15760405162461bcd60e51b81526020600482015260196024820152786d696e742f6f72646572206578636565647320737570706c7960381b60448201526064016107ae565b33600090815260036020526040812080548692906116d490849061ffff16612d26565b82546101009290920a61ffff8181021990931691831602179091553360009081526003602052604090208054879350909160049161171c918591640100000000900416612d26565b92506101000a81548161ffff021916908361ffff16021790555060005b8461ffff16811015610ebe57600254611753903390611bcd565b61175c81612c6c565b9050611739565b6000546001600160a01b0316331461178d5760405162461bcd60e51b81526004016107ae90612b88565b61179681611df3565b50565b60006001600160e01b031982166380ac58cd60e01b14806117ca57506001600160e01b03198216635b5e139f60e01b145b8061077e57506301ffc9a760e01b6001600160e01b031983161461077e565b6002546000908210801561077e575060006001600160a01b03166002838154811061181657611816612c40565b6000918252602090912001546001600160a01b0316141592915050565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061186882610e21565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006005546004546118b39190612c85565b600254610a589190612e37565b60006118cb826117e9565b6118e75760405162461bcd60e51b81526004016107ae90612c9d565b60006118f283610e21565b9050806001600160a01b0316846001600160a01b0316148061192d5750836001600160a01b0316611922846108ca565b6001600160a01b0316145b8061195d57506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661197882610e21565b6001600160a01b0316146119e15760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b60648201526084016107ae565b6119eb8383611e8b565b6119f6600082611833565b8160028281548110611a0a57611a0a612c40565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b80471015611ab45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ae565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b01576040519150601f19603f3d011682016040523d82523d6000602084013e611b06565b606091505b50509050806107e55760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ae565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5060028054604080516020810182526001600160a01b03858116808352600185018655600095865291517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace850180546001600160a01b031916919092161790559051919283927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611c67848484611965565b611c7384848484611f37565b6113a65760405162461bcd60e51b81526004016107ae90612e4e565b606081600003611cb65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ce05780611cca81612c6c565b9150611cd99050600a83612eb7565b9150611cba565b60008167ffffffffffffffff811115611cfb57611cfb61259f565b6040519080825280601f01601f191660200182016040528015611d25576020820181803683370190505b5090505b841561195d57611d3a600183612e37565b9150611d47600a86612ecb565b611d52906030612c85565b60f81b818381518110611d6757611d67612c40565b60200101906001600160f81b031916908160001a905350611d89600a86612eb7565b9450611d29565b6000611dda611d9e85612038565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061206f92505050565b600a546001600160a01b03918216911614949350505050565b6000546001600160a01b03163314611e1d5760405162461bcd60e51b81526004016107ae90612b88565b6001600160a01b038116611e825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b61179681611b7d565b6001600160a01b03821615611edf576001600160a01b03821660009081526003602052604081208054909190611ec49061ffff16612edf565b91906101000a81548161ffff021916908361ffff1602179055505b6001600160a01b03811615611f33576001600160a01b03811660009081526003602052604081208054909190611f189061ffff16612efd565b91906101000a81548161ffff021916908361ffff1602179055505b5050565b60006001600160a01b0384163b1561202d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f7b903390899088908890600401612f1e565b6020604051808303816000875af1925050508015611fb6575060408051601f3d908101601f19168201909252611fb391810190612f5b565b60015b612013573d808015611fe4576040519150601f19603f3d011682016040523d82523d6000602084013e611fe9565b606091505b50805160000361200b5760405162461bcd60e51b81526004016107ae90612e4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061195d565b506001949350505050565b6000303383600b6040516020016120529493929190612f78565b604051602081830303815290604052805190602001209050919050565b6000610d748261207e85612084565b906120bf565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612052565b60008060006120ce85856120e3565b915091506120db81612151565b509392505050565b60008082516041036121195760208301516040840151606085015160001a61210d87828585612307565b9450945050505061214a565b825160400361214257602083015160408401516121378683836123f4565b93509350505061214a565b506000905060025b9250929050565b600081600481111561216557612165612fbe565b0361216d5750565b600181600481111561218157612181612fbe565b036121ce5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107ae565b60028160048111156121e2576121e2612fbe565b0361222f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ae565b600381600481111561224357612243612fbe565b0361229b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ae565b60048160048111156122af576122af612fbe565b036117965760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107ae565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561233e57506000905060036123eb565b8460ff16601b1415801561235657508460ff16601c14155b1561236757506000905060046123eb565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156123bb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123e4576000600192509250506123eb565b9150600090505b94509492505050565b6000806001600160ff1b0383168161241160ff86901c601b612c85565b905061241f87828885612307565b935093505050935093915050565b82805461243990612bbd565b90600052602060002090601f01602090048101928261245b57600085556124a1565b82601f1061247457805160ff19168380011785556124a1565b828001600101855582156124a1579182015b828111156124a1578251825591602001919060010190612486565b506124ad929150612525565b5090565b8280546124bd90612bbd565b90600052602060002090601f0160209004810192826124df57600085556124a1565b82601f106124f85782800160ff198235161785556124a1565b828001600101855582156124a1579182015b828111156124a157823582559160200191906001019061250a565b5b808211156124ad5760008155600101612526565b6001600160e01b03198116811461179657600080fd5b60006020828403121561256257600080fd5b8135610d748161253a565b80356001600160a01b03811681146108c557600080fd5b60006020828403121561259657600080fd5b610d748261256d565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156125d0576125d061259f565b604051601f8501601f19908116603f011681019082821181831017156125f8576125f861259f565b8160405280935085815286868601111561261157600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561263e57600080fd5b6126478361256d565b9150602083013567ffffffffffffffff81111561266357600080fd5b8301601f8101851361267457600080fd5b612683858235602084016125b5565b9150509250929050565b60005b838110156126a8578181015183820152602001612690565b838111156113a65750506000910152565b600081518084526126d181602086016020860161268d565b601f01601f19169290920160200192915050565b602081526000610d7460208301846126b9565b60006020828403121561270a57600080fd5b5035919050565b6000806040838503121561272457600080fd5b61272d8361256d565b946020939093013593505050565b60008060006060848603121561275057600080fd5b6127598461256d565b92506127676020850161256d565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156127af57835183529284019291840191600101612793565b50909695505050505050565b803580151581146108c557600080fd5b600080604083850312156127de57600080fd5b6127e78361256d565b91506127f5602084016127bb565b90509250929050565b60008083601f84011261281057600080fd5b50813567ffffffffffffffff81111561282857600080fd5b6020830191508360208260051b850101111561214a57600080fd5b60008060006040848603121561285857600080fd5b6128618461256d565b9250602084013567ffffffffffffffff81111561287d57600080fd5b612889868287016127fe565b9497909650939450505050565b60008083601f8401126128a857600080fd5b50813567ffffffffffffffff8111156128c057600080fd5b60208301915083602082850101111561214a57600080fd5b600080600080604085870312156128ee57600080fd5b843567ffffffffffffffff8082111561290657600080fd5b61291288838901612896565b9096509450602087013591508082111561292b57600080fd5b5061293887828801612896565b95989497509550505050565b60008060008060008060c0878903121561295d57600080fd5b612966876127bb565b9550612974602088016127bb565b95989597505050506040840135936060810135936080820135935060a0909101359150565b600080600080604085870312156129af57600080fd5b843567ffffffffffffffff808211156129c757600080fd5b6129d3888389016127fe565b909650945060208701359150808211156129ec57600080fd5b50612938878288016127fe565b60008060008060008060808789031215612a1257600080fd5b612a1b8761256d565b9550612a296020880161256d565b9450604087013567ffffffffffffffff80821115612a4657600080fd5b612a528a838b016127fe565b90965094506060890135915080821115612a6b57600080fd5b50612a7889828a01612896565b979a9699509497509295939492505050565b60008060008060808587031215612aa057600080fd5b612aa98561256d565b9350612ab76020860161256d565b925060408501359150606085013567ffffffffffffffff811115612ada57600080fd5b8501601f81018713612aeb57600080fd5b612afa878235602084016125b5565b91505092959194509250565b803561ffff811681146108c557600080fd5b600080600060408486031215612b2d57600080fd5b612b3684612b06565b9250602084013567ffffffffffffffff811115612b5257600080fd5b61288986828701612896565b60008060408385031215612b7157600080fd5b612b7a8361256d565b91506127f56020840161256d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612bd157607f821691505b602082108103612bf157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612c7e57612c7e612c56565b5060010190565b60008219821115612c9857612c98612c56565b500190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b600060208284031215612d1d57600080fd5b610d7482612b06565b600061ffff808316818516808303821115612d4357612d43612c56565b01949350505050565b8054600090600181811c9080831680612d6657607f831692505b60208084108203612d8757634e487b7160e01b600052602260045260246000fd5b818015612d9b5760018114612dac57612dd9565b60ff19861689528489019650612dd9565b60008881526020902060005b86811015612dd15781548b820152908501908301612db8565b505084890196505b50505050505092915050565b6000612df18286612d4c565b8451612e0181836020890161268d565b612e0d81830186612d4c565b979650505050505050565b6000816000190483118215151615612e3257612e32612c56565b500290565b600082821015612e4957612e49612c56565b500390565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612ec657612ec6612ea1565b500490565b600082612eda57612eda612ea1565b500690565b600061ffff821680612ef357612ef3612c56565b6000190192915050565b600061ffff808316818103612f1457612f14612c56565b6001019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f51908301846126b9565b9695505050505050565b600060208284031215612f6d57600080fd5b8151610d748161253a565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351612faf81602885016020880161268d565b612e0d60288285010185612d4c565b634e487b7160e01b600052602160045260246000fdfea264697066735822122026824b1cdce5ecc6876e5289e0c89af2aca226b525f678a9c28ec1ff938bc1cd64736f6c634300080d0033

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.