ETH Price: $3,307.26 (-4.12%)

Contract

0x4d756257Df43D5B00242461A60C94C906eedFe67
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...202023572024-06-30 5:17:35149 days ago1719724655IN
0x4d756257...06eedFe67
0 ETH0.000203942.28701773
Set Approval For...193180702024-02-27 9:43:35273 days ago1709027015IN
0x4d756257...06eedFe67
0 ETH0.0008835336.45990944
Set Approval For...192787572024-02-21 21:38:47279 days ago1708551527IN
0x4d756257...06eedFe67
0 ETH0.0011380246.96177296
Set Approval For...191619272024-02-05 11:59:47295 days ago1707134387IN
0x4d756257...06eedFe67
0 ETH0.0007037515.27872027
Set Approval For...189103752024-01-01 5:00:35330 days ago1704085235IN
0x4d756257...06eedFe67
0 ETH0.0004630310.03444025
Safe Transfer Fr...187333452023-12-07 8:52:35355 days ago1701939155IN
0x4d756257...06eedFe67
0 ETH0.0042775449.4290917
Set Approval For...186548492023-11-26 9:06:47366 days ago1700989607IN
0x4d756257...06eedFe67
0 ETH0.0011054624
Safe Transfer Fr...186538022023-11-26 5:36:23366 days ago1700976983IN
0x4d756257...06eedFe67
0 ETH0.0017418320.11288032
Set Approval For...186037622023-11-19 5:26:35373 days ago1700371595IN
0x4d756257...06eedFe67
0 ETH0.000746616.20899254
Safe Transfer Fr...186037342023-11-19 5:20:47373 days ago1700371247IN
0x4d756257...06eedFe67
0 ETH0.0025714529.71438281
Set Approval For...180393112023-09-01 4:26:59452 days ago1693542419IN
0x4d756257...06eedFe67
0 ETH0.0005322911.55624607
Safe Transfer Fr...180392962023-09-01 4:23:47452 days ago1693542227IN
0x4d756257...06eedFe67
0 ETH0.0022747326.28568252
Set Approval For...180375342023-08-31 22:28:35453 days ago1693520915IN
0x4d756257...06eedFe67
0 ETH0.0008097117.5791381
Set Approval For...180344812023-08-31 12:12:59453 days ago1693483979IN
0x4d756257...06eedFe67
0 ETH0.0008114717.61737558
Set Approval For...180310382023-08-31 0:40:23454 days ago1693442423IN
0x4d756257...06eedFe67
0 ETH0.000532911.56960942
Set Approval For...174233842023-06-06 19:10:11539 days ago1686078611IN
0x4d756257...06eedFe67
0 ETH0.0026922258.44917133
Set Approval For...169520412023-04-01 4:50:47605 days ago1680324647IN
0x4d756257...06eedFe67
0 ETH0.0004401618.16391104
Set Approval For...167096082023-02-26 3:02:23639 days ago1677380543IN
0x4d756257...06eedFe67
0 ETH0.0005636223.25858368
Set Approval For...166326282023-02-15 7:22:35650 days ago1676445755IN
0x4d756257...06eedFe67
0 ETH0.0010411622.60407701
Set Approval For...165723262023-02-06 21:06:47659 days ago1675717607IN
0x4d756257...06eedFe67
0 ETH0.0015337733.29884123
Set Approval For...165049312023-01-28 11:10:47668 days ago1674904247IN
0x4d756257...06eedFe67
0 ETH0.0007103815.42280205
Safe Transfer Fr...164530672023-01-21 5:24:47675 days ago1674278687IN
0x4d756257...06eedFe67
0 ETH0.0015689718.11942168
Set Approval For...163094162023-01-01 4:06:11695 days ago1672545971IN
0x4d756257...06eedFe67
0 ETH0.0007289915.80196279
Set Approval For...163085862023-01-01 1:19:47695 days ago1672535987IN
0x4d756257...06eedFe67
0 ETH0.0008790319.05435553
Set Approval For...163083672023-01-01 0:35:47696 days ago1672533347IN
0x4d756257...06eedFe67
0 ETH0.0007416516.07641562
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
132955372021-09-25 14:35:061158 days ago1632580506
0x4d756257...06eedFe67
27.40900394 ETH
132955292021-09-25 14:33:361158 days ago1632580416
0x4d756257...06eedFe67
1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MoreOrLessVote

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

import "./MoreOrLessArt.sol";

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                          //
//  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  //
// | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. | //
// | |     _  _     | || | ____    ____ | || |     ____     | || |  _______     | || |  _________   | || |     _  _     | | //
// | |    | || |    | || ||_   \  /   _|| || |   .'    `.   | || | |_   __ \    | || | |_   ___  |  | || |    | || |    | | //
// | |    \_|\_|    | || |  |   \/   |  | || |  /  .--.  \  | || |   | |__) |   | || |   | |_  \_|  | || |    \_|\_|    | | //
// | |              | || |  | |\  /| |  | || |  | |    | |  | || |   |  __ /    | || |   |  _|  _   | || |              | | //
// | |              | || | _| |_\/_| |_ | || |  \  `--'  /  | || |  _| |  \ \_  | || |  _| |___/ |  | || |              | | //
// | |              | || ||_____||_____|| || |   `.____.'   | || | |____| |___| | || | |_________|  | || |              | | //
// | |              | || |              | || |              | || |              | || |              | || |              | | //
// | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' | //
//  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  //
//                                          .----------------.  .----------------.                                          //
//                                         | .--------------. || .--------------. |                                         //
//                                         | |     ____     | || |  _______     | |                                         //
//                                         | |   .'    `.   | || | |_   __ \    | |                                         //
//                                         | |  /  .--.  \  | || |   | |__) |   | |                                         //
//                                         | |  | |    | |  | || |   |  __ /    | |                                         //
//                                         | |  \  `--'  /  | || |  _| |  \ \_  | |                                         //
//                                         | |   `.____.'   | || | |____| |___| | |                                         //
//                                         | |              | || |              | |                                         //
//                                         | '--------------' || '--------------' |                                         //
//                                          '----------------'  '----------------'                                          //
//  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  //
// | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. | //
// | |     _  _     | || |   _____      | || |  _________   | || |    _______   | || |    _______   | || |     _  _     | | //
// | |    | || |    | || |  |_   _|     | || | |_   ___  |  | || |   /  ___  |  | || |   /  ___  |  | || |    | || |    | | //
// | |    \_|\_|    | || |    | |       | || |   | |_  \_|  | || |  |  (__ \_|  | || |  |  (__ \_|  | || |    \_|\_|    | | //
// | |              | || |    | |   _   | || |   |  _|  _   | || |   '.___`-.   | || |   '.___`-.   | || |              | | //
// | |              | || |   _| |__/ |  | || |  _| |___/ |  | || |  |`\____) |  | || |  |`\____) |  | || |              | | //
// | |              | || |  |________|  | || | |_________|  | || |  |_______.'  | || |  |_______.'  | || |              | | //
// | |              | || |              | || |              | || |              | || |              | || |              | | //
// | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' | //
//  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  //
//                                                                                                                          //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
contract MoreOrLessVote is ERC721Enumerable, Ownable {

    using Strings for uint256;
    using Strings for uint16;
    using Strings for uint8;

    uint16 public moreVotes;
    uint16 public lessVotes;

    uint16 public constant maxSupply = 1000;

    struct Vote {       
        address votedBy;
        bool isTheDecider;
        bool influencer;
        uint16[2] votesAtTime;
        bool vote;
    }

    Vote[maxSupply + 1] public voteInfos;
    MoreOrLessArt.Art[maxSupply + 1] public artInfos;

    mapping(address => bool) private hasVoted;

    constructor() ERC721("More or Less", "MORL") {
        uint256 mintNum = 0;
        _safeMint(msg.sender, mintNum);
        hasVoted[msg.sender] = true;
        voteInfos[0].votedBy = msg.sender;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(
            'data:application/json;utf8,',
            '{"name":"More Or Less #',
                (tokenId).toString(),
            '",',
            '"description":"',
                getDescription(tokenId),
            '",',
            '"image":"',
                _generateImage(tokenId),
            '", "attributes":[',
                getMetadata(tokenId),
            ']',
        '}'));
    }

    function getDescription(uint256 tokenId) private pure returns (string memory) {
        if (tokenId == 0) {
            return "This is the genesis token for the MORE or LESS experiment by @yungwknd. It is constantly changing to reflect the unknown results of this experiment and all the possible different outputs.";
        }
        if (tokenId == maxSupply) {
            return "This is the closing token for the MORE or LESS experiment by @yungwknd. While its image may change, the metadata reflects the final sealing of the vote and what the participants decided.";
        }
        return "Provenance is everything. MORE or LESS is a social experiment by @yungwknd. It attempts to answer the question 'would you rather donate $100 or give me $10?'. Each participant receives a commemorative NFT as they vote to donate MORE or LESS. Thank you for participating.";
    }

    function _getVoteString(bool voteMore) private pure returns (string memory) {
        if (voteMore) {
            return "MORE";
        } else {
            return "LESS";
        }
    }

    function getSpecialMetadata(uint256 tokenId) private view returns (string memory) {
        if (tokenId == 0) {
            return string(abi.encodePacked(
                MoreOrLessArt._wrapTrait("Token Vote", "Abstain"),
                ',',MoreOrLessArt._wrapTrait("Created By", MoreOrLessArt.addressToString(voteInfos[tokenId].votedBy)),
                ',',MoreOrLessArt._wrapTrait("Genesis Token", "True"),
                ',',MoreOrLessArt._wrapTrait("Live Image", "True")
            ));
        } else if (tokenId == maxSupply) {
            return string(abi.encodePacked(
                MoreOrLessArt._wrapTrait("Token Vote", "Abstain"),
                ',',MoreOrLessArt._wrapTrait("Sealed By", MoreOrLessArt.addressToString(voteInfos[tokenId].votedBy)),
                ',',MoreOrLessArt._wrapTrait("Final Vote Count", string(abi.encodePacked(
                    moreVotes.toString(),
                    " MORE and ",
                    lessVotes.toString(),
                    " LESS."))),
                ',',MoreOrLessArt._wrapTrait("Live Image", "True")
            ));
        }
        return "";
    }

    function getMetadata(uint256 tokenId) public view returns (string memory) {
        if (tokenId == 0 || tokenId == maxSupply) {
            return getSpecialMetadata(tokenId);
        }
        string memory metadata = string(abi.encodePacked(
            MoreOrLessArt._wrapTrait("Token Vote", _getVoteString(voteInfos[tokenId].vote)),
            ',',MoreOrLessArt._wrapTrait("Voted By", MoreOrLessArt.addressToString(voteInfos[tokenId].votedBy)),
            ',',getVotesAtTime(tokenId)
        ));

        if (artInfos[tokenId].whichShape == 0) {
            metadata = string(abi.encodePacked(
            metadata,
            ',',
            MoreOrLessArt._wrapTrait("Circles", artInfos[tokenId].numCircles.toString())
            ));
        } else if (artInfos[tokenId].whichShape == 1) {
            metadata = string(abi.encodePacked(
            metadata,
            ',',
            MoreOrLessArt._wrapTrait("Rectangles", artInfos[tokenId].numRects.toString())
            ));
        } else if (artInfos[tokenId].whichShape == 2) {
            metadata = string(abi.encodePacked(
            metadata,
            ',',
            MoreOrLessArt._wrapTrait("Triangles", artInfos[tokenId].numTriangles.toString())
            ));
        } else {
            metadata = string(abi.encodePacked(
            metadata,
            ',',MoreOrLessArt._wrapTrait("Rectangles", artInfos[tokenId].numRects.toString()),
            ',',MoreOrLessArt._wrapTrait("Triangles", artInfos[tokenId].numTriangles.toString()),
            ',',MoreOrLessArt._wrapTrait("Circles", artInfos[tokenId].numCircles.toString())
            ));
        }

        metadata = string(abi.encodePacked(
            metadata,
            ',',
            MoreOrLessArt._wrapTrait("Lines", artInfos[tokenId].numLines.toString())
        ));

        if (voteInfos[tokenId].isTheDecider) {
            metadata = string(abi.encodePacked(
            metadata,
            ',',
            MoreOrLessArt._wrapTrait("Decider", "True")
            ));
        }
        if (voteInfos[tokenId].influencer) {
            metadata = string(abi.encodePacked(
                metadata,
                ',',
                MoreOrLessArt._wrapTrait("Influencer", "True")
            ));
        }
        
        return metadata;
    }

    function getVotesAtTime(uint256 tokenId) public view returns (string memory) {
        return string(abi.encodePacked(
            MoreOrLessArt._wrapTrait("Votes at Time", string(abi.encodePacked(
                voteInfos[tokenId].votesAtTime[0].toString(),
                " MORE and ",
                voteInfos[tokenId].votesAtTime[1].toString(),
                " LESS.")))
        ));
    }

    function mintMORE() public payable {
        require(hasVoted[msg.sender] == false, 'Cannot vote twice.');
        require(msg.value > 100000000, 'Not enough ETH');
        require(totalSupply() < maxSupply, 'No more voting');
        uint256 mintNum = totalSupply();
        _safeMint(msg.sender, mintNum);
        hasVoted[msg.sender] = true;
        uint256 num = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, "MORE")));
        artInfos[mintNum].randomTimestamp = uint48(block.timestamp);
        artInfos[mintNum].randomDifficulty = uint128(block.difficulty);
        artInfos[mintNum].randomSeed = num;
        voteInfos[mintNum].votedBy = msg.sender;
        voteInfos[mintNum].votesAtTime = [moreVotes, lessVotes];
        voteInfos[mintNum].vote = true;
        _saveImageInfo(artInfos[mintNum]);
        voteInfos[mintNum].influencer = moreVotes == lessVotes;
        moreVotes++;
        voteInfos[mintNum].isTheDecider = moreVotes == 10 && lessVotes < 10;
    }

    function mintLESS() public payable {
        require(hasVoted[msg.sender] == false, 'Cannot vote twice.');
        require(msg.value > 10000000, 'Not enough ETH');
        require(totalSupply() < maxSupply, 'No more voting');
        uint256 mintNum = totalSupply();
        _safeMint(msg.sender, mintNum);
        hasVoted[msg.sender] = true;
        uint256 num = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, "LESS")));
        artInfos[mintNum].randomTimestamp = uint48(block.timestamp);
        artInfos[mintNum].randomDifficulty = uint128(block.difficulty);
        artInfos[mintNum].randomSeed = num;
        voteInfos[mintNum].votedBy = msg.sender;
        voteInfos[mintNum].votesAtTime = [moreVotes, lessVotes];
        voteInfos[mintNum].vote = false;
        _saveImageInfo(artInfos[mintNum]);
        voteInfos[mintNum].influencer = moreVotes == lessVotes;
        lessVotes++;
        voteInfos[mintNum].isTheDecider = lessVotes == 10 && moreVotes < 10;
    }

    function _generateImage(uint256 mintNum) private view returns (string memory) {
        MoreOrLessArt.Art memory artData = artInfos[mintNum];
        if (mintNum == 0 || mintNum == maxSupply) {
            artData.randomTimestamp = uint48(block.timestamp);
            artData.randomDifficulty = uint128(block.difficulty);
            artData.randomSeed = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, "MOREORLESS")));
            artData.whichShape = uint8(MoreOrLessArt.seededRandom(0, 4, artData.randomSeed, artData));
            artData.numRects = uint8(MoreOrLessArt.seededRandom(1,10, artData.randomSeed+1, artData));
            artData.numCircles = uint8(MoreOrLessArt.seededRandom(1,10, artData.randomSeed+2, artData));
            artData.numTriangles = uint8(MoreOrLessArt.seededRandom(1,10, artData.randomSeed+3, artData));
            artData.numLines = uint8(MoreOrLessArt.seededRandom(1,10,artData.randomSeed+4, artData));
        }
        string memory triangles = MoreOrLessArt._generateTriangles(artData);
        string memory circles = MoreOrLessArt._generateCircles(artData);
        string memory rectangles = MoreOrLessArt._generateRectangles(artData);
        string memory lines = MoreOrLessArt._generateLines(artData);

        if (artInfos[mintNum].whichShape == 0) {
            return string(abi.encodePacked(MoreOrLessArt._generateHeader(mintNum, artData), circles, lines, MoreOrLessArt._imageFooter));
        } else if (artInfos[mintNum].whichShape == 1) {
            return string(abi.encodePacked(MoreOrLessArt._generateHeader(mintNum, artData), rectangles, lines, MoreOrLessArt._imageFooter));
        } else if (artInfos[mintNum].whichShape == 2) {
            return string(abi.encodePacked(MoreOrLessArt._generateHeader(mintNum, artData), triangles, lines, MoreOrLessArt._imageFooter));
        }

        return string(abi.encodePacked(MoreOrLessArt._generateHeader(mintNum, artData), circles, triangles, rectangles, lines, MoreOrLessArt._imageFooter));
    }

    function _saveImageInfo(MoreOrLessArt.Art storage artInfo) private {
        uint256 seed = artInfo.randomSeed;
        artInfo.whichShape = uint8(MoreOrLessArt.seededRandom(0, 4, seed, artInfo));
        artInfo.numRects = uint8(MoreOrLessArt.seededRandom(1, 10, seed + 1, artInfo));
        artInfo.numCircles = uint8(MoreOrLessArt.seededRandom(1, 10, seed + 2, artInfo));
        artInfo.numTriangles = uint8(MoreOrLessArt.seededRandom(1, 10, seed + 3, artInfo));
        artInfo.numLines = uint8(MoreOrLessArt.seededRandom(1, 10, seed + 4, artInfo));
    }

    function withdraw(address _to, uint amount) public onlyOwner {
        payable(_to).transfer(amount);
    }

    function sealVote(address _to) public onlyOwner {
        require(totalSupply() == maxSupply, "Voting must be complete.");
        uint256 mintNum = maxSupply;
        _safeMint(_to, mintNum);
        voteInfos[maxSupply].votedBy = msg.sender;
    }

}

File 2 of 14 : 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 3 of 14 : 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 4 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 5 of 14 : MoreOrLessArt.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Strings.sol";

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                          //
//  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  //
// | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. | //
// | |     _  _     | || | ____    ____ | || |     ____     | || |  _______     | || |  _________   | || |     _  _     | | //
// | |    | || |    | || ||_   \  /   _|| || |   .'    `.   | || | |_   __ \    | || | |_   ___  |  | || |    | || |    | | //
// | |    \_|\_|    | || |  |   \/   |  | || |  /  .--.  \  | || |   | |__) |   | || |   | |_  \_|  | || |    \_|\_|    | | //
// | |              | || |  | |\  /| |  | || |  | |    | |  | || |   |  __ /    | || |   |  _|  _   | || |              | | //
// | |              | || | _| |_\/_| |_ | || |  \  `--'  /  | || |  _| |  \ \_  | || |  _| |___/ |  | || |              | | //
// | |              | || ||_____||_____|| || |   `.____.'   | || | |____| |___| | || | |_________|  | || |              | | //
// | |              | || |              | || |              | || |              | || |              | || |              | | //
// | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' | //
//  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  //
//                                          .----------------.  .----------------.                                          //
//                                         | .--------------. || .--------------. |                                         //
//                                         | |     ____     | || |  _______     | |                                         //
//                                         | |   .'    `.   | || | |_   __ \    | |                                         //
//                                         | |  /  .--.  \  | || |   | |__) |   | |                                         //
//                                         | |  | |    | |  | || |   |  __ /    | |                                         //
//                                         | |  \  `--'  /  | || |  _| |  \ \_  | |                                         //
//                                         | |   `.____.'   | || | |____| |___| | |                                         //
//                                         | |              | || |              | |                                         //
//                                         | '--------------' || '--------------' |                                         //
//                                          '----------------'  '----------------'                                          //
//  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  //
// | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. | //
// | |     _  _     | || |   _____      | || |  _________   | || |    _______   | || |    _______   | || |     _  _     | | //
// | |    | || |    | || |  |_   _|     | || | |_   ___  |  | || |   /  ___  |  | || |   /  ___  |  | || |    | || |    | | //
// | |    \_|\_|    | || |    | |       | || |   | |_  \_|  | || |  |  (__ \_|  | || |  |  (__ \_|  | || |    \_|\_|    | | //
// | |              | || |    | |   _   | || |   |  _|  _   | || |   '.___`-.   | || |   '.___`-.   | || |              | | //
// | |              | || |   _| |__/ |  | || |  _| |___/ |  | || |  |`\____) |  | || |  |`\____) |  | || |              | | //
// | |              | || |  |________|  | || | |_________|  | || |  |_______.'  | || |  |_______.'  | || |              | | //
// | |              | || |              | || |              | || |              | || |              | || |              | | //
// | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' | //
//  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  //
//                                                                                                                          //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
library MoreOrLessArt {

    using Strings for uint256;
    using Strings for uint8;
    using Strings for uint16;

    struct Art {
        uint8 numRects;
        uint8 numCircles;
        uint8 numTriangles;
        uint8 numLines;
        uint8 whichShape;
        uint48 randomTimestamp;
        uint128 randomDifficulty;
        uint256 randomSeed;
    }

    string internal constant _imageFooter = "</svg>";

    function getRectanglePalette() internal pure returns(string[5] memory) {
      return ['%23ece0d1', '%23dbc1ac', '%23967259', '%23634832', '%2338220f'];
    }

    function getCirclePalette() internal pure returns(string[5] memory) {
      return ['%230F2A38', '%231D3C43', '%232A4930', '%23132F13', '%23092409'];
    }

    function getLinePalette() internal pure returns(string[5] memory) {
      return ['%23b3e7dc', '%23a6b401', '%23eff67b', '%23d50102', '%236c0102'];
    }

    function getTrianglePalette() internal pure returns(string[5] memory) {
      return ['%237c7b89', '%23f1e4de', '%23f4d75e', '%23e9723d', '%230b7fab'];
    }

    function getDBochmanPalette() internal pure returns(string[5] memory) {
      return ['%23000000', '%233d3d3d', '%23848484', '%23bbbbbb', '%23ffffff'];
    }

    function getColorPalette(uint256 seed, Art memory artData) private pure returns(string[5] memory) {
        uint16 r = seededRandom(0, 3, seed, artData);
        if (r == 0) {
            return getCirclePalette();
        } else if (r == 1) {
            return getTrianglePalette();
        } else if (r == 2) {
            return getRectanglePalette();
        } else {
            return getDBochmanPalette();
        }
    }

    function random(uint128 difficulty, uint48 timestamp, uint seed) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(difficulty, timestamp, seed)));
    }

    function seededRandom(uint low, uint high, uint256 seed, Art memory artData) internal pure returns (uint16) {
        uint seedR = uint(uint256(keccak256(abi.encodePacked(seed, random(artData.randomDifficulty, artData.randomTimestamp, artData.randomSeed)))));
        uint randomnumber = seedR % high;
        randomnumber = randomnumber + low;
        return uint16(randomnumber);
    }

    function _wrapTrait(string memory trait, string memory value) internal pure returns(string memory) {
        return string(abi.encodePacked(
            '{"trait_type":"',
            trait,
            '","value":"',
            value,
            '"}'
        ));
    }

    function addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(uint160(_address)));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _string = new bytes(42);
        _string[0] = '0';
        _string[1] = 'x';
        for(uint i = 0; i < 20; i++) {
            _string[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _string[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }
        return string(_string);
    }

    function _generateHeader(uint256 seed, Art memory artData) internal pure returns (string memory) {
        string memory header = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' id='moreorless' width='1000' height='1000' viewBox='0 0 1000 1000' style='background-color:";
        string memory color = getColorPalette(seed, artData)[seededRandom(0, 5, seed, artData)];
        return string(abi.encodePacked(
            header,
            color,
            "'>"
        ));
    }

    function _generateCircles(Art memory artData) internal pure returns (string memory) {
        string memory circles = '';
        string[5] memory colorPalette = getColorPalette(artData.randomSeed, artData);
        for (uint i = 0; i < artData.numCircles; i++) {
            circles = string(abi.encodePacked(
                circles,
                "<ellipse cx='",
                seededRandom(0, 1000, artData.randomSeed + i, artData).toString(),
                "' cy='",
                seededRandom(0, 1000, artData.randomSeed - i, artData).toString(),
                "' rx='",
                seededRandom(0, 100, artData.randomSeed + i - 1, artData).toString(),
                "' ry='",
                seededRandom(0, 100, artData.randomSeed - i + 1, artData).toString(),
                "'",
                " fill='",
                colorPalette[seededRandom(0, 5, artData.randomSeed + i, artData)],
                "'",
            "/>"));
        }

        return circles;
    }

    function _generateSLines(uint256 seed, Art memory artData) internal pure returns (string memory) {
      return string(abi.encodePacked(
        " S",
        seededRandom(0, 1000, seed + 1, artData).toString(),
        " ",
        seededRandom(0, 1000, seed + 2, artData).toString(),
        " ",
        seededRandom(0, 1000, seed + 3, artData).toString(),
        " ",
        seededRandom(0, 1000, seed + 4, artData).toString()
      ));
    }

    function _generateLines(Art memory artData) internal pure returns (string memory) {
        string memory lines = '';
        string[5] memory colorPalette = getColorPalette(artData.randomSeed, artData);
        for (uint i = 0; i < artData.numLines; i++) {
            lines = string(abi.encodePacked(
                lines,
                "<path style='fill:none; stroke:",
                colorPalette[seededRandom(0, 5, i * i, artData)],
                "; stroke-width: 10px;' d='M",
                seededRandom(0, 400, i * i + 2, artData).toString(),
                " ",
                seededRandom(0, 400, i * i + 3, artData).toString(),
                _generateSLines(artData.randomSeed + i, artData),
                _generateSLines(artData.randomSeed - i, artData),
                " Z'",
            "/>"));
        }

        return lines;
    }

    function getTrianglePoints(uint256 seed, Art memory artData) private pure returns (string memory) {
        return string(abi.encodePacked(
            seededRandom(0, 1000, seed + 1, artData).toString(),
            ",",
            seededRandom(0, 1000, seed + 2, artData).toString(),
            " ",
            seededRandom(0, 1000, seed + 3, artData).toString(),
            ",",
            seededRandom(0, 1000, seed + 4, artData).toString(),
            " ",
            seededRandom(0, 1000, seed + 5, artData).toString(),
            ",",
            seededRandom(0, 1000, seed + 6, artData).toString(),
            "'"
      ));
    }

    function _generateTriangles(Art memory artData) internal pure returns (string memory) {
        string memory triangles = '';
        string[5] memory colorPalette = getColorPalette(artData.randomSeed, artData);
        for (uint i = 0; i < artData.numTriangles; i++) {
            triangles = string(abi.encodePacked(
                triangles,
                "<polygon points='",
                getTrianglePoints(artData.randomSeed + i, artData),
                " fill='",
                colorPalette[seededRandom(0, 5, artData.randomSeed - i, artData)],
                "'",
            "/>"));
        }

        return triangles;
    }

    function _generateRectangles(Art memory artData) internal pure returns (string memory) {
        string memory rectangles = '';
        string[5] memory colorPalette = getColorPalette(artData.randomSeed, artData);
        for (uint i = 0; i < artData.numRects; i++) {
            rectangles = string(abi.encodePacked(
                rectangles,
                "<rect width='",
                seededRandom(0, 400, artData.randomSeed + i, artData).toString(),
                "' height='",
                seededRandom(0, 400, artData.randomSeed - i, artData).toString(),
                "' x='",
                seededRandom(0, 1000, artData.randomSeed - 1 - i, artData).toString(),
                "' y='",
                seededRandom(0, 1000, artData.randomSeed + 1 + i, artData).toString(),
                "'",
                " fill='",
                colorPalette[seededRandom(0, 5, artData.randomSeed + i, artData)],
                "'",
            "/>"));
        }

        return rectangles;
    }
}

File 6 of 14 : 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 7 of 14 : 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(to).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 8 of 14 : 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);
}

File 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 13 of 14 : 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 14 of 14 : 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "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":"uint256","name":"","type":"uint256"}],"name":"artInfos","outputs":[{"internalType":"uint8","name":"numRects","type":"uint8"},{"internalType":"uint8","name":"numCircles","type":"uint8"},{"internalType":"uint8","name":"numTriangles","type":"uint8"},{"internalType":"uint8","name":"numLines","type":"uint8"},{"internalType":"uint8","name":"whichShape","type":"uint8"},{"internalType":"uint48","name":"randomTimestamp","type":"uint48"},{"internalType":"uint128","name":"randomDifficulty","type":"uint128"},{"internalType":"uint256","name":"randomSeed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getVotesAtTime","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"lessVotes","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLESS","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintMORE","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"moreVotes","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_to","type":"address"}],"name":"sealVote","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"voteInfos","outputs":[{"internalType":"address","name":"votedBy","type":"address"},{"internalType":"bool","name":"isTheDecider","type":"bool"},{"internalType":"bool","name":"influencer","type":"bool"},{"internalType":"bool","name":"vote","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600c81526b4d6f7265206f72204c65737360a01b6020808301918252835180850190945260048452631353d49360e21b9084015281519192916200006291600091620007b2565b50805162000078906001906020840190620007b2565b505050620000956200008f620000d860201b60201c565b620000dc565b6000620000a333826200012e565b5033600081815261139860205260409020805460ff19166001179055600b80546001600160a01b0319169091179055620009ba565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001508282604051806020016040528060008152506200015460201b60201c565b5050565b620001608383620001d0565b6200016f600084848462000326565b620001cb5760405162461bcd60e51b8152602060048201526032602482015260008051602062005eab83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620002285760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001c2565b6000818152600260205260409020546001600160a01b0316156200028f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001c2565b6200029d600083836200048f565b6001600160a01b0382166000908152600360205260408120805460019290620002c890849062000906565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000347846001600160a01b03166200056b60201b62001f4a1760201c565b156200048357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620003819033908990889088906004016200088b565b602060405180830381600087803b1580156200039c57600080fd5b505af1925050508015620003cf575060408051601f3d908101601f19168201909252620003cc9181019062000858565b60015b62000468573d80801562000400576040519150601f19603f3d011682016040523d82523d6000602084013e62000405565b606091505b508051620004605760405162461bcd60e51b8152602060048201526032602482015260008051602062005eab83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001c2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000487565b5060015b949350505050565b620004a7838383620001cb60201b620008db1760201c565b6001600160a01b0383166200050557620004ff81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6200052b565b816001600160a01b0316836001600160a01b0316146200052b576200052b838262000571565b6001600160a01b0382166200054557620001cb816200061e565b826001600160a01b0316826001600160a01b031614620001cb57620001cb8282620006d8565b3b151590565b600060016200058b846200072960201b62000c621760201c565b62000597919062000921565b600083815260076020526040902054909150808214620005eb576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620006329060019062000921565b600083815260096020526040812054600880549394509092849081106200065d576200065d620009a4565b906000526020600020015490508060088381548110620006815762000681620009a4565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620006bc57620006bc6200098e565b6001900381819060005260206000200160009055905550505050565b6000620006f0836200072960201b62000c621760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620007965760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401620001c2565b506001600160a01b031660009081526003602052604090205490565b828054620007c0906200093b565b90600052602060002090601f016020900481019282620007e457600085556200082f565b82601f10620007ff57805160ff19168380011785556200082f565b828001600101855582156200082f579182015b828111156200082f57825182559160200191906001019062000812565b506200083d92915062000841565b5090565b5b808211156200083d576000815560010162000842565b6000602082840312156200086b57600080fd5b81516001600160e01b0319811681146200088457600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620008da5785810182015185820160a001528101620008bc565b82811115620008ed57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600082198211156200091c576200091c62000978565b500190565b60008282101562000936576200093662000978565b500390565b600181811c908216806200095057607f821691505b602082108114156200097257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6154e180620009ca6000396000f3fe6080604052600436106101cd5760003560e01c806395d89b41116100f7578063c87b56dd11610095578063e0824c1b11610064578063e0824c1b14610563578063e985e9c5146105b5578063f2fde38b146105fe578063f3fef3a31461061e57600080fd5b8063c87b56dd146104a9578063d5abeb01146104c9578063dff6b9fb146104df578063e012a601146104e757600080fd5b8063a22cb465116100d1578063a22cb46514610441578063a574cea414610461578063b88d4fde14610481578063c58335c8146104a157600080fd5b806395d89b41146103d557806398819202146103ea578063a0babdcf1461041f57600080fd5b80632f745c591161016f57806370a082311161013e57806370a0823114610362578063715018a61461038257806383014e9c146103975780638da5cb5b146103b757600080fd5b80632f745c59146102e257806342842e0e146103025780634f6ccce7146103225780636352211e1461034257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102835780631ffe23c4146102a257806323b872dd146102c257600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461440f565b61063e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610682565b6040516101fe9190614fb1565b34801561023557600080fd5b50610249610244366004614449565b610714565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046143e5565b6107ae565b005b34801561028f57600080fd5b506008545b6040519081526020016101fe565b3480156102ae57600080fd5b5061021c6102bd366004614449565b6108e0565b3480156102ce57600080fd5b506102816102dd366004614291565b6109e9565b3480156102ee57600080fd5b506102946102fd3660046143e5565b610a70565b34801561030e57600080fd5b5061028161031d366004614291565b610b18565b34801561032e57600080fd5b5061029461033d366004614449565b610b33565b34801561034e57600080fd5b5061024961035d366004614449565b610bd7565b34801561036e57600080fd5b5061029461037d36600461423c565b610c62565b34801561038e57600080fd5b50610281610cfc565b3480156103a357600080fd5b506102816103b236600461423c565b610d62565b3480156103c357600080fd5b50600a546001600160a01b0316610249565b3480156103e157600080fd5b5061021c610e39565b3480156103f657600080fd5b50600a5461040c90600160b01b900461ffff1681565b60405161ffff90911681526020016101fe565b34801561042b57600080fd5b50600a5461040c90600160a01b900461ffff1681565b34801561044d57600080fd5b5061028161045c3660046143a9565b610e48565b34801561046d57600080fd5b5061021c61047c366004614449565b610f0d565b34801561048d57600080fd5b5061028161049c3660046142cd565b61145d565b6102816114eb565b3480156104b557600080fd5b5061021c6104c4366004614449565b61190e565b3480156104d557600080fd5b5061040c6103e881565b610281611947565b3480156104f357600080fd5b50610507610502366004614449565b611d24565b6040805160ff998a16815297891660208901529588169587019590955292861660608601529416608084015265ffffffffffff90931660a08301526001600160801b0390921660c082015260e0810191909152610100016101fe565b34801561056f57600080fd5b5061058361057e366004614449565b611d95565b604080516001600160a01b039095168552921515602085015290151591830191909152151560608201526080016101fe565b3480156105c157600080fd5b506101f26105d036600461425e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561060a57600080fd5b5061028161061936600461423c565b611dd8565b34801561062a57600080fd5b506102816106393660046143e5565b611eba565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061067c575061067c82611f50565b92915050565b60606000805461069190615052565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90615052565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107b982610bd7565b9050806001600160a01b0316836001600160a01b031614156108435760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610789565b336001600160a01b038216148061085f575061085f81336105d0565b6108d15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b6108db8383611feb565b505050565b60606109c36040518060400160405280600d81526020017f566f7465732061742054696d650000000000000000000000000000000000000081525061096e600b856103e9811061093257610932615120565b6003020160010160006002811061094b5761094b615120565b601091828204019190066002029054906101000a900461ffff1661ffff16612059565b61099e600b866103e9811061098557610985615120565b6003020160010160016002811061094b5761094b615120565b6040516020016109af9291906145f3565b60405160208183030381529060405261215f565b6040516020016109d391906144aa565b6040516020818303038152906040529050919050565b6109f33382612174565b610a655760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610789565b6108db838383612267565b6000610a7b83610c62565b8210610aef5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610789565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6108db8383836040518060200160405280600081525061145d565b6000610b3e60085490565b8210610bb25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610789565b60088281548110610bc557610bc5615120565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061067c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610789565b60006001600160a01b038216610ce05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610d565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b610d60600061243f565b565b600a546001600160a01b03163314610dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6103e8610dc860085490565b14610e155760405162461bcd60e51b815260206004820152601860248201527f566f74696e67206d75737420626520636f6d706c6574652e00000000000000006044820152606401610789565b6103e8610e228282612491565b5050610bc380546001600160a01b03191633179055565b60606001805461069190615052565b6001600160a01b038216331415610ea15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060811580610f1d57506103e882145b15610f2b5761067c826124af565b6000610f7f6040518060400160405280600a815260200169546f6b656e20566f746560b01b815250610f7a600b866103e98110610f6a57610f6a615120565b600302016002015460ff1661273a565b61215f565b610fe26040518060400160405280600881526020017f566f746564204279000000000000000000000000000000000000000000000000815250610f7a600b876103e98110610fcf57610fcf615120565b60030201546001600160a01b0316612787565b610feb856108e0565b604051602001610ffd939291906146b1565b6040516020818303038152906040529050610bc6836103e9811061102357611023615120565b6002020154640100000000900460ff166110ac578061108560405180604001604052806007815260200166436972636c657360c81b815250610f7a610bc6876103e9811061107357611073615120565b6002020154610100900460ff16612059565b604051602001611096929190614675565b6040516020818303038152906040529050611282565b610bc6836103e981106110c1576110c1615120565b6002020154640100000000900460ff166001141561112557806110856040518060400160405280600a81526020016952656374616e676c657360b01b815250610f7a610bc6876103e9811061111857611118615120565b600202015460ff16612059565b610bc6836103e9811061113a5761113a615120565b60029081029190910154640100000000900460ff1614156111a6578061108560405180604001604052806009815260200168547269616e676c657360b81b815250610f7a610bc6876103e9811061119357611193615120565b600202015462010000900460ff16612059565b806111e56040518060400160405280600a81526020016952656374616e676c657360b01b815250610f7a610bc6876103e9811061111857611118615120565b61122260405180604001604052806009815260200168547269616e676c657360b81b815250610f7a610bc6886103e9811061119357611193615120565b61125d60405180604001604052806007815260200166436972636c657360c81b815250610f7a610bc6896103e9811061107357611073615120565b604051602001611270949392919061470b565b60405160208183030381529060405290505b806112e86040518060400160405280600581526020017f4c696e6573000000000000000000000000000000000000000000000000000000815250610f7a610bc6876103e981106112d4576112d4615120565b60020201546301000000900460ff16612059565b6040516020016112f9929190614675565b6040516020818303038152906040529050600b836103e9811061131e5761131e615120565b6003020154600160a01b900460ff16156113b1578061138e6040518060400160405280600781526020017f4465636964657200000000000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b60405160200161139f929190614675565b60405160208183030381529060405290505b600b836103e981106113c5576113c5615120565b6003020154600160a81b900460ff161561067c57806114356040518060400160405280600a81526020017f496e666c75656e63657200000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b604051602001611446929190614675565b604051602081830303815290604052905092915050565b6114673383612174565b6114d95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610789565b6114e5848484846129cb565b50505050565b336000908152611398602052604090205460ff161561154c5760405162461bcd60e51b815260206004820152601260248201527f43616e6e6f7420766f74652074776963652e00000000000000000000000000006044820152606401610789565b62989680341161159e5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610789565b6103e86115aa60085490565b106115f75760405162461bcd60e51b815260206004820152600e60248201527f4e6f206d6f726520766f74696e670000000000000000000000000000000000006044820152606401610789565b600061160260085490565b905061160e3382612491565b33600090815261139860209081526040808320805460ff19166001179055516116519142914491019182526020820152634c45535360e01b604082015260440190565b6040516020818303038152906040528051906020012060001c905042610bc6836103e9811061168257611682615120565b60020201805465ffffffffffff9290921665010000000000026affffffffffff00000000001990921691909117905544610bc6836103e981106116c7576116c7615120565b6002020180546001600160801b0392909216600160581b027fffffffffff00000000000000000000000000000000ffffffffffffffffffffff90921691909117905580610bc6836103e9811061171f5761171f615120565b600202016001018190555033600b836103e9811061173f5761173f615120565b6003020180546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600a54600160a01b810461ffff9081168352600160b01b909104166020820152600b836103e9811061179f5761179f615120565b600302016001019060026117b4929190614153565b506000600b836103e981106117cb576117cb615120565b6003020160020160006101000a81548160ff02191690831515021790555061180a610bc6836103e9811061180157611801615120565b60020201612a49565b600a54600160a01b810461ffff908116600160b01b9092041614600b836103e9811061183857611838615120565b600302018054911515600160a81b0260ff60a81b19909216919091179055600a805461ffff600160b01b909104169060166118728361508d565b91906101000a81548161ffff021916908361ffff16021790555050600a60169054906101000a900461ffff1661ffff16600a1480156118bd5750600a8054600160a01b900461ffff16105b600b836103e981106118d1576118d1615120565b600302018054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790555050565b606061191982612059565b61192283612c1f565b61192b84612c90565b61193485610f0d565b6040516020016109d39493929190614de1565b336000908152611398602052604090205460ff16156119a85760405162461bcd60e51b815260206004820152601260248201527f43616e6e6f7420766f74652074776963652e00000000000000000000000000006044820152606401610789565b6305f5e10034116119fb5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610789565b6103e8611a0760085490565b10611a545760405162461bcd60e51b815260206004820152600e60248201527f4e6f206d6f726520766f74696e670000000000000000000000000000000000006044820152606401610789565b6000611a5f60085490565b9050611a6b3382612491565b33600090815261139860209081526040808320805460ff1916600117905551611aae9142914491019182526020820152634d4f524560e01b604082015260440190565b6040516020818303038152906040528051906020012060001c905042610bc6836103e98110611adf57611adf615120565b60020201805465ffffffffffff9290921665010000000000026affffffffffff00000000001990921691909117905544610bc6836103e98110611b2457611b24615120565b6002020180546001600160801b0392909216600160581b027fffffffffff00000000000000000000000000000000ffffffffffffffffffffff90921691909117905580610bc6836103e98110611b7c57611b7c615120565b600202016001018190555033600b836103e98110611b9c57611b9c615120565b6003020180546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600a54600160a01b810461ffff9081168352600160b01b909104166020820152600b836103e98110611bfc57611bfc615120565b60030201600101906002611c11929190614153565b506001600b836103e98110611c2857611c28615120565b6003020160020160006101000a81548160ff021916908315150217905550611c5e610bc6836103e9811061180157611801615120565b600a54600160a01b810461ffff908116600160b01b9092041614600b836103e98110611c8c57611c8c615120565b600302018054911515600160a81b0260ff60a81b19909216919091179055600a805461ffff600160a01b90910416906014611cc68361508d565b91906101000a81548161ffff021916908361ffff16021790555050600a60149054906101000a900461ffff1661ffff16600a1480156118bd5750600a8054600160b01b900461ffff1610600b836103e981106118d1576118d1615120565b610bc6816103e98110611d3657600080fd5b60020201805460019091015460ff80831693506101008304811692620100008104821692630100000082048316926401000000008304169165010000000000810465ffffffffffff1691600160581b9091046001600160801b03169088565b600b816103e98110611da657600080fd5b6003020180546002909101546001600160a01b038216925060ff600160a01b8304811692600160a81b90048116911684565b600a546001600160a01b03163314611e325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6001600160a01b038116611eae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610789565b611eb78161243f565b50565b600a546001600160a01b03163314611f145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108db573d6000803e3d6000fd5b3b151590565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611fb357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061067c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461067c565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061202082610bd7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60608161207d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120a75780612091816150af565b91506120a09050600a83614fdc565b9150612081565b60008167ffffffffffffffff8111156120c2576120c2615136565b6040519080825280601f01601f1916602001820160405280156120ec576020820181803683370190505b5090505b84156121575761210160018361500f565b915061210e600a866150ca565b612119906030614fc4565b60f81b81838151811061212e5761212e615120565b60200101906001600160f81b031916908160001a905350612150600a86614fdc565b94506120f0565b949350505050565b60608282604051602001611446929190614d36565b6000818152600260205260408120546001600160a01b03166121ed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b60006121f883610bd7565b9050806001600160a01b0316846001600160a01b031614806122335750836001600160a01b031661222884610714565b6001600160a01b0316145b8061215757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612157565b826001600160a01b031661227a82610bd7565b6001600160a01b0316146122f65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610789565b6001600160a01b0382166123715760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610789565b61237c838383613032565b612387600082611feb565b6001600160a01b03831660009081526003602052604081208054600192906123b090849061500f565b90915550506001600160a01b03821660009081526003602052604081208054600192906123de908490614fc4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6124ab8282604051806020016040528060008152506130ea565b5050565b60608161261a576125016040518060400160405280600a815260200169546f6b656e20566f746560b01b8152506040518060400160405280600781526020016620b139ba30b4b760c91b81525061215f565b6125516040518060400160405280600a81526020017f4372656174656420427900000000000000000000000000000000000000000000815250610f7a600b866103e98110610fcf57610fcf615120565b6125ac6040518060400160405280600d81526020017f47656e6573697320546f6b656e00000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b6126076040518060400160405280600a81526020017f4c69766520496d61676500000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b6040516020016109d3949392919061470b565b6103e88214156127265761266f6040518060400160405280600a815260200169546f6b656e20566f746560b01b8152506040518060400160405280600781526020016620b139ba30b4b760c91b81525061215f565b6126bf6040518060400160405280600981526020017f5365616c65642042790000000000000000000000000000000000000000000000815250610f7a600b866103e98110610fcf57610fcf615120565b60408051808201909152601081527f46696e616c20566f746520436f756e74000000000000000000000000000000006020820152600a546125ac919061270f90600160a01b900461ffff16612059565b600a5461099e90600160b01b900461ffff16612059565b505060408051602081019091526000815290565b606081156127625750506040805180820190915260048152634d4f524560e01b602082015290565b50506040805180820190915260048152634c45535360e01b602082015290565b919050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a80825260608281019094526001600160a01b0385169291600091602082018180368337019050509050600360fc1b816000815181106127ff576127ff615120565b60200101906001600160f81b031916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061284a5761284a615120565b60200101906001600160f81b031916908160001a90535060005b60148110156129c2578260048561287c84600c614fc4565b6020811061288c5761288c615120565b1a60f81b6001600160f81b031916901c60f81c60ff16815181106128b2576128b2615120565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016826128e5836002614ff0565b6128f0906002614fc4565b8151811061290057612900615120565b60200101906001600160f81b031916908160001a905350828461292483600c614fc4565b6020811061293457612934615120565b825191901a600f1690811061294b5761294b615120565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168261297e836002614ff0565b612989906003614fc4565b8151811061299957612999615120565b60200101906001600160f81b031916908160001a905350806129ba816150af565b915050612864565b50949350505050565b6129d6848484612267565b6129e284848484613168565b6114e55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b6001810154604080516101008082018352845460ff8082168452918104821660208401526201000081048216938301939093526301000000830481166060830152640100000000830416608082015265010000000000820465ffffffffffff1660a0820152600160581b9091046001600160801b031660c082015260e08101829052612adc9060009060049084906132c0565b825460ff919091166401000000000264ff0000000019909116178255612b8e6001600a612b098483614fc4565b604080516101008082018352885460ff8082168452918104821660208401526201000081048216938301939093526301000000830481166060830152640100000000830416608082015265010000000000820465ffffffffffff1660a0820152600160581b9091046001600160801b031660c0820152600187015460e08201526132c0565b825460ff191660ff91909116178255612baf6001600a612b09846002614fc4565b825460ff919091166101000261ff0019909116178255612bd76001600a612b09846003614fc4565b825460ff91909116620100000262ff000019909116178255612c016001600a612b09846004614fc4565b825460ff9190911663010000000263ff000000199091161790915550565b606081612c45576040518060e0016040528060bb815260200161527160bb913992915050565b6103e8821415612c6e576040518060e0016040528060ba81526020016153f260ba913992915050565b60405180610140016040528061010e815260200161516361010e913992915050565b60606000610bc6836103e98110612ca957612ca9615120565b60408051610100808201835260029390930293909301805460ff80821686529381048416602086015262010000810484169285019290925263010000008204831660608501526401000000008204909216608084015265010000000000810465ffffffffffff1660a0840152600160581b90046001600160801b031660c08301526001015460e08201529050821580612d4357506103e883145b15612e61574265ffffffffffff811660a0830152446001600160801b03811660c08401526040805160208101939093528201527f4d4f52454f524c455353000000000000000000000000000000000000000000006060820152606a0160408051601f19818403018152919052805160209091012060e08201819052612dce90600090600490846132c0565b60ff16608082015260e0810151612df590600190600a90612def9083614fc4565b846132c0565b60ff16815260e0810151612e1490600190600a90612def906002614fc4565b60ff16602082015260e0810151612e3690600190600a90612def906003614fc4565b60ff16604082015260e0810151612e5890600190600a90612def906004614fc4565b60ff1660608201525b6000612e6c826133ad565b90506000612e7983613477565b90506000612e86846135be565b90506000612e93856136da565b9050610bc6876103e98110612eaa57612eaa615120565b6002020154640100000000900460ff16612f1757612ec887866137eb565b8382604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b60405160208183030381529060405295505050505050919050565b610bc6876103e98110612f2c57612f2c615120565b6002020154640100000000900460ff1660011415612f8257612f4e87866137eb565b8282604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b610bc6876103e98110612f9757612f97615120565b60029081029190910154640100000000900460ff161415612ff057612fbc87866137eb565b8482604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b612ffa87866137eb565b83858484604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc9695949392919061451d565b6001600160a01b03831661308d5761308881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6130b0565b816001600160a01b0316836001600160a01b0316146130b0576130b0838261386c565b6001600160a01b0382166130c7576108db81613909565b826001600160a01b0316826001600160a01b0316146108db576108db82826139b8565b6130f483836139fc565b6131016000848484613168565b6108db5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b60006001600160a01b0384163b156132b557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131ac903390899088908890600401614f75565b602060405180830381600087803b1580156131c657600080fd5b505af19250505080156131f6575060408051601f3d908101601f191682019092526131f39181019061442c565b60015b61329b573d808015613224576040519150601f19603f3d011682016040523d82523d6000602084013e613229565b606091505b5080516132935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612157565b506001949350505050565b6000808361335e8460c001518560a001518660e001516040517fffffffffffffffffffffffffffffffff00000000000000000000000000000000608085901b1660208201527fffffffffffff000000000000000000000000000000000000000000000000000060d084901b1660308201526036810182905260009060560160408051601f198184030181529190528051602090910120949350505050565b60408051602081019390935282015260600160408051601f1981840301815291905280516020909101209050600061339686836150ca565b90506133a28782614fc4565b979650505050505050565b6060600060405180602001604052806000815250905060006133d38460e0015185613b4a565b905060005b846040015160ff1681101561346e5782613401828760e001516133fb9190614fc4565b87613baf565b8361341f60006005868b60e00151613419919061500f565b8b6132c0565b61ffff166005811061343357613433615120565b602002015160405160200161344a93929190614ad3565b60405160208183030381529060405292508080613466906150af565b9150506133d8565b50909392505050565b60606000604051806020016040528060008152509050600061349d8460e0015185613b4a565b905060005b846020015160ff1681101561346e57826134dc6134d360006103e8858a60e001516134cd9190614fc4565b8a6132c0565b61ffff16612059565b6134f76134d360006103e8868b60e00151613419919061500f565b6135236134d3600060646001888d60e001516135139190614fc4565b61351d919061500f565b8c6132c0565b61354e6134d360006064888d60e0015161353d919061500f565b613548906001614fc4565b8d6132c0565b8661356c60006005898e60e001516135669190614fc4565b8e6132c0565b61ffff166005811061358057613580615120565b602002015160405160200161359a96959493929190614b6d565b604051602081830303815290604052925080806135b6906150af565b9150506134a2565b6060600060405180602001604052806000815250905060006135e48460e0015185613b4a565b905060005b845160ff1681101561346e57826136116134d36000610190858a60e001516134cd9190614fc4565b61362c6134d36000610190868b60e00151613419919061500f565b6136496134d360006103e88760018d60e00151613513919061500f565b6136706134d360006103e8888d60e0015160016136669190614fc4565b6135489190614fc4565b8661368860006005898e60e001516135669190614fc4565b61ffff166005811061369c5761369c615120565b60200201516040516020016136b69695949392919061484d565b604051602081830303815290604052925080806136d2906150af565b9150506135e9565b6060600060405180602001604052806000815250905060006137008460e0015185613b4a565b905060005b846060015160ff1681101561346e578282613727600060056134cd8680614ff0565b61ffff166005811061373b5761373b615120565b60200201516137606134d360006101906137558780614ff0565b613419906002614fc4565b6137806134d360006101906137758880614ff0565b61351d906003614fc4565b613799858a60e001516137939190614fc4565b8a613c62565b6137b2868b60e001516137ac919061500f565b8b613c62565b6040516020016137c7969594939291906149b7565b604051602081830303815290604052925080806137e3906150af565b915050613705565b6060600060405180610100016040528060c6815260200161532c60c69139905060006138178585613b4a565b6138256000600588886132c0565b61ffff166005811061383957613839615120565b60200201519050818160405160200161385392919061459c565b6040516020818303038152906040529250505092915050565b6000600161387984610c62565b613883919061500f565b6000838152600760205260409020549091508082146138d6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061391b9060019061500f565b6000838152600960205260408120546008805493945090928490811061394357613943615120565b90600052602060002001549050806008838154811061396457613964615120565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061399c5761399c61510a565b6001900381819060005260206000200160009055905550505050565b60006139c383610c62565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613a525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b6000818152600260205260409020546001600160a01b031615613ab75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b613ac360008383613032565b6001600160a01b0382166000908152600360205260408120805460019290613aec908490614fc4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b613b526141e9565b6000613b626000600386866132c0565b905061ffff8116613b7d57613b75613ccf565b91505061067c565b8061ffff1660011415613b9257613b75613df0565b8061ffff1660021415613ba757613b75613f11565b613b75614032565b6060613bcd6134d360006103e8613bc7876001614fc4565b866132c0565b613be96134d360006103e8613be3886002614fc4565b876132c0565b613c056134d360006103e8613bff896003614fc4565b886132c0565b613c216134d360006103e8613c1b8a6004614fc4565b896132c0565b613c376134d360006103e86134cd8b6005614fc4565b613c4d6134d360006103e86134198c6006614fc4565b60405160200161144696959493929190614783565b6060613c7a6134d360006103e8613bc7876001614fc4565b613c906134d360006103e8613be3886002614fc4565b613ca66134d360006103e8613bff896003614fc4565b613cbc6134d360006103e8613c1b8a6004614fc4565b6040516020016114469493929190614c95565b613cd76141e9565b506040805160e081018252600960a082018181527f253233304632413338000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233314433433433000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323332413439333000000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233313332463133000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233303932343039000000000000000000000000000000000000000000000090830152608081019190915290565b613df86141e9565b506040805160e081018252600960a082018181527f253233376337623839000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233663165346465000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323366346437356500000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233653937323364000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233306237666162000000000000000000000000000000000000000000000090830152608081019190915290565b613f196141e9565b506040805160e081018252600960a082018181527f253233656365306431000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233646263316163000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323339363732353900000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233363334383332000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233333832323066000000000000000000000000000000000000000000000090830152608081019190915290565b61403a6141e9565b506040805160e081018252600960a082018181527f253233303030303030000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233336433643364000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323338343834383400000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233626262626262000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233666666666666000000000000000000000000000000000000000000000090830152608081019190915290565b6001830191839082156141d95791602002820160005b838211156141a957835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302614169565b80156141d75782816101000a81549061ffff02191690556002016020816001010492830192600103026141a9565b505b506141e5929150614210565b5090565b6040518060a001604052806005905b60608152602001906001900390816141f85790505090565b5b808211156141e55760008155600101614211565b80356001600160a01b038116811461278257600080fd5b60006020828403121561424e57600080fd5b61425782614225565b9392505050565b6000806040838503121561427157600080fd5b61427a83614225565b915061428860208401614225565b90509250929050565b6000806000606084860312156142a657600080fd5b6142af84614225565b92506142bd60208501614225565b9150604084013590509250925092565b600080600080608085870312156142e357600080fd5b6142ec85614225565b93506142fa60208601614225565b925060408501359150606085013567ffffffffffffffff8082111561431e57600080fd5b818701915087601f83011261433257600080fd5b81358181111561434457614344615136565b604051601f8201601f19908116603f0116810190838211818310171561436c5761436c615136565b816040528281528a602084870101111561438557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156143bc57600080fd5b6143c583614225565b9150602083013580151581146143da57600080fd5b809150509250929050565b600080604083850312156143f857600080fd5b61440183614225565b946020939093013593505050565b60006020828403121561442157600080fd5b81356142578161514c565b60006020828403121561443e57600080fd5b81516142578161514c565b60006020828403121561445b57600080fd5b5035919050565b6000815180845261447a816020860160208601615026565b601f01601f19169290920160200192915050565b600081516144a0818560208601615026565b9290920192915050565b600082516144bc818460208701615026565b9190910192915050565b600085516144d8818460208a01615026565b8551908301906144ec818360208a01615026565b85519101906144ff818360208901615026565b8451910190614512818360208801615026565b019695505050505050565b6000875160206145308285838d01615026565b8851918401916145438184848d01615026565b88519201916145558184848c01615026565b87519201916145678184848b01615026565b86519201916145798184848a01615026565b855192019161458b8184848901615026565b919091019998505050505050505050565b600083516145ae818460208801615026565b8351908301906145c2818360208801615026565b7f273e0000000000000000000000000000000000000000000000000000000000009101908152600201949350505050565b60008351614605818460208801615026565b7f204d4f524520616e642000000000000000000000000000000000000000000000908301908152835161463f81600a840160208801615026565b7f204c4553532e0000000000000000000000000000000000000000000000000000600a9290910191820152601001949350505050565b60008351614687818460208801615026565b600b60fa1b90830190815283516146a5816001840160208801615026565b01600101949350505050565b600084516146c3818460208901615026565b8083019050600b60fa1b80825285516146e3816001850160208a01615026565b600192019182015283516146fe816002840160208801615026565b0160020195945050505050565b6000855161471d818460208a01615026565b8083019050600b60fa1b808252865161473d816001850160208b01615026565b60019201918201819052855161475a816002850160208a01615026565b60029201918201528351614775816003840160208801615026565b016003019695505050505050565b6000875160206147968285838d01615026565b8184019150600b60fa1b80835289516147b58160018601858e01615026565b808401935050600160fd1b80600185015289516147d88160028701868e01615026565b6002940193840182905288516147f48160038701868d01615026565b6003940193840152865161480e8160048601858b01615026565b600493019283015284516148288160058501848901615026565b61483e600582850101602760f81b815260010190565b9b9a5050505050505050505050565b6000875161485f818460208c01615026565b7f3c726563742077696474683d2700000000000000000000000000000000000000908301908152875161489981600d840160208c01615026565b7f27206865696768743d2700000000000000000000000000000000000000000000600d929091019182015286516148d7816017840160208b01615026565b7f2720783d2700000000000000000000000000000000000000000000000000000060179290910191820152855161491581601c840160208a01615026565b7f2720793d27000000000000000000000000000000000000000000000000000000601c92909101918201528451614953816021840160208901615026565b6149a961499b61498e614988614975602186880101602760f81b815260010190565b662066696c6c3d2760c81b815260070190565b8861448e565b602760f81b815260010190565b61179f60f11b815260020190565b9a9950505050505050505050565b6000875160206149ca8285838d01615026565b7f3c70617468207374796c653d2766696c6c3a6e6f6e653b207374726f6b653a009184019182528851614a0381601f8501848d01615026565b7f3b207374726f6b652d77696474683a20313070783b2720643d274d0000000000601f93909101928301528751614a4081603a8501848c01615026565b600160fd1b603a93909101928301528651614a6181603b8501848b01615026565b8651920191614a7681603b8501848a01615026565b8551920191614a8b81603b8501848901615026565b7f205a2700000000000000000000000000000000000000000000000000000000009201603b8101929092525061179f60f11b603e820152604081019998505050505050505050565b60008451614ae5818460208901615026565b7f3c706f6c79676f6e20706f696e74733d270000000000000000000000000000009083019081528451614b1f816011840160208901615026565b662066696c6c3d2760c81b601192909101918201528351614b47816018840160208801615026565b602760f81b6018929091019182015261179f60f11b6019820152601b0195945050505050565b60008751614b7f818460208c01615026565b7f3c656c6c697073652063783d27000000000000000000000000000000000000009083019081528751614bb981600d840160208c01615026565b7f272063793d270000000000000000000000000000000000000000000000000000600d92909101918201528651614bf7816013840160208b01615026565b7f272072783d270000000000000000000000000000000000000000000000000000601392909101918201528551614c35816019840160208a01615026565b7f272072793d270000000000000000000000000000000000000000000000000000601992909101918201528451614c7381601f840160208901615026565b6149a961499b61498e614988614975601f86880101602760f81b815260010190565b7f2053000000000000000000000000000000000000000000000000000000000000815260008551614ccd816002850160208a01615026565b8083019050600160fd1b8060028301528651614cf0816003850160208b01615026565b600392019182018190528551614d0d816004850160208a01615026565b60049201918201528351614d28816005840160208801615026565b016005019695505050505050565b7f7b2274726169745f74797065223a220000000000000000000000000000000000815260008351614d6e81600f850160208801615026565b7f222c2276616c7565223a22000000000000000000000000000000000000000000600f918401918201528351614dab81601a840160208801615026565b7f227d000000000000000000000000000000000000000000000000000000000000601a9290910191820152601c01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081527f7b226e616d65223a224d6f7265204f72204c6573732023000000000000000000601b82015260008551614e3f816032850160208a01615026565b80830190507f222c0000000000000000000000000000000000000000000000000000000000008060328301527f226465736372697074696f6e223a22000000000000000000000000000000000060348301528651614ea4816043850160208b01615026565b60439201918201527f22696d616765223a22000000000000000000000000000000000000000000000060458201528451614ee581604e840160208901615026565b7f222c202261747472696275746573223a5b000000000000000000000000000000604e92909101918201526133a2614f4c614f23605f84018761448e565b7f5d00000000000000000000000000000000000000000000000000000000000000815260010190565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614fa76080830184614462565b9695505050505050565b6020815260006142576020830184614462565b60008219821115614fd757614fd76150de565b500190565b600082614feb57614feb6150f4565b500490565b600081600019048311821515161561500a5761500a6150de565b500290565b600082821015615021576150216150de565b500390565b60005b83811015615041578181015183820152602001615029565b838111156114e55750506000910152565b600181811c9082168061506657607f821691505b6020821081141561508757634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156150a5576150a56150de565b6001019392505050565b60006000198214156150c3576150c36150de565b5060010190565b6000826150d9576150d96150f4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611eb757600080fdfe50726f76656e616e63652069732065766572797468696e672e204d4f5245206f72204c455353206973206120736f6369616c206578706572696d656e74206279204079756e67776b6e642e20497420617474656d70747320746f20616e7377657220746865207175657374696f6e2027776f756c6420796f752072617468657220646f6e6174652024313030206f722067697665206d65202431303f272e2045616368207061727469636970616e74207265636569766573206120636f6d6d656d6f726174697665204e4654206173207468657920766f746520746f20646f6e617465204d4f5245206f72204c4553532e205468616e6b20796f7520666f722070617274696369706174696e672e54686973206973207468652067656e6573697320746f6b656e20666f7220746865204d4f5245206f72204c455353206578706572696d656e74206279204079756e67776b6e642e20497420697320636f6e7374616e746c79206368616e67696e6720746f207265666c6563742074686520756e6b6e6f776e20726573756c7473206f662074686973206578706572696d656e7420616e6420616c6c2074686520706f737369626c6520646966666572656e74206f7574707574732e646174613a696d6167652f7376672b786d6c3b757466382c3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f7376672720786d6c6e733a786c696e6b3d27687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b272069643d276d6f72656f726c657373272077696474683d273130303027206865696768743d2731303030272076696577426f783d273020302031303030203130303027207374796c653d276261636b67726f756e642d636f6c6f723a546869732069732074686520636c6f73696e6720746f6b656e20666f7220746865204d4f5245206f72204c455353206578706572696d656e74206279204079756e67776b6e642e205768696c652069747320696d616765206d6179206368616e67652c20746865206d65746164617461207265666c65637473207468652066696e616c207365616c696e67206f662074686520766f746520616e64207768617420746865207061727469636970616e747320646563696465642ea264697066735822122019e04736e494d78c76250c22e8df106f6cee0ed98bf4a08f2868335133e5315b64736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806395d89b41116100f7578063c87b56dd11610095578063e0824c1b11610064578063e0824c1b14610563578063e985e9c5146105b5578063f2fde38b146105fe578063f3fef3a31461061e57600080fd5b8063c87b56dd146104a9578063d5abeb01146104c9578063dff6b9fb146104df578063e012a601146104e757600080fd5b8063a22cb465116100d1578063a22cb46514610441578063a574cea414610461578063b88d4fde14610481578063c58335c8146104a157600080fd5b806395d89b41146103d557806398819202146103ea578063a0babdcf1461041f57600080fd5b80632f745c591161016f57806370a082311161013e57806370a0823114610362578063715018a61461038257806383014e9c146103975780638da5cb5b146103b757600080fd5b80632f745c59146102e257806342842e0e146103025780634f6ccce7146103225780636352211e1461034257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102835780631ffe23c4146102a257806323b872dd146102c257600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461440f565b61063e565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610682565b6040516101fe9190614fb1565b34801561023557600080fd5b50610249610244366004614449565b610714565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046143e5565b6107ae565b005b34801561028f57600080fd5b506008545b6040519081526020016101fe565b3480156102ae57600080fd5b5061021c6102bd366004614449565b6108e0565b3480156102ce57600080fd5b506102816102dd366004614291565b6109e9565b3480156102ee57600080fd5b506102946102fd3660046143e5565b610a70565b34801561030e57600080fd5b5061028161031d366004614291565b610b18565b34801561032e57600080fd5b5061029461033d366004614449565b610b33565b34801561034e57600080fd5b5061024961035d366004614449565b610bd7565b34801561036e57600080fd5b5061029461037d36600461423c565b610c62565b34801561038e57600080fd5b50610281610cfc565b3480156103a357600080fd5b506102816103b236600461423c565b610d62565b3480156103c357600080fd5b50600a546001600160a01b0316610249565b3480156103e157600080fd5b5061021c610e39565b3480156103f657600080fd5b50600a5461040c90600160b01b900461ffff1681565b60405161ffff90911681526020016101fe565b34801561042b57600080fd5b50600a5461040c90600160a01b900461ffff1681565b34801561044d57600080fd5b5061028161045c3660046143a9565b610e48565b34801561046d57600080fd5b5061021c61047c366004614449565b610f0d565b34801561048d57600080fd5b5061028161049c3660046142cd565b61145d565b6102816114eb565b3480156104b557600080fd5b5061021c6104c4366004614449565b61190e565b3480156104d557600080fd5b5061040c6103e881565b610281611947565b3480156104f357600080fd5b50610507610502366004614449565b611d24565b6040805160ff998a16815297891660208901529588169587019590955292861660608601529416608084015265ffffffffffff90931660a08301526001600160801b0390921660c082015260e0810191909152610100016101fe565b34801561056f57600080fd5b5061058361057e366004614449565b611d95565b604080516001600160a01b039095168552921515602085015290151591830191909152151560608201526080016101fe565b3480156105c157600080fd5b506101f26105d036600461425e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561060a57600080fd5b5061028161061936600461423c565b611dd8565b34801561062a57600080fd5b506102816106393660046143e5565b611eba565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061067c575061067c82611f50565b92915050565b60606000805461069190615052565b80601f01602080910402602001604051908101604052809291908181526020018280546106bd90615052565b801561070a5780601f106106df5761010080835404028352916020019161070a565b820191906000526020600020905b8154815290600101906020018083116106ed57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107b982610bd7565b9050806001600160a01b0316836001600160a01b031614156108435760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610789565b336001600160a01b038216148061085f575061085f81336105d0565b6108d15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b6108db8383611feb565b505050565b60606109c36040518060400160405280600d81526020017f566f7465732061742054696d650000000000000000000000000000000000000081525061096e600b856103e9811061093257610932615120565b6003020160010160006002811061094b5761094b615120565b601091828204019190066002029054906101000a900461ffff1661ffff16612059565b61099e600b866103e9811061098557610985615120565b6003020160010160016002811061094b5761094b615120565b6040516020016109af9291906145f3565b60405160208183030381529060405261215f565b6040516020016109d391906144aa565b6040516020818303038152906040529050919050565b6109f33382612174565b610a655760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610789565b6108db838383612267565b6000610a7b83610c62565b8210610aef5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610789565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6108db8383836040518060200160405280600081525061145d565b6000610b3e60085490565b8210610bb25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610789565b60088281548110610bc557610bc5615120565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061067c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610789565b60006001600160a01b038216610ce05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610d565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b610d60600061243f565b565b600a546001600160a01b03163314610dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6103e8610dc860085490565b14610e155760405162461bcd60e51b815260206004820152601860248201527f566f74696e67206d75737420626520636f6d706c6574652e00000000000000006044820152606401610789565b6103e8610e228282612491565b5050610bc380546001600160a01b03191633179055565b60606001805461069190615052565b6001600160a01b038216331415610ea15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060811580610f1d57506103e882145b15610f2b5761067c826124af565b6000610f7f6040518060400160405280600a815260200169546f6b656e20566f746560b01b815250610f7a600b866103e98110610f6a57610f6a615120565b600302016002015460ff1661273a565b61215f565b610fe26040518060400160405280600881526020017f566f746564204279000000000000000000000000000000000000000000000000815250610f7a600b876103e98110610fcf57610fcf615120565b60030201546001600160a01b0316612787565b610feb856108e0565b604051602001610ffd939291906146b1565b6040516020818303038152906040529050610bc6836103e9811061102357611023615120565b6002020154640100000000900460ff166110ac578061108560405180604001604052806007815260200166436972636c657360c81b815250610f7a610bc6876103e9811061107357611073615120565b6002020154610100900460ff16612059565b604051602001611096929190614675565b6040516020818303038152906040529050611282565b610bc6836103e981106110c1576110c1615120565b6002020154640100000000900460ff166001141561112557806110856040518060400160405280600a81526020016952656374616e676c657360b01b815250610f7a610bc6876103e9811061111857611118615120565b600202015460ff16612059565b610bc6836103e9811061113a5761113a615120565b60029081029190910154640100000000900460ff1614156111a6578061108560405180604001604052806009815260200168547269616e676c657360b81b815250610f7a610bc6876103e9811061119357611193615120565b600202015462010000900460ff16612059565b806111e56040518060400160405280600a81526020016952656374616e676c657360b01b815250610f7a610bc6876103e9811061111857611118615120565b61122260405180604001604052806009815260200168547269616e676c657360b81b815250610f7a610bc6886103e9811061119357611193615120565b61125d60405180604001604052806007815260200166436972636c657360c81b815250610f7a610bc6896103e9811061107357611073615120565b604051602001611270949392919061470b565b60405160208183030381529060405290505b806112e86040518060400160405280600581526020017f4c696e6573000000000000000000000000000000000000000000000000000000815250610f7a610bc6876103e981106112d4576112d4615120565b60020201546301000000900460ff16612059565b6040516020016112f9929190614675565b6040516020818303038152906040529050600b836103e9811061131e5761131e615120565b6003020154600160a01b900460ff16156113b1578061138e6040518060400160405280600781526020017f4465636964657200000000000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b60405160200161139f929190614675565b60405160208183030381529060405290505b600b836103e981106113c5576113c5615120565b6003020154600160a81b900460ff161561067c57806114356040518060400160405280600a81526020017f496e666c75656e63657200000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b604051602001611446929190614675565b604051602081830303815290604052905092915050565b6114673383612174565b6114d95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610789565b6114e5848484846129cb565b50505050565b336000908152611398602052604090205460ff161561154c5760405162461bcd60e51b815260206004820152601260248201527f43616e6e6f7420766f74652074776963652e00000000000000000000000000006044820152606401610789565b62989680341161159e5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610789565b6103e86115aa60085490565b106115f75760405162461bcd60e51b815260206004820152600e60248201527f4e6f206d6f726520766f74696e670000000000000000000000000000000000006044820152606401610789565b600061160260085490565b905061160e3382612491565b33600090815261139860209081526040808320805460ff19166001179055516116519142914491019182526020820152634c45535360e01b604082015260440190565b6040516020818303038152906040528051906020012060001c905042610bc6836103e9811061168257611682615120565b60020201805465ffffffffffff9290921665010000000000026affffffffffff00000000001990921691909117905544610bc6836103e981106116c7576116c7615120565b6002020180546001600160801b0392909216600160581b027fffffffffff00000000000000000000000000000000ffffffffffffffffffffff90921691909117905580610bc6836103e9811061171f5761171f615120565b600202016001018190555033600b836103e9811061173f5761173f615120565b6003020180546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600a54600160a01b810461ffff9081168352600160b01b909104166020820152600b836103e9811061179f5761179f615120565b600302016001019060026117b4929190614153565b506000600b836103e981106117cb576117cb615120565b6003020160020160006101000a81548160ff02191690831515021790555061180a610bc6836103e9811061180157611801615120565b60020201612a49565b600a54600160a01b810461ffff908116600160b01b9092041614600b836103e9811061183857611838615120565b600302018054911515600160a81b0260ff60a81b19909216919091179055600a805461ffff600160b01b909104169060166118728361508d565b91906101000a81548161ffff021916908361ffff16021790555050600a60169054906101000a900461ffff1661ffff16600a1480156118bd5750600a8054600160a01b900461ffff16105b600b836103e981106118d1576118d1615120565b600302018054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790555050565b606061191982612059565b61192283612c1f565b61192b84612c90565b61193485610f0d565b6040516020016109d39493929190614de1565b336000908152611398602052604090205460ff16156119a85760405162461bcd60e51b815260206004820152601260248201527f43616e6e6f7420766f74652074776963652e00000000000000000000000000006044820152606401610789565b6305f5e10034116119fb5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610789565b6103e8611a0760085490565b10611a545760405162461bcd60e51b815260206004820152600e60248201527f4e6f206d6f726520766f74696e670000000000000000000000000000000000006044820152606401610789565b6000611a5f60085490565b9050611a6b3382612491565b33600090815261139860209081526040808320805460ff1916600117905551611aae9142914491019182526020820152634d4f524560e01b604082015260440190565b6040516020818303038152906040528051906020012060001c905042610bc6836103e98110611adf57611adf615120565b60020201805465ffffffffffff9290921665010000000000026affffffffffff00000000001990921691909117905544610bc6836103e98110611b2457611b24615120565b6002020180546001600160801b0392909216600160581b027fffffffffff00000000000000000000000000000000ffffffffffffffffffffff90921691909117905580610bc6836103e98110611b7c57611b7c615120565b600202016001018190555033600b836103e98110611b9c57611b9c615120565b6003020180546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600a54600160a01b810461ffff9081168352600160b01b909104166020820152600b836103e98110611bfc57611bfc615120565b60030201600101906002611c11929190614153565b506001600b836103e98110611c2857611c28615120565b6003020160020160006101000a81548160ff021916908315150217905550611c5e610bc6836103e9811061180157611801615120565b600a54600160a01b810461ffff908116600160b01b9092041614600b836103e98110611c8c57611c8c615120565b600302018054911515600160a81b0260ff60a81b19909216919091179055600a805461ffff600160a01b90910416906014611cc68361508d565b91906101000a81548161ffff021916908361ffff16021790555050600a60149054906101000a900461ffff1661ffff16600a1480156118bd5750600a8054600160b01b900461ffff1610600b836103e981106118d1576118d1615120565b610bc6816103e98110611d3657600080fd5b60020201805460019091015460ff80831693506101008304811692620100008104821692630100000082048316926401000000008304169165010000000000810465ffffffffffff1691600160581b9091046001600160801b03169088565b600b816103e98110611da657600080fd5b6003020180546002909101546001600160a01b038216925060ff600160a01b8304811692600160a81b90048116911684565b600a546001600160a01b03163314611e325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6001600160a01b038116611eae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610789565b611eb78161243f565b50565b600a546001600160a01b03163314611f145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610789565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156108db573d6000803e3d6000fd5b3b151590565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611fb357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061067c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461067c565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061202082610bd7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60608161207d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120a75780612091816150af565b91506120a09050600a83614fdc565b9150612081565b60008167ffffffffffffffff8111156120c2576120c2615136565b6040519080825280601f01601f1916602001820160405280156120ec576020820181803683370190505b5090505b84156121575761210160018361500f565b915061210e600a866150ca565b612119906030614fc4565b60f81b81838151811061212e5761212e615120565b60200101906001600160f81b031916908160001a905350612150600a86614fdc565b94506120f0565b949350505050565b60608282604051602001611446929190614d36565b6000818152600260205260408120546001600160a01b03166121ed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b60006121f883610bd7565b9050806001600160a01b0316846001600160a01b031614806122335750836001600160a01b031661222884610714565b6001600160a01b0316145b8061215757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16612157565b826001600160a01b031661227a82610bd7565b6001600160a01b0316146122f65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610789565b6001600160a01b0382166123715760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610789565b61237c838383613032565b612387600082611feb565b6001600160a01b03831660009081526003602052604081208054600192906123b090849061500f565b90915550506001600160a01b03821660009081526003602052604081208054600192906123de908490614fc4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6124ab8282604051806020016040528060008152506130ea565b5050565b60608161261a576125016040518060400160405280600a815260200169546f6b656e20566f746560b01b8152506040518060400160405280600781526020016620b139ba30b4b760c91b81525061215f565b6125516040518060400160405280600a81526020017f4372656174656420427900000000000000000000000000000000000000000000815250610f7a600b866103e98110610fcf57610fcf615120565b6125ac6040518060400160405280600d81526020017f47656e6573697320546f6b656e00000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b6126076040518060400160405280600a81526020017f4c69766520496d61676500000000000000000000000000000000000000000000815250604051806040016040528060048152602001635472756560e01b81525061215f565b6040516020016109d3949392919061470b565b6103e88214156127265761266f6040518060400160405280600a815260200169546f6b656e20566f746560b01b8152506040518060400160405280600781526020016620b139ba30b4b760c91b81525061215f565b6126bf6040518060400160405280600981526020017f5365616c65642042790000000000000000000000000000000000000000000000815250610f7a600b866103e98110610fcf57610fcf615120565b60408051808201909152601081527f46696e616c20566f746520436f756e74000000000000000000000000000000006020820152600a546125ac919061270f90600160a01b900461ffff16612059565b600a5461099e90600160b01b900461ffff16612059565b505060408051602081019091526000815290565b606081156127625750506040805180820190915260048152634d4f524560e01b602082015290565b50506040805180820190915260048152634c45535360e01b602082015290565b919050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a80825260608281019094526001600160a01b0385169291600091602082018180368337019050509050600360fc1b816000815181106127ff576127ff615120565b60200101906001600160f81b031916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061284a5761284a615120565b60200101906001600160f81b031916908160001a90535060005b60148110156129c2578260048561287c84600c614fc4565b6020811061288c5761288c615120565b1a60f81b6001600160f81b031916901c60f81c60ff16815181106128b2576128b2615120565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016826128e5836002614ff0565b6128f0906002614fc4565b8151811061290057612900615120565b60200101906001600160f81b031916908160001a905350828461292483600c614fc4565b6020811061293457612934615120565b825191901a600f1690811061294b5761294b615120565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168261297e836002614ff0565b612989906003614fc4565b8151811061299957612999615120565b60200101906001600160f81b031916908160001a905350806129ba816150af565b915050612864565b50949350505050565b6129d6848484612267565b6129e284848484613168565b6114e55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b6001810154604080516101008082018352845460ff8082168452918104821660208401526201000081048216938301939093526301000000830481166060830152640100000000830416608082015265010000000000820465ffffffffffff1660a0820152600160581b9091046001600160801b031660c082015260e08101829052612adc9060009060049084906132c0565b825460ff919091166401000000000264ff0000000019909116178255612b8e6001600a612b098483614fc4565b604080516101008082018352885460ff8082168452918104821660208401526201000081048216938301939093526301000000830481166060830152640100000000830416608082015265010000000000820465ffffffffffff1660a0820152600160581b9091046001600160801b031660c0820152600187015460e08201526132c0565b825460ff191660ff91909116178255612baf6001600a612b09846002614fc4565b825460ff919091166101000261ff0019909116178255612bd76001600a612b09846003614fc4565b825460ff91909116620100000262ff000019909116178255612c016001600a612b09846004614fc4565b825460ff9190911663010000000263ff000000199091161790915550565b606081612c45576040518060e0016040528060bb815260200161527160bb913992915050565b6103e8821415612c6e576040518060e0016040528060ba81526020016153f260ba913992915050565b60405180610140016040528061010e815260200161516361010e913992915050565b60606000610bc6836103e98110612ca957612ca9615120565b60408051610100808201835260029390930293909301805460ff80821686529381048416602086015262010000810484169285019290925263010000008204831660608501526401000000008204909216608084015265010000000000810465ffffffffffff1660a0840152600160581b90046001600160801b031660c08301526001015460e08201529050821580612d4357506103e883145b15612e61574265ffffffffffff811660a0830152446001600160801b03811660c08401526040805160208101939093528201527f4d4f52454f524c455353000000000000000000000000000000000000000000006060820152606a0160408051601f19818403018152919052805160209091012060e08201819052612dce90600090600490846132c0565b60ff16608082015260e0810151612df590600190600a90612def9083614fc4565b846132c0565b60ff16815260e0810151612e1490600190600a90612def906002614fc4565b60ff16602082015260e0810151612e3690600190600a90612def906003614fc4565b60ff16604082015260e0810151612e5890600190600a90612def906004614fc4565b60ff1660608201525b6000612e6c826133ad565b90506000612e7983613477565b90506000612e86846135be565b90506000612e93856136da565b9050610bc6876103e98110612eaa57612eaa615120565b6002020154640100000000900460ff16612f1757612ec887866137eb565b8382604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b60405160208183030381529060405295505050505050919050565b610bc6876103e98110612f2c57612f2c615120565b6002020154640100000000900460ff1660011415612f8257612f4e87866137eb565b8282604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b610bc6876103e98110612f9757612f97615120565b60029081029190910154640100000000900460ff161415612ff057612fbc87866137eb565b8482604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc94939291906144c6565b612ffa87866137eb565b83858484604051806040016040528060068152602001651e17b9bb339f60d11b815250604051602001612efc9695949392919061451d565b6001600160a01b03831661308d5761308881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6130b0565b816001600160a01b0316836001600160a01b0316146130b0576130b0838261386c565b6001600160a01b0382166130c7576108db81613909565b826001600160a01b0316826001600160a01b0316146108db576108db82826139b8565b6130f483836139fc565b6131016000848484613168565b6108db5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b60006001600160a01b0384163b156132b557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131ac903390899088908890600401614f75565b602060405180830381600087803b1580156131c657600080fd5b505af19250505080156131f6575060408051601f3d908101601f191682019092526131f39181019061442c565b60015b61329b573d808015613224576040519150601f19603f3d011682016040523d82523d6000602084013e613229565b606091505b5080516132935760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610789565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612157565b506001949350505050565b6000808361335e8460c001518560a001518660e001516040517fffffffffffffffffffffffffffffffff00000000000000000000000000000000608085901b1660208201527fffffffffffff000000000000000000000000000000000000000000000000000060d084901b1660308201526036810182905260009060560160408051601f198184030181529190528051602090910120949350505050565b60408051602081019390935282015260600160408051601f1981840301815291905280516020909101209050600061339686836150ca565b90506133a28782614fc4565b979650505050505050565b6060600060405180602001604052806000815250905060006133d38460e0015185613b4a565b905060005b846040015160ff1681101561346e5782613401828760e001516133fb9190614fc4565b87613baf565b8361341f60006005868b60e00151613419919061500f565b8b6132c0565b61ffff166005811061343357613433615120565b602002015160405160200161344a93929190614ad3565b60405160208183030381529060405292508080613466906150af565b9150506133d8565b50909392505050565b60606000604051806020016040528060008152509050600061349d8460e0015185613b4a565b905060005b846020015160ff1681101561346e57826134dc6134d360006103e8858a60e001516134cd9190614fc4565b8a6132c0565b61ffff16612059565b6134f76134d360006103e8868b60e00151613419919061500f565b6135236134d3600060646001888d60e001516135139190614fc4565b61351d919061500f565b8c6132c0565b61354e6134d360006064888d60e0015161353d919061500f565b613548906001614fc4565b8d6132c0565b8661356c60006005898e60e001516135669190614fc4565b8e6132c0565b61ffff166005811061358057613580615120565b602002015160405160200161359a96959493929190614b6d565b604051602081830303815290604052925080806135b6906150af565b9150506134a2565b6060600060405180602001604052806000815250905060006135e48460e0015185613b4a565b905060005b845160ff1681101561346e57826136116134d36000610190858a60e001516134cd9190614fc4565b61362c6134d36000610190868b60e00151613419919061500f565b6136496134d360006103e88760018d60e00151613513919061500f565b6136706134d360006103e8888d60e0015160016136669190614fc4565b6135489190614fc4565b8661368860006005898e60e001516135669190614fc4565b61ffff166005811061369c5761369c615120565b60200201516040516020016136b69695949392919061484d565b604051602081830303815290604052925080806136d2906150af565b9150506135e9565b6060600060405180602001604052806000815250905060006137008460e0015185613b4a565b905060005b846060015160ff1681101561346e578282613727600060056134cd8680614ff0565b61ffff166005811061373b5761373b615120565b60200201516137606134d360006101906137558780614ff0565b613419906002614fc4565b6137806134d360006101906137758880614ff0565b61351d906003614fc4565b613799858a60e001516137939190614fc4565b8a613c62565b6137b2868b60e001516137ac919061500f565b8b613c62565b6040516020016137c7969594939291906149b7565b604051602081830303815290604052925080806137e3906150af565b915050613705565b6060600060405180610100016040528060c6815260200161532c60c69139905060006138178585613b4a565b6138256000600588886132c0565b61ffff166005811061383957613839615120565b60200201519050818160405160200161385392919061459c565b6040516020818303038152906040529250505092915050565b6000600161387984610c62565b613883919061500f565b6000838152600760205260409020549091508082146138d6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061391b9060019061500f565b6000838152600960205260408120546008805493945090928490811061394357613943615120565b90600052602060002001549050806008838154811061396457613964615120565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061399c5761399c61510a565b6001900381819060005260206000200160009055905550505050565b60006139c383610c62565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216613a525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b6000818152600260205260409020546001600160a01b031615613ab75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b613ac360008383613032565b6001600160a01b0382166000908152600360205260408120805460019290613aec908490614fc4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b613b526141e9565b6000613b626000600386866132c0565b905061ffff8116613b7d57613b75613ccf565b91505061067c565b8061ffff1660011415613b9257613b75613df0565b8061ffff1660021415613ba757613b75613f11565b613b75614032565b6060613bcd6134d360006103e8613bc7876001614fc4565b866132c0565b613be96134d360006103e8613be3886002614fc4565b876132c0565b613c056134d360006103e8613bff896003614fc4565b886132c0565b613c216134d360006103e8613c1b8a6004614fc4565b896132c0565b613c376134d360006103e86134cd8b6005614fc4565b613c4d6134d360006103e86134198c6006614fc4565b60405160200161144696959493929190614783565b6060613c7a6134d360006103e8613bc7876001614fc4565b613c906134d360006103e8613be3886002614fc4565b613ca66134d360006103e8613bff896003614fc4565b613cbc6134d360006103e8613c1b8a6004614fc4565b6040516020016114469493929190614c95565b613cd76141e9565b506040805160e081018252600960a082018181527f253233304632413338000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233314433433433000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323332413439333000000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233313332463133000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233303932343039000000000000000000000000000000000000000000000090830152608081019190915290565b613df86141e9565b506040805160e081018252600960a082018181527f253233376337623839000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233663165346465000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323366346437356500000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233653937323364000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233306237666162000000000000000000000000000000000000000000000090830152608081019190915290565b613f196141e9565b506040805160e081018252600960a082018181527f253233656365306431000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233646263316163000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323339363732353900000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233363334383332000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233333832323066000000000000000000000000000000000000000000000090830152608081019190915290565b61403a6141e9565b506040805160e081018252600960a082018181527f253233303030303030000000000000000000000000000000000000000000000060c08401528252825180840184528181527f253233336433643364000000000000000000000000000000000000000000000060208281019190915280840191909152835180850185528281527f25323338343834383400000000000000000000000000000000000000000000008183015283850152835180850185528281527f253233626262626262000000000000000000000000000000000000000000000081830152606084015283518085019094529083527f253233666666666666000000000000000000000000000000000000000000000090830152608081019190915290565b6001830191839082156141d95791602002820160005b838211156141a957835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302614169565b80156141d75782816101000a81549061ffff02191690556002016020816001010492830192600103026141a9565b505b506141e5929150614210565b5090565b6040518060a001604052806005905b60608152602001906001900390816141f85790505090565b5b808211156141e55760008155600101614211565b80356001600160a01b038116811461278257600080fd5b60006020828403121561424e57600080fd5b61425782614225565b9392505050565b6000806040838503121561427157600080fd5b61427a83614225565b915061428860208401614225565b90509250929050565b6000806000606084860312156142a657600080fd5b6142af84614225565b92506142bd60208501614225565b9150604084013590509250925092565b600080600080608085870312156142e357600080fd5b6142ec85614225565b93506142fa60208601614225565b925060408501359150606085013567ffffffffffffffff8082111561431e57600080fd5b818701915087601f83011261433257600080fd5b81358181111561434457614344615136565b604051601f8201601f19908116603f0116810190838211818310171561436c5761436c615136565b816040528281528a602084870101111561438557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156143bc57600080fd5b6143c583614225565b9150602083013580151581146143da57600080fd5b809150509250929050565b600080604083850312156143f857600080fd5b61440183614225565b946020939093013593505050565b60006020828403121561442157600080fd5b81356142578161514c565b60006020828403121561443e57600080fd5b81516142578161514c565b60006020828403121561445b57600080fd5b5035919050565b6000815180845261447a816020860160208601615026565b601f01601f19169290920160200192915050565b600081516144a0818560208601615026565b9290920192915050565b600082516144bc818460208701615026565b9190910192915050565b600085516144d8818460208a01615026565b8551908301906144ec818360208a01615026565b85519101906144ff818360208901615026565b8451910190614512818360208801615026565b019695505050505050565b6000875160206145308285838d01615026565b8851918401916145438184848d01615026565b88519201916145558184848c01615026565b87519201916145678184848b01615026565b86519201916145798184848a01615026565b855192019161458b8184848901615026565b919091019998505050505050505050565b600083516145ae818460208801615026565b8351908301906145c2818360208801615026565b7f273e0000000000000000000000000000000000000000000000000000000000009101908152600201949350505050565b60008351614605818460208801615026565b7f204d4f524520616e642000000000000000000000000000000000000000000000908301908152835161463f81600a840160208801615026565b7f204c4553532e0000000000000000000000000000000000000000000000000000600a9290910191820152601001949350505050565b60008351614687818460208801615026565b600b60fa1b90830190815283516146a5816001840160208801615026565b01600101949350505050565b600084516146c3818460208901615026565b8083019050600b60fa1b80825285516146e3816001850160208a01615026565b600192019182015283516146fe816002840160208801615026565b0160020195945050505050565b6000855161471d818460208a01615026565b8083019050600b60fa1b808252865161473d816001850160208b01615026565b60019201918201819052855161475a816002850160208a01615026565b60029201918201528351614775816003840160208801615026565b016003019695505050505050565b6000875160206147968285838d01615026565b8184019150600b60fa1b80835289516147b58160018601858e01615026565b808401935050600160fd1b80600185015289516147d88160028701868e01615026565b6002940193840182905288516147f48160038701868d01615026565b6003940193840152865161480e8160048601858b01615026565b600493019283015284516148288160058501848901615026565b61483e600582850101602760f81b815260010190565b9b9a5050505050505050505050565b6000875161485f818460208c01615026565b7f3c726563742077696474683d2700000000000000000000000000000000000000908301908152875161489981600d840160208c01615026565b7f27206865696768743d2700000000000000000000000000000000000000000000600d929091019182015286516148d7816017840160208b01615026565b7f2720783d2700000000000000000000000000000000000000000000000000000060179290910191820152855161491581601c840160208a01615026565b7f2720793d27000000000000000000000000000000000000000000000000000000601c92909101918201528451614953816021840160208901615026565b6149a961499b61498e614988614975602186880101602760f81b815260010190565b662066696c6c3d2760c81b815260070190565b8861448e565b602760f81b815260010190565b61179f60f11b815260020190565b9a9950505050505050505050565b6000875160206149ca8285838d01615026565b7f3c70617468207374796c653d2766696c6c3a6e6f6e653b207374726f6b653a009184019182528851614a0381601f8501848d01615026565b7f3b207374726f6b652d77696474683a20313070783b2720643d274d0000000000601f93909101928301528751614a4081603a8501848c01615026565b600160fd1b603a93909101928301528651614a6181603b8501848b01615026565b8651920191614a7681603b8501848a01615026565b8551920191614a8b81603b8501848901615026565b7f205a2700000000000000000000000000000000000000000000000000000000009201603b8101929092525061179f60f11b603e820152604081019998505050505050505050565b60008451614ae5818460208901615026565b7f3c706f6c79676f6e20706f696e74733d270000000000000000000000000000009083019081528451614b1f816011840160208901615026565b662066696c6c3d2760c81b601192909101918201528351614b47816018840160208801615026565b602760f81b6018929091019182015261179f60f11b6019820152601b0195945050505050565b60008751614b7f818460208c01615026565b7f3c656c6c697073652063783d27000000000000000000000000000000000000009083019081528751614bb981600d840160208c01615026565b7f272063793d270000000000000000000000000000000000000000000000000000600d92909101918201528651614bf7816013840160208b01615026565b7f272072783d270000000000000000000000000000000000000000000000000000601392909101918201528551614c35816019840160208a01615026565b7f272072793d270000000000000000000000000000000000000000000000000000601992909101918201528451614c7381601f840160208901615026565b6149a961499b61498e614988614975601f86880101602760f81b815260010190565b7f2053000000000000000000000000000000000000000000000000000000000000815260008551614ccd816002850160208a01615026565b8083019050600160fd1b8060028301528651614cf0816003850160208b01615026565b600392019182018190528551614d0d816004850160208a01615026565b60049201918201528351614d28816005840160208801615026565b016005019695505050505050565b7f7b2274726169745f74797065223a220000000000000000000000000000000000815260008351614d6e81600f850160208801615026565b7f222c2276616c7565223a22000000000000000000000000000000000000000000600f918401918201528351614dab81601a840160208801615026565b7f227d000000000000000000000000000000000000000000000000000000000000601a9290910191820152601c01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081527f7b226e616d65223a224d6f7265204f72204c6573732023000000000000000000601b82015260008551614e3f816032850160208a01615026565b80830190507f222c0000000000000000000000000000000000000000000000000000000000008060328301527f226465736372697074696f6e223a22000000000000000000000000000000000060348301528651614ea4816043850160208b01615026565b60439201918201527f22696d616765223a22000000000000000000000000000000000000000000000060458201528451614ee581604e840160208901615026565b7f222c202261747472696275746573223a5b000000000000000000000000000000604e92909101918201526133a2614f4c614f23605f84018761448e565b7f5d00000000000000000000000000000000000000000000000000000000000000815260010190565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614fa76080830184614462565b9695505050505050565b6020815260006142576020830184614462565b60008219821115614fd757614fd76150de565b500190565b600082614feb57614feb6150f4565b500490565b600081600019048311821515161561500a5761500a6150de565b500290565b600082821015615021576150216150de565b500390565b60005b83811015615041578181015183820152602001615029565b838111156114e55750506000910152565b600181811c9082168061506657607f821691505b6020821081141561508757634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156150a5576150a56150de565b6001019392505050565b60006000198214156150c3576150c36150de565b5060010190565b6000826150d9576150d96150f4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611eb757600080fdfe50726f76656e616e63652069732065766572797468696e672e204d4f5245206f72204c455353206973206120736f6369616c206578706572696d656e74206279204079756e67776b6e642e20497420617474656d70747320746f20616e7377657220746865207175657374696f6e2027776f756c6420796f752072617468657220646f6e6174652024313030206f722067697665206d65202431303f272e2045616368207061727469636970616e74207265636569766573206120636f6d6d656d6f726174697665204e4654206173207468657920766f746520746f20646f6e617465204d4f5245206f72204c4553532e205468616e6b20796f7520666f722070617274696369706174696e672e54686973206973207468652067656e6573697320746f6b656e20666f7220746865204d4f5245206f72204c455353206578706572696d656e74206279204079756e67776b6e642e20497420697320636f6e7374616e746c79206368616e67696e6720746f207265666c6563742074686520756e6b6e6f776e20726573756c7473206f662074686973206578706572696d656e7420616e6420616c6c2074686520706f737369626c6520646966666572656e74206f7574707574732e646174613a696d6167652f7376672b786d6c3b757466382c3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f7376672720786d6c6e733a786c696e6b3d27687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b272069643d276d6f72656f726c657373272077696474683d273130303027206865696768743d2731303030272076696577426f783d273020302031303030203130303027207374796c653d276261636b67726f756e642d636f6c6f723a546869732069732074686520636c6f73696e6720746f6b656e20666f7220746865204d4f5245206f72204c455353206578706572696d656e74206279204079756e67776b6e642e205768696c652069747320696d616765206d6179206368616e67652c20746865206d65746164617461207265666c65637473207468652066696e616c207365616c696e67206f662074686520766f746520616e64207768617420746865207061727469636970616e747320646563696465642ea264697066735822122019e04736e494d78c76250c22e8df106f6cee0ed98bf4a08f2868335133e5315b64736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.