ETH Price: $3,337.19 (-3.29%)

Token

City Parks (CITYPARKS)
 

Overview

Max Total Supply

600 CITYPARKS

Holders

216

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
caiaberry.eth
Balance
3 CITYPARKS
0x1fad9f65b39d235469bcb59bc664872b93eecac5
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
CityParks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.4;

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

import "./CityParkArt.sol";

// You are loved!
contract CityParks is ERC721Enumerable, Ownable {

    using SafeMath for uint256;
    using Strings for uint256;
    using Strings for uint8;

    uint public constant maxSupply = 1700;

    CityParkUtils.Art[maxSupply + 1] public cityParks;

    constructor() ERC721("City Parks", "CITYPARKS") {
        _safeMint(msg.sender, 0);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(
            'data:application/json;utf8,',
            '{"name":"City Park #',
                (tokenId).toString(),
            '",',
            '"description":"City Parks are a wonderful expression of fun.",',
            '"image":"',
                _generateImage(tokenId),
            '", "attributes":[',
                getMetadata(tokenId),
            ']',
        '}'));
    }

    function getMetadata(uint256 tokenId) public view returns (string memory) {
        if (tokenId == 0) {
            return string(abi.encodePacked(
                CityParkUtils._wrapTrait("Created By", "yungwknd.eth"),
                ',',CityParkUtils._wrapTrait("Genesis Token", "True"),
                ',',CityParkUtils._wrapTrait("Live Image", "True")
            ));
        }
        return string(abi.encodePacked(
            CityParkUtils._wrapTrait("Trees", cityParks[tokenId].numTrees.toString()),
            ',',CityParkUtils._wrapTrait("UFO", CityParkUtils._boolToString(cityParks[tokenId].hasUFO)),
            ',',CityParkUtils._wrapTrait("Sun", CityParkUtils._boolToString(cityParks[tokenId].hasSun)),
            ',',CityParkUtils._wrapTrait("Fence", CityParkUtils._boolToString(cityParks[tokenId].hasFence)),
            ',',CityParkUtils._wrapTrait("Bricks", CityParkUtils._boolToString(cityParks[tokenId].hasBricks))
        ));
    }

    function mint(uint256 numberOfMints) public payable {
        require(msg.value == numberOfMints.mul(0.03 ether), 'Not enough ETH');
        require(totalSupply().add(numberOfMints) <= maxSupply, 'Not enough left');
        for (uint i = 0; i < numberOfMints; i++) {
            uint mintNum = totalSupply();
            if (mintNum < maxSupply) {
                _safeMint(msg.sender, mintNum);
                _saveImageInfo(cityParks[mintNum], mintNum);
            }
        }
    }

    function _generateImage(uint256 mintNum) private view returns (string memory) {
        CityParkUtils.Art memory artData = cityParks[mintNum];
        if (mintNum == 0) {
            artData.randomTimestamp = uint48(block.timestamp);
            artData.randomDifficulty = uint128(block.difficulty);
            artData.randomSeed = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, mintNum)));
            artData.numTrees = uint8(CityParkUtils.seededRandom(1, 3, block.timestamp, artData));
            artData.hasUFO = CityParkUtils.seededRandom(1,100,block.timestamp,artData) >= 90;
            artData.hasSun = !artData.hasUFO;
            artData.hasFence = CityParkUtils.seededRandom(1,100,block.difficulty,artData) >= 90;
            artData.hasBricks = !artData.hasFence;
            artData.overrideWhite = CityParkUtils.seededRandom(1,100,block.timestamp + block.difficulty,artData) >= 20;
        }

        return string(abi.encodePacked(
            CityParkUtils._generateHeader(artData.randomDifficulty,artData),
            CityParkUtils._borderRect,
            CityParkArt._generateRug(artData),
            CityParkArt._generateTrees(artData),
            artData.hasUFO ? CityParkArt._generateUFO(artData) : CityParkArt._generateSun(artData),
            artData.hasFence ? CityParkArt._generateAllFences(artData) : CityParkArt._generateAllBricks(artData),
            CityParkUtils._imageFooter
        ));
    }

    function _saveImageInfo(CityParkUtils.Art storage artInfo, uint mintNum) private {
        artInfo.randomTimestamp = uint48(block.timestamp);
        artInfo.randomDifficulty = uint128(block.difficulty);
        artInfo.randomSeed = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, mintNum)));
        artInfo.numTrees = uint8(CityParkUtils.seededRandom(1,3,1234,artInfo));
        artInfo.hasUFO = CityParkUtils.seededRandom(1,100,8888888,artInfo) >= 90;
        artInfo.hasSun = !artInfo.hasUFO;
        artInfo.hasFence = CityParkUtils.seededRandom(1,100,8888888,artInfo) >= 90;
        artInfo.hasBricks = !artInfo.hasFence;
        artInfo.overrideWhite = CityParkUtils.seededRandom(1,100,12345,artInfo) >= 80;
    }

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

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 16 : CityParkArt.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

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

import "./CityParkUtils.sol";

library CityParkArt {

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

    function _generateFirstTriangle(CityParkUtils.ColorXY memory colorXY) private pure returns (string memory) {
        return string(abi.encodePacked( 
            "<polygon points='",
            (colorXY.x-50).toString(),
            ",",
            colorXY.y.toString(),
            ", ",
            (colorXY.x+25).toString(),
            ",",
            (colorXY.y-150).toString(),
            ", ",
            (colorXY.x+100).toString(),
            ",",
            colorXY.y.toString(),
            "' style='fill:",
            colorXY.color,
            "'/>"
        ));
    }

    function _generateSecondTriangle(CityParkUtils.ColorXY memory colorXY) private pure returns (string memory) {
        return string(abi.encodePacked( 
            "<polygon points='",
            (colorXY.x-70).toString(),
            ",",
            (colorXY.y+80).toString(),
            ", ",
            (colorXY.x+25).toString(),
            ",",
            (colorXY.y-70).toString(),
            ", ",
            (colorXY.x+120).toString(),
            ",",
            (colorXY.y+80).toString(),
            "' style='fill:",
            colorXY.color,
            "'/>"
        ));
    }

    function _generateTreeTriangles(CityParkUtils.ColorXY memory colorXY) private pure returns (string memory) {
      return string(abi.encodePacked(
            _generateFirstTriangle(colorXY),
            _generateSecondTriangle(colorXY)
      ));
    }

    function _generateTrees(CityParkUtils.Art memory artData) public pure returns (string memory) {
        string memory trees = '';
        for (uint i = 0; i < artData.numTrees; i++) {
            CityParkUtils.ColorXY memory colorXY = CityParkUtils.ColorXY({
                x: CityParkUtils.seededRandom(80,790,i*i,artData),
                y: CityParkUtils.seededRandom(150,500,i*i+1,artData),
                color: artData.overrideWhite ? CityParkUtils.getBWColor(i*2+3,artData) : CityParkUtils.getColor(i*2+3,artData)
            });
 
          trees = string(abi.encodePacked(
              trees,
              "<rect width='50' height='200' x='",
              colorXY.x.toString(),
              "' y='",
              colorXY.y.toString(),
              "'",
              " style='fill:",
              colorXY.color,
              "'/>",
              _generateTreeTriangles(colorXY)
            ));
        }

        return trees;
    }

    function _generateWindow(uint x, uint y, string memory color) private pure returns (string memory) {
        return string(abi.encodePacked(
            "<circle cx='",
            x.toString(),
            "' cy='",
            y.toString(),
            "' r='15' style='fill:",
            color,
            "' />"
        ));
    }

    function _generateWindows(CityParkUtils.Art memory artData, CityParkUtils.ColorXY memory colorXY) private pure returns (string memory) {
        string memory wc = CityParkUtils.getColor(artData.randomSeed+3, artData);
        return string(abi.encodePacked(
            _generateWindow(colorXY.x+80,colorXY.y,wc),
            _generateWindow(colorXY.x-80,colorXY.y,wc),
            _generateWindow(colorXY.x,colorXY.y,wc)
        ));
    }

    function _generateUFO(CityParkUtils.Art memory artData) public pure returns (string memory) {
        CityParkUtils.ColorXY memory colorXY = CityParkUtils.ColorXY({
            x: CityParkUtils.seededRandom(160,680,6,artData),
            y: CityParkUtils.seededRandom(60,300,9,artData),
            color: artData.overrideWhite ? CityParkUtils.getBWColor(69420,artData) : CityParkUtils.getColor(69420,artData)
        });

        return string(abi.encodePacked(
            "<ellipse rx='50' ry='80' cx='",
            colorXY.x.toString(),
            "' cy='",
            colorXY.y.toString(),
            "'",
            " style='fill:",
            colorXY.color,
            ";stroke-width:7;stroke:black'/>",
            "<ellipse rx='150' ry='50' cx='",
            colorXY.x.toString(),
            "' cy='",
            colorXY.y.toString(),
            "'",
            " style='fill:",
            colorXY.color,
            ";stroke-width:3;stroke:black'/>",
            "<ellipse rx='50' ry='80' cx='",
            colorXY.x.toString(),
            "' cy='",
            colorXY.y.toString(),
            "'",
            " style='fill:",
            colorXY.color,
            "'/>",
            _generateWindows(artData, colorXY)
        ));
    }

    function _generateSunLines(CityParkUtils.ColorXY memory colorXY) private pure returns (string memory) {
        string memory sunLines = '';
        for (uint16 i = 0; i < 8; i++) {
            sunLines = string(abi.encodePacked(
                sunLines,
                _generateSunLine(colorXY, uint16(i.mul(45)))
            ));
        }
        return sunLines;
    }

    function _generateSunLine(CityParkUtils.ColorXY memory colorXY, uint16 rotate) private pure returns (string memory) {
      return string(abi.encodePacked(
            "<path stroke='",
            colorXY.color,
            "' style='transform:rotate(",
            rotate.toString(),
            "deg);transform-origin:",
            colorXY.x.toString(),
            "px -",
            colorXY.y.toString(),
            "px' d='M",
            colorXY.x.toString(),
            " -",
            (colorXY.y+65).toString(),
            "V -",
            (colorXY.y+105).toString(),
            "' stroke-width='25' />"
      ));
    }

    function _generateSun(CityParkUtils.Art memory artData) public pure returns (string memory) {
        CityParkUtils.ColorXY memory colorXY = CityParkUtils.ColorXY({
            x: CityParkUtils.seededRandom(120,760,4,artData),
            y: CityParkUtils.seededRandom(0,200,20,artData),
            color: artData.overrideWhite ? CityParkUtils.getBWColor(6969,artData) : CityParkUtils.getColor(6969,artData)
        });

        return string(abi.encodePacked(
            "<circle  r='50' cx='",
            colorXY.x.toString(),
            "' cy='-",
            colorXY.y.toString(),
            "' style='fill:",
            colorXY.color,
            "'/>",
            _generateSunLines(colorXY)
        ));
    }

    function _generateRug(CityParkUtils.Art memory artData) public pure returns (string memory) {
        uint randDegrees =  CityParkUtils.seededRandom(0, 90, 199, artData);
        return string(abi.encodePacked(
            "<rect width='1200' height='1500' x='600' y='-460' style='fill:",
            artData.overrideWhite ? CityParkUtils.getBWColor(9876,artData) : CityParkUtils.getColor(9876,artData),
            ";stroke-width:3;stroke:black' transform='rotate(",
            randDegrees.toString(),
            ")'/>",
            _generateStripes(artData, string(abi.encodePacked("-", (90-randDegrees).toString())))
        ));
    }

    function _generateStripes(CityParkUtils.Art memory artData, string memory oppRotateStr) private pure returns (string memory) {
        string memory stripes = '';
        uint numStripes = CityParkUtils.seededRandom(1, 4, 666, artData);
        for (uint i = 0; i < numStripes; i++) {
            uint randomPlace = CityParkUtils.seededRandom(100, 1100, i*2+3, artData);
            string memory xString;
            if (randomPlace > 600) {
                xString = string(abi.encodePacked("-", (randomPlace-600).toString()));
            } else {
                xString = (600-randomPlace).toString();
            }

            stripes = string(abi.encodePacked(
                stripes,
                "<rect width='50' height='1500' x='",
                xString,
                "' y='600'",
                " style='fill:",
                CityParkUtils.getColor(i*i+3,artData),
                ";stroke-width:3;stroke:black' transform='rotate(",
                oppRotateStr,
                ")'/>"
            ));
        }
        return stripes;
    }

    function _generateAllBricks(CityParkUtils.Art memory artData) public pure returns (string memory) {
        uint numBrickStructures = CityParkUtils.seededRandom(1,3,5555555,artData);
        string memory allBricks = '';
        for (uint i = 0; i < numBrickStructures; i++) {
            bool xPos =  CityParkUtils.seededRandom(0,2,i*i+69,artData) > 1;
            uint randX = CityParkUtils.seededRandom(0,300,i*i+888,artData);

            string memory xString;
            if (xPos) {
                xString = randX.toString();
            } else {
                xString = string(abi.encodePacked("-", randX.toString()));
            }

            allBricks = string(abi.encodePacked(
                allBricks,
                "<g transform='translate(",
                xString,
                ",",
                CityParkUtils.seededRandom(0,600,i*i+777,artData).toString(),
                ")'>",
                _generateBricks(artData, i)
            ));
        }
        return allBricks;
    }

    function _generateBricks(CityParkUtils.Art memory artData, uint rand) private pure returns (string memory) {
        string memory bricks = '';
        CityParkUtils.ColorXY memory colorXY = CityParkUtils.ColorXY({
            x: 300,
            y: 600,
            color: artData.overrideWhite ? CityParkUtils.getBWColor(rand+6, artData) : CityParkUtils.getColor(rand+9, artData)
        });
        uint numBricks = CityParkUtils.seededRandom(1,10,rand*2,artData);
        uint height = CityParkUtils.seededRandom(0,10,rand*3+1,artData);
        if (height % 2 == 0) {
            height++;
        }

        // Single half brick beginning
        for (uint i = 0; i < height / 2 + 1; i++) {
            bricks = string(abi.encodePacked(
                bricks,
                "<rect width='50' height='40' x='300' y='",
                (640+(80*i)).toString(),
                "' style='fill:",
                colorXY.color,
                ";stroke-width:3;stroke:black' transform='skewY(-10)'/>"
            ));
        }

        // Main brick faces
        for (uint i = 0; i < numBricks; i++) {
            for (uint j = 0; j < height / 2 + 1; j++) {

                // Top row, full row
                bricks = string(abi.encodePacked(
                    bricks,
                    "<rect width='100' height='40' x='",
                    (300+(i*100)).toString(),
                    "' y='",
                    (600+(80*j)).toString(),
                    "' style='fill:",
                    colorXY.color,
                    ";stroke-width:3;stroke:black' transform='skewY(-10)'/>"
                ));
            }

            // Handle negative x value
            uint baseXPos = 495;
            uint xLocPos;
            uint xLocNeg;
            string memory xString;
            if (i >= 5) {
                xLocNeg = 5 + ((i-5)*100);
                xString = xLocNeg.toString();
            } else {
                xLocPos = baseXPos - (i*100);
                xString = string(abi.encodePacked("-", xLocPos.toString()));
            }

            // Top face
            bricks = string(abi.encodePacked(
                bricks,
                "<rect width='100' height='40' x='",
                xString,
                "' y='560' style='fill:",
                colorXY.color,
                ";stroke-width:3;stroke:black' transform='skewY(-10) skewX(53)'/>"
            ));

            if (i != numBricks-1) {
                for (uint j = 0; j < height / 2 + 1; j++) {
                    bricks = string(abi.encodePacked(
                        bricks,
                        "<rect width='100' height='40' x='",
                        (350+(i*100)).toString(),
                        "' y='",
                        (640+(80*j)).toString(),
                        "' style='fill:",
                        colorXY.color,
                        ";stroke-width:3;stroke:black' transform='skewY(-10)'/>"
                    ));
                }
            }
        }

        // Single half brick end
        for (uint i = 0; i < height / 2 + 1; i++) {
            bricks = string(abi.encodePacked(
                bricks,
                "<rect width='50' height='40' x='",
                (250+(numBricks*100)).toString(),
                "' y='",
                (640+(80*i)).toString(),
                "' style='fill:",
                colorXY.color,
                ";stroke-width:3;stroke:black' transform='skewY(-10)'/>"
            ));
        }


        // Brick left face
        for (uint i = 0; i < height+1; i++) {
            string memory yString = '';
            if (i >= 6) {
                yString = (600+(15+((i-6)*40))).toString();
            } else {
                yString = (600-(225-(i*40))).toString();
            }


            bricks = string(abi.encodePacked(
                bricks,
                "<rect width='50' height='40' x='250' y='",
                yString,
                "' style='fill:",
                colorXY.color,
                ";stroke-width:3;stroke:black' transform='skewY(30)'/>"
            ));
        }

        bricks = string(abi.encodePacked(bricks, '</g>'));
        return bricks;
    }

    function _generateFence(CityParkUtils.Art memory artData, uint rand) private pure returns (string memory) {
        string memory fence = '';
        uint howWide = CityParkUtils.seededRandom(1,7,rand+69,artData);

        for (uint i = 0; i < 3; i++) {
            fence = string(abi.encodePacked(
                fence,
                "<rect width='",
                (howWide*100).toString(),
                "' height='20' x='275' y='",
                (600+(50*i)).toString(),
                "' style='fill:white' />"
            ));
        }

        for (uint i = 0; i < howWide; i++) {
            uint xStart = 300+(i*100);
            fence = string(abi.encodePacked(
                fence,
                "<rect width='50' height='150' x='",
                xStart.toString(),
                "' y='600' style='fill:white' />",
                "<polygon points='",
                xStart.toString(),
                ",600, ",
                (xStart+25).toString(),
                ",550, ",
                (xStart+50).toString(),
                ",600' style='fill:white' />"
            ));
        }

        fence = string(abi.encodePacked(fence, '</g>'));
        return fence;
    }

    function _generateAllFences(CityParkUtils.Art memory artData) public pure returns (string memory) {
        uint numFenceStructures = CityParkUtils.seededRandom(1,3,333333333,artData);
        string memory allFences = '';
        for (uint i = 0; i < numFenceStructures; i++) {
            bool xPos =  CityParkUtils.seededRandom(0,2,i*i+69,artData) > 1;
            uint randX = CityParkUtils.seededRandom(0,300,i*i+888,artData);

            string memory xString;
            if (xPos) {
                xString = randX.toString();
            } else {
                xString = string(abi.encodePacked("-", randX.toString()));
            }

            allFences = string(abi.encodePacked(
                allFences,
                "<g transform='translate(",
                xString,
                ",",
                CityParkUtils.seededRandom(0,300,i*i+777,artData).toString(),
                ")'>",
                _generateFence(artData, i*i)
            ));
        }
        return allFences;
    }
}

File 7 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 9 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 15 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 16 of 16 : CityParkUtils.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

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

library CityParkUtils {

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

    struct Art {
        uint8 numTrees;
        bool hasUFO;
        bool hasSun;
        bool hasFence;
        bool hasBricks;
        bool overrideWhite;
        uint48 randomTimestamp;
        uint128 randomDifficulty;
        uint256 randomSeed;
    }

    struct ColorXY {
        uint16 x;
        uint16 y;
        string color;
    }

    string public constant _imageFooter = "</svg>";
    string public constant _borderRect = "<rect width='100%' height='166%' y='-33%' rx='20' style='fill:none;stroke:black;stroke-width:20'></rect>";

    function getColor(uint seed, Art memory artData) public pure returns(string memory) {
        return ['%23a85dee', '%2323cd73', '%23ef2839', '%230bd2fa', '%23fdd131'][seededRandom(0,5,seed,artData)];
    }

    function getBWColor(uint seed, Art memory artData) public pure returns(string memory) {
        return ['white', '%23e8e8e8', '%23e0e0e0', '%23aeaeae', '%236e6e6e'][seededRandom(0,5,seed,artData)];
    }

    function _generateHeader(uint seed, Art memory artData) public pure returns (string memory) {
        string memory header = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='500' viewBox='0 0 1000 1000' style='background-color:";
        return string(abi.encodePacked(
            header,
            getColor(seed, artData),
            "'><!--You are loved.-->"
        ));
    }

    function _boolToString(bool value) public pure returns (string memory) {
        if (value) {
            return "True";
        } else {
            return "False";
        }
    }

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

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {
    "contracts/CityParkArt.sol": {
      "CityParkArt": "0x2f52dc3e7bee6c597025b37b512f808b37252adb"
    },
    "contracts/CityParkUtils.sol": {
      "CityParkUtils": "0x51fa888bb179b6b715cc9c5d62adbe543244822a"
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cityParks","outputs":[{"internalType":"uint8","name":"numTrees","type":"uint8"},{"internalType":"bool","name":"hasUFO","type":"bool"},{"internalType":"bool","name":"hasSun","type":"bool"},{"internalType":"bool","name":"hasFence","type":"bool"},{"internalType":"bool","name":"hasBricks","type":"bool"},{"internalType":"bool","name":"overrideWhite","type":"bool"},{"internalType":"uint48","name":"randomTimestamp","type":"uint48"},{"internalType":"uint128","name":"randomDifficulty","type":"uint128"},{"internalType":"uint256","name":"randomSeed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600a81526020017f43697479205061726b73000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f434954595041524b53000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000ba1565b508060019080519060200190620000af92919062000ba1565b505050620000d2620000c6620000eb60201b60201c565b620000f360201b60201c565b620000e5336000620001b960201b60201c565b620011ec565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001db828260405180602001604052806000815250620001df60201b60201c565b5050565b620001f183836200024d60201b60201c565b6200020660008484846200043360201b60201c565b62000248576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200023f9062000ded565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b79062000e53565b60405180910390fd5b620002d181620005ed60201b60201c565b1562000314576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030b9062000e0f565b60405180910390fd5b62000328600083836200065960201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200037a919062000ea2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620004618473ffffffffffffffffffffffffffffffffffffffff16620007a060201b62001b0a1760201c565b15620005e0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000493620000eb60201b60201c565b8786866040518563ffffffff1660e01b8152600401620004b7949392919062000d99565b602060405180830381600087803b158015620004d257600080fd5b505af19250505080156200050657506040513d601f19601f8201168201806040525081019062000503919062000c68565b60015b6200058f573d806000811462000539576040519150601f19603f3d011682016040523d82523d6000602084013e6200053e565b606091505b5060008151141562000587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200057e9062000ded565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620005e5565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000671838383620007b360201b62001b1d1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620006be57620006b881620007b860201b60201c565b62000706565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000705576200070483826200080160201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000753576200074d816200097e60201b60201c565b6200079b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200079a5762000799828262000a5a60201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016200081b8462000ae660201b62000ae11760201c565b62000827919062000eff565b90506000600760008481526020019081526020016000205490508181146200090d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000994919062000eff565b9050600060096000848152602001908152602001600020549050600060088381548110620009c757620009c66200109d565b5b906000526020600020015490508060088381548110620009ec57620009eb6200109d565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000a3e5762000a3d6200106e565b5b6001900381819060005260206000200160009055905550505050565b600062000a728362000ae660201b62000ae11760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b519062000e31565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000baf9062000fda565b90600052602060002090601f01602090048101928262000bd3576000855562000c1f565b82601f1062000bee57805160ff191683800117855562000c1f565b8280016001018555821562000c1f579182015b8281111562000c1e57825182559160200191906001019062000c01565b5b50905062000c2e919062000c32565b5090565b5b8082111562000c4d57600081600090555060010162000c33565b5090565b60008151905062000c6281620011d2565b92915050565b60006020828403121562000c815762000c80620010cc565b5b600062000c918482850162000c51565b91505092915050565b62000ca58162000f3a565b82525050565b600062000cb88262000e75565b62000cc4818562000e80565b935062000cd681856020860162000fa4565b62000ce181620010d1565b840191505092915050565b600062000cfb60328362000e91565b915062000d0882620010e2565b604082019050919050565b600062000d22601c8362000e91565b915062000d2f8262001131565b602082019050919050565b600062000d49602a8362000e91565b915062000d56826200115a565b604082019050919050565b600062000d7060208362000e91565b915062000d7d82620011a9565b602082019050919050565b62000d938162000f9a565b82525050565b600060808201905062000db0600083018762000c9a565b62000dbf602083018662000c9a565b62000dce604083018562000d88565b818103606083015262000de2818462000cab565b905095945050505050565b6000602082019050818103600083015262000e088162000cec565b9050919050565b6000602082019050818103600083015262000e2a8162000d13565b9050919050565b6000602082019050818103600083015262000e4c8162000d3a565b9050919050565b6000602082019050818103600083015262000e6e8162000d61565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000eaf8262000f9a565b915062000ebc8362000f9a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000ef45762000ef362001010565b5b828201905092915050565b600062000f0c8262000f9a565b915062000f198362000f9a565b92508282101562000f2f5762000f2e62001010565b5b828203905092915050565b600062000f478262000f7a565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000fc457808201518184015260208101905062000fa7565b8381111562000fd4576000848401525b50505050565b6000600282049050600182168062000ff357607f821691505b602082108114156200100a57620010096200103f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b620011dd8162000f4e565b8114620011e957600080fd5b50565b615ecf80620011fc6000396000f3fe60806040526004361061014b5760003560e01c80638da5cb5b116100b6578063bb96a3c31161006f578063bb96a3c3146104a7578063c87b56dd146104ec578063d5abeb0114610529578063e985e9c514610554578063f2fde38b14610591578063f3fef3a3146105ba5761014b565b80638da5cb5b146103a657806395d89b41146103d1578063a0712d68146103fc578063a22cb46514610418578063a574cea414610441578063b88d4fde1461047e5761014b565b80632f745c59116101085780632f745c591461027257806342842e0e146102af5780634f6ccce7146102d85780636352211e1461031557806370a0823114610352578063715018a61461038f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806318160ddd1461021e57806323b872dd14610249575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190613b78565b6105e3565b60405161018491906147d2565b60405180910390f35b34801561019957600080fd5b506101a261065d565b6040516101af919061494b565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190613c48565b6106ef565b6040516101ec9190614750565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190613b38565b610774565b005b34801561022a57600080fd5b5061023361088c565b6040516102409190614db5565b60405180910390f35b34801561025557600080fd5b50610270600480360381019061026b9190613a22565b610899565b005b34801561027e57600080fd5b5061029960048036038101906102949190613b38565b6108f9565b6040516102a69190614db5565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190613a22565b61099e565b005b3480156102e457600080fd5b506102ff60048036038101906102fa9190613c48565b6109be565b60405161030c9190614db5565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613c48565b610a2f565b6040516103499190614750565b60405180910390f35b34801561035e57600080fd5b50610379600480360381019061037491906139b5565b610ae1565b6040516103869190614db5565b60405180910390f35b34801561039b57600080fd5b506103a4610b99565b005b3480156103b257600080fd5b506103bb610c21565b6040516103c89190614750565b60405180910390f35b3480156103dd57600080fd5b506103e6610c4b565b6040516103f3919061494b565b60405180910390f35b61041660048036038101906104119190613c48565b610cdd565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613af8565b610dfc565b005b34801561044d57600080fd5b5061046860048036038101906104639190613c48565b610f7d565b604051610475919061494b565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190613a75565b611739565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613c48565b61179b565b6040516104e399989796959493929190614dd0565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e9190613c48565b61186c565b604051610520919061494b565b60405180910390f35b34801561053557600080fd5b5061053e6118b1565b60405161054b9190614db5565b60405180910390f35b34801561056057600080fd5b5061057b600480360381019061057691906139e2565b6118b7565b60405161058891906147d2565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b391906139b5565b61194b565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613b38565b611a43565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610656575061065582611b22565b5b9050919050565b60606000805461066c9061521c565b80601f01602080910402602001604051908101604052809291908181526020018280546106989061521c565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b5050505050905090565b60006106fa82611c04565b610739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073090614bf2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077f82610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e790614c52565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080f611c70565b73ffffffffffffffffffffffffffffffffffffffff16148061083e575061083d81610838611c70565b6118b7565b5b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490614b1f565b60405180910390fd5b6108878383611c78565b505050565b6000600880549050905090565b6108aa6108a4611c70565b82611d31565b6108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090614c72565b60405180910390fd5b6108f4838383611e0f565b505050565b600061090483610ae1565b8210610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c9061496d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109b983838360405180602001604052806000815250611739565b505050565b60006109c861088c565b8210610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090614ce7565b60405180910390fd5b60088281548110610a1d57610a1c6154a9565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90614b5f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990614b3f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba1611c70565b73ffffffffffffffffffffffffffffffffffffffff16610bbf610c21565b73ffffffffffffffffffffffffffffffffffffffff1614610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0c90614c12565b60405180910390fd5b610c1f600061206b565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c5a9061521c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c869061521c565b8015610cd35780601f10610ca857610100808354040283529160200191610cd3565b820191906000526020600020905b815481529060010190602001808311610cb657829003601f168201915b5050505050905090565b610cf7666a94d74f4300008261213190919063ffffffff16565b3414610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f90614bd2565b60405180910390fd5b6106a4610d5582610d4761088c565b61214790919063ffffffff16565b1115610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d90614c92565b60405180910390fd5b60005b81811015610df8576000610dab61088c565b90506106a4811015610de457610dc1338261215d565b610de3600b826106a58110610dd957610dd86154a9565b5b600202018261217b565b5b508080610df090615369565b915050610d99565b5050565b610e04611c70565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614a77565b60405180910390fd5b8060056000610e7f611c70565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f2c611c70565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f7191906147d2565b60405180910390a35050565b6060600082141561114e577351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b8152600401610fbd90614d07565b60006040518083038186803b158015610fd557600080fd5b505af4158015610fe9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110129190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b815260040161104790614aec565b60006040518083038186803b15801561105f57600080fd5b505af4158015611073573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061109c9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b81526004016110d190614b7f565b60006040518083038186803b1580156110e957600080fd5b505af41580156110fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906111269190613bd2565b604051602001611138939291906145cc565b6040516020818303038152906040529050611734565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a3061119d600b856106a581106111805761117f6154a9565b5b6002020160000160009054906101000a900460ff1660ff1661253e565b6040518263ffffffff1660e01b81526004016111b99190614cb2565b60006040518083038186803b1580156111d157600080fd5b505af41580156111e5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061120e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b876106a58110611257576112566154a9565b5b6002020160000160019054906101000a900460ff166040518263ffffffff1660e01b815260040161128891906147b7565b60006040518083038186803b1580156112a057600080fd5b505af41580156112b4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112dd9190613bd2565b6040518263ffffffff1660e01b81526004016112f991906149cd565b60006040518083038186803b15801561131157600080fd5b505af4158015611325573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061134e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b886106a58110611397576113966154a9565b5b6002020160000160029054906101000a900460ff166040518263ffffffff1660e01b81526004016113c891906147b7565b60006040518083038186803b1580156113e057600080fd5b505af41580156113f4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061141d9190613bd2565b6040518263ffffffff1660e01b81526004016114399190614a97565b60006040518083038186803b15801561145157600080fd5b505af4158015611465573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061148e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b896106a581106114d7576114d66154a9565b5b6002020160000160039054906101000a900460ff166040518263ffffffff1660e01b815260040161150891906147b7565b60006040518083038186803b15801561152057600080fd5b505af4158015611534573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061155d9190613bd2565b6040518263ffffffff1660e01b81526004016115799190614a22565b60006040518083038186803b15801561159157600080fd5b505af41580156115a5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906115ce9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b8a6106a58110611617576116166154a9565b5b6002020160000160049054906101000a900460ff166040518263ffffffff1660e01b815260040161164891906147b7565b60006040518083038186803b15801561166057600080fd5b505af4158015611674573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061169d9190613bd2565b6040518263ffffffff1660e01b81526004016116b99190614d3a565b60006040518083038186803b1580156116d157600080fd5b505af41580156116e5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061170e9190613bd2565b604051602001611722959493929190614613565b60405160208183030381529060405290505b919050565b61174a611744611c70565b83611d31565b611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614c72565b60405180910390fd5b6117958484848461269f565b50505050565b600b816106a581106117ac57600080fd5b600202016000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16908060000160059054906101000a900460ff16908060000160069054906101000a900465ffffffffffff169080600001600c9054906101000a90046fffffffffffffffffffffffffffffffff16908060010154905089565b60606118778261253e565b611880836126fb565b61188984610f7d565b60405160200161189b9392919061468a565b6040516020818303038152906040529050919050565b6106a481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611953611c70565b73ffffffffffffffffffffffffffffffffffffffff16611971610c21565b73ffffffffffffffffffffffffffffffffffffffff16146119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614c12565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e906149ad565b60405180910390fd5b611a408161206b565b50565b611a4b611c70565b73ffffffffffffffffffffffffffffffffffffffff16611a69610c21565b73ffffffffffffffffffffffffffffffffffffffff1614611abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab690614c12565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b05573d6000803e3d6000fd5b505050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bed57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bfd5750611bfc82613013565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ceb83610a2f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d3c82611c04565b611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7290614acc565b60405180910390fd5b6000611d8683610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611df557508373ffffffffffffffffffffffffffffffffffffffff16611ddd846106ef565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e065750611e0581856118b7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e2f82610a2f565b73ffffffffffffffffffffffffffffffffffffffff1614611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614c32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90614a57565b60405180910390fd5b611f0083838361307d565b611f0b600082611c78565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f5b9190615019565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb29190614f38565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361213f9190614fbf565b905092915050565b600081836121559190614f38565b905092915050565b612177828260405180602001604052806000815250613191565b5050565b428260000160066101000a81548165ffffffffffff021916908365ffffffffffff1602179055504482600001600c6101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055504244826040516020016121f293929190614713565b6040516020818303038152906040528051906020012060001c82600101819055507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160036104d2866040518563ffffffff1660e01b815260040161225494939291906148bf565b60206040518083038186803b15801561226c57600080fd5b505af4158015612280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a49190613c1b565b8260000160006101000a81548160ff021916908360ff160217905550605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160646287a238876040518563ffffffff1660e01b81526004016123049493929190614833565b60206040518083038186803b15801561231c57600080fd5b505af4158015612330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123549190613c1b565b61ffff1610158260000160016101000a81548160ff0219169083151502179055508160000160019054906101000a900460ff16158260000160026101000a81548160ff021916908315150217905550605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160646287a238876040518563ffffffff1660e01b81526004016123e79493929190614833565b60206040518083038186803b1580156123ff57600080fd5b505af4158015612413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124379190613c1b565b61ffff1610158260000160036101000a81548160ff0219169083151502179055508160000160039054906101000a900460ff16158260000160046101000a81548160ff02191690831515021790555060507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a727560016064613039876040518563ffffffff1660e01b81526004016124c994939291906147ed565b60206040518083038186803b1580156124e157600080fd5b505af41580156124f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125199190613c1b565b61ffff1610158260000160056101000a81548160ff0219169083151502179055505050565b60606000821415612586576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061269a565b600082905060005b600082146125b85780806125a190615369565b915050600a826125b19190614f8e565b915061258e565b60008167ffffffffffffffff8111156125d4576125d36154d8565b5b6040519080825280601f01601f1916602001820160405280156126065781602001600182028036833780820191505090505b5090505b600085146126935760018261261f9190615019565b9150600a8561262e91906153bc565b603061263a9190614f38565b60f81b8183815181106126505761264f6154a9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561268c9190614f8e565b945061260a565b8093505050505b919050565b6126aa848484611e0f565b6126b6848484846131ec565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec9061498d565b60405180910390fd5b50505050565b60606000600b836106a58110612714576127136154a9565b5b60020201604051806101200160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff161515151581526020016000820160029054906101000a900460ff161515151581526020016000820160039054906101000a900460ff161515151581526020016000820160049054906101000a900460ff161515151581526020016000820160059054906101000a900460ff161515151581526020016000820160069054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff16815260200160008201600c9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200160018201548152505090506000831415612b9f57428160c0019065ffffffffffff16908165ffffffffffff1681525050448160e001906fffffffffffffffffffffffffffffffff1690816fffffffffffffffffffffffffffffffff16815250504244846040516020016128b493929190614713565b6040516020818303038152906040528051906020012060001c816101000181815250507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001600342856040518563ffffffff1660e01b81526004016129169493929190614905565b60206040518083038186803b15801561292e57600080fd5b505af4158015612942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129669190613c1b565b816000019060ff16908160ff1681525050605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001606442866040518563ffffffff1660e01b81526004016129b89493929190614879565b60206040518083038186803b1580156129d057600080fd5b505af41580156129e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a089190613c1b565b61ffff161015816020019015159081151581525050806020015115816040019015159081151581525050605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001606444866040518563ffffffff1660e01b8152600401612a739493929190614879565b60206040518083038186803b158015612a8b57600080fd5b505af4158015612a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ac39190613c1b565b61ffff16101581606001901515908115158152505080606001511581608001901515908115158152505060147351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160644442612b199190614f38565b866040518563ffffffff1660e01b8152600401612b399493929190614879565b60206040518083038186803b158015612b5157600080fd5b505af4158015612b65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b899190613c1b565b61ffff1610158160a00190151590811515815250505b7351fa888bb179b6b715cc9c5d62adbe543244822a634eecae078260e00151836040518363ffffffff1660e01b8152600401612bdc929190614d8b565b60006040518083038186803b158015612bf457600080fd5b505af4158015612c08573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612c319190613bd2565b6040518060a0016040528060688152602001615e3260689139732f52dc3e7bee6c597025b37b512f808b37252adb63ea5ae258846040518263ffffffff1660e01b8152600401612c819190614d6f565b60006040518083038186803b158015612c9957600080fd5b505af4158015612cad573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612cd69190613bd2565b732f52dc3e7bee6c597025b37b512f808b37252adb63674023a7856040518263ffffffff1660e01b8152600401612d0d9190614d6f565b60006040518083038186803b158015612d2557600080fd5b505af4158015612d39573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612d629190613bd2565b8460200151612dfc57732f52dc3e7bee6c597025b37b512f808b37252adb635b0b5251866040518263ffffffff1660e01b8152600401612da29190614d6f565b60006040518083038186803b158015612dba57600080fd5b505af4158015612dce573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612df79190613bd2565b612e89565b732f52dc3e7bee6c597025b37b512f808b37252adb63ecd8ec77866040518263ffffffff1660e01b8152600401612e339190614d6f565b60006040518083038186803b158015612e4b57600080fd5b505af4158015612e5f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612e889190613bd2565b5b8560600151612f2357732f52dc3e7bee6c597025b37b512f808b37252adb63ee7de71b876040518263ffffffff1660e01b8152600401612ec99190614d6f565b60006040518083038186803b158015612ee157600080fd5b505af4158015612ef5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612f1e9190613bd2565b612fb0565b732f52dc3e7bee6c597025b37b512f808b37252adb6375763db1876040518263ffffffff1660e01b8152600401612f5a9190614d6f565b60006040518083038186803b158015612f7257600080fd5b505af4158015612f86573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612faf9190613bd2565b5b6040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250604051602001612ffc9796959493929190614567565b604051602081830303815290604052915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613088838383611b1d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130cb576130c681613383565b61310a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131095761310883826133cc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561314d5761314881613539565b61318c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461318b5761318a828261360a565b5b5b505050565b61319b8383613689565b6131a860008484846131ec565b6131e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131de9061498d565b60405180910390fd5b505050565b600061320d8473ffffffffffffffffffffffffffffffffffffffff16611b0a565b15613376578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613236611c70565b8786866040518563ffffffff1660e01b8152600401613258949392919061476b565b602060405180830381600087803b15801561327257600080fd5b505af19250505080156132a357506040513d601f19601f820116820180604052508101906132a09190613ba5565b60015b613326573d80600081146132d3576040519150601f19603f3d011682016040523d82523d6000602084013e6132d8565b606091505b5060008151141561331e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133159061498d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061337b565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133d984610ae1565b6133e39190615019565b90506000600760008481526020019081526020016000205490508181146134c8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061354d9190615019565b905060006009600084815260200190815260200160002054905060006008838154811061357d5761357c6154a9565b5b90600052602060002001549050806008838154811061359f5761359e6154a9565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135ee576135ed61547a565b5b6001900381819060005260206000200160009055905550505050565b600061361583610ae1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090614bb2565b60405180910390fd5b61370281611c04565b15613742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373990614a02565b60405180910390fd5b61374e6000838361307d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461379e9190614f38565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061386a61386584614e82565b614e5d565b9050828152602081018484840111156138865761388561550c565b5b6138918482856151da565b509392505050565b60006138ac6138a784614eb3565b614e5d565b9050828152602081018484840111156138c8576138c761550c565b5b6138d38482856151e9565b509392505050565b6000813590506138ea81615dbe565b92915050565b6000813590506138ff81615dd5565b92915050565b60008135905061391481615dec565b92915050565b60008151905061392981615dec565b92915050565b600082601f83011261394457613943615507565b5b8135613954848260208601613857565b91505092915050565b600082601f83011261397257613971615507565b5b8151613982848260208601613899565b91505092915050565b60008151905061399a81615e03565b92915050565b6000813590506139af81615e1a565b92915050565b6000602082840312156139cb576139ca615516565b5b60006139d9848285016138db565b91505092915050565b600080604083850312156139f9576139f8615516565b5b6000613a07858286016138db565b9250506020613a18858286016138db565b9150509250929050565b600080600060608486031215613a3b57613a3a615516565b5b6000613a49868287016138db565b9350506020613a5a868287016138db565b9250506040613a6b868287016139a0565b9150509250925092565b60008060008060808587031215613a8f57613a8e615516565b5b6000613a9d878288016138db565b9450506020613aae878288016138db565b9350506040613abf878288016139a0565b925050606085013567ffffffffffffffff811115613ae057613adf615511565b5b613aec8782880161392f565b91505092959194509250565b60008060408385031215613b0f57613b0e615516565b5b6000613b1d858286016138db565b9250506020613b2e858286016138f0565b9150509250929050565b60008060408385031215613b4f57613b4e615516565b5b6000613b5d858286016138db565b9250506020613b6e858286016139a0565b9150509250929050565b600060208284031215613b8e57613b8d615516565b5b6000613b9c84828501613905565b91505092915050565b600060208284031215613bbb57613bba615516565b5b6000613bc98482850161391a565b91505092915050565b600060208284031215613be857613be7615516565b5b600082015167ffffffffffffffff811115613c0657613c05615511565b5b613c128482850161395d565b91505092915050565b600060208284031215613c3157613c30615516565b5b6000613c3f8482850161398b565b91505092915050565b600060208284031215613c5e57613c5d615516565b5b6000613c6c848285016139a0565b91505092915050565b613c7e8161509f565b82525050565b613c8d816150b1565b82525050565b613c9c816150b1565b82525050565b613cab816150b1565b82525050565b6000613cbc82614ee4565b613cc68185614efa565b9350613cd68185602086016151e9565b613cdf8161551b565b840191505092915050565b613cf38161515c565b82525050565b613d028161516e565b82525050565b613d1181615180565b82525050565b613d2081615192565b82525050565b613d2f816151a4565b82525050565b613d3e816151b6565b82525050565b6000613d4f82614eef565b613d598185614f0b565b9350613d698185602086016151e9565b613d728161551b565b840191505092915050565b6000613d8882614eef565b613d928185614f1c565b9350613da28185602086016151e9565b613dab8161551b565b840191505092915050565b6000613dc182614eef565b613dcb8185614f2d565b9350613ddb8185602086016151e9565b80840191505092915050565b6000613df4602b83614f0b565b9150613dff82615594565b604082019050919050565b6000613e17603283614f0b565b9150613e22826155e3565b604082019050919050565b6000613e3a600483614f1c565b9150613e4582615632565b602082019050919050565b6000613e5d601183614f2d565b9150613e688261565b565b601182019050919050565b6000613e80602683614f0b565b9150613e8b82615684565b604082019050919050565b6000613ea3600283614f2d565b9150613eae826156d3565b600282019050919050565b6000613ec6600383614f1c565b9150613ed1826156fc565b602082019050919050565b6000613ee9601c83614f0b565b9150613ef482615725565b602082019050919050565b6000613f0c600183614f2d565b9150613f178261574e565b600182019050919050565b6000613f2f600583614f1c565b9150613f3a82615777565b602082019050919050565b6000613f52602483614f0b565b9150613f5d826157a0565b604082019050919050565b6000613f75601983614f0b565b9150613f80826157ef565b602082019050919050565b6000613f98600383614f1c565b9150613fa382615818565b602082019050919050565b6000613fbb602c83614f0b565b9150613fc682615841565b604082019050919050565b6000613fde600d83614f1c565b9150613fe982615890565b602082019050919050565b6000614001603883614f0b565b915061400c826158b9565b604082019050919050565b6000614024602a83614f0b565b915061402f82615908565b604082019050919050565b6000614047602983614f0b565b915061405282615957565b604082019050919050565b600061406a600a83614f1c565b9150614075826159a6565b602082019050919050565b600061408d600983614f2d565b9150614098826159cf565b600982019050919050565b60006140b0601483614f2d565b91506140bb826159f8565b601482019050919050565b60006140d3602083614f0b565b91506140de82615a21565b602082019050919050565b60006140f6600c83614f1c565b915061410182615a4a565b602082019050919050565b6000614119600183614f2d565b915061412482615a73565b600182019050919050565b600061413c600e83614f0b565b915061414782615a9c565b602082019050919050565b600061415f602c83614f0b565b915061416a82615ac5565b604082019050919050565b6000614182601b83614f2d565b915061418d82615b14565b601b82019050919050565b60006141a5602083614f0b565b91506141b082615b3d565b602082019050919050565b60006141c8602983614f0b565b91506141d382615b66565b604082019050919050565b60006141eb600183614f2d565b91506141f682615bb5565b600182019050919050565b600061420e602183614f0b565b915061421982615bde565b604082019050919050565b6000614231603183614f0b565b915061423c82615c2d565b604082019050919050565b6000614254600f83614f0b565b915061425f82615c7c565b602082019050919050565b6000614277600583614f1c565b915061428282615ca5565b602082019050919050565b600061429a602c83614f0b565b91506142a582615cce565b604082019050919050565b60006142bd600a83614f1c565b91506142c882615d1d565b602082019050919050565b60006142e0603e83614f2d565b91506142eb82615d46565b603e82019050919050565b6000614303600683614f1c565b915061430e82615d95565b602082019050919050565b610120820160008201516143306000850182614558565b5060208201516143436020850182613ca2565b5060408201516143566040850182613ca2565b5060608201516143696060850182613ca2565b50608082015161437c6080850182613ca2565b5060a082015161438f60a0850182613ca2565b5060c08201516143a260c085018261453a565b5060e08201516143b560e08501826144c9565b506101008201516143ca610100850182614505565b50505050565b610120820160008083015490506143e681615268565b6143f36000860182614558565b506143fd8161529c565b61440a6020860182613ca2565b50614414816152b6565b6144216040860182613ca2565b5061442b816152d0565b6144386060860182613ca2565b50614442816152ea565b61444f6080860182613ca2565b5061445981615304565b61446660a0860182613ca2565b506144708161531e565b61447d60c086018261453a565b5061448781615282565b61449460e08601826144c9565b50600183015490506144a58161524e565b6144b3610100860182614505565b5050505050565b6144c3816150e9565b82525050565b6144d2816150e9565b82525050565b6144e1816151c8565b82525050565b6144f081615133565b82525050565b6144ff81615133565b82525050565b61450e81615133565b82525050565b61452561452082615133565b6153b2565b82525050565b6145348161513d565b82525050565b6145438161513d565b82525050565b6145528161514f565b82525050565b6145618161514f565b82525050565b6000614573828a613db6565b915061457f8289613db6565b915061458b8288613db6565b91506145978287613db6565b91506145a38286613db6565b91506145af8285613db6565b91506145bb8284613db6565b915081905098975050505050505050565b60006145d88286613db6565b91506145e382613eff565b91506145ef8285613db6565b91506145fa82613eff565b91506146068284613db6565b9150819050949350505050565b600061461f8288613db6565b915061462a82613eff565b91506146368287613db6565b915061464182613eff565b915061464d8286613db6565b915061465882613eff565b91506146648285613db6565b915061466f82613eff565b915061467b8284613db6565b91508190509695505050505050565b600061469582614175565b91506146a0826140a3565b91506146ac8286613db6565b91506146b782613e96565b91506146c2826142d3565b91506146cd82614080565b91506146d98285613db6565b91506146e482613e50565b91506146f08284613db6565b91506146fb826141de565b91506147068261410c565b9150819050949350505050565b600061471f8286614514565b60208201915061472f8285614514565b60208201915061473f8284614514565b602082019150819050949350505050565b60006020820190506147656000830184613c75565b92915050565b60006080820190506147806000830187613c75565b61478d6020830186613c75565b61479a60408301856144e7565b81810360608301526147ac8184613cb1565b905095945050505050565b60006020820190506147cc6000830184613c93565b92915050565b60006020820190506147e76000830184613c84565b92915050565b6000610180820190506148036000830187613d17565b6148106020830186613cea565b61481d6040830185613cf9565b61482a60608301846143d0565b95945050505050565b6000610180820190506148496000830187613d17565b6148566020830186613cea565b6148636040830185613d35565b61487060608301846143d0565b95945050505050565b60006101808201905061488f6000830187613d17565b61489c6020830186613cea565b6148a960408301856144f6565b6148b66060830184614319565b95945050505050565b6000610180820190506148d56000830187613d17565b6148e26020830186613d26565b6148ef6040830185613d08565b6148fc60608301846143d0565b95945050505050565b60006101808201905061491b6000830187613d17565b6149286020830186613d26565b61493560408301856144f6565b6149426060830184614319565b95945050505050565b600060208201905081810360008301526149658184613d44565b905092915050565b6000602082019050818103600083015261498681613de7565b9050919050565b600060208201905081810360008301526149a681613e0a565b9050919050565b600060208201905081810360008301526149c681613e73565b9050919050565b600060408201905081810360008301526149e681613eb9565b905081810360208301526149fa8184613d7d565b905092915050565b60006020820190508181036000830152614a1b81613edc565b9050919050565b60006040820190508181036000830152614a3b81613f22565b90508181036020830152614a4f8184613d7d565b905092915050565b60006020820190508181036000830152614a7081613f45565b9050919050565b60006020820190508181036000830152614a9081613f68565b9050919050565b60006040820190508181036000830152614ab081613f8b565b90508181036020830152614ac48184613d7d565b905092915050565b60006020820190508181036000830152614ae581613fae565b9050919050565b60006040820190508181036000830152614b0581613fd1565b90508181036020830152614b1881613e2d565b9050919050565b60006020820190508181036000830152614b3881613ff4565b9050919050565b60006020820190508181036000830152614b5881614017565b9050919050565b60006020820190508181036000830152614b788161403a565b9050919050565b60006040820190508181036000830152614b988161405d565b90508181036020830152614bab81613e2d565b9050919050565b60006020820190508181036000830152614bcb816140c6565b9050919050565b60006020820190508181036000830152614beb8161412f565b9050919050565b60006020820190508181036000830152614c0b81614152565b9050919050565b60006020820190508181036000830152614c2b81614198565b9050919050565b60006020820190508181036000830152614c4b816141bb565b9050919050565b60006020820190508181036000830152614c6b81614201565b9050919050565b60006020820190508181036000830152614c8b81614224565b9050919050565b60006020820190508181036000830152614cab81614247565b9050919050565b60006040820190508181036000830152614ccb8161426a565b90508181036020830152614cdf8184613d7d565b905092915050565b60006020820190508181036000830152614d008161428d565b9050919050565b60006040820190508181036000830152614d20816142b0565b90508181036020830152614d33816140e9565b9050919050565b60006040820190508181036000830152614d53816142f6565b90508181036020830152614d678184613d7d565b905092915050565b600061012082019050614d856000830184614319565b92915050565b600061014082019050614da160008301856144d8565b614dae6020830184614319565b9392505050565b6000602082019050614dca60008301846144e7565b92915050565b600061012082019050614de6600083018c614549565b614df3602083018b613c84565b614e00604083018a613c84565b614e0d6060830189613c84565b614e1a6080830188613c84565b614e2760a0830187613c84565b614e3460c083018661452b565b614e4160e08301856144ba565b614e4f6101008301846144e7565b9a9950505050505050505050565b6000614e67614e78565b9050614e738282615338565b919050565b6000604051905090565b600067ffffffffffffffff821115614e9d57614e9c6154d8565b5b614ea68261551b565b9050602081019050919050565b600067ffffffffffffffff821115614ece57614ecd6154d8565b5b614ed78261551b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f4382615133565b9150614f4e83615133565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8357614f826153ed565b5b828201905092915050565b6000614f9982615133565b9150614fa483615133565b925082614fb457614fb361541c565b5b828204905092915050565b6000614fca82615133565b9150614fd583615133565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561500e5761500d6153ed565b5b828202905092915050565b600061502482615133565b915061502f83615133565b925082821015615042576150416153ed565b5b828203905092915050565b600060ff82169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600065ffffffffffff82169050919050565b600060ff82169050919050565b60006150aa82615113565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600065ffffffffffff82169050919050565b600060ff82169050919050565b600061516782615133565b9050919050565b600061517982615133565b9050919050565b600061518b82615133565b9050919050565b600061519d82615133565b9050919050565b60006151af82615133565b9050919050565b60006151c182615133565b9050919050565b60006151d3826150e9565b9050919050565b82818337600083830152505050565b60005b838110156152075780820151818401526020810190506151ec565b83811115615216576000848401525b50505050565b6000600282049050600182168061523457607f821691505b602082108114156152485761524761544b565b5b50919050565b600061526161525c8361552c565b615076565b9050919050565b600061527b6152768361552c565b615092565b9050919050565b600061529561529083615587565b61505a565b9050919050565b60006152af6152aa8361557a565b61504d565b9050919050565b60006152c96152c483615539565b61504d565b9050919050565b60006152e36152de83615546565b61504d565b9050919050565b60006152fd6152f883615553565b61504d565b9050919050565b600061531761531283615560565b61504d565b9050919050565b600061533161532c8361556d565b615080565b9050919050565b6153418261551b565b810181811067ffffffffffffffff821117156153605761535f6154d8565b5b80604052505050565b600061537482615133565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153a7576153a66153ed565b5b600182019050919050565b6000819050919050565b60006153c782615133565b91506153d283615133565b9250826153e2576153e161541c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001c9050919050565b60008160101c9050919050565b60008160181c9050919050565b60008160201c9050919050565b60008160281c9050919050565b60008160301c9050919050565b60008160081c9050919050565b60008160601c9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5472756500000000000000000000000000000000000000000000000000000000600082015250565b7f222c202261747472696275746573223a5b000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f55464f0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b7f46656e6365000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53756e0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e6573697320546f6b656e00000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4c69766520496d61676500000000000000000000000000000000000000000000600082015250565b7f22696d616765223a220000000000000000000000000000000000000000000000600082015250565b7f7b226e616d65223a2243697479205061726b2023000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f79756e67776b6e642e6574680000000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768206c6566740000000000000000000000000000000000600082015250565b7f5472656573000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4372656174656420427900000000000000000000000000000000000000000000600082015250565b7f226465736372697074696f6e223a2243697479205061726b732061726520612060008201527f776f6e64657266756c2065787072657373696f6e206f662066756e2e222c0000602082015250565b7f427269636b730000000000000000000000000000000000000000000000000000600082015250565b615dc78161509f565b8114615dd257600080fd5b50565b615dde816150b1565b8114615de957600080fd5b50565b615df5816150bd565b8114615e0057600080fd5b50565b615e0c81615105565b8114615e1757600080fd5b50565b615e2381615133565b8114615e2e57600080fd5b5056fe3c726563742077696474683d273130302527206865696768743d27313636252720793d272d333325272072783d27323027207374796c653d2766696c6c3a6e6f6e653b7374726f6b653a626c61636b3b7374726f6b652d77696474683a3230273e3c2f726563743ea2646970667358221220babad59a0d65debca3e9796349f473ca096c9ae4f67d9d667f665f63ad4720e864736f6c63430008070033

Deployed Bytecode

0x60806040526004361061014b5760003560e01c80638da5cb5b116100b6578063bb96a3c31161006f578063bb96a3c3146104a7578063c87b56dd146104ec578063d5abeb0114610529578063e985e9c514610554578063f2fde38b14610591578063f3fef3a3146105ba5761014b565b80638da5cb5b146103a657806395d89b41146103d1578063a0712d68146103fc578063a22cb46514610418578063a574cea414610441578063b88d4fde1461047e5761014b565b80632f745c59116101085780632f745c591461027257806342842e0e146102af5780634f6ccce7146102d85780636352211e1461031557806370a0823114610352578063715018a61461038f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806318160ddd1461021e57806323b872dd14610249575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190613b78565b6105e3565b60405161018491906147d2565b60405180910390f35b34801561019957600080fd5b506101a261065d565b6040516101af919061494b565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190613c48565b6106ef565b6040516101ec9190614750565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190613b38565b610774565b005b34801561022a57600080fd5b5061023361088c565b6040516102409190614db5565b60405180910390f35b34801561025557600080fd5b50610270600480360381019061026b9190613a22565b610899565b005b34801561027e57600080fd5b5061029960048036038101906102949190613b38565b6108f9565b6040516102a69190614db5565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190613a22565b61099e565b005b3480156102e457600080fd5b506102ff60048036038101906102fa9190613c48565b6109be565b60405161030c9190614db5565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613c48565b610a2f565b6040516103499190614750565b60405180910390f35b34801561035e57600080fd5b50610379600480360381019061037491906139b5565b610ae1565b6040516103869190614db5565b60405180910390f35b34801561039b57600080fd5b506103a4610b99565b005b3480156103b257600080fd5b506103bb610c21565b6040516103c89190614750565b60405180910390f35b3480156103dd57600080fd5b506103e6610c4b565b6040516103f3919061494b565b60405180910390f35b61041660048036038101906104119190613c48565b610cdd565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613af8565b610dfc565b005b34801561044d57600080fd5b5061046860048036038101906104639190613c48565b610f7d565b604051610475919061494b565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190613a75565b611739565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613c48565b61179b565b6040516104e399989796959493929190614dd0565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e9190613c48565b61186c565b604051610520919061494b565b60405180910390f35b34801561053557600080fd5b5061053e6118b1565b60405161054b9190614db5565b60405180910390f35b34801561056057600080fd5b5061057b600480360381019061057691906139e2565b6118b7565b60405161058891906147d2565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b391906139b5565b61194b565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190613b38565b611a43565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610656575061065582611b22565b5b9050919050565b60606000805461066c9061521c565b80601f01602080910402602001604051908101604052809291908181526020018280546106989061521c565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b5050505050905090565b60006106fa82611c04565b610739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073090614bf2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077f82610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e790614c52565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080f611c70565b73ffffffffffffffffffffffffffffffffffffffff16148061083e575061083d81610838611c70565b6118b7565b5b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490614b1f565b60405180910390fd5b6108878383611c78565b505050565b6000600880549050905090565b6108aa6108a4611c70565b82611d31565b6108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090614c72565b60405180910390fd5b6108f4838383611e0f565b505050565b600061090483610ae1565b8210610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c9061496d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109b983838360405180602001604052806000815250611739565b505050565b60006109c861088c565b8210610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090614ce7565b60405180910390fd5b60088281548110610a1d57610a1c6154a9565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90614b5f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990614b3f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba1611c70565b73ffffffffffffffffffffffffffffffffffffffff16610bbf610c21565b73ffffffffffffffffffffffffffffffffffffffff1614610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0c90614c12565b60405180910390fd5b610c1f600061206b565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c5a9061521c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c869061521c565b8015610cd35780601f10610ca857610100808354040283529160200191610cd3565b820191906000526020600020905b815481529060010190602001808311610cb657829003601f168201915b5050505050905090565b610cf7666a94d74f4300008261213190919063ffffffff16565b3414610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f90614bd2565b60405180910390fd5b6106a4610d5582610d4761088c565b61214790919063ffffffff16565b1115610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d90614c92565b60405180910390fd5b60005b81811015610df8576000610dab61088c565b90506106a4811015610de457610dc1338261215d565b610de3600b826106a58110610dd957610dd86154a9565b5b600202018261217b565b5b508080610df090615369565b915050610d99565b5050565b610e04611c70565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614a77565b60405180910390fd5b8060056000610e7f611c70565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f2c611c70565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f7191906147d2565b60405180910390a35050565b6060600082141561114e577351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b8152600401610fbd90614d07565b60006040518083038186803b158015610fd557600080fd5b505af4158015610fe9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110129190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b815260040161104790614aec565b60006040518083038186803b15801561105f57600080fd5b505af4158015611073573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061109c9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a306040518163ffffffff1660e01b81526004016110d190614b7f565b60006040518083038186803b1580156110e957600080fd5b505af41580156110fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906111269190613bd2565b604051602001611138939291906145cc565b6040516020818303038152906040529050611734565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a3061119d600b856106a581106111805761117f6154a9565b5b6002020160000160009054906101000a900460ff1660ff1661253e565b6040518263ffffffff1660e01b81526004016111b99190614cb2565b60006040518083038186803b1580156111d157600080fd5b505af41580156111e5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061120e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b876106a58110611257576112566154a9565b5b6002020160000160019054906101000a900460ff166040518263ffffffff1660e01b815260040161128891906147b7565b60006040518083038186803b1580156112a057600080fd5b505af41580156112b4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112dd9190613bd2565b6040518263ffffffff1660e01b81526004016112f991906149cd565b60006040518083038186803b15801561131157600080fd5b505af4158015611325573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061134e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b886106a58110611397576113966154a9565b5b6002020160000160029054906101000a900460ff166040518263ffffffff1660e01b81526004016113c891906147b7565b60006040518083038186803b1580156113e057600080fd5b505af41580156113f4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061141d9190613bd2565b6040518263ffffffff1660e01b81526004016114399190614a97565b60006040518083038186803b15801561145157600080fd5b505af4158015611465573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061148e9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b896106a581106114d7576114d66154a9565b5b6002020160000160039054906101000a900460ff166040518263ffffffff1660e01b815260040161150891906147b7565b60006040518083038186803b15801561152057600080fd5b505af4158015611534573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061155d9190613bd2565b6040518263ffffffff1660e01b81526004016115799190614a22565b60006040518083038186803b15801561159157600080fd5b505af41580156115a5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906115ce9190613bd2565b7351fa888bb179b6b715cc9c5d62adbe543244822a635f6d9a307351fa888bb179b6b715cc9c5d62adbe543244822a63e8aae741600b8a6106a58110611617576116166154a9565b5b6002020160000160049054906101000a900460ff166040518263ffffffff1660e01b815260040161164891906147b7565b60006040518083038186803b15801561166057600080fd5b505af4158015611674573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061169d9190613bd2565b6040518263ffffffff1660e01b81526004016116b99190614d3a565b60006040518083038186803b1580156116d157600080fd5b505af41580156116e5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061170e9190613bd2565b604051602001611722959493929190614613565b60405160208183030381529060405290505b919050565b61174a611744611c70565b83611d31565b611789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178090614c72565b60405180910390fd5b6117958484848461269f565b50505050565b600b816106a581106117ac57600080fd5b600202016000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16908060000160059054906101000a900460ff16908060000160069054906101000a900465ffffffffffff169080600001600c9054906101000a90046fffffffffffffffffffffffffffffffff16908060010154905089565b60606118778261253e565b611880836126fb565b61188984610f7d565b60405160200161189b9392919061468a565b6040516020818303038152906040529050919050565b6106a481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611953611c70565b73ffffffffffffffffffffffffffffffffffffffff16611971610c21565b73ffffffffffffffffffffffffffffffffffffffff16146119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be90614c12565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2e906149ad565b60405180910390fd5b611a408161206b565b50565b611a4b611c70565b73ffffffffffffffffffffffffffffffffffffffff16611a69610c21565b73ffffffffffffffffffffffffffffffffffffffff1614611abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab690614c12565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b05573d6000803e3d6000fd5b505050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bed57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611bfd5750611bfc82613013565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ceb83610a2f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d3c82611c04565b611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7290614acc565b60405180910390fd5b6000611d8683610a2f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611df557508373ffffffffffffffffffffffffffffffffffffffff16611ddd846106ef565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e065750611e0581856118b7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e2f82610a2f565b73ffffffffffffffffffffffffffffffffffffffff1614611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614c32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90614a57565b60405180910390fd5b611f0083838361307d565b611f0b600082611c78565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f5b9190615019565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb29190614f38565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361213f9190614fbf565b905092915050565b600081836121559190614f38565b905092915050565b612177828260405180602001604052806000815250613191565b5050565b428260000160066101000a81548165ffffffffffff021916908365ffffffffffff1602179055504482600001600c6101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055504244826040516020016121f293929190614713565b6040516020818303038152906040528051906020012060001c82600101819055507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160036104d2866040518563ffffffff1660e01b815260040161225494939291906148bf565b60206040518083038186803b15801561226c57600080fd5b505af4158015612280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a49190613c1b565b8260000160006101000a81548160ff021916908360ff160217905550605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160646287a238876040518563ffffffff1660e01b81526004016123049493929190614833565b60206040518083038186803b15801561231c57600080fd5b505af4158015612330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123549190613c1b565b61ffff1610158260000160016101000a81548160ff0219169083151502179055508160000160019054906101000a900460ff16158260000160026101000a81548160ff021916908315150217905550605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160646287a238876040518563ffffffff1660e01b81526004016123e79493929190614833565b60206040518083038186803b1580156123ff57600080fd5b505af4158015612413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124379190613c1b565b61ffff1610158260000160036101000a81548160ff0219169083151502179055508160000160039054906101000a900460ff16158260000160046101000a81548160ff02191690831515021790555060507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a727560016064613039876040518563ffffffff1660e01b81526004016124c994939291906147ed565b60206040518083038186803b1580156124e157600080fd5b505af41580156124f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125199190613c1b565b61ffff1610158260000160056101000a81548160ff0219169083151502179055505050565b60606000821415612586576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061269a565b600082905060005b600082146125b85780806125a190615369565b915050600a826125b19190614f8e565b915061258e565b60008167ffffffffffffffff8111156125d4576125d36154d8565b5b6040519080825280601f01601f1916602001820160405280156126065781602001600182028036833780820191505090505b5090505b600085146126935760018261261f9190615019565b9150600a8561262e91906153bc565b603061263a9190614f38565b60f81b8183815181106126505761264f6154a9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561268c9190614f8e565b945061260a565b8093505050505b919050565b6126aa848484611e0f565b6126b6848484846131ec565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec9061498d565b60405180910390fd5b50505050565b60606000600b836106a58110612714576127136154a9565b5b60020201604051806101200160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff161515151581526020016000820160029054906101000a900460ff161515151581526020016000820160039054906101000a900460ff161515151581526020016000820160049054906101000a900460ff161515151581526020016000820160059054906101000a900460ff161515151581526020016000820160069054906101000a900465ffffffffffff1665ffffffffffff1665ffffffffffff16815260200160008201600c9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200160018201548152505090506000831415612b9f57428160c0019065ffffffffffff16908165ffffffffffff1681525050448160e001906fffffffffffffffffffffffffffffffff1690816fffffffffffffffffffffffffffffffff16815250504244846040516020016128b493929190614713565b6040516020818303038152906040528051906020012060001c816101000181815250507351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001600342856040518563ffffffff1660e01b81526004016129169493929190614905565b60206040518083038186803b15801561292e57600080fd5b505af4158015612942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129669190613c1b565b816000019060ff16908160ff1681525050605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001606442866040518563ffffffff1660e01b81526004016129b89493929190614879565b60206040518083038186803b1580156129d057600080fd5b505af41580156129e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a089190613c1b565b61ffff161015816020019015159081151581525050806020015115816040019015159081151581525050605a7351fa888bb179b6b715cc9c5d62adbe543244822a639b3a72756001606444866040518563ffffffff1660e01b8152600401612a739493929190614879565b60206040518083038186803b158015612a8b57600080fd5b505af4158015612a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ac39190613c1b565b61ffff16101581606001901515908115158152505080606001511581608001901515908115158152505060147351fa888bb179b6b715cc9c5d62adbe543244822a639b3a7275600160644442612b199190614f38565b866040518563ffffffff1660e01b8152600401612b399493929190614879565b60206040518083038186803b158015612b5157600080fd5b505af4158015612b65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b899190613c1b565b61ffff1610158160a00190151590811515815250505b7351fa888bb179b6b715cc9c5d62adbe543244822a634eecae078260e00151836040518363ffffffff1660e01b8152600401612bdc929190614d8b565b60006040518083038186803b158015612bf457600080fd5b505af4158015612c08573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612c319190613bd2565b6040518060a0016040528060688152602001615e3260689139732f52dc3e7bee6c597025b37b512f808b37252adb63ea5ae258846040518263ffffffff1660e01b8152600401612c819190614d6f565b60006040518083038186803b158015612c9957600080fd5b505af4158015612cad573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612cd69190613bd2565b732f52dc3e7bee6c597025b37b512f808b37252adb63674023a7856040518263ffffffff1660e01b8152600401612d0d9190614d6f565b60006040518083038186803b158015612d2557600080fd5b505af4158015612d39573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612d629190613bd2565b8460200151612dfc57732f52dc3e7bee6c597025b37b512f808b37252adb635b0b5251866040518263ffffffff1660e01b8152600401612da29190614d6f565b60006040518083038186803b158015612dba57600080fd5b505af4158015612dce573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612df79190613bd2565b612e89565b732f52dc3e7bee6c597025b37b512f808b37252adb63ecd8ec77866040518263ffffffff1660e01b8152600401612e339190614d6f565b60006040518083038186803b158015612e4b57600080fd5b505af4158015612e5f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612e889190613bd2565b5b8560600151612f2357732f52dc3e7bee6c597025b37b512f808b37252adb63ee7de71b876040518263ffffffff1660e01b8152600401612ec99190614d6f565b60006040518083038186803b158015612ee157600080fd5b505af4158015612ef5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612f1e9190613bd2565b612fb0565b732f52dc3e7bee6c597025b37b512f808b37252adb6375763db1876040518263ffffffff1660e01b8152600401612f5a9190614d6f565b60006040518083038186803b158015612f7257600080fd5b505af4158015612f86573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190612faf9190613bd2565b5b6040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250604051602001612ffc9796959493929190614567565b604051602081830303815290604052915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613088838383611b1d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130cb576130c681613383565b61310a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131095761310883826133cc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561314d5761314881613539565b61318c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461318b5761318a828261360a565b5b5b505050565b61319b8383613689565b6131a860008484846131ec565b6131e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131de9061498d565b60405180910390fd5b505050565b600061320d8473ffffffffffffffffffffffffffffffffffffffff16611b0a565b15613376578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613236611c70565b8786866040518563ffffffff1660e01b8152600401613258949392919061476b565b602060405180830381600087803b15801561327257600080fd5b505af19250505080156132a357506040513d601f19601f820116820180604052508101906132a09190613ba5565b60015b613326573d80600081146132d3576040519150601f19603f3d011682016040523d82523d6000602084013e6132d8565b606091505b5060008151141561331e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133159061498d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061337b565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133d984610ae1565b6133e39190615019565b90506000600760008481526020019081526020016000205490508181146134c8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061354d9190615019565b905060006009600084815260200190815260200160002054905060006008838154811061357d5761357c6154a9565b5b90600052602060002001549050806008838154811061359f5761359e6154a9565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135ee576135ed61547a565b5b6001900381819060005260206000200160009055905550505050565b600061361583610ae1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090614bb2565b60405180910390fd5b61370281611c04565b15613742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373990614a02565b60405180910390fd5b61374e6000838361307d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461379e9190614f38565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061386a61386584614e82565b614e5d565b9050828152602081018484840111156138865761388561550c565b5b6138918482856151da565b509392505050565b60006138ac6138a784614eb3565b614e5d565b9050828152602081018484840111156138c8576138c761550c565b5b6138d38482856151e9565b509392505050565b6000813590506138ea81615dbe565b92915050565b6000813590506138ff81615dd5565b92915050565b60008135905061391481615dec565b92915050565b60008151905061392981615dec565b92915050565b600082601f83011261394457613943615507565b5b8135613954848260208601613857565b91505092915050565b600082601f83011261397257613971615507565b5b8151613982848260208601613899565b91505092915050565b60008151905061399a81615e03565b92915050565b6000813590506139af81615e1a565b92915050565b6000602082840312156139cb576139ca615516565b5b60006139d9848285016138db565b91505092915050565b600080604083850312156139f9576139f8615516565b5b6000613a07858286016138db565b9250506020613a18858286016138db565b9150509250929050565b600080600060608486031215613a3b57613a3a615516565b5b6000613a49868287016138db565b9350506020613a5a868287016138db565b9250506040613a6b868287016139a0565b9150509250925092565b60008060008060808587031215613a8f57613a8e615516565b5b6000613a9d878288016138db565b9450506020613aae878288016138db565b9350506040613abf878288016139a0565b925050606085013567ffffffffffffffff811115613ae057613adf615511565b5b613aec8782880161392f565b91505092959194509250565b60008060408385031215613b0f57613b0e615516565b5b6000613b1d858286016138db565b9250506020613b2e858286016138f0565b9150509250929050565b60008060408385031215613b4f57613b4e615516565b5b6000613b5d858286016138db565b9250506020613b6e858286016139a0565b9150509250929050565b600060208284031215613b8e57613b8d615516565b5b6000613b9c84828501613905565b91505092915050565b600060208284031215613bbb57613bba615516565b5b6000613bc98482850161391a565b91505092915050565b600060208284031215613be857613be7615516565b5b600082015167ffffffffffffffff811115613c0657613c05615511565b5b613c128482850161395d565b91505092915050565b600060208284031215613c3157613c30615516565b5b6000613c3f8482850161398b565b91505092915050565b600060208284031215613c5e57613c5d615516565b5b6000613c6c848285016139a0565b91505092915050565b613c7e8161509f565b82525050565b613c8d816150b1565b82525050565b613c9c816150b1565b82525050565b613cab816150b1565b82525050565b6000613cbc82614ee4565b613cc68185614efa565b9350613cd68185602086016151e9565b613cdf8161551b565b840191505092915050565b613cf38161515c565b82525050565b613d028161516e565b82525050565b613d1181615180565b82525050565b613d2081615192565b82525050565b613d2f816151a4565b82525050565b613d3e816151b6565b82525050565b6000613d4f82614eef565b613d598185614f0b565b9350613d698185602086016151e9565b613d728161551b565b840191505092915050565b6000613d8882614eef565b613d928185614f1c565b9350613da28185602086016151e9565b613dab8161551b565b840191505092915050565b6000613dc182614eef565b613dcb8185614f2d565b9350613ddb8185602086016151e9565b80840191505092915050565b6000613df4602b83614f0b565b9150613dff82615594565b604082019050919050565b6000613e17603283614f0b565b9150613e22826155e3565b604082019050919050565b6000613e3a600483614f1c565b9150613e4582615632565b602082019050919050565b6000613e5d601183614f2d565b9150613e688261565b565b601182019050919050565b6000613e80602683614f0b565b9150613e8b82615684565b604082019050919050565b6000613ea3600283614f2d565b9150613eae826156d3565b600282019050919050565b6000613ec6600383614f1c565b9150613ed1826156fc565b602082019050919050565b6000613ee9601c83614f0b565b9150613ef482615725565b602082019050919050565b6000613f0c600183614f2d565b9150613f178261574e565b600182019050919050565b6000613f2f600583614f1c565b9150613f3a82615777565b602082019050919050565b6000613f52602483614f0b565b9150613f5d826157a0565b604082019050919050565b6000613f75601983614f0b565b9150613f80826157ef565b602082019050919050565b6000613f98600383614f1c565b9150613fa382615818565b602082019050919050565b6000613fbb602c83614f0b565b9150613fc682615841565b604082019050919050565b6000613fde600d83614f1c565b9150613fe982615890565b602082019050919050565b6000614001603883614f0b565b915061400c826158b9565b604082019050919050565b6000614024602a83614f0b565b915061402f82615908565b604082019050919050565b6000614047602983614f0b565b915061405282615957565b604082019050919050565b600061406a600a83614f1c565b9150614075826159a6565b602082019050919050565b600061408d600983614f2d565b9150614098826159cf565b600982019050919050565b60006140b0601483614f2d565b91506140bb826159f8565b601482019050919050565b60006140d3602083614f0b565b91506140de82615a21565b602082019050919050565b60006140f6600c83614f1c565b915061410182615a4a565b602082019050919050565b6000614119600183614f2d565b915061412482615a73565b600182019050919050565b600061413c600e83614f0b565b915061414782615a9c565b602082019050919050565b600061415f602c83614f0b565b915061416a82615ac5565b604082019050919050565b6000614182601b83614f2d565b915061418d82615b14565b601b82019050919050565b60006141a5602083614f0b565b91506141b082615b3d565b602082019050919050565b60006141c8602983614f0b565b91506141d382615b66565b604082019050919050565b60006141eb600183614f2d565b91506141f682615bb5565b600182019050919050565b600061420e602183614f0b565b915061421982615bde565b604082019050919050565b6000614231603183614f0b565b915061423c82615c2d565b604082019050919050565b6000614254600f83614f0b565b915061425f82615c7c565b602082019050919050565b6000614277600583614f1c565b915061428282615ca5565b602082019050919050565b600061429a602c83614f0b565b91506142a582615cce565b604082019050919050565b60006142bd600a83614f1c565b91506142c882615d1d565b602082019050919050565b60006142e0603e83614f2d565b91506142eb82615d46565b603e82019050919050565b6000614303600683614f1c565b915061430e82615d95565b602082019050919050565b610120820160008201516143306000850182614558565b5060208201516143436020850182613ca2565b5060408201516143566040850182613ca2565b5060608201516143696060850182613ca2565b50608082015161437c6080850182613ca2565b5060a082015161438f60a0850182613ca2565b5060c08201516143a260c085018261453a565b5060e08201516143b560e08501826144c9565b506101008201516143ca610100850182614505565b50505050565b610120820160008083015490506143e681615268565b6143f36000860182614558565b506143fd8161529c565b61440a6020860182613ca2565b50614414816152b6565b6144216040860182613ca2565b5061442b816152d0565b6144386060860182613ca2565b50614442816152ea565b61444f6080860182613ca2565b5061445981615304565b61446660a0860182613ca2565b506144708161531e565b61447d60c086018261453a565b5061448781615282565b61449460e08601826144c9565b50600183015490506144a58161524e565b6144b3610100860182614505565b5050505050565b6144c3816150e9565b82525050565b6144d2816150e9565b82525050565b6144e1816151c8565b82525050565b6144f081615133565b82525050565b6144ff81615133565b82525050565b61450e81615133565b82525050565b61452561452082615133565b6153b2565b82525050565b6145348161513d565b82525050565b6145438161513d565b82525050565b6145528161514f565b82525050565b6145618161514f565b82525050565b6000614573828a613db6565b915061457f8289613db6565b915061458b8288613db6565b91506145978287613db6565b91506145a38286613db6565b91506145af8285613db6565b91506145bb8284613db6565b915081905098975050505050505050565b60006145d88286613db6565b91506145e382613eff565b91506145ef8285613db6565b91506145fa82613eff565b91506146068284613db6565b9150819050949350505050565b600061461f8288613db6565b915061462a82613eff565b91506146368287613db6565b915061464182613eff565b915061464d8286613db6565b915061465882613eff565b91506146648285613db6565b915061466f82613eff565b915061467b8284613db6565b91508190509695505050505050565b600061469582614175565b91506146a0826140a3565b91506146ac8286613db6565b91506146b782613e96565b91506146c2826142d3565b91506146cd82614080565b91506146d98285613db6565b91506146e482613e50565b91506146f08284613db6565b91506146fb826141de565b91506147068261410c565b9150819050949350505050565b600061471f8286614514565b60208201915061472f8285614514565b60208201915061473f8284614514565b602082019150819050949350505050565b60006020820190506147656000830184613c75565b92915050565b60006080820190506147806000830187613c75565b61478d6020830186613c75565b61479a60408301856144e7565b81810360608301526147ac8184613cb1565b905095945050505050565b60006020820190506147cc6000830184613c93565b92915050565b60006020820190506147e76000830184613c84565b92915050565b6000610180820190506148036000830187613d17565b6148106020830186613cea565b61481d6040830185613cf9565b61482a60608301846143d0565b95945050505050565b6000610180820190506148496000830187613d17565b6148566020830186613cea565b6148636040830185613d35565b61487060608301846143d0565b95945050505050565b60006101808201905061488f6000830187613d17565b61489c6020830186613cea565b6148a960408301856144f6565b6148b66060830184614319565b95945050505050565b6000610180820190506148d56000830187613d17565b6148e26020830186613d26565b6148ef6040830185613d08565b6148fc60608301846143d0565b95945050505050565b60006101808201905061491b6000830187613d17565b6149286020830186613d26565b61493560408301856144f6565b6149426060830184614319565b95945050505050565b600060208201905081810360008301526149658184613d44565b905092915050565b6000602082019050818103600083015261498681613de7565b9050919050565b600060208201905081810360008301526149a681613e0a565b9050919050565b600060208201905081810360008301526149c681613e73565b9050919050565b600060408201905081810360008301526149e681613eb9565b905081810360208301526149fa8184613d7d565b905092915050565b60006020820190508181036000830152614a1b81613edc565b9050919050565b60006040820190508181036000830152614a3b81613f22565b90508181036020830152614a4f8184613d7d565b905092915050565b60006020820190508181036000830152614a7081613f45565b9050919050565b60006020820190508181036000830152614a9081613f68565b9050919050565b60006040820190508181036000830152614ab081613f8b565b90508181036020830152614ac48184613d7d565b905092915050565b60006020820190508181036000830152614ae581613fae565b9050919050565b60006040820190508181036000830152614b0581613fd1565b90508181036020830152614b1881613e2d565b9050919050565b60006020820190508181036000830152614b3881613ff4565b9050919050565b60006020820190508181036000830152614b5881614017565b9050919050565b60006020820190508181036000830152614b788161403a565b9050919050565b60006040820190508181036000830152614b988161405d565b90508181036020830152614bab81613e2d565b9050919050565b60006020820190508181036000830152614bcb816140c6565b9050919050565b60006020820190508181036000830152614beb8161412f565b9050919050565b60006020820190508181036000830152614c0b81614152565b9050919050565b60006020820190508181036000830152614c2b81614198565b9050919050565b60006020820190508181036000830152614c4b816141bb565b9050919050565b60006020820190508181036000830152614c6b81614201565b9050919050565b60006020820190508181036000830152614c8b81614224565b9050919050565b60006020820190508181036000830152614cab81614247565b9050919050565b60006040820190508181036000830152614ccb8161426a565b90508181036020830152614cdf8184613d7d565b905092915050565b60006020820190508181036000830152614d008161428d565b9050919050565b60006040820190508181036000830152614d20816142b0565b90508181036020830152614d33816140e9565b9050919050565b60006040820190508181036000830152614d53816142f6565b90508181036020830152614d678184613d7d565b905092915050565b600061012082019050614d856000830184614319565b92915050565b600061014082019050614da160008301856144d8565b614dae6020830184614319565b9392505050565b6000602082019050614dca60008301846144e7565b92915050565b600061012082019050614de6600083018c614549565b614df3602083018b613c84565b614e00604083018a613c84565b614e0d6060830189613c84565b614e1a6080830188613c84565b614e2760a0830187613c84565b614e3460c083018661452b565b614e4160e08301856144ba565b614e4f6101008301846144e7565b9a9950505050505050505050565b6000614e67614e78565b9050614e738282615338565b919050565b6000604051905090565b600067ffffffffffffffff821115614e9d57614e9c6154d8565b5b614ea68261551b565b9050602081019050919050565b600067ffffffffffffffff821115614ece57614ecd6154d8565b5b614ed78261551b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f4382615133565b9150614f4e83615133565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8357614f826153ed565b5b828201905092915050565b6000614f9982615133565b9150614fa483615133565b925082614fb457614fb361541c565b5b828204905092915050565b6000614fca82615133565b9150614fd583615133565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561500e5761500d6153ed565b5b828202905092915050565b600061502482615133565b915061502f83615133565b925082821015615042576150416153ed565b5b828203905092915050565b600060ff82169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600065ffffffffffff82169050919050565b600060ff82169050919050565b60006150aa82615113565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600065ffffffffffff82169050919050565b600060ff82169050919050565b600061516782615133565b9050919050565b600061517982615133565b9050919050565b600061518b82615133565b9050919050565b600061519d82615133565b9050919050565b60006151af82615133565b9050919050565b60006151c182615133565b9050919050565b60006151d3826150e9565b9050919050565b82818337600083830152505050565b60005b838110156152075780820151818401526020810190506151ec565b83811115615216576000848401525b50505050565b6000600282049050600182168061523457607f821691505b602082108114156152485761524761544b565b5b50919050565b600061526161525c8361552c565b615076565b9050919050565b600061527b6152768361552c565b615092565b9050919050565b600061529561529083615587565b61505a565b9050919050565b60006152af6152aa8361557a565b61504d565b9050919050565b60006152c96152c483615539565b61504d565b9050919050565b60006152e36152de83615546565b61504d565b9050919050565b60006152fd6152f883615553565b61504d565b9050919050565b600061531761531283615560565b61504d565b9050919050565b600061533161532c8361556d565b615080565b9050919050565b6153418261551b565b810181811067ffffffffffffffff821117156153605761535f6154d8565b5b80604052505050565b600061537482615133565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153a7576153a66153ed565b5b600182019050919050565b6000819050919050565b60006153c782615133565b91506153d283615133565b9250826153e2576153e161541c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001c9050919050565b60008160101c9050919050565b60008160181c9050919050565b60008160201c9050919050565b60008160281c9050919050565b60008160301c9050919050565b60008160081c9050919050565b60008160601c9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5472756500000000000000000000000000000000000000000000000000000000600082015250565b7f222c202261747472696275746573223a5b000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f55464f0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b7f46656e6365000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53756e0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e6573697320546f6b656e00000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4c69766520496d61676500000000000000000000000000000000000000000000600082015250565b7f22696d616765223a220000000000000000000000000000000000000000000000600082015250565b7f7b226e616d65223a2243697479205061726b2023000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f79756e67776b6e642e6574680000000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768206c6566740000000000000000000000000000000000600082015250565b7f5472656573000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4372656174656420427900000000000000000000000000000000000000000000600082015250565b7f226465736372697074696f6e223a2243697479205061726b732061726520612060008201527f776f6e64657266756c2065787072657373696f6e206f662066756e2e222c0000602082015250565b7f427269636b730000000000000000000000000000000000000000000000000000600082015250565b615dc78161509f565b8114615dd257600080fd5b50565b615dde816150b1565b8114615de957600080fd5b50565b615df5816150bd565b8114615e0057600080fd5b50565b615e0c81615105565b8114615e1757600080fd5b50565b615e2381615133565b8114615e2e57600080fd5b5056fe3c726563742077696474683d273130302527206865696768743d27313636252720793d272d333325272072783d27323027207374796c653d2766696c6c3a6e6f6e653b7374726f6b653a626c61636b3b7374726f6b652d77696474683a3230273e3c2f726563743ea2646970667358221220babad59a0d65debca3e9796349f473ca096c9ae4f67d9d667f665f63ad4720e864736f6c63430008070033

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.