ETH Price: $2,451.81 (-2.36%)

Token

Sequences (SEQ)
 

Overview

Max Total Supply

0 SEQ

Holders

103

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 SEQ
0xa4722f1b4b552951828e6a334c5724b34b19a327
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:
Sequences

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : sequences.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

 /*
 * Sequences are on chain beats that can be used as a basis for music production.
 * This is v1 of the project and is built as a Tunes derivative. The Tune id seeds the sequence generation.
 * The visual element of sequences can be retrieved via the tokenURI metadata and contains an SVG of a step sequencer displaying the token's sequence.
 * Each sequence has 12 rows and 16 steps that are either active or inactive to indicate a sound should be played.
 * To make it easy to interpret the sequence into sounds there is a readSequence(id) function which returns a data url.
 * The data url encodes the sequence into UTF-8 text that can be parsed by players.
 * Use this key to interpret the sequence:
 *
 *   .  Do not play a sound.
 *   -  Play a sound.
 * 
 * Each row is ended by a new line character. Sample output from readSequence would be:
 *                             -.-.-.-.-.-.-.-.
 * This pattern alternates between playing a sound and silence each step.
 * Sequences are meant to be interpreted. Use your sequence to make music.
 * You are encouraged to experiment and prescribe the following to your sequence:
 * - Tempo
 * - Instruments (all rows could be different notes of the same instrument, a different instrument per row, etc.)
 * - Play columns instead of rows together?
 * - Which rows are on/off simultaneously
 *
 */
 
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/utils/Strings.sol';

contract Sequences is ERC721, Ownable{
    
    using Strings for uint256;
    
    IERC721Enumerable public tunes = IERC721Enumerable(0xfa932d5cBbDC8f6Ed6D96Cc6513153aFa9b7487C);

    constructor() ERC721("Sequences", "SEQ") Ownable() {
    }

    function mint(uint256[] calldata tokenIds) public {
        for(uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            
            require(tokenId > 0 && tokenId <= tunes.totalSupply(), "You cannot mint outside of the IDs of Tunes.");
            require(tunes.ownerOf(tokenId) == msg.sender, "You must own the corresponding Tune to mint this.");
        }
        
        for(uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            _safeMint(msg.sender, tokenId);
        }
    }
    
    function tokenURI(uint256 tokenId) override(ERC721) public view returns (string memory) {
        string memory sequenceSVG = drawSequence(tokenId);
        string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Sequence #', Strings.toString(tokenId), '", "description": "Sequences are randomly generated beat sequences stored and rendered on chain. Sequences are generated using Tunes as a seed. Interpret your sequence with the instruments of your choice, build players for your sequence, or remix with others.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(sequenceSVG)),'"}'))));
        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    ///////////////////
    //// GENERATOR ////
    ///////////////////

    uint256 constant MAX_SEQUENCES = 3;
    uint256 constant SEQUENCE_ROWS = 4; 
    uint256 constant STEPS_PER_BAR = 4;
    uint256 constant BARS_PER_SEQUENCE = 4;
    uint256 constant WIDTH = STEPS_PER_BAR * BARS_PER_SEQUENCE;
    uint256 constant HEIGHT = (SEQUENCE_ROWS * MAX_SEQUENCES);
    uint256 constant GRID_START_X = 74;
    uint256 constant GRID_START_Y = 494;
    bytes1 constant EMPTY = bytes1(0x2E); //empty
    
    bytes constant SVG_PREFIX = "data:text/plain;charset=utf-8,";


    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function doActivateBit(bytes32 b, uint pos) internal view returns (bool){
        return (  b & bytes32(1 << (pos+64)) ) != 0;
    }
    
    function getEuclideanRow(uint256 seed) internal view returns (bytes memory) {
        bytes memory output = new bytes(WIDTH);
        bytes1 entry = 0x2E;
        uint256 c = 0;
        uint256 pulses = 0;
        uint256 onsets = 0;
        
        uint256 offset = seed % STEPS_PER_BAR * 2;
        pulses = (seed % WIDTH) + 1;

        if(pulses < 2)
            pulses = 2;
        onsets = seed % (pulses / 2) + 1;
        onsets = 2 * (onsets / 4) + 1;
        int256 previous = -1;
                
        for (uint j = 0; j < WIDTH; j++) {
            entry = 0x2E;
            int256 current = int256(j * onsets / pulses);
            if( j >= offset && current != previous){
                entry = bytes1(0x2D);
                previous = current;
            }
            output[c] = entry;
            c++;
        }
        return output;
    }
    
    function getRow(uint256 row, uint256 id) internal view returns (bytes memory) {
        bytes memory output = new bytes(WIDTH);
        bytes1 entry = 0x2E;
        uint256 pos = 0;
        uint256 c = 0;
        
        uint256 rand = random(string(abi.encodePacked( Strings.toString(row),Strings.toString(id))));
        if(rand % 21 > 4){
            output = getEuclideanRow(rand);
            return output;
        }
        
        uint256 length = (rand % (STEPS_PER_BAR * BARS_PER_SEQUENCE / 2)) + 1;
        uint256 silence = (rand % STEPS_PER_BAR) + 1;
        
        bytes32 sequenceBytes = bytes32(rand);
        
        for (uint j = 0; j < WIDTH; j++) {
            entry = 0x2E;
            if(length > 0) {
                if( j % (length + silence) < length){
                    pos = j % (length + silence);
                    if(doActivateBit(sequenceBytes, pos)){
                        entry = bytes1(0x2D);
                    }
                }
            }

            output[c] = entry;
            c++;
        }
        return output;
    }
    
    function getStyleValue(bytes1 input) internal view returns (string memory) {
        if(input == EMPTY)
            return string("st1");
        else
            return string("st4");
    }
    
    function getSvgGridEntry(bytes1 input, uint256 xDrawPos, uint256 yDrawPos) internal view returns (string memory) {
        string memory gridString = string(abi.encodePacked('<rect x="',Strings.toString(xDrawPos),'" y="',Strings.toString(yDrawPos),'" class="', getStyleValue(input),'" width="100" height="100"/>'));
        return gridString;
    }
    
    function strConcat(string memory _a, string memory _b)
    internal pure
    returns(string memory result) {
        result = string(abi.encodePacked(bytes(_a), bytes(_b)));
    }
    
    
    function drawSequence(uint256 id) public view returns (string memory) {
        string memory svgAccumulator = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 2048 2048" style="enable-background:new 0 0 2048 2048;" xml:space="preserve"><style type="text/css"> .st0{fill:#231F20;} .st1{fill:#414042;} .st2{fill:#3E92CC;} .st3{fill:#A3D17D;} .st4{fill:#E6E7E8;} .st5{fill:#F3743C;} .st6{fill:none;stroke:#414042;stroke-width:5;stroke-miterlimit:10;} .st7{fill:#EF4857;} .st8{fill:none;stroke:#E6E7E8;stroke-width:2;stroke-miterlimit:10;} .st9{fill:#F1F2F2;} .st10{font-family:monospace;} .st11{font-size:50px;} .st12{fill:none;stroke:#FFFFFF;stroke-width:4;} .st13{fill:#FFFFFF;}</style>';
        bytes memory output = new bytes(HEIGHT * (WIDTH + 3) + 30);
        svgAccumulator = strConcat(svgAccumulator, '<g> <rect x="0.27" y="0.32" class="st0" width="2048" height="2048"/></g><g><circle class="st2" cx="1204" cy="131.14" r="50"/><circle class="st3" cx="1444" cy="131.14" r="50"/><circle class="st4" cx="1684" cy="131.14" r="50"/><circle class="st5" cx="1924" cy="131.14" r="50"/><line class="st6" x1="1204" y1="131.14" x2="1204" y2="81.14"/><line class="st6" x1="1444" y1="131.14" x2="1487.29" y2="106.14"/><line class="st6" x1="1684" y1="131.14" x2="1727.26" y2="156.19"/><line class="st6" x1="1924" y1="131.14" x2="1890.38" y2="94.13"/><line class="st6" x1="1204" y1="253.99" x2="1204" y2="375.18"/><rect x="1154" y="253.99" class="st7" width="100" height="41.35"/><line class="st6" x1="1444" y1="253.99" x2="1444" y2="375.18"/><rect x="1394" y="274.66" class="st7" width="100" height="41.35"/><line class="st6" x1="1683.29" y1="253.99" x2="1683.29" y2="375.18"/><rect x="1633.29" y="290.35" class="st7" width="100" height="41.35"/><line class="st6" x1="1924" y1="253.99" x2="1924" y2="375.18"/><rect x="1874" y="260.17" class="st7" width="100" height="41.35"/><line class="st8" x1="74" y1="81.14" x2="774" y2="81.14"/><rect x="74" y="115.72" width="700" height="256.54"/><text transform="matrix(1 0 0 1 123.4748 191.0862)" class="st9 st10 st11">Sequence ');
        svgAccumulator = strConcat(svgAccumulator, Strings.toString(id));
        svgAccumulator = strConcat(svgAccumulator, '</text><g><path class="st12" d="M688.11,162.34h23.43c8.63,0,15.63,6.5,15.63,14.51l0,0c0,8.01-7,14.5-15.63,14.5h-46.88,c-8.63,0-15.63-6.5-15.63-14.5l0,0c0-8.01,7-14.51,15.63-14.51h3.9"/><path class="st13" d="M677.11,162.34l11-7.66V170L677.11,162.34z"/></g></g><g>');
        svgAccumulator = strConcat(svgAccumulator, '<defs><pattern id="Pattern" x="0" y="0" width="0.063125" height="0.0845"><rect x="0" y="0" width="100" height="100" class="st1"/></pattern></defs>');
        svgAccumulator =strConcat(svgAccumulator, '<rect fill="url(#Pattern)" x="74" y="494" width="1900" height="1420"/>');
        uint256 yDrawPos = GRID_START_Y;
        uint256 xDrawPos = GRID_START_X;
        string memory gridString = '';
        bytes1 gridValue = 0x00;

        uint256 c;
        for (c = 0; c < 30; c++) {
            output[c] = SVG_PREFIX[c];
        }
      
        for (uint256 i = 0; i < HEIGHT; i++) {
            yDrawPos = (i*120) + GRID_START_Y;
            bytes memory row = getRow(i, id);
            for (uint j = 0; j < WIDTH; j++) {
                output[c] = row[j];
                gridValue = row[j];
                if(gridValue != EMPTY){

                    xDrawPos = (j*120) + GRID_START_X;
                    gridString = getSvgGridEntry(gridValue, xDrawPos, yDrawPos);
                    svgAccumulator = strConcat(svgAccumulator, gridString);
                }
            }
            output[c] = bytes1(0x25); c++;
            output[c] = bytes1(0x30); c++;
            output[c] = bytes1(0x41); c++;
        }
    
        svgAccumulator = strConcat(svgAccumulator, '</g></svg>');
        return svgAccumulator;
    }
    
    function readSequence(uint256 id) public view returns (string memory) {
        bytes memory output = new bytes(HEIGHT * (WIDTH + 3) + 30);
        uint256 c;
        for (c = 0; c < 30; c++) {
            output[c] = SVG_PREFIX[c];
        }

        for (uint256 i = 0; i < HEIGHT; i++) {
            bytes memory row = getRow(i, id);
            for (uint j = 0; j < WIDTH; j++) {
                output[c] = row[j];
                c++;
            }
            output[c] = bytes1(0x25);
            c++;
            output[c] = bytes1(0x30);
            c++;
            output[c] = bytes1(0x41);
            c++;
        }
        string memory result = string(output);
        return result;
    }

}


/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 2 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    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;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.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);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    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);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    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");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    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"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    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);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.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);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.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;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../token/ERC721/extensions/IERC721Enumerable.sol";

File 4 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

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 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

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 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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":[{"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":"id","type":"uint256"}],"name":"drawSequence","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"readSequence","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tunes","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600780546001600160a01b03191673fa932d5cbbdc8f6ed6d96cc6513153afa9b7487c1790553480156200003757600080fd5b50604080518082018252600981526853657175656e63657360b81b60208083019182528351808501909452600384526253455160e81b908401528151919291620000849160009162000113565b5080516200009a90600190602084019062000113565b505050620000b7620000b1620000bd60201b60201c565b620000c1565b620001f6565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012190620001b9565b90600052602060002090601f01602090048101928262000145576000855562000190565b82601f106200016057805160ff191683800117855562000190565b8280016001018555821562000190579182015b828111156200019057825182559160200191906001019062000173565b506200019e929150620001a2565b5090565b5b808211156200019e5760008155600101620001a3565b600181811c90821680620001ce57607f821691505b60208210811415620001f057634e487b7160e01b600052602260045260246000fd5b50919050565b6131a680620002066000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063c87b56dd11610071578063c87b56dd14610275578063cf6215be14610288578063e985e9c51461029b578063f2fde38b146102ae578063f8e93ef9146102c157600080fd5b80638da5cb5b1461022357806395d89b4114610234578063a22cb4651461023c578063b88d4fde1461024f578063c0c12c731461026257600080fd5b806342842e0e116100f457806342842e0e146101c15780634bd8ef74146101d45780636352211e146101e757806370a08231146101fa578063715018a61461021b57600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806323b872dd146101ae575b600080fd5b61014461013f3660046121e8565b6102d4565b60405190151581526020015b60405180910390f35b610161610326565b60405161015091906125db565b61018161017c366004612222565b6103b8565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004612147565b610452565b005b6101ac6101bc366004611ff3565b610568565b6101ac6101cf366004611ff3565b610599565b6101616101e2366004612222565b6105b4565b6101816101f5366004612222565b6109bb565b61020d610208366004611f79565b610a32565b604051908152602001610150565b6101ac610ab9565b6006546001600160a01b0316610181565b610161610b1f565b6101ac61024a366004612114565b610b2e565b6101ac61025d366004612034565b610bf3565b610161610270366004612222565b610c2b565b610161610283366004612222565b610eb2565b600754610181906001600160a01b031681565b6101446102a9366004611fba565b610f28565b6101ac6102bc366004611f79565b610f56565b6101ac6102cf366004612173565b611021565b60006001600160e01b031982166380ac58cd60e01b148061030557506001600160e01b03198216635b5e139f60e01b145b8061032057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546103359061271f565b80601f01602080910402602001604051908101604052809291908181526020018280546103619061271f565b80156103ae5780601f10610383576101008083540402835291602001916103ae565b820191906000526020600020905b81548152906001019060200180831161039157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061045d826109bb565b9050806001600160a01b0316836001600160a01b031614156104cb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161042d565b336001600160a01b03821614806104e757506104e78133610f28565b6105595760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161042d565b6105638383611284565b505050565b61057233826112f2565b61058e5760405162461bcd60e51b815260040161042d90612640565b6105638383836113c9565b61056383838360405180602001604052806000815250610bf3565b60606000604051806102a001604052806102618152602001612e0a6102619139905060006105e36004806126bd565b6105ee906003612691565b6105fa600360046126bd565b61060491906126bd565b61060f90601e612691565b67ffffffffffffffff811115610627576106276127cb565b6040519080825280601f01601f191660200182016040528015610651576020820181803683370190505b509050610679826040518061052001604052806104e581526020016129256104e59139611569565b915061068d8261068886611595565b611569565b91506106b482604051806101400160405280610106815260200161306b6101069139611569565b91506106d8826040518060c001604052806092815260200161280d60929139611569565b91506106fc8260405180608001604052806046815260200161289f60469139611569565b604080516020810190915260008082529193506101ee91604a9190805b601e8110156107af576040518060400160405280601e81526020017f646174613a746578742f706c61696e3b636861727365743d7574662d382c00008152508181518110610769576107696127b5565b602001015160f81c60f81b868281518110610786576107866127b5565b60200101906001600160f81b031916908160001a905350806107a78161275a565b915050610719565b60005b6107be600360046126bd565b811015610981576101ee6107d38260786126bd565b6107dd9190612691565b955060006107eb828c611693565b905060005b6107fb6004806126bd565b8110156108bb57818181518110610814576108146127b5565b602001015160f81c60f81b898581518110610831576108316127b5565b60200101906001600160f81b031916908160001a90535081818151811061085a5761085a6127b5565b01602001516001600160f81b0319169450601760f91b85146108a957604a6108838260786126bd565b61088d9190612691565b965061089a85888a611864565b95506108a68a87611569565b99505b806108b38161275a565b9150506107f0565b50602560f81b8884815181106108d3576108d36127b5565b60200101906001600160f81b031916908160001a905350826108f48161275a565b935050603060f81b88848151811061090e5761090e6127b5565b60200101906001600160f81b031916908160001a9053508261092f8161275a565b935050604160f81b888481518110610949576109496127b5565b60200101906001600160f81b031916908160001a9053508261096a8161275a565b9350505080806109799061275a565b9150506107b2565b506109ae876040518060400160405280600a8152602001691e17b39f1e17b9bb339f60b11b815250611569565b9998505050505050505050565b6000818152600260205260408120546001600160a01b0316806103205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161042d565b60006001600160a01b038216610a9d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161042d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042d565b610b1d60006118ae565b565b6060600180546103359061271f565b6001600160a01b038216331415610b875760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161042d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bfd33836112f2565b610c195760405162461bcd60e51b815260040161042d90612640565b610c2584848484611900565b50505050565b60606000610c3a6004806126bd565b610c45906003612691565b610c51600360046126bd565b610c5b91906126bd565b610c6690601e612691565b67ffffffffffffffff811115610c7e57610c7e6127cb565b6040519080825280601f01601f191660200182016040528015610ca8576020820181803683370190505b50905060005b601e811015610d44576040518060400160405280601e81526020017f646174613a746578742f706c61696e3b636861727365743d7574662d382c00008152508181518110610cfe57610cfe6127b5565b602001015160f81c60f81b828281518110610d1b57610d1b6127b5565b60200101906001600160f81b031916908160001a90535080610d3c8161275a565b915050610cae565b60005b610d53600360046126bd565b811015610ea9576000610d668287611693565b905060005b610d766004806126bd565b811015610de357818181518110610d8f57610d8f6127b5565b602001015160f81c60f81b858581518110610dac57610dac6127b5565b60200101906001600160f81b031916908160001a90535083610dcd8161275a565b9450508080610ddb9061275a565b915050610d6b565b50602560f81b848481518110610dfb57610dfb6127b5565b60200101906001600160f81b031916908160001a90535082610e1c8161275a565b935050603060f81b848481518110610e3657610e366127b5565b60200101906001600160f81b031916908160001a90535082610e578161275a565b935050604160f81b848481518110610e7157610e716127b5565b60200101906001600160f81b031916908160001a90535082610e928161275a565b935050508080610ea19061275a565b915050610d47565b50909392505050565b60606000610ebf836105b4565b90506000610efd610ecf85611595565b610ed884611933565b604051602001610ee99291906123d7565b604051602081830303815290604052611933565b905080604051602001610f1091906122e7565b60405160208183030381529060405292505050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b03163314610fb05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042d565b6001600160a01b0381166110155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161042d565b61101e816118ae565b50565b60005b8181101561123e576000838383818110611040576110406127b5565b9050602002013590506000811180156110de5750600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a257600080fd5b505afa1580156110b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110da919061223b565b8111155b61113f5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e6e6f74206d696e74206f757473696465206f6620746865204960448201526b22399037b3102a3ab732b99760a11b606482015260840161042d565b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561118357600080fd5b505afa158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb9190611f9d565b6001600160a01b03161461122b5760405162461bcd60e51b815260206004820152603160248201527f596f75206d757374206f776e2074686520636f72726573706f6e64696e6720546044820152703ab732903a379036b4b73a103a3434b99760791b606482015260840161042d565b50806112368161275a565b915050611024565b5060005b8181101561056357600083838381811061125e5761125e6127b5565b9050602002013590506112713382611a99565b508061127c8161275a565b915050611242565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112b9826109bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661136b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161042d565b6000611376836109bb565b9050806001600160a01b0316846001600160a01b031614806113b15750836001600160a01b03166113a6846103b8565b6001600160a01b0316145b806113c157506113c18185610f28565b949350505050565b826001600160a01b03166113dc826109bb565b6001600160a01b0316146114445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161042d565b6001600160a01b0382166114a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161042d565b6114b1600082611284565b6001600160a01b03831660009081526003602052604081208054600192906114da9084906126dc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611508908490612691565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6060828260405160200161157e92919061229c565b604051602081830303815290604052905092915050565b6060816115b95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115e357806115cd8161275a565b91506115dc9050600a836126a9565b91506115bd565b60008167ffffffffffffffff8111156115fe576115fe6127cb565b6040519080825280601f01601f191660200182016040528015611628576020820181803683370190505b5090505b84156113c15761163d6001836126dc565b915061164a600a86612775565b611655906030612691565b60f81b81838151811061166a5761166a6127b5565b60200101906001600160f81b031916908160001a90535061168c600a866126a9565b945061162c565b606060006116a26004806126bd565b67ffffffffffffffff8111156116ba576116ba6127cb565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b509050601760f91b6000808061172a6116fc89611595565b61170589611595565b60405160200161171692919061229c565b604051602081830303815290604052611ab7565b90506004611739601583612775565b11156117555761174881611ae8565b9550610320945050505050565b600060026117646004806126bd565b61176e91906126a9565b6117789083612775565b611783906001612691565b90506000611792600484612775565b61179d906001612691565b90508260005b6117ae6004806126bd565b81101561185457601760f91b9750831561180a57836117cd8482612691565b6117d79083612775565b101561180a576117e78385612691565b6117f19082612775565b96506117fd8288611c84565b1561180a57602d60f81b97505b8789878151811061181d5761181d6127b5565b60200101906001600160f81b031916908160001a9053508561183e8161275a565b965050808061184c9061275a565b9150506117a3565b50969a9950505050505050505050565b6060600061187184611595565b61187a84611595565b61188387611ca1565b6040516020016118959392919061232c565b60408051808303601f1901815291905295945050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61190b8484846113c9565b61191784848484611cf7565b610c255760405162461bcd60e51b815260040161042d906125ee565b805160609080611953575050604080516020810190915260008152919050565b60006003611962836002612691565b61196c91906126a9565b6119779060046126bd565b90506000611986826020612691565b67ffffffffffffffff81111561199e5761199e6127cb565b6040519080825280601f01601f1916602001820160405280156119c8576020820181803683370190505b50905060006040518060600160405280604081526020016128e5604091399050600181016020830160005b86811015611a54576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016119f3565b506003860660018114611a6e5760028114611a7f57611a8b565b613d3d60f01b600119830152611a8b565b603d60f81b6000198301525b505050918152949350505050565b611ab3828260405180602001604052806000815250611e04565b5050565b600081604051602001611aca91906122cb565b60408051601f19818403018152919052805160209091012092915050565b60606000611af76004806126bd565b67ffffffffffffffff811115611b0f57611b0f6127cb565b6040519080825280601f01601f191660200182016040528015611b39576020820181803683370190505b509050601760f91b6000808080611b51600489612775565b611b5c9060026126bd565b9050611b696004806126bd565b611b739089612775565b611b7e906001612691565b92506002831015611b8e57600292505b611b996002846126a9565b611ba39089612775565b611bae906001612691565b9150611bbb6004836126a9565b611bc69060026126bd565b611bd1906001612691565b915060001960005b611be46004806126bd565b811015611c7657601760f91b9650600085611bff86846126bd565b611c0991906126a9565b9050838210158015611c1b5750828114155b15611c2b57602d60f81b97509150815b87898881518110611c3e57611c3e6127b5565b60200101906001600160f81b031916908160001a90535086611c5f8161275a565b975050508080611c6e9061275a565b915050611bd9565b509598975050505050505050565b6000611c91826040612691565b6001901b83161515905092915050565b60606001600160f81b03198216601760f91b1415611cd857505060408051808201909152600381526273743160e81b602082015290565b50506040805180820190915260038152621cdd0d60ea1b602082015290565b60006001600160a01b0384163b15611df957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d3b90339089908890889060040161259e565b602060405180830381600087803b158015611d5557600080fd5b505af1925050508015611d85575060408051601f3d908101601f19168201909252611d8291810190612205565b60015b611ddf573d808015611db3576040519150601f19603f3d011682016040523d82523d6000602084013e611db8565b606091505b508051611dd75760405162461bcd60e51b815260040161042d906125ee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113c1565b506001949350505050565b611e0e8383611e37565b611e1b6000848484611cf7565b6105635760405162461bcd60e51b815260040161042d906125ee565b6001600160a01b038216611e8d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161042d565b6000818152600260205260409020546001600160a01b031615611ef25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161042d565b6001600160a01b0382166000908152600360205260408120805460019290611f1b908490612691565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060208284031215611f8b57600080fd5b8135611f96816127e1565b9392505050565b600060208284031215611faf57600080fd5b8151611f96816127e1565b60008060408385031215611fcd57600080fd5b8235611fd8816127e1565b91506020830135611fe8816127e1565b809150509250929050565b60008060006060848603121561200857600080fd5b8335612013816127e1565b92506020840135612023816127e1565b929592945050506040919091013590565b6000806000806080858703121561204a57600080fd5b8435612055816127e1565b93506020850135612065816127e1565b925060408501359150606085013567ffffffffffffffff8082111561208957600080fd5b818701915087601f83011261209d57600080fd5b8135818111156120af576120af6127cb565b604051601f8201601f19908116603f011681019083821181831017156120d7576120d76127cb565b816040528281528a60208487010111156120f057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561212757600080fd5b8235612132816127e1565b915060208301358015158114611fe857600080fd5b6000806040838503121561215a57600080fd5b8235612165816127e1565b946020939093013593505050565b6000806020838503121561218657600080fd5b823567ffffffffffffffff8082111561219e57600080fd5b818501915085601f8301126121b257600080fd5b8135818111156121c157600080fd5b8660208260051b85010111156121d657600080fd5b60209290920196919550909350505050565b6000602082840312156121fa57600080fd5b8135611f96816127f6565b60006020828403121561221757600080fd5b8151611f96816127f6565b60006020828403121561223457600080fd5b5035919050565b60006020828403121561224d57600080fd5b5051919050565b6000815180845261226c8160208601602086016126f3565b601f01601f19169290920160200192915050565b600081516122928185602086016126f3565b9290920192915050565b600083516122ae8184602088016126f3565b8351908301906122c28183602088016126f3565b01949350505050565b600082516122dd8184602087016126f3565b9190910192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161231f81601d8501602087016126f3565b91909101601d0192915050565b681e3932b1ba103c1e9160b91b815283516000906123518160098501602089016126f3565b6411103c9e9160d91b600991840191820152845161237681600e8401602089016126f3565b68111031b630b9b99e9160b91b600e929091019182015283516123a08160178401602088016126f3565b7f222077696474683d2231303022206865696768743d22313030222f3e000000006017929091019182015260330195945050505050565b737b226e616d65223a202253657175656e6365202360601b815282516000906124078160148501602088016126f3565b7f222c20226465736372697074696f6e223a202253657175656e636573206172656014918401918201527f2072616e646f6d6c792067656e65726174656420626561742073657175656e6360348201527f65732073746f72656420616e642072656e6465726564206f6e20636861696e2e60548201527f2053657175656e636573206172652067656e657261746564207573696e67205460748201527f756e6573206173206120736565642e20496e7465727072657420796f7572207360948201527f657175656e636520776974682074686520696e737472756d656e7473206f662060b48201527f796f75722063686f6963652c206275696c6420706c617965727320666f72207960d48201527f6f75722073657175656e63652c206f722072656d69782077697468206f74686560f48201527f72732e222c2022696d616765223a2022646174613a696d6167652f7376672b78610114820152691b5b0ed8985cd94d8d0b60b21b61013482015261259561258761013e830186612280565b61227d60f01b815260020190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125d190830184612254565b9695505050505050565b602081526000611f966020830184612254565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126a4576126a4612789565b500190565b6000826126b8576126b861279f565b500490565b60008160001904831182151516156126d7576126d7612789565b500290565b6000828210156126ee576126ee612789565b500390565b60005b8381101561270e5781810151838201526020016126f6565b83811115610c255750506000910152565b600181811c9082168061273357607f821691505b6020821081141561275457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561276e5761276e612789565b5060010190565b6000826127845761278461279f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461101e57600080fd5b6001600160e01b03198116811461101e57600080fdfe3c646566733e3c7061747465726e2069643d225061747465726e2220783d22302220793d2230222077696474683d22302e30363331323522206865696768743d22302e30383435223e3c7265637420783d22302220793d2230222077696474683d2231303022206865696768743d223130302220636c6173733d22737431222f3e3c2f7061747465726e3e3c2f646566733e3c726563742066696c6c3d2275726c28235061747465726e292220783d2237342220793d22343934222077696474683d223139303022206865696768743d2231343230222f3e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c673e203c7265637420783d22302e32372220793d22302e33322220636c6173733d22737430222077696474683d223230343822206865696768743d2232303438222f3e3c2f673e3c673e3c636972636c6520636c6173733d22737432222063783d2231323034222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737433222063783d2231343434222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737434222063783d2231363834222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737435222063783d2231393234222063793d223133312e31342220723d223530222f3e3c6c696e6520636c6173733d22737436222078313d2231323034222079313d223133312e3134222078323d2231323034222079323d2238312e3134222f3e3c6c696e6520636c6173733d22737436222078313d2231343434222079313d223133312e3134222078323d22313438372e3239222079323d223130362e3134222f3e3c6c696e6520636c6173733d22737436222078313d2231363834222079313d223133312e3134222078323d22313732372e3236222079323d223135362e3139222f3e3c6c696e6520636c6173733d22737436222078313d2231393234222079313d223133312e3134222078323d22313839302e3338222079323d2239342e3133222f3e3c6c696e6520636c6173733d22737436222078313d2231323034222079313d223235332e3939222078323d2231323034222079323d223337352e3138222f3e3c7265637420783d22313135342220793d223235332e39392220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d2231343434222079313d223235332e3939222078323d2231343434222079323d223337352e3138222f3e3c7265637420783d22313339342220793d223237342e36362220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d22313638332e3239222079313d223235332e3939222078323d22313638332e3239222079323d223337352e3138222f3e3c7265637420783d22313633332e32392220793d223239302e33352220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d2231393234222079313d223235332e3939222078323d2231393234222079323d223337352e3138222f3e3c7265637420783d22313837342220793d223236302e31372220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737438222078313d223734222079313d2238312e3134222078323d22373734222079323d2238312e3134222f3e3c7265637420783d2237342220793d223131352e3732222077696474683d2237303022206865696768743d223235362e3534222f3e3c74657874207472616e73666f726d3d226d61747269782831203020302031203132332e34373438203139312e30383632292220636c6173733d2273743920737431302073743131223e53657175656e6365203c7376672076657273696f6e3d22312e312220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220783d223070782220793d22307078222076696577426f783d223020302032303438203230343822207374796c653d22656e61626c652d6261636b67726f756e643a6e657720302030203230343820323034383b2220786d6c3a73706163653d227072657365727665223e3c7374796c6520747970653d22746578742f637373223e202e7374307b66696c6c3a233233314632303b7d202e7374317b66696c6c3a233431343034323b7d202e7374327b66696c6c3a233345393243433b7d202e7374337b66696c6c3a234133443137443b7d202e7374347b66696c6c3a234536453745383b7d202e7374357b66696c6c3a234633373433433b7d202e7374367b66696c6c3a6e6f6e653b7374726f6b653a233431343034323b7374726f6b652d77696474683a353b7374726f6b652d6d697465726c696d69743a31303b7d202e7374377b66696c6c3a234546343835373b7d202e7374387b66696c6c3a6e6f6e653b7374726f6b653a234536453745383b7374726f6b652d77696474683a323b7374726f6b652d6d697465726c696d69743a31303b7d202e7374397b66696c6c3a234631463246323b7d202e737431307b666f6e742d66616d696c793a6d6f6e6f73706163653b7d202e737431317b666f6e742d73697a653a353070783b7d202e737431327b66696c6c3a6e6f6e653b7374726f6b653a234646464646463b7374726f6b652d77696474683a343b7d202e737431337b66696c6c3a234646464646463b7d3c2f7374796c653e3c2f746578743e3c673e3c7061746820636c6173733d22737431322220643d224d3638382e31312c3136322e33346832332e343363382e36332c302c31352e36332c362e352c31352e36332c31342e35316c302c3063302c382e30312d372c31342e352d31352e36332c31342e35682d34362e38382c632d382e36332c302d31352e36332d362e352d31352e36332d31342e356c302c3063302d382e30312c372d31342e35312c31352e36332d31342e353168332e39222f3e3c7061746820636c6173733d22737431332220643d224d3637372e31312c3136322e33346c31312d372e3636563137304c3637372e31312c3136322e33347a222f3e3c2f673e3c2f673e3c673ea2646970667358221220574e54666f6e6a62bc2650a8252a8b0042c405c8ec06a82129e5e07718f4ea0c64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638da5cb5b116100ad578063c87b56dd11610071578063c87b56dd14610275578063cf6215be14610288578063e985e9c51461029b578063f2fde38b146102ae578063f8e93ef9146102c157600080fd5b80638da5cb5b1461022357806395d89b4114610234578063a22cb4651461023c578063b88d4fde1461024f578063c0c12c731461026257600080fd5b806342842e0e116100f457806342842e0e146101c15780634bd8ef74146101d45780636352211e146101e757806370a08231146101fa578063715018a61461021b57600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806323b872dd146101ae575b600080fd5b61014461013f3660046121e8565b6102d4565b60405190151581526020015b60405180910390f35b610161610326565b60405161015091906125db565b61018161017c366004612222565b6103b8565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004612147565b610452565b005b6101ac6101bc366004611ff3565b610568565b6101ac6101cf366004611ff3565b610599565b6101616101e2366004612222565b6105b4565b6101816101f5366004612222565b6109bb565b61020d610208366004611f79565b610a32565b604051908152602001610150565b6101ac610ab9565b6006546001600160a01b0316610181565b610161610b1f565b6101ac61024a366004612114565b610b2e565b6101ac61025d366004612034565b610bf3565b610161610270366004612222565b610c2b565b610161610283366004612222565b610eb2565b600754610181906001600160a01b031681565b6101446102a9366004611fba565b610f28565b6101ac6102bc366004611f79565b610f56565b6101ac6102cf366004612173565b611021565b60006001600160e01b031982166380ac58cd60e01b148061030557506001600160e01b03198216635b5e139f60e01b145b8061032057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546103359061271f565b80601f01602080910402602001604051908101604052809291908181526020018280546103619061271f565b80156103ae5780601f10610383576101008083540402835291602001916103ae565b820191906000526020600020905b81548152906001019060200180831161039157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061045d826109bb565b9050806001600160a01b0316836001600160a01b031614156104cb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161042d565b336001600160a01b03821614806104e757506104e78133610f28565b6105595760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161042d565b6105638383611284565b505050565b61057233826112f2565b61058e5760405162461bcd60e51b815260040161042d90612640565b6105638383836113c9565b61056383838360405180602001604052806000815250610bf3565b60606000604051806102a001604052806102618152602001612e0a6102619139905060006105e36004806126bd565b6105ee906003612691565b6105fa600360046126bd565b61060491906126bd565b61060f90601e612691565b67ffffffffffffffff811115610627576106276127cb565b6040519080825280601f01601f191660200182016040528015610651576020820181803683370190505b509050610679826040518061052001604052806104e581526020016129256104e59139611569565b915061068d8261068886611595565b611569565b91506106b482604051806101400160405280610106815260200161306b6101069139611569565b91506106d8826040518060c001604052806092815260200161280d60929139611569565b91506106fc8260405180608001604052806046815260200161289f60469139611569565b604080516020810190915260008082529193506101ee91604a9190805b601e8110156107af576040518060400160405280601e81526020017f646174613a746578742f706c61696e3b636861727365743d7574662d382c00008152508181518110610769576107696127b5565b602001015160f81c60f81b868281518110610786576107866127b5565b60200101906001600160f81b031916908160001a905350806107a78161275a565b915050610719565b60005b6107be600360046126bd565b811015610981576101ee6107d38260786126bd565b6107dd9190612691565b955060006107eb828c611693565b905060005b6107fb6004806126bd565b8110156108bb57818181518110610814576108146127b5565b602001015160f81c60f81b898581518110610831576108316127b5565b60200101906001600160f81b031916908160001a90535081818151811061085a5761085a6127b5565b01602001516001600160f81b0319169450601760f91b85146108a957604a6108838260786126bd565b61088d9190612691565b965061089a85888a611864565b95506108a68a87611569565b99505b806108b38161275a565b9150506107f0565b50602560f81b8884815181106108d3576108d36127b5565b60200101906001600160f81b031916908160001a905350826108f48161275a565b935050603060f81b88848151811061090e5761090e6127b5565b60200101906001600160f81b031916908160001a9053508261092f8161275a565b935050604160f81b888481518110610949576109496127b5565b60200101906001600160f81b031916908160001a9053508261096a8161275a565b9350505080806109799061275a565b9150506107b2565b506109ae876040518060400160405280600a8152602001691e17b39f1e17b9bb339f60b11b815250611569565b9998505050505050505050565b6000818152600260205260408120546001600160a01b0316806103205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161042d565b60006001600160a01b038216610a9d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161042d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042d565b610b1d60006118ae565b565b6060600180546103359061271f565b6001600160a01b038216331415610b875760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161042d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bfd33836112f2565b610c195760405162461bcd60e51b815260040161042d90612640565b610c2584848484611900565b50505050565b60606000610c3a6004806126bd565b610c45906003612691565b610c51600360046126bd565b610c5b91906126bd565b610c6690601e612691565b67ffffffffffffffff811115610c7e57610c7e6127cb565b6040519080825280601f01601f191660200182016040528015610ca8576020820181803683370190505b50905060005b601e811015610d44576040518060400160405280601e81526020017f646174613a746578742f706c61696e3b636861727365743d7574662d382c00008152508181518110610cfe57610cfe6127b5565b602001015160f81c60f81b828281518110610d1b57610d1b6127b5565b60200101906001600160f81b031916908160001a90535080610d3c8161275a565b915050610cae565b60005b610d53600360046126bd565b811015610ea9576000610d668287611693565b905060005b610d766004806126bd565b811015610de357818181518110610d8f57610d8f6127b5565b602001015160f81c60f81b858581518110610dac57610dac6127b5565b60200101906001600160f81b031916908160001a90535083610dcd8161275a565b9450508080610ddb9061275a565b915050610d6b565b50602560f81b848481518110610dfb57610dfb6127b5565b60200101906001600160f81b031916908160001a90535082610e1c8161275a565b935050603060f81b848481518110610e3657610e366127b5565b60200101906001600160f81b031916908160001a90535082610e578161275a565b935050604160f81b848481518110610e7157610e716127b5565b60200101906001600160f81b031916908160001a90535082610e928161275a565b935050508080610ea19061275a565b915050610d47565b50909392505050565b60606000610ebf836105b4565b90506000610efd610ecf85611595565b610ed884611933565b604051602001610ee99291906123d7565b604051602081830303815290604052611933565b905080604051602001610f1091906122e7565b60405160208183030381529060405292505050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b03163314610fb05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042d565b6001600160a01b0381166110155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161042d565b61101e816118ae565b50565b60005b8181101561123e576000838383818110611040576110406127b5565b9050602002013590506000811180156110de5750600760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a257600080fd5b505afa1580156110b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110da919061223b565b8111155b61113f5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e6e6f74206d696e74206f757473696465206f6620746865204960448201526b22399037b3102a3ab732b99760a11b606482015260840161042d565b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561118357600080fd5b505afa158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb9190611f9d565b6001600160a01b03161461122b5760405162461bcd60e51b815260206004820152603160248201527f596f75206d757374206f776e2074686520636f72726573706f6e64696e6720546044820152703ab732903a379036b4b73a103a3434b99760791b606482015260840161042d565b50806112368161275a565b915050611024565b5060005b8181101561056357600083838381811061125e5761125e6127b5565b9050602002013590506112713382611a99565b508061127c8161275a565b915050611242565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112b9826109bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661136b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161042d565b6000611376836109bb565b9050806001600160a01b0316846001600160a01b031614806113b15750836001600160a01b03166113a6846103b8565b6001600160a01b0316145b806113c157506113c18185610f28565b949350505050565b826001600160a01b03166113dc826109bb565b6001600160a01b0316146114445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161042d565b6001600160a01b0382166114a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161042d565b6114b1600082611284565b6001600160a01b03831660009081526003602052604081208054600192906114da9084906126dc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611508908490612691565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6060828260405160200161157e92919061229c565b604051602081830303815290604052905092915050565b6060816115b95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115e357806115cd8161275a565b91506115dc9050600a836126a9565b91506115bd565b60008167ffffffffffffffff8111156115fe576115fe6127cb565b6040519080825280601f01601f191660200182016040528015611628576020820181803683370190505b5090505b84156113c15761163d6001836126dc565b915061164a600a86612775565b611655906030612691565b60f81b81838151811061166a5761166a6127b5565b60200101906001600160f81b031916908160001a90535061168c600a866126a9565b945061162c565b606060006116a26004806126bd565b67ffffffffffffffff8111156116ba576116ba6127cb565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b509050601760f91b6000808061172a6116fc89611595565b61170589611595565b60405160200161171692919061229c565b604051602081830303815290604052611ab7565b90506004611739601583612775565b11156117555761174881611ae8565b9550610320945050505050565b600060026117646004806126bd565b61176e91906126a9565b6117789083612775565b611783906001612691565b90506000611792600484612775565b61179d906001612691565b90508260005b6117ae6004806126bd565b81101561185457601760f91b9750831561180a57836117cd8482612691565b6117d79083612775565b101561180a576117e78385612691565b6117f19082612775565b96506117fd8288611c84565b1561180a57602d60f81b97505b8789878151811061181d5761181d6127b5565b60200101906001600160f81b031916908160001a9053508561183e8161275a565b965050808061184c9061275a565b9150506117a3565b50969a9950505050505050505050565b6060600061187184611595565b61187a84611595565b61188387611ca1565b6040516020016118959392919061232c565b60408051808303601f1901815291905295945050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61190b8484846113c9565b61191784848484611cf7565b610c255760405162461bcd60e51b815260040161042d906125ee565b805160609080611953575050604080516020810190915260008152919050565b60006003611962836002612691565b61196c91906126a9565b6119779060046126bd565b90506000611986826020612691565b67ffffffffffffffff81111561199e5761199e6127cb565b6040519080825280601f01601f1916602001820160405280156119c8576020820181803683370190505b50905060006040518060600160405280604081526020016128e5604091399050600181016020830160005b86811015611a54576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016119f3565b506003860660018114611a6e5760028114611a7f57611a8b565b613d3d60f01b600119830152611a8b565b603d60f81b6000198301525b505050918152949350505050565b611ab3828260405180602001604052806000815250611e04565b5050565b600081604051602001611aca91906122cb565b60408051601f19818403018152919052805160209091012092915050565b60606000611af76004806126bd565b67ffffffffffffffff811115611b0f57611b0f6127cb565b6040519080825280601f01601f191660200182016040528015611b39576020820181803683370190505b509050601760f91b6000808080611b51600489612775565b611b5c9060026126bd565b9050611b696004806126bd565b611b739089612775565b611b7e906001612691565b92506002831015611b8e57600292505b611b996002846126a9565b611ba39089612775565b611bae906001612691565b9150611bbb6004836126a9565b611bc69060026126bd565b611bd1906001612691565b915060001960005b611be46004806126bd565b811015611c7657601760f91b9650600085611bff86846126bd565b611c0991906126a9565b9050838210158015611c1b5750828114155b15611c2b57602d60f81b97509150815b87898881518110611c3e57611c3e6127b5565b60200101906001600160f81b031916908160001a90535086611c5f8161275a565b975050508080611c6e9061275a565b915050611bd9565b509598975050505050505050565b6000611c91826040612691565b6001901b83161515905092915050565b60606001600160f81b03198216601760f91b1415611cd857505060408051808201909152600381526273743160e81b602082015290565b50506040805180820190915260038152621cdd0d60ea1b602082015290565b60006001600160a01b0384163b15611df957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d3b90339089908890889060040161259e565b602060405180830381600087803b158015611d5557600080fd5b505af1925050508015611d85575060408051601f3d908101601f19168201909252611d8291810190612205565b60015b611ddf573d808015611db3576040519150601f19603f3d011682016040523d82523d6000602084013e611db8565b606091505b508051611dd75760405162461bcd60e51b815260040161042d906125ee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113c1565b506001949350505050565b611e0e8383611e37565b611e1b6000848484611cf7565b6105635760405162461bcd60e51b815260040161042d906125ee565b6001600160a01b038216611e8d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161042d565b6000818152600260205260409020546001600160a01b031615611ef25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161042d565b6001600160a01b0382166000908152600360205260408120805460019290611f1b908490612691565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060208284031215611f8b57600080fd5b8135611f96816127e1565b9392505050565b600060208284031215611faf57600080fd5b8151611f96816127e1565b60008060408385031215611fcd57600080fd5b8235611fd8816127e1565b91506020830135611fe8816127e1565b809150509250929050565b60008060006060848603121561200857600080fd5b8335612013816127e1565b92506020840135612023816127e1565b929592945050506040919091013590565b6000806000806080858703121561204a57600080fd5b8435612055816127e1565b93506020850135612065816127e1565b925060408501359150606085013567ffffffffffffffff8082111561208957600080fd5b818701915087601f83011261209d57600080fd5b8135818111156120af576120af6127cb565b604051601f8201601f19908116603f011681019083821181831017156120d7576120d76127cb565b816040528281528a60208487010111156120f057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561212757600080fd5b8235612132816127e1565b915060208301358015158114611fe857600080fd5b6000806040838503121561215a57600080fd5b8235612165816127e1565b946020939093013593505050565b6000806020838503121561218657600080fd5b823567ffffffffffffffff8082111561219e57600080fd5b818501915085601f8301126121b257600080fd5b8135818111156121c157600080fd5b8660208260051b85010111156121d657600080fd5b60209290920196919550909350505050565b6000602082840312156121fa57600080fd5b8135611f96816127f6565b60006020828403121561221757600080fd5b8151611f96816127f6565b60006020828403121561223457600080fd5b5035919050565b60006020828403121561224d57600080fd5b5051919050565b6000815180845261226c8160208601602086016126f3565b601f01601f19169290920160200192915050565b600081516122928185602086016126f3565b9290920192915050565b600083516122ae8184602088016126f3565b8351908301906122c28183602088016126f3565b01949350505050565b600082516122dd8184602087016126f3565b9190910192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161231f81601d8501602087016126f3565b91909101601d0192915050565b681e3932b1ba103c1e9160b91b815283516000906123518160098501602089016126f3565b6411103c9e9160d91b600991840191820152845161237681600e8401602089016126f3565b68111031b630b9b99e9160b91b600e929091019182015283516123a08160178401602088016126f3565b7f222077696474683d2231303022206865696768743d22313030222f3e000000006017929091019182015260330195945050505050565b737b226e616d65223a202253657175656e6365202360601b815282516000906124078160148501602088016126f3565b7f222c20226465736372697074696f6e223a202253657175656e636573206172656014918401918201527f2072616e646f6d6c792067656e65726174656420626561742073657175656e6360348201527f65732073746f72656420616e642072656e6465726564206f6e20636861696e2e60548201527f2053657175656e636573206172652067656e657261746564207573696e67205460748201527f756e6573206173206120736565642e20496e7465727072657420796f7572207360948201527f657175656e636520776974682074686520696e737472756d656e7473206f662060b48201527f796f75722063686f6963652c206275696c6420706c617965727320666f72207960d48201527f6f75722073657175656e63652c206f722072656d69782077697468206f74686560f48201527f72732e222c2022696d616765223a2022646174613a696d6167652f7376672b78610114820152691b5b0ed8985cd94d8d0b60b21b61013482015261259561258761013e830186612280565b61227d60f01b815260020190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125d190830184612254565b9695505050505050565b602081526000611f966020830184612254565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126a4576126a4612789565b500190565b6000826126b8576126b861279f565b500490565b60008160001904831182151516156126d7576126d7612789565b500290565b6000828210156126ee576126ee612789565b500390565b60005b8381101561270e5781810151838201526020016126f6565b83811115610c255750506000910152565b600181811c9082168061273357607f821691505b6020821081141561275457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561276e5761276e612789565b5060010190565b6000826127845761278461279f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461101e57600080fd5b6001600160e01b03198116811461101e57600080fdfe3c646566733e3c7061747465726e2069643d225061747465726e2220783d22302220793d2230222077696474683d22302e30363331323522206865696768743d22302e30383435223e3c7265637420783d22302220793d2230222077696474683d2231303022206865696768743d223130302220636c6173733d22737431222f3e3c2f7061747465726e3e3c2f646566733e3c726563742066696c6c3d2275726c28235061747465726e292220783d2237342220793d22343934222077696474683d223139303022206865696768743d2231343230222f3e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c673e203c7265637420783d22302e32372220793d22302e33322220636c6173733d22737430222077696474683d223230343822206865696768743d2232303438222f3e3c2f673e3c673e3c636972636c6520636c6173733d22737432222063783d2231323034222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737433222063783d2231343434222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737434222063783d2231363834222063793d223133312e31342220723d223530222f3e3c636972636c6520636c6173733d22737435222063783d2231393234222063793d223133312e31342220723d223530222f3e3c6c696e6520636c6173733d22737436222078313d2231323034222079313d223133312e3134222078323d2231323034222079323d2238312e3134222f3e3c6c696e6520636c6173733d22737436222078313d2231343434222079313d223133312e3134222078323d22313438372e3239222079323d223130362e3134222f3e3c6c696e6520636c6173733d22737436222078313d2231363834222079313d223133312e3134222078323d22313732372e3236222079323d223135362e3139222f3e3c6c696e6520636c6173733d22737436222078313d2231393234222079313d223133312e3134222078323d22313839302e3338222079323d2239342e3133222f3e3c6c696e6520636c6173733d22737436222078313d2231323034222079313d223235332e3939222078323d2231323034222079323d223337352e3138222f3e3c7265637420783d22313135342220793d223235332e39392220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d2231343434222079313d223235332e3939222078323d2231343434222079323d223337352e3138222f3e3c7265637420783d22313339342220793d223237342e36362220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d22313638332e3239222079313d223235332e3939222078323d22313638332e3239222079323d223337352e3138222f3e3c7265637420783d22313633332e32392220793d223239302e33352220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737436222078313d2231393234222079313d223235332e3939222078323d2231393234222079323d223337352e3138222f3e3c7265637420783d22313837342220793d223236302e31372220636c6173733d22737437222077696474683d2231303022206865696768743d2234312e3335222f3e3c6c696e6520636c6173733d22737438222078313d223734222079313d2238312e3134222078323d22373734222079323d2238312e3134222f3e3c7265637420783d2237342220793d223131352e3732222077696474683d2237303022206865696768743d223235362e3534222f3e3c74657874207472616e73666f726d3d226d61747269782831203020302031203132332e34373438203139312e30383632292220636c6173733d2273743920737431302073743131223e53657175656e6365203c7376672076657273696f6e3d22312e312220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220783d223070782220793d22307078222076696577426f783d223020302032303438203230343822207374796c653d22656e61626c652d6261636b67726f756e643a6e657720302030203230343820323034383b2220786d6c3a73706163653d227072657365727665223e3c7374796c6520747970653d22746578742f637373223e202e7374307b66696c6c3a233233314632303b7d202e7374317b66696c6c3a233431343034323b7d202e7374327b66696c6c3a233345393243433b7d202e7374337b66696c6c3a234133443137443b7d202e7374347b66696c6c3a234536453745383b7d202e7374357b66696c6c3a234633373433433b7d202e7374367b66696c6c3a6e6f6e653b7374726f6b653a233431343034323b7374726f6b652d77696474683a353b7374726f6b652d6d697465726c696d69743a31303b7d202e7374377b66696c6c3a234546343835373b7d202e7374387b66696c6c3a6e6f6e653b7374726f6b653a234536453745383b7374726f6b652d77696474683a323b7374726f6b652d6d697465726c696d69743a31303b7d202e7374397b66696c6c3a234631463246323b7d202e737431307b666f6e742d66616d696c793a6d6f6e6f73706163653b7d202e737431317b666f6e742d73697a653a353070783b7d202e737431327b66696c6c3a6e6f6e653b7374726f6b653a234646464646463b7374726f6b652d77696474683a343b7d202e737431337b66696c6c3a234646464646463b7d3c2f7374796c653e3c2f746578743e3c673e3c7061746820636c6173733d22737431322220643d224d3638382e31312c3136322e33346832332e343363382e36332c302c31352e36332c362e352c31352e36332c31342e35316c302c3063302c382e30312d372c31342e352d31352e36332c31342e35682d34362e38382c632d382e36332c302d31352e36332d362e352d31352e36332d31342e356c302c3063302d382e30312c372d31342e35312c31352e36332d31342e353168332e39222f3e3c7061746820636c6173733d22737431332220643d224d3637372e31312c3136322e33346c31312d372e3636563137304c3637372e31312c3136322e33347a222f3e3c2f673e3c2f673e3c673ea2646970667358221220574e54666f6e6a62bc2650a8252a8b0042c405c8ec06a82129e5e07718f4ea0c64736f6c63430008070033

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.