ETH Price: $3,352.69 (-1.07%)

Token

BrokenSeaDAO (BRKN)
 

Overview

Max Total Supply

9,999 BRKN

Holders

3,481

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 BRKN
0x303af56890f4296b29189650027dea2715313168
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:
BrokenSeaDAO

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : BrokenSeaDAO.sol
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// .-'''-.                                                                                                             .-'''-.                          //
// '   _    \                                                                                   _______                '   _    \                       //
// /|                 /   /` '.   \     .           __.....__        _..._                   __.....__               \  ___ `'.           /   /` '.   \ //
// ||                .   |     \  '   .'|       .-''         '.    .'     '.             .-''         '.              ' |--.\  \         .   |     \  ' //
// ||        .-,.--. |   '      |  '.'  |      /     .-''"'-.  `. .   .-.   .           /     .-''"'-.  `.            | |    \  '        |   '      |  '//
// ||  __    |  .-. |\    \     / /<    |     /     /________\   \|  '   '  |          /     /________\   \    __     | |     |  '    __ \    \     / / //
// ||/'__ '. | |  | | `.   ` ..' /  |   | ____|                  ||  |   |  |       _  |                  | .:--.'.   | |     |  | .:--.'.`.   ` ..' /  //
// |:/`  '. '| |  | |    '-...-'`   |   | \ .'\    .-------------'|  |   |  |     .' | \    .-------------'/ |   \ |  | |     ' .'/ |   \ |  '-...-'`   //
// ||     | || |  '-                |   |/  .  \    '-.____...---.|  |   |  |    .   | /\    '-.____...---.`" __ | |  | |___.' /' `" __ | |             //
// ||\    / '| |                    |    /\  \  `.             .' |  |   |  |  .'.'| |// `.             .'  .'.''| | /_______.'/   .'.''| |             //
// |/\'..' / | |                    |   |  \  \   `''-...... -'   |  |   |  |.'.'.-'  /    `''-...... -'   / /   | |_\_______|/   / /   | |_            //
// '  `'-'`  |_|                    '    \  \  \                  |  |   |  |.'   \_.'                     \ \._,\ '/             \ \._,\ '/            //
//            '------'  '---'                '--'   '--'                               `--'  `"               `--'  `"                                  //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./ERC721B/ERC721EnumerableLite.sol";
import "./ERC721B/Delegated.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract BrokenSeaDAO is ERC721EnumerableLite, Delegated {
    using Strings for uint256;

    uint256 public PRICE = 0.03 ether;
    uint256 private MAX_TOKENS_PER_TRANSACTION = 100;
    uint256 private MAX_SUPPLY = 10000;
    uint256 private freeLimit = 1001;
    bool public revealed = false;

    string private notRevealedUri = "ipfs://QmVXdgMcBQ9rYUPwFV7sFDdYkNRD9emLMShhqMXorVa8LS/1.json";

    string public _baseTokenURI = "";
    string private _baseTokenSuffix = ".json";

    address art = 0x5Ab0787A16E66A57dDa644201b253D214fA5193a;

    constructor() ERC721B("BrokenSeaDAO", "BRKN") {
    }

    function reveal() public onlyDelegates {
        revealed = true;
    }

    function mint(uint256 _count) external payable {
        require(
            _count < MAX_TOKENS_PER_TRANSACTION,
            "Count exceeded max tokens per transaction."
        );

        uint256 supply = totalSupply();
        require(supply + _count < MAX_SUPPLY, "Exceeds max BRKN token supply.");
        if (supply + _count < freeLimit) {
            for (uint256 i = 1; i <= _count; ++i) {
                _safeMint(msg.sender, supply + i, "");
            }
        } else {
            require(msg.value >= PRICE * _count, "Ether sent is not correct.");
            for (uint256 i = 1; i <= _count; ++i) {
                _safeMint(msg.sender, supply + i, "");
            }
        }
    }

    function setPrice(uint256 _newPrice) external onlyDelegates {
        PRICE = _newPrice;
    }

    function setBaseURI(string calldata _newBaseURI) external onlyDelegates {
        _baseTokenURI = _newBaseURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "Provided token ID doesnot exist."
        );

        if (!revealed) {
            return notRevealedUri;
        }
        string memory baseURI = _baseTokenURI;
        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(
                        baseURI,
                        tokenId.toString(),
                        _baseTokenSuffix
                    )
                )
                : "";
    }

    function withdraw() public onlyDelegates {
        uint256 balance = address(this).balance;
        payable(art).transfer(balance);
    }
}

File 2 of 15 : IBatch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

interface IBatch {
  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 3 of 15 : ERC721EnumerableLite.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: squeebo_nft                 *
 * @team:   GoldenX                     *
 ****************************************
 *        ERC721B provides low-gas      *
 *           mints + transfers          *
 ****************************************/

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

abstract contract ERC721EnumerableLite is ERC721B, IBatch, IERC721Enumerable {
    function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
        for(uint i; i < tokenIds.length; ++i ){
            if( _owners[ tokenIds[i] ] != account )
                return false;
        }

        return true;
    }

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

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

        require(false, "ERC721Enumerable: owner index out of bounds");
    }

    function tokenByIndex(uint index) external view virtual override returns (uint) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return index;
    }

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

    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 ){
        uint quantity = balanceOf( account );
        uint[] memory wallet = new uint[]( quantity );
        for( uint i; i < quantity; ++i ){
            wallet[i] = tokenOfOwnerByIndex( account, i );
        }
        return wallet;
    }
}

File 4 of 15 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/********************
* @author: Squeebo *
********************/

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;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    //public
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count = 0;
        uint length = _owners.length;
        for( uint i = 0; i < length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

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

    function next() public view returns( uint ){
        return _owners.length;
    }

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

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

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

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

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

        _approve(to, tokenId);
    }

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        emit Transfer(from, to, tokenId);
    }

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

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 5 of 15 : Delegated.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/********************
* @author: Squeebo *
********************/

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 6 of 15 : 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 7 of 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 15 : 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 12 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 15 : 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": "istanbul",
  "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":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","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":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"next","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

666a94d74f43000060075560646008556127106009556103e9600a55600b805460ff1916905560e0604052603c6080818152906200282660a03980516200004f91600c91602090910190620001f4565b506040805160208101918290526000908190526200007091600d91620001f4565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200009f91600e91620001f4565b50600f80546001600160a01b031916735ab0787a16e66a57dda644201b253d214fa5193a179055348015620000d357600080fd5b50604080518082018252600c81526b42726f6b656e53656144414f60a01b602080830191825283518085019094526004845263212925a760e11b9084015281519192916200012491600091620001f4565b5080516200013a906001906020840190620001f4565b50505062000157620001516200019e60201b60201c565b620001a2565b600160066000620001706005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620002d7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000202906200029a565b90600052602060002090601f01602090048101928262000226576000855562000271565b82601f106200024157805160ff191683800117855562000271565b8280016001018555821562000271579182015b828111156200027157825182559160200191906001019062000254565b506200027f92915062000283565b5090565b5b808211156200027f576000815560010162000284565b600281046001821680620002af57607f821691505b60208210811415620002d157634e487b7160e01b600052602260045260246000fd5b50919050565b61253f80620002e76000396000f3fe6080604052600436106101ee5760003560e01c806355f804b31161010d578063a0712d68116100a0578063b88d4fde1161006f578063b88d4fde14610545578063c87b56dd14610565578063cfc86f7b14610585578063e985e9c51461059a578063f2fde38b146105e3576101ee565b8063a0712d68146104dd578063a22cb465146104f0578063a475b5dd14610510578063b534a5c414610525576101ee565b80638d859f3e116100dc5780638d859f3e146104745780638da5cb5b1461048a57806391b7f5ed146104a857806395d89b41146104c8576101ee565b806355f804b3146103ff5780636352211e1461041f57806370a082311461043f578063715018a61461045f576101ee565b80633ccfd60b116101855780634c8fe526116101545780634c8fe526146102c45780634d44660c146103a55780634f6ccce7146103c557806351830227146103e5576101ee565b80633ccfd60b1461032357806342842e0e14610338578063438b6300146103585780634a994eef14610385576101ee565b8063095ea7b3116101c1578063095ea7b3146102a257806318160ddd146102c457806323b872dd146102e35780632f745c5914610303576101ee565b806301ffc9a7146101f357806306fdde0314610228578063077796271461024a578063081812fc1461026a575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046120a5565b610603565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610630565b60405161021f91906122a4565b34801561025657600080fd5b50610213610265366004611e07565b6106c2565b34801561027657600080fd5b5061028a61028536600461211d565b610717565b6040516001600160a01b03909116815260200161021f565b3480156102ae57600080fd5b506102c26102bd36600461207c565b61079f565b005b3480156102d057600080fd5b506002545b60405190815260200161021f565b3480156102ef57600080fd5b506102c26102fe366004611ee1565b6108b5565b34801561030f57600080fd5b506102d561031e36600461207c565b6108e6565b34801561032f57600080fd5b506102c26109c6565b34801561034457600080fd5b506102c2610353366004611ee1565b610a33565b34801561036457600080fd5b50610378610373366004611e07565b610a4e565b60405161021f9190612260565b34801561039157600080fd5b506102c26103a0366004612042565b610b0a565b3480156103b157600080fd5b506102136103c0366004611ff1565b610b5f565b3480156103d157600080fd5b506102d56103e036600461211d565b610bfd565b3480156103f157600080fd5b50600b546102139060ff1681565b34801561040b57600080fd5b506102c261041a3660046120dd565b610c6f565b34801561042b57600080fd5b5061028a61043a36600461211d565b610caa565b34801561044b57600080fd5b506102d561045a366004611e07565b610d44565b34801561046b57600080fd5b506102c2610e24565b34801561048057600080fd5b506102d560075481565b34801561049657600080fd5b506005546001600160a01b031661028a565b3480156104b457600080fd5b506102c26104c336600461211d565b610e5a565b3480156104d457600080fd5b5061023d610e8e565b6102c26104eb36600461211d565b610e9d565b3480156104fc57600080fd5b506102c261050b366004612042565b611044565b34801561051c57600080fd5b506102c2611116565b34801561053157600080fd5b506102c2610540366004611e53565b611154565b34801561055157600080fd5b506102c2610560366004611f1c565b6111e0565b34801561057157600080fd5b5061023d61058036600461211d565b611218565b34801561059157600080fd5b5061023d6113ec565b3480156105a657600080fd5b506102136105b5366004611e21565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156105ef57600080fd5b506102c26105fe366004611e07565b61147a565b60006001600160e01b0319821663780e9d6360e01b14806106285750610628826114d3565b90505b919050565b60606000805461063f90612447565b80601f016020809104026020016040519081016040528092919081815260200182805461066b90612447565b80156106b85780601f1061068d576101008083540402835291602001916106b8565b820191906000526020600020905b81548152906001019060200180831161069b57829003601f168201915b5050505050905090565b6005546000906001600160a01b031633146106f85760405162461bcd60e51b81526004016106ef90612333565b60405180910390fd5b506001600160a01b031660009081526006602052604090205460ff1690565b600061072282611523565b6107835760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ef565b506000908152600360205260409020546001600160a01b031690565b60006107aa82610caa565b9050806001600160a01b0316836001600160a01b031614156108185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106ef565b336001600160a01b0382161480610834575061083481336105b5565b6108a65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106ef565b6108b0838361157b565b505050565b6108bf33826115e9565b6108db5760405162461bcd60e51b81526004016106ef90612368565b6108b08383836116d3565b60008060005b600254811015610963576002818154811061091757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116141561095357838214156109475791506109c09050565b61095082612482565b91505b61095c81612482565b90506108ec565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106ef565b92915050565b3360009081526006602052604090205460ff166109f55760405162461bcd60e51b81526004016106ef906122b7565b600f5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610a2f573d6000803e3d6000fd5b5050565b6108b0838383604051806020016040528060008152506111e0565b60606000610a5b83610d44565b905060008167ffffffffffffffff811115610a8657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610aaf578160200160208202803683370190505b50905060005b82811015610b0257610ac785826108e6565b828281518110610ae757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610afb81612482565b9050610ab5565b509392505050565b6005546001600160a01b03163314610b345760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000805b82811015610bf057846001600160a01b03166002858584818110610b9757634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610bbc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610be0576000915050610bf6565b610be981612482565b9050610b63565b50600190505b9392505050565b6000610c0860025490565b8210610c6b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106ef565b5090565b3360009081526006602052604090205460ff16610c9e5760405162461bcd60e51b81526004016106ef906122b7565b6108b0600d8383611cd7565b60008060028381548110610cce57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169050806106285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106ef565b60006001600160a01b038216610daf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106ef565b600254600090815b81811015610e1b5760028181548110610de057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610e0b57610e0883612482565b92505b610e1481612482565b9050610db7565b50909392505050565b6005546001600160a01b03163314610e4e5760405162461bcd60e51b81526004016106ef90612333565b610e586000611837565b565b3360009081526006602052604090205460ff16610e895760405162461bcd60e51b81526004016106ef906122b7565b600755565b60606001805461063f90612447565b6008548110610f015760405162461bcd60e51b815260206004820152602a60248201527f436f756e74206578636565646564206d617820746f6b656e732070657220747260448201526930b739b0b1ba34b7b71760b11b60648201526084016106ef565b6000610f0c60025490565b600954909150610f1c83836123b9565b10610f695760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d61782042524b4e20746f6b656e20737570706c792e000060448201526064016106ef565b600a54610f7683836123b9565b1015610fbf5760015b828111610fb957610fa933610f9483856123b9565b60405180602001604052806000815250611889565b610fb281612482565b9050610f7f565b50610a2f565b81600754610fcd91906123e5565b34101561101c5760405162461bcd60e51b815260206004820152601a60248201527f45746865722073656e74206973206e6f7420636f72726563742e00000000000060448201526064016106ef565b60015b8281116108b05761103433610f9483856123b9565b61103d81612482565b905061101f565b6001600160a01b03821633141561109d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ef565b3360008181526004602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a911515815260200190565b60405180910390a35050565b3360009081526006602052604090205460ff166111455760405162461bcd60e51b81526004016106ef906122b7565b600b805460ff19166001179055565b60005b838110156111d7576111c7878787878581811061118457634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506111e092505050565b6111d081612482565b9050611157565b50505050505050565b6111ea33836115e9565b6112065760405162461bcd60e51b81526004016106ef90612368565b611212848484846118bc565b50505050565b606061122382611523565b61126f5760405162461bcd60e51b815260206004820181905260248201527f50726f766964656420746f6b656e20494420646f65736e6f742065786973742e60448201526064016106ef565b600b5460ff1661130b57600c805461128690612447565b80601f01602080910402602001604051908101604052809291908181526020018280546112b290612447565b80156112ff5780601f106112d4576101008083540402835291602001916112ff565b820191906000526020600020905b8154815290600101906020018083116112e257829003601f168201915b5050505050905061062b565b6000600d805461131a90612447565b80601f016020809104026020016040519081016040528092919081815260200182805461134690612447565b80156113935780601f1061136857610100808354040283529160200191611393565b820191906000526020600020905b81548152906001019060200180831161137657829003601f168201915b5050505050905060008151116113b85760405180602001604052806000815250610bf6565b806113c2846118ef565b600e6040516020016113d693929190612161565b6040516020818303038152906040529392505050565b600d80546113f990612447565b80601f016020809104026020016040519081016040528092919081815260200182805461142590612447565b80156114725780601f1061144757610100808354040283529160200191611472565b820191906000526020600020905b81548152906001019060200180831161145557829003601f168201915b505050505081565b6005546001600160a01b031633146114a45760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b0381166000908152600660205260409020805460ff191660011790556114d081611a0a565b50565b60006001600160e01b031982166380ac58cd60e01b148061150457506001600160e01b03198216635b5e139f60e01b145b8061062857506301ffc9a760e01b6001600160e01b0319831614610628565b60025460009082108015610628575060006001600160a01b03166002838154811061155e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115b082610caa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115f482611523565b6116555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ef565b600061166083610caa565b9050806001600160a01b0316846001600160a01b0316148061169b5750836001600160a01b031661169084610717565b6001600160a01b0316145b806116cb57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116e682610caa565b6001600160a01b03161461174e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106ef565b6001600160a01b0382166117b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ef565b6117bb60008261157b565b81600282815481106117dd57634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6118938383611aa2565b6118a06000848484611bca565b6108b05760405162461bcd60e51b81526004016106ef906122e1565b6118c78484846116d3565b6118d384848484611bca565b6112125760405162461bcd60e51b81526004016106ef906122e1565b60608161191457506040805180820190915260018152600360fc1b602082015261062b565b8160005b811561193e578061192881612482565b91506119379050600a836123d1565b9150611918565b60008167ffffffffffffffff81111561196757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611991576020820181803683370190505b5090505b84156116cb576119a6600183612404565b91506119b3600a8661249d565b6119be9060306123b9565b60f81b8183815181106119e157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a03600a866123d1565b9450611995565b6005546001600160a01b03163314611a345760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b038116611a995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ef565b6114d081611837565b6001600160a01b038216611af85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ef565b611b0181611523565b15611b4e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ef565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611ccc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c0e903390899088908890600401612223565b602060405180830381600087803b158015611c2857600080fd5b505af1925050508015611c58575060408051601f3d908101601f19168201909252611c55918101906120c1565b60015b611cb2573d808015611c86576040519150601f19603f3d011682016040523d82523d6000602084013e611c8b565b606091505b508051611caa5760405162461bcd60e51b81526004016106ef906122e1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116cb565b506001949350505050565b828054611ce390612447565b90600052602060002090601f016020900481019282611d055760008555611d4b565b82601f10611d1e5782800160ff19823516178555611d4b565b82800160010185558215611d4b579182015b82811115611d4b578235825591602001919060010190611d30565b50610c6b9291505b80821115610c6b5760008155600101611d53565b80356001600160a01b038116811461062b57600080fd5b60008083601f840112611d8f578081fd5b50813567ffffffffffffffff811115611da6578182fd5b6020830191508360208083028501011115611dc057600080fd5b9250929050565b60008083601f840112611dd8578182fd5b50813567ffffffffffffffff811115611def578182fd5b602083019150836020828501011115611dc057600080fd5b600060208284031215611e18578081fd5b610bf682611d67565b60008060408385031215611e33578081fd5b611e3c83611d67565b9150611e4a60208401611d67565b90509250929050565b60008060008060008060808789031215611e6b578182fd5b611e7487611d67565b9550611e8260208801611d67565b9450604087013567ffffffffffffffff80821115611e9e578384fd5b611eaa8a838b01611d7e565b90965094506060890135915080821115611ec2578384fd5b50611ecf89828a01611dc7565b979a9699509497509295939492505050565b600080600060608486031215611ef5578283fd5b611efe84611d67565b9250611f0c60208501611d67565b9150604084013590509250925092565b60008060008060808587031215611f31578384fd5b611f3a85611d67565b9350611f4860208601611d67565b925060408501359150606085013567ffffffffffffffff80821115611f6b578283fd5b818701915087601f830112611f7e578283fd5b813581811115611f9057611f906124dd565b604051601f8201601f19908116603f01168101908382118183101715611fb857611fb86124dd565b816040528281528a6020848701011115611fd0578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080600060408486031215612005578283fd5b61200e84611d67565b9250602084013567ffffffffffffffff811115612029578283fd5b61203586828701611d7e565b9497909650939450505050565b60008060408385031215612054578182fd5b61205d83611d67565b915060208301358015158114612071578182fd5b809150509250929050565b6000806040838503121561208e578182fd5b61209783611d67565b946020939093013593505050565b6000602082840312156120b6578081fd5b8135610bf6816124f3565b6000602082840312156120d2578081fd5b8151610bf6816124f3565b600080602083850312156120ef578182fd5b823567ffffffffffffffff811115612105578283fd5b61211185828601611dc7565b90969095509350505050565b60006020828403121561212e578081fd5b5035919050565b6000815180845261214d81602086016020860161241b565b601f01601f19169290920160200192915050565b6000845160206121748285838a0161241b565b8551918401916121878184848a0161241b565b85549201918390600281046001808316806121a357607f831692505b8583108114156121c157634e487b7160e01b88526022600452602488fd5b8080156121d557600181146121e657612212565b60ff19851688528388019550612212565b60008b815260209020895b8581101561220a5781548a8201529084019088016121f1565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061225690830184612135565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156122985783518352928401929184019160010161227c565b50909695505050505050565b600060208252610bf66020830184612135565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123cc576123cc6124b1565b500190565b6000826123e0576123e06124c7565b500490565b60008160001904831182151516156123ff576123ff6124b1565b500290565b600082821015612416576124166124b1565b500390565b60005b8381101561243657818101518382015260200161241e565b838111156112125750506000910152565b60028104600182168061245b57607f821691505b6020821081141561247c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612496576124966124b1565b5060010190565b6000826124ac576124ac6124c7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114d057600080fdfea2646970667358221220a994e40ef7b0fa8f796681b539203447ffeab1cd6f53ce9d56d6b5101c555c9a64736f6c63430008020033697066733a2f2f516d565864674d63425139725955507746563773464464596b4e524439656d4c4d536868714d586f725661384c532f312e6a736f6e

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806355f804b31161010d578063a0712d68116100a0578063b88d4fde1161006f578063b88d4fde14610545578063c87b56dd14610565578063cfc86f7b14610585578063e985e9c51461059a578063f2fde38b146105e3576101ee565b8063a0712d68146104dd578063a22cb465146104f0578063a475b5dd14610510578063b534a5c414610525576101ee565b80638d859f3e116100dc5780638d859f3e146104745780638da5cb5b1461048a57806391b7f5ed146104a857806395d89b41146104c8576101ee565b806355f804b3146103ff5780636352211e1461041f57806370a082311461043f578063715018a61461045f576101ee565b80633ccfd60b116101855780634c8fe526116101545780634c8fe526146102c45780634d44660c146103a55780634f6ccce7146103c557806351830227146103e5576101ee565b80633ccfd60b1461032357806342842e0e14610338578063438b6300146103585780634a994eef14610385576101ee565b8063095ea7b3116101c1578063095ea7b3146102a257806318160ddd146102c457806323b872dd146102e35780632f745c5914610303576101ee565b806301ffc9a7146101f357806306fdde0314610228578063077796271461024a578063081812fc1461026a575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046120a5565b610603565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610630565b60405161021f91906122a4565b34801561025657600080fd5b50610213610265366004611e07565b6106c2565b34801561027657600080fd5b5061028a61028536600461211d565b610717565b6040516001600160a01b03909116815260200161021f565b3480156102ae57600080fd5b506102c26102bd36600461207c565b61079f565b005b3480156102d057600080fd5b506002545b60405190815260200161021f565b3480156102ef57600080fd5b506102c26102fe366004611ee1565b6108b5565b34801561030f57600080fd5b506102d561031e36600461207c565b6108e6565b34801561032f57600080fd5b506102c26109c6565b34801561034457600080fd5b506102c2610353366004611ee1565b610a33565b34801561036457600080fd5b50610378610373366004611e07565b610a4e565b60405161021f9190612260565b34801561039157600080fd5b506102c26103a0366004612042565b610b0a565b3480156103b157600080fd5b506102136103c0366004611ff1565b610b5f565b3480156103d157600080fd5b506102d56103e036600461211d565b610bfd565b3480156103f157600080fd5b50600b546102139060ff1681565b34801561040b57600080fd5b506102c261041a3660046120dd565b610c6f565b34801561042b57600080fd5b5061028a61043a36600461211d565b610caa565b34801561044b57600080fd5b506102d561045a366004611e07565b610d44565b34801561046b57600080fd5b506102c2610e24565b34801561048057600080fd5b506102d560075481565b34801561049657600080fd5b506005546001600160a01b031661028a565b3480156104b457600080fd5b506102c26104c336600461211d565b610e5a565b3480156104d457600080fd5b5061023d610e8e565b6102c26104eb36600461211d565b610e9d565b3480156104fc57600080fd5b506102c261050b366004612042565b611044565b34801561051c57600080fd5b506102c2611116565b34801561053157600080fd5b506102c2610540366004611e53565b611154565b34801561055157600080fd5b506102c2610560366004611f1c565b6111e0565b34801561057157600080fd5b5061023d61058036600461211d565b611218565b34801561059157600080fd5b5061023d6113ec565b3480156105a657600080fd5b506102136105b5366004611e21565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156105ef57600080fd5b506102c26105fe366004611e07565b61147a565b60006001600160e01b0319821663780e9d6360e01b14806106285750610628826114d3565b90505b919050565b60606000805461063f90612447565b80601f016020809104026020016040519081016040528092919081815260200182805461066b90612447565b80156106b85780601f1061068d576101008083540402835291602001916106b8565b820191906000526020600020905b81548152906001019060200180831161069b57829003601f168201915b5050505050905090565b6005546000906001600160a01b031633146106f85760405162461bcd60e51b81526004016106ef90612333565b60405180910390fd5b506001600160a01b031660009081526006602052604090205460ff1690565b600061072282611523565b6107835760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ef565b506000908152600360205260409020546001600160a01b031690565b60006107aa82610caa565b9050806001600160a01b0316836001600160a01b031614156108185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106ef565b336001600160a01b0382161480610834575061083481336105b5565b6108a65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106ef565b6108b0838361157b565b505050565b6108bf33826115e9565b6108db5760405162461bcd60e51b81526004016106ef90612368565b6108b08383836116d3565b60008060005b600254811015610963576002818154811061091757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116141561095357838214156109475791506109c09050565b61095082612482565b91505b61095c81612482565b90506108ec565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106ef565b92915050565b3360009081526006602052604090205460ff166109f55760405162461bcd60e51b81526004016106ef906122b7565b600f5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610a2f573d6000803e3d6000fd5b5050565b6108b0838383604051806020016040528060008152506111e0565b60606000610a5b83610d44565b905060008167ffffffffffffffff811115610a8657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610aaf578160200160208202803683370190505b50905060005b82811015610b0257610ac785826108e6565b828281518110610ae757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610afb81612482565b9050610ab5565b509392505050565b6005546001600160a01b03163314610b345760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000805b82811015610bf057846001600160a01b03166002858584818110610b9757634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610bbc57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610be0576000915050610bf6565b610be981612482565b9050610b63565b50600190505b9392505050565b6000610c0860025490565b8210610c6b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106ef565b5090565b3360009081526006602052604090205460ff16610c9e5760405162461bcd60e51b81526004016106ef906122b7565b6108b0600d8383611cd7565b60008060028381548110610cce57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03169050806106285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106ef565b60006001600160a01b038216610daf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106ef565b600254600090815b81811015610e1b5760028181548110610de057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610e0b57610e0883612482565b92505b610e1481612482565b9050610db7565b50909392505050565b6005546001600160a01b03163314610e4e5760405162461bcd60e51b81526004016106ef90612333565b610e586000611837565b565b3360009081526006602052604090205460ff16610e895760405162461bcd60e51b81526004016106ef906122b7565b600755565b60606001805461063f90612447565b6008548110610f015760405162461bcd60e51b815260206004820152602a60248201527f436f756e74206578636565646564206d617820746f6b656e732070657220747260448201526930b739b0b1ba34b7b71760b11b60648201526084016106ef565b6000610f0c60025490565b600954909150610f1c83836123b9565b10610f695760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d61782042524b4e20746f6b656e20737570706c792e000060448201526064016106ef565b600a54610f7683836123b9565b1015610fbf5760015b828111610fb957610fa933610f9483856123b9565b60405180602001604052806000815250611889565b610fb281612482565b9050610f7f565b50610a2f565b81600754610fcd91906123e5565b34101561101c5760405162461bcd60e51b815260206004820152601a60248201527f45746865722073656e74206973206e6f7420636f72726563742e00000000000060448201526064016106ef565b60015b8281116108b05761103433610f9483856123b9565b61103d81612482565b905061101f565b6001600160a01b03821633141561109d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ef565b3360008181526004602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161110a911515815260200190565b60405180910390a35050565b3360009081526006602052604090205460ff166111455760405162461bcd60e51b81526004016106ef906122b7565b600b805460ff19166001179055565b60005b838110156111d7576111c7878787878581811061118457634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506111e092505050565b6111d081612482565b9050611157565b50505050505050565b6111ea33836115e9565b6112065760405162461bcd60e51b81526004016106ef90612368565b611212848484846118bc565b50505050565b606061122382611523565b61126f5760405162461bcd60e51b815260206004820181905260248201527f50726f766964656420746f6b656e20494420646f65736e6f742065786973742e60448201526064016106ef565b600b5460ff1661130b57600c805461128690612447565b80601f01602080910402602001604051908101604052809291908181526020018280546112b290612447565b80156112ff5780601f106112d4576101008083540402835291602001916112ff565b820191906000526020600020905b8154815290600101906020018083116112e257829003601f168201915b5050505050905061062b565b6000600d805461131a90612447565b80601f016020809104026020016040519081016040528092919081815260200182805461134690612447565b80156113935780601f1061136857610100808354040283529160200191611393565b820191906000526020600020905b81548152906001019060200180831161137657829003601f168201915b5050505050905060008151116113b85760405180602001604052806000815250610bf6565b806113c2846118ef565b600e6040516020016113d693929190612161565b6040516020818303038152906040529392505050565b600d80546113f990612447565b80601f016020809104026020016040519081016040528092919081815260200182805461142590612447565b80156114725780601f1061144757610100808354040283529160200191611472565b820191906000526020600020905b81548152906001019060200180831161145557829003601f168201915b505050505081565b6005546001600160a01b031633146114a45760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b0381166000908152600660205260409020805460ff191660011790556114d081611a0a565b50565b60006001600160e01b031982166380ac58cd60e01b148061150457506001600160e01b03198216635b5e139f60e01b145b8061062857506301ffc9a760e01b6001600160e01b0319831614610628565b60025460009082108015610628575060006001600160a01b03166002838154811061155e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115b082610caa565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115f482611523565b6116555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106ef565b600061166083610caa565b9050806001600160a01b0316846001600160a01b0316148061169b5750836001600160a01b031661169084610717565b6001600160a01b0316145b806116cb57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116e682610caa565b6001600160a01b03161461174e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106ef565b6001600160a01b0382166117b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ef565b6117bb60008261157b565b81600282815481106117dd57634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6118938383611aa2565b6118a06000848484611bca565b6108b05760405162461bcd60e51b81526004016106ef906122e1565b6118c78484846116d3565b6118d384848484611bca565b6112125760405162461bcd60e51b81526004016106ef906122e1565b60608161191457506040805180820190915260018152600360fc1b602082015261062b565b8160005b811561193e578061192881612482565b91506119379050600a836123d1565b9150611918565b60008167ffffffffffffffff81111561196757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611991576020820181803683370190505b5090505b84156116cb576119a6600183612404565b91506119b3600a8661249d565b6119be9060306123b9565b60f81b8183815181106119e157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a03600a866123d1565b9450611995565b6005546001600160a01b03163314611a345760405162461bcd60e51b81526004016106ef90612333565b6001600160a01b038116611a995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ef565b6114d081611837565b6001600160a01b038216611af85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ef565b611b0181611523565b15611b4e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ef565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611ccc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c0e903390899088908890600401612223565b602060405180830381600087803b158015611c2857600080fd5b505af1925050508015611c58575060408051601f3d908101601f19168201909252611c55918101906120c1565b60015b611cb2573d808015611c86576040519150601f19603f3d011682016040523d82523d6000602084013e611c8b565b606091505b508051611caa5760405162461bcd60e51b81526004016106ef906122e1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116cb565b506001949350505050565b828054611ce390612447565b90600052602060002090601f016020900481019282611d055760008555611d4b565b82601f10611d1e5782800160ff19823516178555611d4b565b82800160010185558215611d4b579182015b82811115611d4b578235825591602001919060010190611d30565b50610c6b9291505b80821115610c6b5760008155600101611d53565b80356001600160a01b038116811461062b57600080fd5b60008083601f840112611d8f578081fd5b50813567ffffffffffffffff811115611da6578182fd5b6020830191508360208083028501011115611dc057600080fd5b9250929050565b60008083601f840112611dd8578182fd5b50813567ffffffffffffffff811115611def578182fd5b602083019150836020828501011115611dc057600080fd5b600060208284031215611e18578081fd5b610bf682611d67565b60008060408385031215611e33578081fd5b611e3c83611d67565b9150611e4a60208401611d67565b90509250929050565b60008060008060008060808789031215611e6b578182fd5b611e7487611d67565b9550611e8260208801611d67565b9450604087013567ffffffffffffffff80821115611e9e578384fd5b611eaa8a838b01611d7e565b90965094506060890135915080821115611ec2578384fd5b50611ecf89828a01611dc7565b979a9699509497509295939492505050565b600080600060608486031215611ef5578283fd5b611efe84611d67565b9250611f0c60208501611d67565b9150604084013590509250925092565b60008060008060808587031215611f31578384fd5b611f3a85611d67565b9350611f4860208601611d67565b925060408501359150606085013567ffffffffffffffff80821115611f6b578283fd5b818701915087601f830112611f7e578283fd5b813581811115611f9057611f906124dd565b604051601f8201601f19908116603f01168101908382118183101715611fb857611fb86124dd565b816040528281528a6020848701011115611fd0578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080600060408486031215612005578283fd5b61200e84611d67565b9250602084013567ffffffffffffffff811115612029578283fd5b61203586828701611d7e565b9497909650939450505050565b60008060408385031215612054578182fd5b61205d83611d67565b915060208301358015158114612071578182fd5b809150509250929050565b6000806040838503121561208e578182fd5b61209783611d67565b946020939093013593505050565b6000602082840312156120b6578081fd5b8135610bf6816124f3565b6000602082840312156120d2578081fd5b8151610bf6816124f3565b600080602083850312156120ef578182fd5b823567ffffffffffffffff811115612105578283fd5b61211185828601611dc7565b90969095509350505050565b60006020828403121561212e578081fd5b5035919050565b6000815180845261214d81602086016020860161241b565b601f01601f19169290920160200192915050565b6000845160206121748285838a0161241b565b8551918401916121878184848a0161241b565b85549201918390600281046001808316806121a357607f831692505b8583108114156121c157634e487b7160e01b88526022600452602488fd5b8080156121d557600181146121e657612212565b60ff19851688528388019550612212565b60008b815260209020895b8581101561220a5781548a8201529084019088016121f1565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061225690830184612135565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156122985783518352928401929184019160010161227c565b50909695505050505050565b600060208252610bf66020830184612135565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156123cc576123cc6124b1565b500190565b6000826123e0576123e06124c7565b500490565b60008160001904831182151516156123ff576123ff6124b1565b500290565b600082821015612416576124166124b1565b500390565b60005b8381101561243657818101518382015260200161241e565b838111156112125750506000910152565b60028104600182168061245b57607f821691505b6020821081141561247c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612496576124966124b1565b5060010190565b6000826124ac576124ac6124c7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114d057600080fdfea2646970667358221220a994e40ef7b0fa8f796681b539203447ffeab1cd6f53ce9d56d6b5101c555c9a64736f6c63430008020033

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.