ETH Price: $3,414.62 (+3.09%)

Token

The Room of Infinite Paintings (TRIP)
 

Overview

Max Total Supply

783 TRIP

Holders

386

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Collection

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.9;

import "./ERC721.sol";
import "./utils/Base64.sol";
import "./utils/MerkleProof.sol";

import "./CollectionDescriptor.sol";

/*
___________.__             __________                                _____                             
\__    ___/|  |__   ____   \______   \ ____   ____   _____     _____/ ____\                            
  |    |   |  |  \_/ __ \   |       _//  _ \ /  _ \ /     \   /  _ \   __\                             
  |    |   |   Y  \  ___/   |    |   (  <_> |  <_> )  Y Y  \ (  <_> )  |                               
  |____|   |___|  /\___  >  |____|_  /\____/ \____/|__|_|  /  \____/|__|                               
                \/     \/          \/                    \/                                            
.___        _____.__       .__  __           __________        .__        __  .__                      
|   | _____/ ____\__| ____ |__|/  |_  ____   \______   \_____  |__| _____/  |_|__| ____    ____  ______
|   |/    \   __\|  |/    \|  \   __\/ __ \   |     ___/\__  \ |  |/    \   __\  |/    \  / ___\/  ___/
|   |   |  \  |  |  |   |  \  ||  | \  ___/   |    |     / __ \|  |   |  \  | |  |   |  \/ /_/  >___ \ 
|___|___|  /__|  |__|___|  /__||__|  \___  >  |____|    (____  /__|___|  /__| |__|___|  /\___  /____  >
         \/              \/              \/                  \/        \/             \//_____/     \/ 

Lost in the simulation, a painter spent the rest of their infinite life, painting the feeling of their infinite room.
No one knows how far it goes, but apparently, it is infinite.
What is known, however is that over time, the painter resorted to increasing minimalism.
Up to the 1 million mints, the odds of increasingly painting with more minimal features becomes possible.

CC0 On-Chain SVG Generative Art.
Untitled Frontier Project by @simondlr (Simon de la Rouviere).
Logged Universe Season 1 Interlude Art.
Free to mint. Infinite Supply.
*/


/**
 * @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 Collection is ERC721 {

    address public owner = 0xaF69610ea9ddc95883f97a6a3171d52165b69B03; // for opensea integration. doesn't do anything else.

    CollectionDescriptor public descriptor;

    mapping (uint256 => bytes) public hashes;
    uint256 public totalSupply = 0;

    // todo: for testing
    // uint256 public newlyMinted;

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

        // mint #1 to UF to kickstart it
        _createNFT(owner);
    }

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

        bytes memory hash = hashes[tokenId];

        string memory name = descriptor.generateName(tokenId); 
        string memory description = "The Room of Infinite Paintings: a simulated mind's infinite attempt for meaning.";

        string memory image = generateBase64Image(hash, tokenId);
        string memory attributes = generateTraits(hash, tokenId);
        return string(
            abi.encodePacked(
                'data:application/json;base64,',
                Base64.encode(
                    bytes(
                        abi.encodePacked(
                            '{"name":"', 
                            name,
                            '", "description":"', 
                            description,
                            '", "image": "', 
                            'data:image/svg+xml;base64,', 
                            image,'",',
                            attributes,
                            '}'
                        )
                    )
                )
            )
        );
    }

    function generateBase64Image(bytes memory hash, uint256 tokenId) public view returns (string memory) {
        bytes memory img = bytes(generateImage(hash, tokenId));
        return Base64.encode(img);
    }

    function generateImageFromTokenID(uint256 tokenId) public view returns (string memory) {
        bytes memory hash = hashes[tokenId];
        return descriptor.generateImage(hash, tokenId);
    }

    function generateImage(bytes memory hash, uint256 tokenId) public view returns (string memory) {
        return descriptor.generateImage(hash, tokenId);
    }

    function generateTraits(bytes memory hash, uint256 tokenId) public view returns (string memory) {
        return descriptor.generateTraits(hash, tokenId);
    }

    function mint() public {
        _mint(msg.sender);
    }

    // internal mint (not necessary, but keeping it for vestigial reasons based on the template used)
    function _mint(address _owner) internal {
        _createNFT(_owner);
    }

    function _createNFT(address _owner) internal {
        totalSupply+=1;
        bytes memory hash = abi.encodePacked(keccak256(abi.encodePacked(totalSupply, block.timestamp, _owner))); 
        hashes[totalSupply] = hash;
        super._mint(_owner, totalSupply);

        // newlyMinted = totalSupply;
    }
}

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

pragma solidity ^0.8.9;

import "./interfaces/IERC721.sol";
import "./interfaces/IERC721Receiver.sol";
import "./interfaces/IERC721Metadata.sol";
import "./utils/Address.sol";
// import "../../utils/Context.sol";
import "./utils/Strings.sol";
import "./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 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(msg.sender == owner || isApprovedForAll(owner, msg.sender),
            "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 != msg.sender, "ERC721: approve to caller");

        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, 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(msg.sender, 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(msg.sender, 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(msg.sender, 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 {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    // modified from ERC721 template:
    // removed BeforeTokenTransfer
}

File 3 of 14 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

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

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

// import "hardhat/console.sol";

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal view returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal view returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            // console.logBytes32(computedHash);
            // console.logBytes32(proofElement);
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                //computedHash = _efficientHash(computedHash, proofElement);
                computedHash = keccak256(
                    abi.encodePacked(computedHash, proofElement)
                );
            } else {
                // Hash(current element of the proof + current computed hash)
                // computedHash = _efficientHash(proofElement, computedHash);
                computedHash = keccak256(
                    abi.encodePacked(proofElement, computedHash)
                );
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.11;

import './SVG.sol';
import './Utils.sol';

// Renderer + SVG.sol + Utils.sol from hot-chain-svg.
// Modified to fit the project.
// https://github.com/w1nt3r-eth/hot-chain-svg

contract Renderer {

    function render(bytes memory hash, uint256 _tokenId) public pure returns (string memory) {
        uint256 midPoint = uint256(toUint8(hash,0))*300/256; // 0 - 299
        uint256 midPoint2 = uint256(toUint8(hash,1))*300/256; // 0 - 299
        uint256 gap = 10 + uint256(toUint8(hash,2))/4; // 0 - 63 
        uint256 shiftTopY = 300 - midPoint;
        uint256 shiftBottomY = 300 + midPoint;

        return
            string.concat(
                '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" style="background:#000">',
                definitions(hash, _tokenId),
                room(shiftTopY, shiftBottomY),
                gradientRects(shiftTopY, shiftBottomY),
                stars(shiftTopY, shiftBottomY),
                polygons(gap, midPoint, midPoint2),
                '</svg>'
            );
    }

    function definitions(bytes memory hash, uint256 _tokenId) public pure returns (string memory) {
        return string.concat(gradients(), filters(hash, _tokenId));
    }

    /*
    To emphasise the feeling of the horizon disappearing.
    */
    function gradients() public pure returns (string memory) {
        return string.concat(
                svg.linearGradient(
                    string.concat(svg.prop('id', 'topGradient'),svg.prop('gradientTransform', 'rotate(90)')),
                    string.concat(svg.gradientStop(80, 'white',svg.prop('stop-opacity', '0')),svg.gradientStop(100, 'white', svg.prop('stop-opacity', '1')))
                )
        );
    }

    function filters(bytes memory hash, uint256 _tokenId) public pure returns (string memory) {
        string memory roomBF = generateBaseFrequency(hash, 3, 4, ['0.0', '0.00', '0.000']);
        string memory starsBF = generateBaseFrequency(hash, 5, 6, ['0.', '0.0', '0.00']);
        string memory starsOctaves = utils.uint2str(1 + uint256(toUint8(hash,7))*4/256); // 1 - 4

        string memory roomSeed = utils.uint2str(uint256(toUint8(hash,8))*uint256(toUint8(hash,9))*uint256(toUint8(hash,10))); // 0 - 16581375
        string memory starSeed = utils.uint2str(uint256(toUint8(hash,11))*uint256(toUint8(hash,12))*uint256(toUint8(hash,13))); // 0 - 16581375

        return string.concat(
            svg.filter(
                svg.prop('id','room'),
                string.concat(
                    svg.el('feTurbulence', string.concat(svg.prop('baseFrequency', roomBF),svg.prop('seed', roomSeed), svg.prop('result', 'turb'))),
                    svg.el('feColorMatrix', svg.prop('values', generateColorMatrix(hash, _tokenId)))
                )
            ),
            svg.filter(
                svg.prop('id', 'stars'),
                string.concat(
                    svg.el('feTurbulence', string.concat(svg.prop('type', 'fractalNoise'), svg.prop('numOctaves', starsOctaves), svg.prop('baseFrequency', starsBF), svg.prop('seed', starSeed), svg.prop('result', 'turb'))),
                    svg.el('feColorMatrix', svg.prop('values', '15 0 0 0 0 0 15 0 0 0 0 0 15 0 0 0 0 0 -15 5'))
                )
            )
        );
    }

    function generateBaseFrequency(bytes memory hash, uint256 index1, uint index2, string[3] memory decimalStrings) public pure returns (string memory) {
        string memory strNr = utils.uint2str(1 + uint256(toUint8(hash,index1))*1000/256); // 1 - 997 (ish)
        uint256 dec = uint256(toUint8(hash, index2))*3/256; // 0 - 2
        string memory bf = string.concat(decimalStrings[dec], strNr);
        return bf;
    }

    /* DRAWING SVG */
    function room(uint256 shiftTopY, uint256 shiftBottomY) public pure returns (string memory) {
        string memory rectProps = string.concat(
            svg.prop('width', '300'),
            svg.prop('height', '300'),
            svg.prop('filter', 'url(#room)')
        );
        string memory topTranslate = string.concat('translate(0,-',utils.uint2str(shiftTopY+30),')'); // move it up to horizon
        string memory bottomTranslate = string.concat('translate(0,', utils.uint2str(shiftBottomY+30),') scale(-1,1) rotate(180)'); // move it down to floor of horizon, flip and rotate to mirror

        return string.concat(
            svg.rect(
                string.concat(
                    rectProps,
                    svg.prop('transform', topTranslate) 
                )
            ),
            svg.rect(
                string.concat(
                    rectProps,
                    svg.prop('transform', bottomTranslate)
                )
            )
        );
    }

    function generateColorMatrix(bytes memory hash, uint256 _tokenId) public pure returns (string memory) {
        string memory strMatrix;

        for(uint i = 0; i<20; i+=1) {
            // re-uses entropy
            uint matrixOffset = uint256(toUint8(hash, i))/4; // 0 - 64
            uint negOrPos = toUint8(hash, i); // 0 - 255

            if(i == 18) {
                // the minimalism factor is defined by the alpha/alpha offset in the color matrix.
                // positive == changing to more colour
                // negative == taking colour away
                // the range is +64 -> -64 (128 digits)
                // max minimalism arrives at 1m mints.
                uint256 diff = generateMinimalismFactor(hash, i, _tokenId);

                // signed ints would've been better, but using unsigned<->string utils, so just manually adding pos/neg signs.
                string memory modStr;
                if (diff > 64) {
                   modStr = string.concat("-", utils.uint2str(diff-64), ' ');
                } else {
                   modStr = string.concat(utils.uint2str(64-diff), ' ');
                }

                strMatrix = string.concat(strMatrix, modStr); 

            } else if(i==4 || i == 9 || i== 14 || i == 19) {
                strMatrix = string.concat(strMatrix, '1 '); // end multiplier of channels (should be linear change, not multiplied)
            } else if(negOrPos < 128) { // random chance of adding or taking away colour (or alpha) from rgba
                strMatrix = string.concat(strMatrix, utils.uint2str(matrixOffset), ' ');
            } else {
                strMatrix = string.concat(strMatrix, '-', utils.uint2str(matrixOffset), ' ');
            }
        }
        return strMatrix;
    }

    /*
    A number in between 0 - 128, where 0 is most maximal. No attempt at minimalism.
    128 is the most minimal (given the constraints of the artist).

    It becomes more likely to produce a more minimal painting as it approaches 1 million.
    eg, at mint 1 -> minimalism factor is 0.
    at mint 1,000,000 -> minimalism factor could be between 0 - 128.
    */
    function generateMinimalismFactor(bytes memory hash, uint256 index, uint256 _tokenId) public pure returns (uint256) {
        uint256 rnr = uint256(toUint8(hash, index))/2 + 1; // 1 - 128

        uint256 diff;
        if(_tokenId > 1000000) { 
            diff = rnr; 
        } else {
            diff = _tokenId*rnr/1000000;
        }

        return diff;
    }

    /*
    Some distant stars or nearby galactic nebula. Adds a shine to the room of infinite paintings.
    */
    function stars(uint256 shiftTopY, uint256 shiftBottomY) public pure returns (string memory) {
        string memory rectProps = string.concat(
            svg.prop('width', '300'),
            svg.prop('height', '300'),
            svg.prop('filter', 'url(#stars)')
        );
        string memory topTranslate = string.concat('translate(0,-',utils.uint2str(shiftTopY+30),')');
        string memory bottomTranslate = string.concat('translate(0,', utils.uint2str(shiftBottomY+30),') scale(-1,1) rotate(180)');
        return string.concat(
                svg.rect(
                    string.concat(
                        rectProps, 
                        svg.prop('transform', topTranslate)
                    )
                ),
                svg.rect(
                    string.concat(
                        rectProps, 
                        svg.prop('transform', bottomTranslate)
                    )
                )
        );
    }

    function gradientRects(uint256 shiftTopY, uint256 shiftBottomY) public pure returns (string memory) {
        return string.concat(
                svg.rect(string.concat(svg.prop('width', '300'), svg.prop('height', '300'), svg.prop('fill', 'url(#topGradient)'), svg.prop('transform', string.concat('translate(0,-',utils.uint2str(shiftTopY),')')))),
                svg.rect(string.concat(svg.prop('width', '300'), svg.prop('height', '300'), svg.prop('fill', 'url(#topGradient)'), svg.prop('transform', string.concat('translate(0,', utils.uint2str(shiftBottomY),') scale(-1,1) rotate(180)'))))
        );
    }

    /*
    The polygons are to give the feeling of a room/area stretching into the horizon.
    If the background canvas is white, it fulfills this better.
    If the background is dark, however, the corner polygons make the polygons feel more like it ends in the corners. More artistic than the idea of a line fading into the horizon.
    It's a subtle point to emphasise that the context of the infinite painting matters where it is viewed.
    The initial intent goal was for it to be merely infinite, but instead of taking out the corner lines, I've kept it in to change the feeling of the painting based on what background canvas is used.
    */
    function polygons(uint256 gap, uint256 midPoint, uint256 midPoint2) public pure returns (string memory) {
        uint256[8] memory polyPoints1 = [gap, 0, 0, 0, 0, gap, midPoint2, midPoint];
        uint256[8] memory polyPoints2 = [0, 300-gap, 0, 300, gap, 300, midPoint2, midPoint];
        uint256[8] memory polyPoints3 = [300-gap, 0, 300, 0, 300, gap, midPoint2, midPoint];
        uint256[8] memory polyPoints4 = [300, 300-gap, 300, 300, 300-gap, 300, midPoint2, midPoint];

        return string.concat(
                polygon(polyPoints1), 
                polygon(polyPoints2), 
                polygon(polyPoints3), 
                polygon(polyPoints4)
        );
    }

    function polygon(uint256[8] memory points) public pure returns (string memory) {
        string memory poly = string.concat(utils.uint2str(points[0]),',',utils.uint2str(points[1]),' ',utils.uint2str(points[2]),',',utils.uint2str(points[3]),' ',utils.uint2str(points[4]),',',utils.uint2str(points[5]),' ',utils.uint2str(points[6]),',',utils.uint2str(points[7]));
        return svg.el('polygon', 
            string.concat(
                svg.prop('points', poly),
                svg.prop('fill', 'none'),
                svg.prop('stroke', 'white')
            )
        );
    }

    /* HELPER */

    // helper function for generation
    // from: https://github.com/GNSPS/solidity-bytes-utils/blob/master/contracts/BytesLib.sol 
    function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
        require(_start + 1 >= _start, "toUint8_overflow");
        require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
        uint8 tempUint; 

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }
        return tempUint;
    }
}

contract CollectionDescriptor {

    Renderer public renderer;

    constructor() {
        renderer = new Renderer();
    }

    function generateName(uint nr) public pure returns (string memory) {
        return string(abi.encodePacked('Infinite Painting #', utils.uint2str(nr)));
    }

    /*
    While the painting has many random variables (using & re-using ~34 random variables), the only trait to log and keep track of is the minimalism factor.
    The rest should be collected/desired based on aesthetic appeal.
    */
    function generateTraits(bytes memory hash, uint256 tokenId) public view returns (string memory) {
        uint256 minimalFactor = renderer.generateMinimalismFactor(hash, 18, tokenId); 
        string memory traitType = '{"trait_type": "Minimalism Factor", "value":';
        string memory traitValue = string.concat('"', utils.uint2str(minimalFactor), '"}');

        return string(abi.encodePacked(
            '"attributes": [',
            traitType,
            traitValue,
            ']'
        ));
    }

    function generateImage(bytes memory hash, uint256 tokenId) public view returns (string memory) {
        return renderer.render(hash, tokenId);
    } 
}

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

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

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

pragma solidity ^0.8.9;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

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

pragma solidity ^0.8.9;

/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.9;

import "./interfaces/IERC165.sol";

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

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

pragma solidity ^0.8.9;

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

File 13 of 14 : SVG.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import './Utils.sol';

// Core SVG utilitiy library which helps us construct
// onchain SVG's with a simple, web-like API.

// modified from original to take away functions that I'm not using

library svg {
    /* MAIN ELEMENTS */

    function rect(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('rect', _props, _children);
    }

    function rect(string memory _props)
        internal
        pure
        returns (string memory)
    {
        return el('rect', _props);
    }

    function filter(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('filter', _props, _children);
    }

    
    function linearGradient(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('linearGradient', _props, _children);
    }

    function gradientStop(
        uint256 offset,
        string memory stopColor,
        string memory _props
    ) internal pure returns (string memory) {
        return
            el(
                'stop',
                string.concat(
                    prop('stop-color', stopColor),
                    ' ',
                    prop('offset', string.concat(utils.uint2str(offset), '%')),
                    ' ',
                    _props
                )
            );
    }

    /* COMMON */
    // A generic element, can be used to construct any SVG (or HTML) element
    function el(
        string memory _tag,
        string memory _props,
        string memory _children
    ) internal pure returns (string memory) {
        return
            string.concat(
                '<',
                _tag,
                ' ',
                _props,
                '>',
                _children,
                '</',
                _tag,
                '>'
            );
    }

    // A generic element, can be used to construct any SVG (or HTML) element without children
    function el(
        string memory _tag,
        string memory _props
    ) internal pure returns (string memory) {
        return
            string.concat(
                '<',
                _tag,
                ' ',
                _props,
                '/>'
            );
    }

    // an SVG attribute
    function prop(string memory _key, string memory _val)
        internal
        pure
        returns (string memory)
    {
        return string.concat(_key, '=', '"', _val, '" ');
    }
}

File 14 of 14 : Utils.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

// Core utils used extensively to format CSS and numbers.

// modified from original to take away functions that I'm not using
library utils {
    // converts an unsigned integer to a string
    function uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return '0';
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract CollectionDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"hash","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateBase64Image","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"hash","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateImageFromTokenID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"hash","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generateTraits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hashes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"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":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

608060405273af69610ea9ddc95883f97a6a3171d52165b69b03600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006009553480156200006b57600080fd5b506040516200863638038062008636833981810160405281019062000091919062000751565b81818160009080519060200190620000ab92919062000465565b508060019080519060200190620000c492919062000465565b505050604051620000d590620004f6565b604051809103906000f080158015620000f2573d6000803e3d6000fd5b50600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000166600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200016e60201b60201c565b505062000afe565b6001600960008282546200018391906200080f565b9250508190555060006009544283604051602001620001a59392919062000915565b60405160208183030381529060405280519060200120604051602001620001cd919062000987565b60405160208183030381529060405290508060086000600954815260200190815260200160002090805190602001906200020992919062000504565b5062000223826009546200022760201b6200123d1760201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200029a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002919062000a05565b60405180910390fd5b620002ab81620003f960201b60201c565b15620002ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e59062000a77565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200034091906200080f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b828054620004739062000ac8565b90600052602060002090601f016020900481019282620004975760008555620004e3565b82601f10620004b257805160ff1916838001178555620004e3565b82800160010185558215620004e3579182015b82811115620004e2578251825591602001919060010190620004c5565b5b509050620004f2919062000595565b5090565b6146e98062003f4d83390190565b828054620005129062000ac8565b90600052602060002090601f01602090048101928262000536576000855562000582565b82601f106200055157805160ff191683800117855562000582565b8280016001018555821562000582579182015b828111156200058157825182559160200191906001019062000564565b5b50905062000591919062000595565b5090565b5b80821115620005b057600081600090555060010162000596565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200061d82620005d2565b810181811067ffffffffffffffff821117156200063f576200063e620005e3565b5b80604052505050565b600062000654620005b4565b905062000662828262000612565b919050565b600067ffffffffffffffff821115620006855762000684620005e3565b5b6200069082620005d2565b9050602081019050919050565b60005b83811015620006bd578082015181840152602081019050620006a0565b83811115620006cd576000848401525b50505050565b6000620006ea620006e48462000667565b62000648565b905082815260208101848484011115620007095762000708620005cd565b5b620007168482856200069d565b509392505050565b600082601f830112620007365762000735620005c8565b5b815162000748848260208601620006d3565b91505092915050565b600080604083850312156200076b576200076a620005be565b5b600083015167ffffffffffffffff8111156200078c576200078b620005c3565b5b6200079a858286016200071e565b925050602083015167ffffffffffffffff811115620007be57620007bd620005c3565b5b620007cc858286016200071e565b9150509250929050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200081c82620007d6565b91506200082983620007d6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620008615762000860620007e0565b5b828201905092915050565b6000819050919050565b6200088b6200088582620007d6565b6200086c565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008be8262000891565b9050919050565b60008160601b9050919050565b6000620008df82620008c5565b9050919050565b6000620008f382620008d2565b9050919050565b6200090f6200090982620008b1565b620008e6565b82525050565b600062000923828662000876565b60208201915062000935828562000876565b602082019150620009478284620008fa565b601482019150819050949350505050565b6000819050919050565b6000819050919050565b620009816200097b8262000958565b62000962565b82525050565b60006200099582846200096c565b60208201915081905092915050565b600082825260208201905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000620009ed602083620009a4565b9150620009fa82620009b5565b602082019050919050565b6000602082019050818103600083015262000a2081620009de565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000a5f601c83620009a4565b915062000a6c8262000a27565b602082019050919050565b6000602082019050818103600083015262000a928162000a50565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ae157607f821691505b6020821081141562000af85762000af762000a99565b5b50919050565b61343f8062000b0e6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806342842e0e116100b857806395d89b411161007c57806395d89b411461039d578063a22cb465146103bb578063b88d4fde146103d7578063c3f517ee146103f3578063c87b56dd14610423578063e985e9c51461045357610142565b806342842e0e146102d3578063501895ae146102ef5780636352211e1461031f57806370a082311461034f5780638da5cb5b1461037f57610142565b806318160ddd1161010a57806318160ddd146101eb5780631a1534d814610209578063210af55b1461023957806323b872dd14610269578063303e74df146102855780633822d1cb146102a357610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c55780631249c58b146101e1575b600080fd5b610161600480360381019061015c9190611df1565b610483565b60405161016e9190611e39565b60405180910390f35b61017f610565565b60405161018c9190611eed565b60405180910390f35b6101af60048036038101906101aa9190611f45565b6105f7565b6040516101bc9190611fb3565b60405180910390f35b6101df60048036038101906101da9190611ffa565b61067c565b005b6101e9610786565b005b6101f3610791565b6040516102009190612049565b60405180910390f35b610223600480360381019061021e9190612199565b610797565b6040516102309190611eed565b60405180910390f35b610253600480360381019061024e9190612199565b610844565b6040516102609190611eed565b60405180910390f35b610283600480360381019061027e91906121f5565b6108f1565b005b61028d61094a565b60405161029a91906122a7565b60405180910390f35b6102bd60048036038101906102b89190611f45565b610970565b6040516102ca9190611eed565b60405180910390f35b6102ed60048036038101906102e891906121f5565b610abd565b005b61030960048036038101906103049190611f45565b610add565b6040516103169190612317565b60405180910390f35b61033960048036038101906103349190611f45565b610b7d565b6040516103469190611fb3565b60405180910390f35b61036960048036038101906103649190612339565b610c2f565b6040516103769190612049565b60405180910390f35b610387610ce7565b6040516103949190611fb3565b60405180910390f35b6103a5610d0d565b6040516103b29190611eed565b60405180910390f35b6103d560048036038101906103d09190612392565b610d9f565b005b6103f160048036038101906103ec91906123d2565b610f0b565b005b61040d60048036038101906104089190612199565b610f66565b60405161041a9190611eed565b60405180910390f35b61043d60048036038101906104389190611f45565b610f88565b60405161044a9190611eed565b60405180910390f35b61046d60048036038101906104689190612455565b6111a9565b60405161047a9190611e39565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055e575061055d826113ff565b5b9050919050565b606060008054610574906124c4565b80601f01602080910402602001604051908101604052809291908181526020018280546105a0906124c4565b80156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b5050505050905090565b600061060282611469565b610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890612568565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061068782610b7d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef906125fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610738575061073781336111a9565b5b610777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076e9061268c565b60405180910390fd5b61078183836114d5565b505050565b61078f3361158e565b565b60095481565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631a1534d884846040518363ffffffff1660e01b81526004016107f69291906126ac565b600060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061083c919061277d565b905092915050565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663210af55b84846040518363ffffffff1660e01b81526004016108a39291906126ac565b600060405180830381865afa1580156108c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108e9919061277d565b905092915050565b6108fb338261159a565b61093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190612838565b60405180910390fd5b610945838383611678565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600860008481526020019081526020016000208054610992906124c4565b80601f01602080910402602001604051908101604052809291908181526020018280546109be906124c4565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b50505050509050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663210af55b82856040518363ffffffff1660e01b8152600401610a6f9291906126ac565b600060405180830381865afa158015610a8c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610ab5919061277d565b915050919050565b610ad883838360405180602001604052806000815250610f0b565b505050565b60086020528060005260406000206000915090508054610afc906124c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b28906124c4565b8015610b755780601f10610b4a57610100808354040283529160200191610b75565b820191906000526020600020905b815481529060010190602001808311610b5857829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d906128ca565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c979061295c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610d1c906124c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d48906124c4565b8015610d955780601f10610d6a57610100808354040283529160200191610d95565b820191906000526020600020905b815481529060010190602001808311610d7857829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906129c8565b60405180910390fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610eff9190611e39565b60405180910390a35050565b610f15338361159a565b610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b90612838565b60405180910390fd5b610f60848484846118c9565b50505050565b60606000610f748484610844565b9050610f7f81611925565b91505092915050565b6060610f9382611469565b610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc990612a5a565b60405180910390fd5b6000600860008481526020019081526020016000208054610ff2906124c4565b80601f016020809104026020016040519081016040528092919081815260200182805461101e906124c4565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b505050505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663192a0a1f856040518263ffffffff1660e01b81526004016110cf9190612049565b600060405180830381865afa1580156110ec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611115919061277d565b905060006040518060800160405280605081526020016133ba60509139905060006111408487610f66565b9050600061114e8588610797565b905061117e8484848460405160200161116a9493929190612c7e565b604051602081830303815290604052611925565b60405160200161118e9190612d4a565b60405160208183030381529060405295505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490612db8565b60405180910390fd5b6112b681611469565b156112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90612e24565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113469190612e73565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661154883610b7d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61159781611aaa565b50565b60006115a582611469565b6115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90612f3b565b60405180910390fd5b60006115ef83610b7d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061165e57508373ffffffffffffffffffffffffffffffffffffffff16611646846105f7565b73ffffffffffffffffffffffffffffffffffffffff16145b8061166f575061166e81856111a9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661169882610b7d565b73ffffffffffffffffffffffffffffffffffffffff16146116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e590612fcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061305f565b60405180910390fd5b6117696000826114d5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b9919061307f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118109190612e73565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6118d4848484611678565b6118e084848484611b4e565b61191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613125565b60405180910390fd5b50505050565b606060008251141561194857604051806020016040528060008152509050611aa5565b600060405180606001604052806040815260200161337a60409139905060006003600285516119779190612e73565b6119819190613174565b600461198d91906131a5565b9050600060208261199e9190612e73565b67ffffffffffffffff8111156119b7576119b661206e565b5b6040519080825280601f01601f1916602001820160405280156119e95781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611a64576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b8252600182019150506119fd565b600389510660018114611a7e5760028114611a8e57611a99565b613d3d60f01b6002830352611a99565b603d60f81b60018303525b50505050508093505050505b919050565b600160096000828254611abd9190612e73565b9250508190555060006009544283604051602001611add93929190613268565b60405160208183030381529060405280519060200120604051602001611b0391906132d0565b6040516020818303038152906040529050806008600060095481526020019081526020016000209080519060200190611b3d929190611ce2565b50611b4a8260095461123d565b5050565b6000611b6f8473ffffffffffffffffffffffffffffffffffffffff16611ccf565b15611cc2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611bb394939291906132eb565b6020604051808303816000875af1925050508015611bef57506040513d601f19601f82011682018060405250810190611bec919061334c565b60015b611c72573d8060008114611c1f576040519150601f19603f3d011682016040523d82523d6000602084013e611c24565b606091505b50600081511415611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190613125565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611cc7565b600190505b949350505050565b600080823b905060008111915050919050565b828054611cee906124c4565b90600052602060002090601f016020900481019282611d105760008555611d57565b82601f10611d2957805160ff1916838001178555611d57565b82800160010185558215611d57579182015b82811115611d56578251825591602001919060010190611d3b565b5b509050611d649190611d68565b5090565b5b80821115611d81576000816000905550600101611d69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611dce81611d99565b8114611dd957600080fd5b50565b600081359050611deb81611dc5565b92915050565b600060208284031215611e0757611e06611d8f565b5b6000611e1584828501611ddc565b91505092915050565b60008115159050919050565b611e3381611e1e565b82525050565b6000602082019050611e4e6000830184611e2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e8e578082015181840152602081019050611e73565b83811115611e9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000611ebf82611e54565b611ec98185611e5f565b9350611ed9818560208601611e70565b611ee281611ea3565b840191505092915050565b60006020820190508181036000830152611f078184611eb4565b905092915050565b6000819050919050565b611f2281611f0f565b8114611f2d57600080fd5b50565b600081359050611f3f81611f19565b92915050565b600060208284031215611f5b57611f5a611d8f565b5b6000611f6984828501611f30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f9d82611f72565b9050919050565b611fad81611f92565b82525050565b6000602082019050611fc86000830184611fa4565b92915050565b611fd781611f92565b8114611fe257600080fd5b50565b600081359050611ff481611fce565b92915050565b6000806040838503121561201157612010611d8f565b5b600061201f85828601611fe5565b925050602061203085828601611f30565b9150509250929050565b61204381611f0f565b82525050565b600060208201905061205e600083018461203a565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120a682611ea3565b810181811067ffffffffffffffff821117156120c5576120c461206e565b5b80604052505050565b60006120d8611d85565b90506120e4828261209d565b919050565b600067ffffffffffffffff8211156121045761210361206e565b5b61210d82611ea3565b9050602081019050919050565b82818337600083830152505050565b600061213c612137846120e9565b6120ce565b90508281526020810184848401111561215857612157612069565b5b61216384828561211a565b509392505050565b600082601f8301126121805761217f612064565b5b8135612190848260208601612129565b91505092915050565b600080604083850312156121b0576121af611d8f565b5b600083013567ffffffffffffffff8111156121ce576121cd611d94565b5b6121da8582860161216b565b92505060206121eb85828601611f30565b9150509250929050565b60008060006060848603121561220e5761220d611d8f565b5b600061221c86828701611fe5565b935050602061222d86828701611fe5565b925050604061223e86828701611f30565b9150509250925092565b6000819050919050565b600061226d61226861226384611f72565b612248565b611f72565b9050919050565b600061227f82612252565b9050919050565b600061229182612274565b9050919050565b6122a181612286565b82525050565b60006020820190506122bc6000830184612298565b92915050565b600081519050919050565b600082825260208201905092915050565b60006122e9826122c2565b6122f381856122cd565b9350612303818560208601611e70565b61230c81611ea3565b840191505092915050565b6000602082019050818103600083015261233181846122de565b905092915050565b60006020828403121561234f5761234e611d8f565b5b600061235d84828501611fe5565b91505092915050565b61236f81611e1e565b811461237a57600080fd5b50565b60008135905061238c81612366565b92915050565b600080604083850312156123a9576123a8611d8f565b5b60006123b785828601611fe5565b92505060206123c88582860161237d565b9150509250929050565b600080600080608085870312156123ec576123eb611d8f565b5b60006123fa87828801611fe5565b945050602061240b87828801611fe5565b935050604061241c87828801611f30565b925050606085013567ffffffffffffffff81111561243d5761243c611d94565b5b6124498782880161216b565b91505092959194509250565b6000806040838503121561246c5761246b611d8f565b5b600061247a85828601611fe5565b925050602061248b85828601611fe5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124dc57607f821691505b602082108114156124f0576124ef612495565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612552602c83611e5f565b915061255d826124f6565b604082019050919050565b6000602082019050818103600083015261258181612545565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006125e4602183611e5f565b91506125ef82612588565b604082019050919050565b60006020820190508181036000830152612613816125d7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612676603883611e5f565b91506126818261261a565b604082019050919050565b600060208201905081810360008301526126a581612669565b9050919050565b600060408201905081810360008301526126c681856122de565b90506126d5602083018461203a565b9392505050565b600067ffffffffffffffff8211156126f7576126f661206e565b5b61270082611ea3565b9050602081019050919050565b600061272061271b846126dc565b6120ce565b90508281526020810184848401111561273c5761273b612069565b5b612747848285611e70565b509392505050565b600082601f83011261276457612763612064565b5b815161277484826020860161270d565b91505092915050565b60006020828403121561279357612792611d8f565b5b600082015167ffffffffffffffff8111156127b1576127b0611d94565b5b6127bd8482850161274f565b91505092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612822603183611e5f565b915061282d826127c6565b604082019050919050565b6000602082019050818103600083015261285181612815565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006128b4602983611e5f565b91506128bf82612858565b604082019050919050565b600060208201905081810360008301526128e3816128a7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612946602a83611e5f565b9150612951826128ea565b604082019050919050565b6000602082019050818103600083015261297581612939565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006129b2601983611e5f565b91506129bd8261297c565b602082019050919050565b600060208201905081810360008301526129e1816129a5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612a44602f83611e5f565b9150612a4f826129e8565b604082019050919050565b60006020820190508181036000830152612a7381612a37565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000612abb600983612a7a565b9150612ac682612a85565b600982019050919050565b6000612adc82611e54565b612ae68185612a7a565b9350612af6818560208601611e70565b80840191505092915050565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b6000612b38601283612a7a565b9150612b4382612b02565b601282019050919050565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b6000612b84600d83612a7a565b9150612b8f82612b4e565b600d82019050919050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6000612bd0601a83612a7a565b9150612bdb82612b9a565b601a82019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000612c1c600283612a7a565b9150612c2782612be6565b600282019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000612c68600183612a7a565b9150612c7382612c32565b600182019050919050565b6000612c8982612aae565b9150612c958287612ad1565b9150612ca082612b2b565b9150612cac8286612ad1565b9150612cb782612b77565b9150612cc282612bc3565b9150612cce8285612ad1565b9150612cd982612c0f565b9150612ce58284612ad1565b9150612cf082612c5b565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000612d34601d83612a7a565b9150612d3f82612cfe565b601d82019050919050565b6000612d5582612d27565b9150612d618284612ad1565b915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612da2602083611e5f565b9150612dad82612d6c565b602082019050919050565b60006020820190508181036000830152612dd181612d95565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612e0e601c83611e5f565b9150612e1982612dd8565b602082019050919050565b60006020820190508181036000830152612e3d81612e01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e7e82611f0f565b9150612e8983611f0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ebe57612ebd612e44565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f25602c83611e5f565b9150612f3082612ec9565b604082019050919050565b60006020820190508181036000830152612f5481612f18565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000612fb7602983611e5f565b9150612fc282612f5b565b604082019050919050565b60006020820190508181036000830152612fe681612faa565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613049602483611e5f565b915061305482612fed565b604082019050919050565b600060208201905081810360008301526130788161303c565b9050919050565b600061308a82611f0f565b915061309583611f0f565b9250828210156130a8576130a7612e44565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061310f603283611e5f565b915061311a826130b3565b604082019050919050565b6000602082019050818103600083015261313e81613102565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061317f82611f0f565b915061318a83611f0f565b92508261319a57613199613145565b5b828204905092915050565b60006131b082611f0f565b91506131bb83611f0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156131f4576131f3612e44565b5b828202905092915050565b6000819050919050565b61321a61321582611f0f565b6131ff565b82525050565b60008160601b9050919050565b600061323882613220565b9050919050565b600061324a8261322d565b9050919050565b61326261325d82611f92565b61323f565b82525050565b60006132748286613209565b6020820191506132848285613209565b6020820191506132948284613251565b601482019150819050949350505050565b6000819050919050565b6000819050919050565b6132ca6132c5826132a5565b6132af565b82525050565b60006132dc82846132b9565b60208201915081905092915050565b60006080820190506133006000830187611fa4565b61330d6020830186611fa4565b61331a604083018561203a565b818103606083015261332c81846122de565b905095945050505050565b60008151905061334681611dc5565b92915050565b60006020828403121561336257613361611d8f565b5b600061337084828501613337565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f54686520526f6f6d206f6620496e66696e697465205061696e74696e67733a20612073696d756c61746564206d696e64277320696e66696e69746520617474656d707420666f72206d65616e696e672ea2646970667358221220511eb356a83eab2f121020040da5f86fc09fab74dd96be5448bf0ea2603b18bc64736f6c634300080c0033608060405234801561001057600080fd5b5060405161001d9061007e565b604051809103906000f080158015610039573d6000803e3d6000fd5b506000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061008b565b6137dd80610f0c83390190565b610e728061009a6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063192a0a1f146100515780631a1534d814610081578063210af55b146100b15780638ada6b0f146100e1575b600080fd5b61006b600480360381019061006691906104ee565b6100ff565b60405161007891906105b4565b60405180910390f35b61009b6004803603810190610096919061070b565b610130565b6040516100a891906105b4565b60405180910390f35b6100cb60048036038101906100c6919061070b565b61024c565b6040516100d891906105b4565b60405180910390f35b6100e96102f7565b6040516100f691906107e6565b60405180910390f35b606061010a8261031b565b60405160200161011a9190610889565b6040516020818303038152906040529050919050565b606060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636eda966c856012866040518463ffffffff1660e01b81526004016101939392919061094a565b602060405180830381865afa1580156101b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d4919061099d565b905060006040518060600160405280602c8152602001610e11602c9139905060006101fe8361031b565b60405160200161020e9190610a16565b60405160208183030381529060405290508181604051602001610232929190610ae3565b604051602081830303815290604052935050505092915050565b606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c93286cb84846040518363ffffffff1660e01b81526004016102a9929190610b1d565b600060405180830381865afa1580156102c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906102ef9190610bee565b905092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000821415610363576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061049f565b600082905060005b6000821461039557808061037e90610c66565b915050600a8261038e9190610cde565b915061036b565b60008167ffffffffffffffff8111156103b1576103b06105e0565b5b6040519080825280601f01601f1916602001820160405280156103e35781602001600182028036833780820191505090505b50905060008290505b60008614610497576001816104019190610d0f565b90506000600a80886104139190610cde565b61041d9190610d43565b876104289190610d0f565b60306104349190610daa565b905060008160f81b90508084848151811061045257610451610de1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861048e9190610cde565b975050506103ec565b819450505050505b919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6104cb816104b8565b81146104d657600080fd5b50565b6000813590506104e8816104c2565b92915050565b600060208284031215610504576105036104ae565b5b6000610512848285016104d9565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561055557808201518184015260208101905061053a565b83811115610564576000848401525b50505050565b6000601f19601f8301169050919050565b60006105868261051b565b6105908185610526565b93506105a0818560208601610537565b6105a98161056a565b840191505092915050565b600060208201905081810360008301526105ce818461057b565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6106188261056a565b810181811067ffffffffffffffff82111715610637576106366105e0565b5b80604052505050565b600061064a6104a4565b9050610656828261060f565b919050565b600067ffffffffffffffff821115610676576106756105e0565b5b61067f8261056a565b9050602081019050919050565b82818337600083830152505050565b60006106ae6106a98461065b565b610640565b9050828152602081018484840111156106ca576106c96105db565b5b6106d584828561068c565b509392505050565b600082601f8301126106f2576106f16105d6565b5b813561070284826020860161069b565b91505092915050565b60008060408385031215610722576107216104ae565b5b600083013567ffffffffffffffff8111156107405761073f6104b3565b5b61074c858286016106dd565b925050602061075d858286016104d9565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006107ac6107a76107a284610767565b610787565b610767565b9050919050565b60006107be82610791565b9050919050565b60006107d0826107b3565b9050919050565b6107e0816107c5565b82525050565b60006020820190506107fb60008301846107d7565b92915050565b600081905092915050565b7f496e66696e697465205061696e74696e67202300000000000000000000000000600082015250565b6000610842601383610801565b915061084d8261080c565b601382019050919050565b60006108638261051b565b61086d8185610801565b935061087d818560208601610537565b80840191505092915050565b600061089482610835565b91506108a08284610858565b915081905092915050565b600081519050919050565b600082825260208201905092915050565b60006108d2826108ab565b6108dc81856108b6565b93506108ec818560208601610537565b6108f58161056a565b840191505092915050565b6000819050919050565b600061092561092061091b84610900565b610787565b6104b8565b9050919050565b6109358161090a565b82525050565b610944816104b8565b82525050565b6000606082019050818103600083015261096481866108c7565b9050610973602083018561092c565b610980604083018461093b565b949350505050565b600081519050610997816104c2565b92915050565b6000602082840312156109b3576109b26104ae565b5b60006109c184828501610988565b91505092915050565b7f2200000000000000000000000000000000000000000000000000000000000000815250565b7f227d000000000000000000000000000000000000000000000000000000000000815250565b6000610a21826109ca565b600182019150610a318284610858565b9150610a3c826109f0565b60028201915081905092915050565b7f2261747472696275746573223a205b0000000000000000000000000000000000600082015250565b6000610a81600f83610801565b9150610a8c82610a4b565b600f82019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000610acd600183610801565b9150610ad882610a97565b600182019050919050565b6000610aee82610a74565b9150610afa8285610858565b9150610b068284610858565b9150610b1182610ac0565b91508190509392505050565b60006040820190508181036000830152610b3781856108c7565b9050610b46602083018461093b565b9392505050565b600067ffffffffffffffff821115610b6857610b676105e0565b5b610b718261056a565b9050602081019050919050565b6000610b91610b8c84610b4d565b610640565b905082815260208101848484011115610bad57610bac6105db565b5b610bb8848285610537565b509392505050565b600082601f830112610bd557610bd46105d6565b5b8151610be5848260208601610b7e565b91505092915050565b600060208284031215610c0457610c036104ae565b5b600082015167ffffffffffffffff811115610c2257610c216104b3565b5b610c2e84828501610bc0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c71826104b8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610ca457610ca3610c37565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610ce9826104b8565b9150610cf4836104b8565b925082610d0457610d03610caf565b5b828204905092915050565b6000610d1a826104b8565b9150610d25836104b8565b925082821015610d3857610d37610c37565b5b828203905092915050565b6000610d4e826104b8565b9150610d59836104b8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610d9257610d91610c37565b5b828202905092915050565b600060ff82169050919050565b6000610db582610d9d565b9150610dc083610d9d565b92508260ff03821115610dd657610dd5610c37565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfe7b2274726169745f74797065223a20224d696e696d616c69736d20466163746f72222c202276616c7565223aa2646970667358221220993ea7b0e8d3ca0e01a90fa0f92545e20306a59fd9d6116964422c74659770a464736f6c634300080c0033608060405234801561001057600080fd5b506137bd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100b35760003560e01c80636eda966c116100715780636eda966c146101d85780639747162314610208578063c067781214610226578063c93286cb14610256578063cac9368014610286578063f15fb630146102b6576100b3565b8062a1abd0146100b85780631658e1ba146100e857806322f621af146101185780634d4bae0d1461014857806350e826d414610178578063603742f4146101a8575b600080fd5b6100d260048036038101906100cd91906126a0565b6102e6565b6040516100df9190612784565b60405180910390f35b61010260048036038101906100fd91906127a6565b6104be565b60405161010f9190612784565b60405180910390f35b610132600480360381019061012d91906127e6565b6108c0565b60405161013f9190612784565b60405180910390f35b610162600480360381019061015d91906127a6565b610a59565b60405161016f9190612784565b60405180910390f35b610192600480360381019061018d91906129ae565b610d47565b60405161019f9190612784565b60405180910390f35b6101c260048036038101906101bd9190612afe565b610dfd565b6040516101cf9190612784565b60405180910390f35b6101f260048036038101906101ed9190612b2c565b6110bf565b6040516101ff9190612baa565b60405180910390f35b610210611127565b60405161021d9190612784565b60405180910390f35b610240600480360381019061023b91906127a6565b6113e5565b60405161024d9190612784565b60405180910390f35b610270600480360381019061026b91906126a0565b6116d3565b60405161027d9190612784565b60405180910390f35b6102a0600480360381019061029b91906126a0565b6117de565b6040516102ad9190612784565b60405180910390f35b6102d060048036038101906102cb91906126a0565b612020565b6040516102dd9190612784565b60405180910390f35b60608060005b60148110156104b35760006004610303878461205c565b60ff166103109190612c23565b9050600061031e878461205c565b60ff16905060128314156103e35760006103398885896110bf565b9050606060408211156103815761035b6040836103569190612c54565b612112565b60405160200161036b9190612d10565b60405160208183030381529060405290506103b8565b6103968260406103919190612c54565b612112565b6040516020016103a69190612d45565b60405160208183030381529060405290505b85816040516020016103cb929190612d6b565b6040516020818303038152906040529550505061049d565b60048314806103f25750600983145b806103fd5750600e83145b806104085750601383145b15610434578360405160200161041e9190612db5565b604051602081830303815290604052935061049c565b608081101561046e578361044783612112565b604051602001610458929190612ddb565b604051602081830303815290604052935061049b565b8361047883612112565b604051602001610489929190612e0e565b60405160208183030381529060405293505b5b5b50506001816104ac9190612e50565b90506102ec565b508091505092915050565b60606106ac6105376040518060400160405280600581526020017f77696474680000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b6105ab6040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b61061f6040518060400160405280600481526020017f66696c6c000000000000000000000000000000000000000000000000000000008152506040518060400160405280601181526020017f75726c2823746f704772616469656e742900000000000000000000000000000081525061229b565b6106856040518060400160405280600981526020017f7472616e73666f726d000000000000000000000000000000000000000000000081525061066189612112565b6040516020016106719190612ef2565b60405160208183030381529060405261229b565b6040516020016106989493929190612f27565b6040516020818303038152906040526122c7565b6108986107236040518060400160405280600581526020017f77696474680000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b6107976040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b61080b6040518060400160405280600481526020017f66696c6c000000000000000000000000000000000000000000000000000000008152506040518060400160405280601181526020017f75726c2823746f704772616469656e742900000000000000000000000000000081525061229b565b6108716040518060400160405280600981526020017f7472616e73666f726d000000000000000000000000000000000000000000000081525061084d89612112565b60405160200161085d9190612fb1565b60405160208183030381529060405261229b565b6040516020016108849493929190612f27565b6040516020818303038152906040526122c7565b6040516020016108a9929190612d6b565b604051602081830303815290604052905092915050565b60606000604051806101000160405280868152602001600081526020016000815260200160008152602001600081526020018681526020018481526020018581525090506000604051806101000160405280600081526020018761012c6109279190612c54565b81526020016000815260200161012c815260200187815260200161012c815260200185815260200186815250905060006040518061010001604052808861012c6109719190612c54565b81526020016000815260200161012c81526020016000815260200161012c8152602001888152602001868152602001878152509050600060405180610100016040528061012c81526020018961012c6109ca9190612c54565b815260200161012c815260200161012c81526020018961012c6109ed9190612c54565b815260200161012c8152602001878152602001888152509050610a0f84610dfd565b610a1884610dfd565b610a2184610dfd565b610a2a84610dfd565b604051602001610a3d9493929190612f27565b6040516020818303038152906040529450505050509392505050565b60606000610ad16040518060400160405280600581526020017f77696474680000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b610b456040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b610bb96040518060400160405280600681526020017f66696c74657200000000000000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f75726c282373746172732900000000000000000000000000000000000000000081525061229b565b604051602001610bcb93929190612fe6565b60405160208183030381529060405290506000610bf3601e86610bee9190612e50565b612112565b604051602001610c039190612ef2565b60405160208183030381529060405290506000610c2b601e86610c269190612e50565b612112565b604051602001610c3b9190612fb1565b6040516020818303038152906040529050610cb483610c8f6040518060400160405280600981526020017f7472616e73666f726d00000000000000000000000000000000000000000000008152508561229b565b604051602001610ca0929190612d6b565b6040516020818303038152906040526122c7565b610d1c84610cf76040518060400160405280600981526020017f7472616e73666f726d00000000000000000000000000000000000000000000008152508561229b565b604051602001610d08929190612d6b565b6040516020818303038152906040526122c7565b604051602001610d2d929190612d6b565b604051602081830303815290604052935050505092915050565b60606000610d866101006103e8610d5e898961205c565b60ff16610d6b9190613017565b610d759190612c23565b6001610d819190612e50565b612112565b905060006101006003610d99898861205c565b60ff16610da69190613017565b610db09190612c23565b90506000848260038110610dc757610dc6613071565b5b602002015183604051602001610dde929190612d6b565b6040516020818303038152906040529050809350505050949350505050565b60606000610e2283600060088110610e1857610e17613071565b5b6020020151612112565b610e4384600160088110610e3957610e38613071565b5b6020020151612112565b610e6485600260088110610e5a57610e59613071565b5b6020020151612112565b610e8586600360088110610e7b57610e7a613071565b5b6020020151612112565b610ea687600460088110610e9c57610e9b613071565b5b6020020151612112565b610ec788600560088110610ebd57610ebc613071565b5b6020020151612112565b610ee889600660088110610ede57610edd613071565b5b6020020151612112565b610f098a600760088110610eff57610efe613071565b5b6020020151612112565b604051602001610f209897969594939291906130c6565b60405160208183030381529060405290506110b76040518060400160405280600781526020017f706f6c79676f6e00000000000000000000000000000000000000000000000000815250610fa96040518060400160405280600681526020017f706f696e747300000000000000000000000000000000000000000000000000008152508461229b565b61101d6040518060400160405280600481526020017f66696c6c000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f6e6f6e650000000000000000000000000000000000000000000000000000000081525061229b565b6110916040518060400160405280600681526020017f7374726f6b6500000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f776869746500000000000000000000000000000000000000000000000000000081525061229b565b6040516020016110a393929190612fe6565b60405160208183030381529060405261230f565b915050919050565b600080600160026110d0878761205c565b60ff166110dd9190612c23565b6110e79190612e50565b90506000620f42408411156110fe5781905061111b565b620f4240828561110e9190613017565b6111189190612c23565b90505b80925050509392505050565b60606113c16111a06040518060400160405280600281526020017f69640000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f746f704772616469656e7400000000000000000000000000000000000000000081525061229b565b6112146040518060400160405280601181526020017f6772616469656e745472616e73666f726d0000000000000000000000000000008152506040518060400160405280600a81526020017f726f74617465283930290000000000000000000000000000000000000000000081525061229b565b604051602001611225929190612d6b565b6040516020818303038152906040526112e860506040518060400160405280600581526020017f77686974650000000000000000000000000000000000000000000000000000008152506112e36040518060400160405280600c81526020017f73746f702d6f70616369747900000000000000000000000000000000000000008152506040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525061229b565b61233b565b61139c60646040518060400160405280600581526020017f77686974650000000000000000000000000000000000000000000000000000008152506113976040518060400160405280600c81526020017f73746f702d6f70616369747900000000000000000000000000000000000000008152506040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525061229b565b61233b565b6040516020016113ad929190612d6b565b60405160208183030381529060405261244b565b6040516020016113d191906131a1565b604051602081830303815290604052905090565b6060600061145d6040518060400160405280600581526020017f77696474680000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b6114d16040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f333030000000000000000000000000000000000000000000000000000000000081525061229b565b6115456040518060400160405280600681526020017f66696c74657200000000000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f75726c2823726f6f6d290000000000000000000000000000000000000000000081525061229b565b60405160200161155793929190612fe6565b6040516020818303038152906040529050600061157f601e8661157a9190612e50565b612112565b60405160200161158f9190612ef2565b604051602081830303815290604052905060006115b7601e866115b29190612e50565b612112565b6040516020016115c79190612fb1565b60405160208183030381529060405290506116408361161b6040518060400160405280600981526020017f7472616e73666f726d00000000000000000000000000000000000000000000008152508561229b565b60405160200161162c929190612d6b565b6040516020818303038152906040526122c7565b6116a8846116836040518060400160405280600981526020017f7472616e73666f726d00000000000000000000000000000000000000000000008152508561229b565b604051602001611694929190612d6b565b6040516020818303038152906040526122c7565b6040516020016116b9929190612d6b565b604051602081830303815290604052935050505092915050565b6060600061010061012c6116e886600061205c565b60ff166116f59190613017565b6116ff9190612c23565b9050600061010061012c61171487600161205c565b60ff166117219190613017565b61172b9190612c23565b90506000600461173c87600261205c565b60ff166117499190612c23565b600a6117559190612e50565b905060008361012c6117679190612c54565b905060008461012c6117799190612e50565b90506117858888612020565b61178f83836113e5565b61179984846104be565b6117a38585610a59565b6117ae878a8a6108c0565b6040516020016117c2959493929190613276565b6040516020818303038152906040529550505050505092915050565b606060006118a9846003600460405180606001604052806040518060400160405280600381526020017f302e30000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f302e30300000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f302e303030000000000000000000000000000000000000000000000000000000815250815250610d47565b90506000611974856005600660405180606001604052806040518060400160405280600281526020017f302e00000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f302e30000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f302e303000000000000000000000000000000000000000000000000000000000815250815250610d47565b905060006119b3610100600461198b89600761205c565b60ff166119989190613017565b6119a29190612c23565b60016119ae9190612e50565b612112565b905060006119fd6119c588600a61205c565b60ff166119d389600961205c565b60ff166119e18a600861205c565b60ff166119ee9190613017565b6119f89190613017565b612112565b90506000611a47611a0f89600d61205c565b60ff16611a1d8a600c61205c565b60ff16611a2b8b600b61205c565b60ff16611a389190613017565b611a429190613017565b612112565b9050611cbc611ac06040518060400160405280600281526020017f69640000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f726f6f6d0000000000000000000000000000000000000000000000000000000081525061229b565b611c116040518060400160405280600c81526020017f666554757262756c656e63650000000000000000000000000000000000000000815250611b386040518060400160405280600d81526020017f626173654672657175656e6379000000000000000000000000000000000000008152508a61229b565b611b776040518060400160405280600481526020017f73656564000000000000000000000000000000000000000000000000000000008152508861229b565b611beb6040518060400160405280600681526020017f726573756c7400000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f747572620000000000000000000000000000000000000000000000000000000081525061229b565b604051602001611bfd93929190612fe6565b60405160208183030381529060405261230f565b611c976040518060400160405280600d81526020017f6665436f6c6f724d617472697800000000000000000000000000000000000000815250611c926040518060400160405280600681526020017f76616c7565730000000000000000000000000000000000000000000000000000815250611c8d8f8f6102e6565b61229b565b61230f565b604051602001611ca8929190612d6b565b604051602081830303815290604052612495565b611ff3611d336040518060400160405280600281526020017f69640000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f737461727300000000000000000000000000000000000000000000000000000081525061229b565b611f396040518060400160405280600c81526020017f666554757262756c656e63650000000000000000000000000000000000000000815250611de06040518060400160405280600481526020017f74797065000000000000000000000000000000000000000000000000000000008152506040518060400160405280600c81526020017f6672616374616c4e6f697365000000000000000000000000000000000000000081525061229b565b611e1f6040518060400160405280600a81526020017f6e756d4f637461766573000000000000000000000000000000000000000000008152508a61229b565b611e5e6040518060400160405280600d81526020017f626173654672657175656e6379000000000000000000000000000000000000008152508c61229b565b611e9d6040518060400160405280600481526020017f73656564000000000000000000000000000000000000000000000000000000008152508a61229b565b611f116040518060400160405280600681526020017f726573756c7400000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f747572620000000000000000000000000000000000000000000000000000000081525061229b565b604051602001611f259594939291906132db565b60405160208183030381529060405261230f565b611fce6040518060400160405280600d81526020017f6665436f6c6f724d617472697800000000000000000000000000000000000000815250611fc96040518060400160405280600681526020017f76616c75657300000000000000000000000000000000000000000000000000008152506040518060600160405280602c815260200161375c602c913961229b565b61230f565b604051602001611fdf929190612d6b565b604051602081830303815290604052612495565b604051602001612004929190612d6b565b6040516020818303038152906040529550505050505092915050565b606061202a611127565b61203484846117de565b604051602001612045929190612d6b565b604051602081830303815290604052905092915050565b60008160018361206c9190612e50565b10156120ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a490613372565b60405180910390fd5b6001826120ba9190612e50565b835110156120fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f4906133de565b60405180910390fd5b60008260018501015190508091505092915050565b6060600082141561215a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612296565b600082905060005b6000821461218c578080612175906133fe565b915050600a826121859190612c23565b9150612162565b60008167ffffffffffffffff8111156121a8576121a761253f565b5b6040519080825280601f01601f1916602001820160405280156121da5781602001600182028036833780820191505090505b50905060008290505b6000861461228e576001816121f89190612c54565b90506000600a808861220a9190612c23565b6122149190613017565b8761221f9190612c54565b603061222b9190613454565b905060008160f81b90508084848151811061224957612248613071565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886122859190612c23565b975050506121e3565b819450505050505b919050565b606082826040516020016122b09291906134fd565b604051602081830303815290604052905092915050565b60606123086040518060400160405280600481526020017f72656374000000000000000000000000000000000000000000000000000000008152508361230f565b9050919050565b6060828260405160200161232492919061359a565b604051602081830303815290604052905092915050565b60606124426040518060400160405280600481526020017f73746f70000000000000000000000000000000000000000000000000000000008152506123b56040518060400160405280600a81526020017f73746f702d636f6c6f72000000000000000000000000000000000000000000008152508661229b565b61241b6040518060400160405280600681526020017f6f666673657400000000000000000000000000000000000000000000000000008152506123f789612112565b6040516020016124079190613611565b60405160208183030381529060405261229b565b8560405160200161242e93929190613637565b60405160208183030381529060405261230f565b90509392505050565b606061248d6040518060400160405280600e81526020017f6c696e6561724772616469656e7400000000000000000000000000000000000081525084846124df565b905092915050565b60606124d76040518060400160405280600681526020017f66696c746572000000000000000000000000000000000000000000000000000081525084846124df565b905092915050565b6060838383866040516020016124f894939291906136d2565b60405160208183030381529060405290509392505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6125778261252e565b810181811067ffffffffffffffff821117156125965761259561253f565b5b80604052505050565b60006125a9612510565b90506125b5828261256e565b919050565b600067ffffffffffffffff8211156125d5576125d461253f565b5b6125de8261252e565b9050602081019050919050565b82818337600083830152505050565b600061260d612608846125ba565b61259f565b90508281526020810184848401111561262957612628612529565b5b6126348482856125eb565b509392505050565b600082601f83011261265157612650612524565b5b81356126618482602086016125fa565b91505092915050565b6000819050919050565b61267d8161266a565b811461268857600080fd5b50565b60008135905061269a81612674565b92915050565b600080604083850312156126b7576126b661251a565b5b600083013567ffffffffffffffff8111156126d5576126d461251f565b5b6126e18582860161263c565b92505060206126f28582860161268b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561273657808201518184015260208101905061271b565b83811115612745576000848401525b50505050565b6000612756826126fc565b6127608185612707565b9350612770818560208601612718565b6127798161252e565b840191505092915050565b6000602082019050818103600083015261279e818461274b565b905092915050565b600080604083850312156127bd576127bc61251a565b5b60006127cb8582860161268b565b92505060206127dc8582860161268b565b9150509250929050565b6000806000606084860312156127ff576127fe61251a565b5b600061280d8682870161268b565b935050602061281e8682870161268b565b925050604061282f8682870161268b565b9150509250925092565b600067ffffffffffffffff8211156128545761285361253f565b5b602082029050919050565b600080fd5b600067ffffffffffffffff82111561287f5761287e61253f565b5b6128888261252e565b9050602081019050919050565b60006128a86128a384612864565b61259f565b9050828152602081018484840111156128c4576128c3612529565b5b6128cf8482856125eb565b509392505050565b600082601f8301126128ec576128eb612524565b5b81356128fc848260208601612895565b91505092915050565b600061291861291384612839565b61259f565b905080602084028301858111156129325761293161285f565b5b835b8181101561297957803567ffffffffffffffff81111561295757612956612524565b5b80860161296489826128d7565b85526020850194505050602081019050612934565b5050509392505050565b600082601f83011261299857612997612524565b5b60036129a5848285612905565b91505092915050565b600080600080608085870312156129c8576129c761251a565b5b600085013567ffffffffffffffff8111156129e6576129e561251f565b5b6129f28782880161263c565b9450506020612a038782880161268b565b9350506040612a148782880161268b565b925050606085013567ffffffffffffffff811115612a3557612a3461251f565b5b612a4187828801612983565b91505092959194509250565b600067ffffffffffffffff821115612a6857612a6761253f565b5b602082029050919050565b6000612a86612a8184612a4d565b61259f565b90508060208402830185811115612aa057612a9f61285f565b5b835b81811015612ac95780612ab5888261268b565b845260208401935050602081019050612aa2565b5050509392505050565b600082601f830112612ae857612ae7612524565b5b6008612af5848285612a73565b91505092915050565b60006101008284031215612b1557612b1461251a565b5b6000612b2384828501612ad3565b91505092915050565b600080600060608486031215612b4557612b4461251a565b5b600084013567ffffffffffffffff811115612b6357612b6261251f565b5b612b6f8682870161263c565b9350506020612b808682870161268b565b9250506040612b918682870161268b565b9150509250925092565b612ba48161266a565b82525050565b6000602082019050612bbf6000830184612b9b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c2e8261266a565b9150612c398361266a565b925082612c4957612c48612bc5565b5b828204905092915050565b6000612c5f8261266a565b9150612c6a8361266a565b925082821015612c7d57612c7c612bf4565b5b828203905092915050565b7f2d00000000000000000000000000000000000000000000000000000000000000815250565b600081905092915050565b6000612cc4826126fc565b612cce8185612cae565b9350612cde818560208601612718565b80840191505092915050565b7f2000000000000000000000000000000000000000000000000000000000000000815250565b6000612d1b82612c88565b600182019150612d2b8284612cb9565b9150612d3682612cea565b60018201915081905092915050565b6000612d518284612cb9565b9150612d5c82612cea565b60018201915081905092915050565b6000612d778285612cb9565b9150612d838284612cb9565b91508190509392505050565b7f3120000000000000000000000000000000000000000000000000000000000000815250565b6000612dc18284612cb9565b9150612dcc82612d8f565b60028201915081905092915050565b6000612de78285612cb9565b9150612df38284612cb9565b9150612dfe82612cea565b6001820191508190509392505050565b6000612e1a8285612cb9565b9150612e2582612c88565b600182019150612e358284612cb9565b9150612e4082612cea565b6001820191508190509392505050565b6000612e5b8261266a565b9150612e668361266a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e9b57612e9a612bf4565b5b828201905092915050565b7f7472616e736c61746528302c2d00000000000000000000000000000000000000815250565b7f2900000000000000000000000000000000000000000000000000000000000000815250565b6000612efd82612ea6565b600d82019150612f0d8284612cb9565b9150612f1882612ecc565b60018201915081905092915050565b6000612f338287612cb9565b9150612f3f8286612cb9565b9150612f4b8285612cb9565b9150612f578284612cb9565b915081905095945050505050565b7f7472616e736c61746528302c0000000000000000000000000000000000000000815250565b7f29207363616c65282d312c312920726f74617465283138302900000000000000815250565b6000612fbc82612f65565b600c82019150612fcc8284612cb9565b9150612fd782612f8b565b60198201915081905092915050565b6000612ff28286612cb9565b9150612ffe8285612cb9565b915061300a8284612cb9565b9150819050949350505050565b60006130228261266a565b915061302d8361266a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561306657613065612bf4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f2c00000000000000000000000000000000000000000000000000000000000000815250565b60006130d2828b612cb9565b91506130dd826130a0565b6001820191506130ed828a612cb9565b91506130f882612cea565b6001820191506131088289612cb9565b9150613113826130a0565b6001820191506131238288612cb9565b915061312e82612cea565b60018201915061313e8287612cb9565b9150613149826130a0565b6001820191506131598286612cb9565b915061316482612cea565b6001820191506131748285612cb9565b915061317f826130a0565b60018201915061318f8284612cb9565b91508190509998505050505050505050565b60006131ad8284612cb9565b915081905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222077696474683d2233303022206865696768743d223330302260208201527f207374796c653d226261636b67726f756e643a23303030223e00000000000000604082015250565b600061323a605983612cae565b9150613245826131b8565b605982019050919050565b7f3c2f7376673e0000000000000000000000000000000000000000000000000000815250565b60006132818261322d565b915061328d8288612cb9565b91506132998287612cb9565b91506132a58286612cb9565b91506132b18285612cb9565b91506132bd8284612cb9565b91506132c882613250565b6006820191508190509695505050505050565b60006132e78288612cb9565b91506132f38287612cb9565b91506132ff8286612cb9565b915061330b8285612cb9565b91506133178284612cb9565b91508190509695505050505050565b7f746f55696e74385f6f766572666c6f7700000000000000000000000000000000600082015250565b600061335c601083612707565b915061336782613326565b602082019050919050565b6000602082019050818103600083015261338b8161334f565b9050919050565b7f746f55696e74385f6f75744f66426f756e647300000000000000000000000000600082015250565b60006133c8601383612707565b91506133d382613392565b602082019050919050565b600060208201905081810360008301526133f7816133bb565b9050919050565b60006134098261266a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561343c5761343b612bf4565b5b600182019050919050565b600060ff82169050919050565b600061345f82613447565b915061346a83613447565b92508260ff038211156134805761347f612bf4565b5b828201905092915050565b7f3d00000000000000000000000000000000000000000000000000000000000000815250565b7f2200000000000000000000000000000000000000000000000000000000000000815250565b7f2220000000000000000000000000000000000000000000000000000000000000815250565b60006135098285612cb9565b91506135148261348b565b600182019150613523826134b1565b6001820191506135338284612cb9565b915061353e826134d7565b6002820191508190509392505050565b7f3c00000000000000000000000000000000000000000000000000000000000000815250565b7f2f3e000000000000000000000000000000000000000000000000000000000000815250565b60006135a58261354e565b6001820191506135b58285612cb9565b91506135c082612cea565b6001820191506135d08284612cb9565b91506135db82613574565b6002820191508190509392505050565b7f2500000000000000000000000000000000000000000000000000000000000000815250565b600061361d8284612cb9565b9150613628826135eb565b60018201915081905092915050565b60006136438286612cb9565b915061364e82612cea565b60018201915061365e8285612cb9565b915061366982612cea565b6001820191506136798284612cb9565b9150819050949350505050565b7f3e00000000000000000000000000000000000000000000000000000000000000815250565b7f3c2f000000000000000000000000000000000000000000000000000000000000815250565b60006136dd8261354e565b6001820191506136ed8287612cb9565b91506136f882612cea565b6001820191506137088286612cb9565b915061371382613686565b6001820191506137238285612cb9565b915061372e826136ac565b60028201915061373e8284612cb9565b915061374982613686565b6001820191508190509594505050505056fe3135203020302030203020302031352030203020302030203020313520302030203020302030202d31352035a26469706673582212205eeb8c5f1aa8ebb16b12f4222af0ed0ce98ee2e552f99011262752196fbb2d2d64736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001e54686520526f6f6d206f6620496e66696e697465205061696e74696e6773000000000000000000000000000000000000000000000000000000000000000000045452495000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c806342842e0e116100b857806395d89b411161007c57806395d89b411461039d578063a22cb465146103bb578063b88d4fde146103d7578063c3f517ee146103f3578063c87b56dd14610423578063e985e9c51461045357610142565b806342842e0e146102d3578063501895ae146102ef5780636352211e1461031f57806370a082311461034f5780638da5cb5b1461037f57610142565b806318160ddd1161010a57806318160ddd146101eb5780631a1534d814610209578063210af55b1461023957806323b872dd14610269578063303e74df146102855780633822d1cb146102a357610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c55780631249c58b146101e1575b600080fd5b610161600480360381019061015c9190611df1565b610483565b60405161016e9190611e39565b60405180910390f35b61017f610565565b60405161018c9190611eed565b60405180910390f35b6101af60048036038101906101aa9190611f45565b6105f7565b6040516101bc9190611fb3565b60405180910390f35b6101df60048036038101906101da9190611ffa565b61067c565b005b6101e9610786565b005b6101f3610791565b6040516102009190612049565b60405180910390f35b610223600480360381019061021e9190612199565b610797565b6040516102309190611eed565b60405180910390f35b610253600480360381019061024e9190612199565b610844565b6040516102609190611eed565b60405180910390f35b610283600480360381019061027e91906121f5565b6108f1565b005b61028d61094a565b60405161029a91906122a7565b60405180910390f35b6102bd60048036038101906102b89190611f45565b610970565b6040516102ca9190611eed565b60405180910390f35b6102ed60048036038101906102e891906121f5565b610abd565b005b61030960048036038101906103049190611f45565b610add565b6040516103169190612317565b60405180910390f35b61033960048036038101906103349190611f45565b610b7d565b6040516103469190611fb3565b60405180910390f35b61036960048036038101906103649190612339565b610c2f565b6040516103769190612049565b60405180910390f35b610387610ce7565b6040516103949190611fb3565b60405180910390f35b6103a5610d0d565b6040516103b29190611eed565b60405180910390f35b6103d560048036038101906103d09190612392565b610d9f565b005b6103f160048036038101906103ec91906123d2565b610f0b565b005b61040d60048036038101906104089190612199565b610f66565b60405161041a9190611eed565b60405180910390f35b61043d60048036038101906104389190611f45565b610f88565b60405161044a9190611eed565b60405180910390f35b61046d60048036038101906104689190612455565b6111a9565b60405161047a9190611e39565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055e575061055d826113ff565b5b9050919050565b606060008054610574906124c4565b80601f01602080910402602001604051908101604052809291908181526020018280546105a0906124c4565b80156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b5050505050905090565b600061060282611469565b610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890612568565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061068782610b7d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef906125fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610738575061073781336111a9565b5b610777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076e9061268c565b60405180910390fd5b61078183836114d5565b505050565b61078f3361158e565b565b60095481565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631a1534d884846040518363ffffffff1660e01b81526004016107f69291906126ac565b600060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061083c919061277d565b905092915050565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663210af55b84846040518363ffffffff1660e01b81526004016108a39291906126ac565b600060405180830381865afa1580156108c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906108e9919061277d565b905092915050565b6108fb338261159a565b61093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190612838565b60405180910390fd5b610945838383611678565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600860008481526020019081526020016000208054610992906124c4565b80601f01602080910402602001604051908101604052809291908181526020018280546109be906124c4565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b50505050509050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663210af55b82856040518363ffffffff1660e01b8152600401610a6f9291906126ac565b600060405180830381865afa158015610a8c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610ab5919061277d565b915050919050565b610ad883838360405180602001604052806000815250610f0b565b505050565b60086020528060005260406000206000915090508054610afc906124c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610b28906124c4565b8015610b755780601f10610b4a57610100808354040283529160200191610b75565b820191906000526020600020905b815481529060010190602001808311610b5857829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d906128ca565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c979061295c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610d1c906124c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610d48906124c4565b8015610d955780601f10610d6a57610100808354040283529160200191610d95565b820191906000526020600020905b815481529060010190602001808311610d7857829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e05906129c8565b60405180910390fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610eff9190611e39565b60405180910390a35050565b610f15338361159a565b610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b90612838565b60405180910390fd5b610f60848484846118c9565b50505050565b60606000610f748484610844565b9050610f7f81611925565b91505092915050565b6060610f9382611469565b610fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc990612a5a565b60405180910390fd5b6000600860008481526020019081526020016000208054610ff2906124c4565b80601f016020809104026020016040519081016040528092919081815260200182805461101e906124c4565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b505050505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663192a0a1f856040518263ffffffff1660e01b81526004016110cf9190612049565b600060405180830381865afa1580156110ec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611115919061277d565b905060006040518060800160405280605081526020016133ba60509139905060006111408487610f66565b9050600061114e8588610797565b905061117e8484848460405160200161116a9493929190612c7e565b604051602081830303815290604052611925565b60405160200161118e9190612d4a565b60405160208183030381529060405295505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490612db8565b60405180910390fd5b6112b681611469565b156112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90612e24565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113469190612e73565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661154883610b7d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61159781611aaa565b50565b60006115a582611469565b6115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90612f3b565b60405180910390fd5b60006115ef83610b7d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061165e57508373ffffffffffffffffffffffffffffffffffffffff16611646846105f7565b73ffffffffffffffffffffffffffffffffffffffff16145b8061166f575061166e81856111a9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661169882610b7d565b73ffffffffffffffffffffffffffffffffffffffff16146116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e590612fcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061305f565b60405180910390fd5b6117696000826114d5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b9919061307f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118109190612e73565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6118d4848484611678565b6118e084848484611b4e565b61191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613125565b60405180910390fd5b50505050565b606060008251141561194857604051806020016040528060008152509050611aa5565b600060405180606001604052806040815260200161337a60409139905060006003600285516119779190612e73565b6119819190613174565b600461198d91906131a5565b9050600060208261199e9190612e73565b67ffffffffffffffff8111156119b7576119b661206e565b5b6040519080825280601f01601f1916602001820160405280156119e95781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611a64576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b8252600182019150506119fd565b600389510660018114611a7e5760028114611a8e57611a99565b613d3d60f01b6002830352611a99565b603d60f81b60018303525b50505050508093505050505b919050565b600160096000828254611abd9190612e73565b9250508190555060006009544283604051602001611add93929190613268565b60405160208183030381529060405280519060200120604051602001611b0391906132d0565b6040516020818303038152906040529050806008600060095481526020019081526020016000209080519060200190611b3d929190611ce2565b50611b4a8260095461123d565b5050565b6000611b6f8473ffffffffffffffffffffffffffffffffffffffff16611ccf565b15611cc2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611bb394939291906132eb565b6020604051808303816000875af1925050508015611bef57506040513d601f19601f82011682018060405250810190611bec919061334c565b60015b611c72573d8060008114611c1f576040519150601f19603f3d011682016040523d82523d6000602084013e611c24565b606091505b50600081511415611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190613125565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611cc7565b600190505b949350505050565b600080823b905060008111915050919050565b828054611cee906124c4565b90600052602060002090601f016020900481019282611d105760008555611d57565b82601f10611d2957805160ff1916838001178555611d57565b82800160010185558215611d57579182015b82811115611d56578251825591602001919060010190611d3b565b5b509050611d649190611d68565b5090565b5b80821115611d81576000816000905550600101611d69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611dce81611d99565b8114611dd957600080fd5b50565b600081359050611deb81611dc5565b92915050565b600060208284031215611e0757611e06611d8f565b5b6000611e1584828501611ddc565b91505092915050565b60008115159050919050565b611e3381611e1e565b82525050565b6000602082019050611e4e6000830184611e2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e8e578082015181840152602081019050611e73565b83811115611e9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000611ebf82611e54565b611ec98185611e5f565b9350611ed9818560208601611e70565b611ee281611ea3565b840191505092915050565b60006020820190508181036000830152611f078184611eb4565b905092915050565b6000819050919050565b611f2281611f0f565b8114611f2d57600080fd5b50565b600081359050611f3f81611f19565b92915050565b600060208284031215611f5b57611f5a611d8f565b5b6000611f6984828501611f30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f9d82611f72565b9050919050565b611fad81611f92565b82525050565b6000602082019050611fc86000830184611fa4565b92915050565b611fd781611f92565b8114611fe257600080fd5b50565b600081359050611ff481611fce565b92915050565b6000806040838503121561201157612010611d8f565b5b600061201f85828601611fe5565b925050602061203085828601611f30565b9150509250929050565b61204381611f0f565b82525050565b600060208201905061205e600083018461203a565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6120a682611ea3565b810181811067ffffffffffffffff821117156120c5576120c461206e565b5b80604052505050565b60006120d8611d85565b90506120e4828261209d565b919050565b600067ffffffffffffffff8211156121045761210361206e565b5b61210d82611ea3565b9050602081019050919050565b82818337600083830152505050565b600061213c612137846120e9565b6120ce565b90508281526020810184848401111561215857612157612069565b5b61216384828561211a565b509392505050565b600082601f8301126121805761217f612064565b5b8135612190848260208601612129565b91505092915050565b600080604083850312156121b0576121af611d8f565b5b600083013567ffffffffffffffff8111156121ce576121cd611d94565b5b6121da8582860161216b565b92505060206121eb85828601611f30565b9150509250929050565b60008060006060848603121561220e5761220d611d8f565b5b600061221c86828701611fe5565b935050602061222d86828701611fe5565b925050604061223e86828701611f30565b9150509250925092565b6000819050919050565b600061226d61226861226384611f72565b612248565b611f72565b9050919050565b600061227f82612252565b9050919050565b600061229182612274565b9050919050565b6122a181612286565b82525050565b60006020820190506122bc6000830184612298565b92915050565b600081519050919050565b600082825260208201905092915050565b60006122e9826122c2565b6122f381856122cd565b9350612303818560208601611e70565b61230c81611ea3565b840191505092915050565b6000602082019050818103600083015261233181846122de565b905092915050565b60006020828403121561234f5761234e611d8f565b5b600061235d84828501611fe5565b91505092915050565b61236f81611e1e565b811461237a57600080fd5b50565b60008135905061238c81612366565b92915050565b600080604083850312156123a9576123a8611d8f565b5b60006123b785828601611fe5565b92505060206123c88582860161237d565b9150509250929050565b600080600080608085870312156123ec576123eb611d8f565b5b60006123fa87828801611fe5565b945050602061240b87828801611fe5565b935050604061241c87828801611f30565b925050606085013567ffffffffffffffff81111561243d5761243c611d94565b5b6124498782880161216b565b91505092959194509250565b6000806040838503121561246c5761246b611d8f565b5b600061247a85828601611fe5565b925050602061248b85828601611fe5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124dc57607f821691505b602082108114156124f0576124ef612495565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612552602c83611e5f565b915061255d826124f6565b604082019050919050565b6000602082019050818103600083015261258181612545565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006125e4602183611e5f565b91506125ef82612588565b604082019050919050565b60006020820190508181036000830152612613816125d7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612676603883611e5f565b91506126818261261a565b604082019050919050565b600060208201905081810360008301526126a581612669565b9050919050565b600060408201905081810360008301526126c681856122de565b90506126d5602083018461203a565b9392505050565b600067ffffffffffffffff8211156126f7576126f661206e565b5b61270082611ea3565b9050602081019050919050565b600061272061271b846126dc565b6120ce565b90508281526020810184848401111561273c5761273b612069565b5b612747848285611e70565b509392505050565b600082601f83011261276457612763612064565b5b815161277484826020860161270d565b91505092915050565b60006020828403121561279357612792611d8f565b5b600082015167ffffffffffffffff8111156127b1576127b0611d94565b5b6127bd8482850161274f565b91505092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612822603183611e5f565b915061282d826127c6565b604082019050919050565b6000602082019050818103600083015261285181612815565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006128b4602983611e5f565b91506128bf82612858565b604082019050919050565b600060208201905081810360008301526128e3816128a7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612946602a83611e5f565b9150612951826128ea565b604082019050919050565b6000602082019050818103600083015261297581612939565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006129b2601983611e5f565b91506129bd8261297c565b602082019050919050565b600060208201905081810360008301526129e1816129a5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612a44602f83611e5f565b9150612a4f826129e8565b604082019050919050565b60006020820190508181036000830152612a7381612a37565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000612abb600983612a7a565b9150612ac682612a85565b600982019050919050565b6000612adc82611e54565b612ae68185612a7a565b9350612af6818560208601611e70565b80840191505092915050565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b6000612b38601283612a7a565b9150612b4382612b02565b601282019050919050565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b6000612b84600d83612a7a565b9150612b8f82612b4e565b600d82019050919050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6000612bd0601a83612a7a565b9150612bdb82612b9a565b601a82019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000612c1c600283612a7a565b9150612c2782612be6565b600282019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000612c68600183612a7a565b9150612c7382612c32565b600182019050919050565b6000612c8982612aae565b9150612c958287612ad1565b9150612ca082612b2b565b9150612cac8286612ad1565b9150612cb782612b77565b9150612cc282612bc3565b9150612cce8285612ad1565b9150612cd982612c0f565b9150612ce58284612ad1565b9150612cf082612c5b565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000612d34601d83612a7a565b9150612d3f82612cfe565b601d82019050919050565b6000612d5582612d27565b9150612d618284612ad1565b915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612da2602083611e5f565b9150612dad82612d6c565b602082019050919050565b60006020820190508181036000830152612dd181612d95565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612e0e601c83611e5f565b9150612e1982612dd8565b602082019050919050565b60006020820190508181036000830152612e3d81612e01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e7e82611f0f565b9150612e8983611f0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ebe57612ebd612e44565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f25602c83611e5f565b9150612f3082612ec9565b604082019050919050565b60006020820190508181036000830152612f5481612f18565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000612fb7602983611e5f565b9150612fc282612f5b565b604082019050919050565b60006020820190508181036000830152612fe681612faa565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613049602483611e5f565b915061305482612fed565b604082019050919050565b600060208201905081810360008301526130788161303c565b9050919050565b600061308a82611f0f565b915061309583611f0f565b9250828210156130a8576130a7612e44565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061310f603283611e5f565b915061311a826130b3565b604082019050919050565b6000602082019050818103600083015261313e81613102565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061317f82611f0f565b915061318a83611f0f565b92508261319a57613199613145565b5b828204905092915050565b60006131b082611f0f565b91506131bb83611f0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156131f4576131f3612e44565b5b828202905092915050565b6000819050919050565b61321a61321582611f0f565b6131ff565b82525050565b60008160601b9050919050565b600061323882613220565b9050919050565b600061324a8261322d565b9050919050565b61326261325d82611f92565b61323f565b82525050565b60006132748286613209565b6020820191506132848285613209565b6020820191506132948284613251565b601482019150819050949350505050565b6000819050919050565b6000819050919050565b6132ca6132c5826132a5565b6132af565b82525050565b60006132dc82846132b9565b60208201915081905092915050565b60006080820190506133006000830187611fa4565b61330d6020830186611fa4565b61331a604083018561203a565b818103606083015261332c81846122de565b905095945050505050565b60008151905061334681611dc5565b92915050565b60006020828403121561336257613361611d8f565b5b600061337084828501613337565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f54686520526f6f6d206f6620496e66696e697465205061696e74696e67733a20612073696d756c61746564206d696e64277320696e66696e69746520617474656d707420666f72206d65616e696e672ea2646970667358221220511eb356a83eab2f121020040da5f86fc09fab74dd96be5448bf0ea2603b18bc64736f6c634300080c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001e54686520526f6f6d206f6620496e66696e697465205061696e74696e6773000000000000000000000000000000000000000000000000000000000000000000045452495000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): The Room of Infinite Paintings
Arg [1] : symbol_ (string): TRIP

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 54686520526f6f6d206f6620496e66696e697465205061696e74696e67730000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 5452495000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.