ETH Price: $2,102.48 (-2.41%)

Contract

0x1Cf33F4c6C4E6391F4D2B445aa3a36639b77dd68
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...241687802026-01-05 13:32:2375 days ago1767619943IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.00000820.17557304
Safe Transfer Fr...225608812025-05-25 15:59:23300 days ago1748188763IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.000182781.81799216
Set Single Mint ...188293222023-12-20 19:53:59822 days ago1703102039IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0015004151.68688171
Set Total Mint L...188293212023-12-20 19:53:47822 days ago1703102027IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0015519253.37836685
Set Ownership Mi...188292932023-12-20 19:48:11822 days ago1703101691IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0016175755.7169597
Set Total Mint L...188292902023-12-20 19:47:35822 days ago1703101655IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0015558953.51496407
Set Token Group ...167738632023-03-07 3:49:111110 days ago1678160951IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0028965327
Set Approval For...165968602023-02-10 7:27:231135 days ago1676014043IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0008607718.42929373
Set Approval For...163359912023-01-04 21:03:471172 days ago1672866227IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0012390526.52814933
Transfer From163061492022-12-31 17:10:471176 days ago1672506647IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0016377419.33577945
Approve162336662022-12-21 14:27:231186 days ago1671632843IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0008956818.16737542
Approve162336542022-12-21 14:24:591186 days ago1671632699IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0006109312.39169486
Approve162336452022-12-21 14:23:111186 days ago1671632591IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0004115213.99655807
Approve162336392022-12-21 14:21:591186 days ago1671632519IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0006862613.91969564
Approve162336332022-12-21 14:20:471186 days ago1671632447IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0007078814.35814143
Approve162336222022-12-21 14:18:351186 days ago1671632315IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0007411915.03381918
Approve162336182022-12-21 14:17:471186 days ago1671632267IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0007164914.53280914
Approve162336062022-12-21 14:15:231186 days ago1671632123IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0006849513.89305444
Approve162336002022-12-21 14:14:111186 days ago1671632051IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0007069714.33976869
Set Approval For...162335242022-12-21 13:58:471186 days ago1671631127IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0006401213.68048065
Set Approval For...161583622022-12-11 2:03:351197 days ago1670724215IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0006783714.52400286
Set Approval For...156116412022-09-25 16:39:471273 days ago1664123987IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.0007123115.25072337
Set Token Conten...154301212022-08-28 21:17:301301 days ago1661721450IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.000715097.58467473
Set Approval For...153814932022-08-21 3:06:291308 days ago1661051189IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.000187947.55445026
Safe Transfer Fr...152945992022-08-07 10:24:441322 days ago1659867884IN
Million Dollar Token Page: Old ⊡ Token
0 ETH0.00056753.50717524
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-145643932022-04-11 12:26:441440 days ago1649680004
Million Dollar Token Page: Old ⊡ Token
0.53 ETH
-141659712022-02-08 14:29:001502 days ago1644330540
Million Dollar Token Page: Old ⊡ Token
3.93 ETH
-134514842021-10-20 0:43:461614 days ago1634690626
Million Dollar Token Page: Old ⊡ Token
5.07 ETH
-132044032021-09-11 12:17:081652 days ago1631362628
Million Dollar Token Page: Old ⊡ Token
5.48 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MillionDollarTokenPage

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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


contract MillionDollarTokenPage is ERC721, IERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Strings for uint256;

    mapping(uint256 => string) private _tokenContentURIs;
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
    mapping(uint256 => uint256) private _ownedTokensIndex;
    uint256[] private _mintedTokenIds;

    uint16 public constant COLUMN_COUNT = 100;
    uint16 public constant ROW_COUNT = 100;
    uint16 public constant SUPPLY_LIMIT = COLUMN_COUNT * ROW_COUNT;

    bool public canMintCenter = false;
    uint16 public totalMintLimit;
    uint16 public singleMintLimit;
    uint16 public ownershipMintLimit;
    uint256 public mintPrice;

    string public _metadataBaseURI;
    string public _defaultContentBaseURI;

    event TokenContentURIChanged(uint256 indexed tokenId);

    constructor(uint16 initialTotalMintLimit, uint16 initialSingleMintLimit, uint16 initialOwnershipMintLimit, uint256 initialMintPrice, string memory initialMetadataBaseURI, string memory initialDefaultContentBaseURI) ERC721("MillionDollarTokenPage", "\u22A1") Ownable() {
        _metadataBaseURI = initialMetadataBaseURI;
        _defaultContentBaseURI = initialDefaultContentBaseURI;
        totalMintLimit = initialTotalMintLimit;
        singleMintLimit = initialSingleMintLimit;
        ownershipMintLimit = initialOwnershipMintLimit;
        mintPrice = initialMintPrice;
    }

    // Utils

    modifier onlyValidGroup(uint256 tokenId, uint8 width, uint8 height) {
        require(width > 0, "MDTP: width must be > 0");
        require(height > 0, "MDTP: height must be > 0");
        _;
    }

    modifier onlyTokenOwner(uint256 tokenId) {
        require(ownerOf(tokenId) == _msgSender(), "MDTP: caller is not the tokenOwner");
        _;
    }

    modifier onlyTokenGroupOwner(uint256 tokenId, uint8 width, uint8 height) {
        for (uint8 y = 0; y < height; y++) {
            for (uint8 x = 0; x < width; x++) {
                uint256 innerTokenId = tokenId + (ROW_COUNT * y) + x;
                require(ownerOf(innerTokenId) == _msgSender(), "MDTP: caller is not the tokenOwner of all tokens in group");
            }
        }
        _;
    }

    // Admin

    function setCanMintCenter(bool newCanMintCenter) external onlyOwner {
        canMintCenter = newCanMintCenter;
    }

    function setTotalMintLimit(uint16 newTotalMintLimit) external onlyOwner {
        totalMintLimit = newTotalMintLimit;
    }

    function setSingleMintLimit(uint16 newSingleMintLimit) external onlyOwner {
        singleMintLimit = newSingleMintLimit;
    }

    function setOwnershipMintLimit(uint16 newOwnershipMintLimit) external onlyOwner {
        ownershipMintLimit = newOwnershipMintLimit;
    }

    function setMintPrice(uint256 newMintPrice) external onlyOwner {
        mintPrice = newMintPrice;
    }

    function setMetadataBaseURI(string memory newMetadataBaseURI) external onlyOwner {
        _metadataBaseURI = newMetadataBaseURI;
    }

    function setDefaultContentBaseURI(string memory newDefaultContentBaseURI) external onlyOwner {
        _defaultContentBaseURI = newDefaultContentBaseURI;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    // Metadata URIs

    function metadataBaseURI() internal view returns (string memory) {
        return _metadataBaseURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(metadataBaseURI(), Strings.toString(tokenId), ".json"));
    }

    // Content URIs

    // NOTE(krishan711): contract URIs should point to a JSON file that contains:
    // name: string -> the high level title for your content. This should be <250 chars.
    // description: string -> a description of your content. This should be <2500 chars.
    // image: string -> a URI pointing to and image for your item in the grid. This should be at least 300x300 and will be cropped if not square.
    // url: optional[string] -> a URI pointing to the location you want visitors of your content to go to.
    // groupId: optional[string] -> a unique identifier you can use to group multiple grid items together by giving them all the same groupId.

    function setTokenContentURI(uint256 tokenId, string memory contentURI) public onlyTokenOwner(tokenId) {
        _setTokenContentURI(tokenId, contentURI);
    }

    function setTokenGroupContentURIs(uint256 tokenId, uint8 width, uint8 height, string[] memory contentURIs) public onlyTokenGroupOwner(tokenId, width, height) onlyValidGroup(tokenId, width, height) {
        require(width * height == contentURIs.length, "MDTP: length of contentURIs must be the same as width * height");
        for (uint8 y = 0; y < height; y++) {
            for (uint8 x = 0; x < width; x++) {
                uint16 index = (width * y) + x;
                uint256 innerTokenId = tokenId + (ROW_COUNT * y) + x;
                _setTokenContentURI(innerTokenId, contentURIs[index]);
            }
        }
    }

    function _setTokenContentURI(uint256 tokenId, string memory contentURI) internal {
        _tokenContentURIs[tokenId] = contentURI;
        emit TokenContentURIChanged(tokenId);
    }

    function defaultContentBaseURI() internal view returns (string memory) {
        return _defaultContentBaseURI;
    }

    function tokenContentURI(uint256 tokenId) public view returns (string memory) {
        string memory _tokenContentURI = _tokenContentURIs[tokenId];
        if (bytes(_tokenContentURI).length > 0) {
            return _tokenContentURI;
        }
        // NOTE(krishan711): in the default ERC721 _exists checks the owner is not 0
        if (super._exists(tokenId)) {
            return tokenURI(tokenId);
        }
        return string(abi.encodePacked(defaultContentBaseURI(), Strings.toString(tokenId), ".json"));
    }

    // Minting

    function isInMiddle(uint256 tokenId) internal pure returns (bool) {
        uint256 x = tokenId % COLUMN_COUNT;
        uint256 y = tokenId / ROW_COUNT;
        return x >= 38 && x <= 62 && y >= 40 && y <= 59;
    }

    function isAnyInMiddle(uint256 tokenId, uint8 width, uint8 height) internal pure returns (bool) {
        for (uint8 y = 0; y < height; y++) {
            for (uint8 x = 0; x < width; x++) {
                uint256 innerTokenId = tokenId + (ROW_COUNT * y) + x;
                if (isInMiddle(innerTokenId)) {
                    return true;
                }
            }
        }
        return false;
    }

    function mintAdmin(uint256 tokenId) public onlyOwner {
        _mint(tokenId);
    }

    function mintTokenGroupAdmin(uint256 tokenId, uint8 width, uint8 height) public payable {
        _mintTokenGroup(tokenId, width, height);
    }

    function mintToken(uint256 tokenId) public payable {
        require(msg.value >= mintPrice, "MDTP: Insufficient payment");
        require(mintedCount() + 1 <= totalMintLimit, "MDTP: reached current minting limit");
        require(balanceOf(msg.sender) + 1 <= ownershipMintLimit, "MDTP: reached current ownership limit");
        require(canMintCenter || !isInMiddle(tokenId), "MDTP: Minting the middle 500 tokens is not permitted yet");
        _mint(tokenId);
    }

    function mintTokenGroup(uint256 tokenId, uint8 width, uint8 height) public payable {
        uint256 quantity = (width * height);
        require(msg.value >= mintPrice.mul(quantity), "MDTP: Insufficient payment");
        require(mintedCount() + quantity <= totalMintLimit, "MDTP: reached current minting limit");
        require(balanceOf(msg.sender) + quantity <= ownershipMintLimit, "MDTP: reached current ownership limit");
        require(quantity <= singleMintLimit, "MDTP: requested token count is over singleMintLimit");
        require(canMintCenter || !isAnyInMiddle(tokenId, width, height), "MDTP: Minting the middle 500 tokens is not permitted yet");
        _mintTokenGroup(tokenId, width, height);
    }

    function _mintTokenGroup(uint256 tokenId, uint8 width, uint8 height) internal onlyValidGroup(tokenId, width, height) {
        for (uint8 y = 0; y < height; y++) {
            for (uint8 x = 0; x < width; x++) {
                uint256 innerTokenId = tokenId + (ROW_COUNT * y) + x;
                _mint(innerTokenId);
            }
        }
    }

    function _mint(uint256 tokenId) internal {
        require(tokenId > 0 && tokenId <= SUPPLY_LIMIT, "MDTP: invalid tokenId");
        super._safeMint(msg.sender, tokenId);
    }

    function mintedCount() public view returns (uint256) {
        return _mintedTokenIds.length;
    }

    // IERC721Enumerable

    function totalSupply() public pure override returns (uint256) {
        return SUPPLY_LIMIT;
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) {
        return _ownedTokens[owner][index];
    }

    function tokenByIndex(uint256 index) public pure override returns (uint256) {
        require(index >= 0 && index < SUPPLY_LIMIT, "MDTP: invalid index");
        return index + 1;
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);
        if (to != from) {
            if (from == address(0)) {
                _mintedTokenIds.push(tokenId);
            } else {
                uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
                uint256 tokenIndex = _ownedTokensIndex[tokenId];
                // If any token except the last is being removed, swap it with the last one
                if (tokenIndex != lastTokenIndex) {
                    uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
                    _ownedTokens[from][tokenIndex] = lastTokenId;
                    _ownedTokensIndex[lastTokenId] = tokenIndex;
                }
                delete _ownedTokens[from][lastTokenIndex];
                // delete _tokenContentURIs[tokenId];
            }
            if (to != address(0)) {
                uint256 length = ERC721.balanceOf(to);
                _ownedTokens[to][length] = tokenId;
                _ownedTokensIndex[tokenId] = length;
            }
        }
    }

}

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint16","name":"initialTotalMintLimit","type":"uint16"},{"internalType":"uint16","name":"initialSingleMintLimit","type":"uint16"},{"internalType":"uint16","name":"initialOwnershipMintLimit","type":"uint16"},{"internalType":"uint256","name":"initialMintPrice","type":"uint256"},{"internalType":"string","name":"initialMetadataBaseURI","type":"string"},{"internalType":"string","name":"initialDefaultContentBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenContentURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COLUMN_COUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROW_COUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_defaultContentBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMintCenter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"name":"mintTokenGroup","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"name":"mintTokenGroupAdmin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownershipMintLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"bool","name":"newCanMintCenter","type":"bool"}],"name":"setCanMintCenter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDefaultContentBaseURI","type":"string"}],"name":"setDefaultContentBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newMetadataBaseURI","type":"string"}],"name":"setMetadataBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newOwnershipMintLimit","type":"uint16"}],"name":"setOwnershipMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newSingleMintLimit","type":"uint16"}],"name":"setSingleMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"contentURI","type":"string"}],"name":"setTokenContentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"},{"internalType":"string[]","name":"contentURIs","type":"string[]"}],"name":"setTokenGroupContentURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newTotalMintLimit","type":"uint16"}],"name":"setTotalMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"singleMintLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenContentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620059c2380380620059c28339818101604052810190620000529190620003cc565b6040518060400160405280601681526020017f4d696c6c696f6e446f6c6c6172546f6b656e50616765000000000000000000008152506040518060400160405280600381526020017fe28aa100000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d69291906200027c565b508060019080519060200190620000ef9291906200027c565b5050506200011262000106620001ae60201b60201c565b620001b660201b60201c565b81600d90805190602001906200012a9291906200027c565b5080600e9080519060200190620001439291906200027c565b5085600b60016101000a81548161ffff021916908361ffff16021790555084600b60036101000a81548161ffff021916908361ffff16021790555083600b60056101000a81548161ffff021916908361ffff16021790555082600c8190555050505050505062000650565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200028a9062000541565b90600052602060002090601f016020900481019282620002ae5760008555620002fa565b82601f10620002c957805160ff1916838001178555620002fa565b82800160010185558215620002fa579182015b82811115620002f9578251825591602001919060010190620002dc565b5b5090506200030991906200030d565b5090565b5b80821115620003285760008160009055506001016200030e565b5090565b6000620003436200033d84620004bd565b62000494565b9050828152602081018484840111156200035c57600080fd5b620003698482856200050b565b509392505050565b600082601f8301126200038357600080fd5b8151620003958482602086016200032c565b91505092915050565b600081519050620003af816200061c565b92915050565b600081519050620003c68162000636565b92915050565b60008060008060008060c08789031215620003e657600080fd5b6000620003f689828a016200039e565b96505060206200040989828a016200039e565b95505060406200041c89828a016200039e565b94505060606200042f89828a01620003b5565b935050608087015167ffffffffffffffff8111156200044d57600080fd5b6200045b89828a0162000371565b92505060a087015167ffffffffffffffff8111156200047957600080fd5b6200048789828a0162000371565b9150509295509295509295565b6000620004a0620004b3565b9050620004ae828262000577565b919050565b6000604051905090565b600067ffffffffffffffff821115620004db57620004da620005dc565b5b620004e6826200060b565b9050602081019050919050565b600061ffff82169050919050565b6000819050919050565b60005b838110156200052b5780820151818401526020810190506200050e565b838111156200053b576000848401525b50505050565b600060028204905060018216806200055a57607f821691505b60208210811415620005715762000570620005ad565b5b50919050565b62000582826200060b565b810181811067ffffffffffffffff82111715620005a457620005a3620005dc565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200062781620004f3565b81146200063357600080fd5b50565b620006418162000501565b81146200064d57600080fd5b50565b61536280620006606000396000f3fe6080604052600436106102725760003560e01c806370a082311161014f578063b88d4fde116100c1578063e8d44caf1161007a578063e8d44caf14610929578063e985e9c514610952578063eb3391a91461098f578063f2fde38b146109b8578063f4a0a528146109e1578063fb94bd8a14610a0a57610272565b8063b88d4fde14610826578063c634d0321461084f578063c74285661461086b578063c87b56dd14610896578063cf721b15146108d3578063e04a8eaf146108fe57610272565b80638da5cb5b116101135780638da5cb5b1461073757806395d89b4114610762578063a1ae82e51461078d578063a2194baf146107b6578063a22cb465146107d2578063a5dee002146107fb57610272565b806370a0823114610666578063715018a6146106a357806371c1fd70146106ba57806376dd1f86146106e35780638d50645a1461070e57610272565b80633906f560116101e85780634f6ccce7116101ac5780634f6ccce7146105445780635935e01a146105815780636352211e146105aa578063677ab70b146105e75780636817c76c146106105780636ef5e0121461063b57610272565b80633906f560146104835780633ccfd60b146104ae57806342842e0e146104c55780634a0218d6146104ee5780634ddd7fec1461051957610272565b80630c0a9d261161023a5780630c0a9d261461036e57806318160ddd146103ab5780631f5e7978146103d657806323b872dd146103f257806328b8692a1461041b5780632f745c591461044657610272565b80630170163a1461027757806301ffc9a7146102a057806306fdde03146102dd578063081812fc14610308578063095ea7b314610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613b90565b610a33565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613afd565b610acf565b6040516102d49190614249565b60405180910390f35b3480156102e957600080fd5b506102f2610bb1565b6040516102ff9190614264565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613bb9565b610c43565b60405161033c91906141e2565b60405180910390f35b34801561035157600080fd5b5061036c60048036038101906103679190613a98565b610cc8565b005b34801561037a57600080fd5b5061039560048036038101906103909190613bb9565b610de0565b6040516103a29190614264565b60405180910390f35b3480156103b757600080fd5b506103c0610eee565b6040516103cd9190614601565b60405180910390f35b6103f060048036038101906103eb9190613c36565b610f06565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613992565b61110d565b005b34801561042757600080fd5b5061043061116d565b60405161043d9190614264565b60405180910390f35b34801561045257600080fd5b5061046d60048036038101906104689190613a98565b6111fb565b60405161047a9190614601565b60405180910390f35b34801561048f57600080fd5b50610498611256565b6040516104a591906145e6565b60405180910390f35b3480156104ba57600080fd5b506104c3611266565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613992565b611331565b005b3480156104fa57600080fd5b50610503611351565b60405161051091906145e6565b60405180910390f35b34801561052557600080fd5b5061052e611356565b60405161053b9190614264565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190613bb9565b6113e4565b6040516105789190614601565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613c85565b611458565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613bb9565b611729565b6040516105de91906141e2565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613bb9565b6117db565b005b34801561061c57600080fd5b50610625611863565b6040516106329190614601565b60405180910390f35b34801561064757600080fd5b50610650611869565b60405161065d9190614249565b60405180910390f35b34801561067257600080fd5b5061068d6004803603810190610688919061392d565b61187c565b60405161069a9190614601565b60405180910390f35b3480156106af57600080fd5b506106b8611934565b005b3480156106c657600080fd5b506106e160048036038101906106dc9190613ad4565b6119bc565b005b3480156106ef57600080fd5b506106f8611a55565b60405161070591906145e6565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190613be2565b611a69565b005b34801561074357600080fd5b5061074c611af6565b60405161075991906141e2565b60405180910390f35b34801561076e57600080fd5b50610777611b20565b6040516107849190614264565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190613b90565b611bb2565b005b6107d060048036038101906107cb9190613c36565b611c4e565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613a5c565b611c5e565b005b34801561080757600080fd5b50610810611ddf565b60405161081d91906145e6565b60405180910390f35b34801561083257600080fd5b5061084d600480360381019061084891906139e1565b611df3565b005b61086960048036038101906108649190613bb9565b611e55565b005b34801561087757600080fd5b50610880611fdb565b60405161088d91906145e6565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190613bb9565b611fef565b6040516108ca9190614264565b60405180910390f35b3480156108df57600080fd5b506108e8612029565b6040516108f59190614601565b60405180910390f35b34801561090a57600080fd5b50610913612036565b60405161092091906145e6565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b9190613b90565b61203b565b005b34801561095e57600080fd5b5061097960048036038101906109749190613956565b6120d7565b6040516109869190614249565b60405180910390f35b34801561099b57600080fd5b506109b660048036038101906109b19190613b4f565b61216b565b005b3480156109c457600080fd5b506109df60048036038101906109da919061392d565b612201565b005b3480156109ed57600080fd5b50610a086004803603810190610a039190613bb9565b6122f9565b005b348015610a1657600080fd5b50610a316004803603810190610a2c9190613b4f565b61237f565b005b610a3b612415565b73ffffffffffffffffffffffffffffffffffffffff16610a59611af6565b73ffffffffffffffffffffffffffffffffffffffff1614610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa6906144e6565b60405180910390fd5b80600b60056101000a81548161ffff021916908361ffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baa5750610ba98261241d565b5b9050919050565b606060008054610bc0906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bec906149a6565b8015610c395780601f10610c0e57610100808354040283529160200191610c39565b820191906000526020600020905b815481529060010190602001808311610c1c57829003601f168201915b5050505050905090565b6000610c4e82612487565b610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c84906144a6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd382611729565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90614546565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d63612415565b73ffffffffffffffffffffffffffffffffffffffff161480610d925750610d9181610d8c612415565b6120d7565b5b610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc8906143c6565b60405180910390fd5b610ddb83836124f3565b505050565b60606000600760008481526020019081526020016000208054610e02906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2e906149a6565b8015610e7b5780601f10610e5057610100808354040283529160200191610e7b565b820191906000526020600020905b815481529060010190602001808311610e5e57829003601f168201915b50505050509050600081511115610e955780915050610ee9565b610e9e83612487565b15610eb457610eac83611fef565b915050610ee9565b610ebc6125ac565b610ec58461263e565b604051602001610ed69291906141b3565b6040516020818303038152906040529150505b919050565b6000606480610efd91906147d0565b61ffff16905090565b60008183610f149190614866565b60ff169050610f2e81600c546127eb90919063ffffffff16565b341015610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6790614586565b60405180910390fd5b600b60019054906101000a900461ffff1661ffff1681610f8e612029565b610f989190614712565b1115610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614486565b60405180910390fd5b600b60059054906101000a900461ffff1661ffff1681610ff83361187c565b6110029190614712565b1115611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614286565b60405180910390fd5b600b60039054906101000a900461ffff1661ffff1681111561109a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109190614526565b60405180910390fd5b600b60009054906101000a900460ff16806110bd57506110bb848484612801565b155b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f3906142e6565b60405180910390fd5b6111078484846128a8565b50505050565b61111e611118612415565b826129c4565b61115d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611154906145a6565b60405180910390fd5b611168838383612aa2565b505050565b600d805461117a906149a6565b80601f01602080910402602001604051908101604052809291908181526020018280546111a6906149a6565b80156111f35780601f106111c8576101008083540402835291602001916111f3565b820191906000526020600020905b8154815290600101906020018083116111d657829003601f168201915b505050505081565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60648061126391906147d0565b81565b61126e612415565b73ffffffffffffffffffffffffffffffffffffffff1661128c611af6565b73ffffffffffffffffffffffffffffffffffffffff16146112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d9906144e6565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561132d573d6000803e3d6000fd5b5050565b61134c83838360405180602001604052806000815250611df3565b505050565b606481565b600e8054611363906149a6565b80601f016020809104026020016040519081016040528092919081815260200182805461138f906149a6565b80156113dc5780601f106113b1576101008083540402835291602001916113dc565b820191906000526020600020905b8154815290600101906020018083116113bf57829003601f168201915b505050505081565b600080821015801561140557506064806113fe91906147d0565b61ffff1682105b611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b906145c6565b60405180910390fd5b6001826114519190614712565b9050919050565b83838360005b8160ff168160ff1610156115535760005b8360ff168160ff16101561153f5760008160ff168360ff16606461149391906147d0565b61ffff16876114a29190614712565b6114ac9190614712565b90506114b6612415565b73ffffffffffffffffffffffffffffffffffffffff166114d582611729565b73ffffffffffffffffffffffffffffffffffffffff161461152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290614346565b60405180910390fd5b50808061153790614a52565b91505061146f565b50808061154b90614a52565b91505061145e565b5086868660008260ff161161159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490614566565b60405180910390fd5b60008160ff16116115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90614426565b60405180910390fd5b8651888a6115f19190614866565b60ff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614446565b60405180910390fd5b60005b8860ff168160ff16101561171c5760005b8a60ff168160ff16101561170857600081838d6116659190614866565b61166f9190614768565b60ff16905060008260ff168460ff16606461168a91906147d0565b61ffff168f6116999190614712565b6116a39190614712565b90506116f3818c8461ffff16815181106116e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612cfe565b5050808061170090614a52565b915050611648565b50808061171490614a52565b915050611637565b5050505050505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614406565b60405180910390fd5b80915050919050565b6117e3612415565b73ffffffffffffffffffffffffffffffffffffffff16611801611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906144e6565b60405180910390fd5b61186081612d57565b50565b600c5481565b600b60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e4906143e6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61193c612415565b73ffffffffffffffffffffffffffffffffffffffff1661195a611af6565b73ffffffffffffffffffffffffffffffffffffffff16146119b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a7906144e6565b60405180910390fd5b6119ba6000612dc3565b565b6119c4612415565b73ffffffffffffffffffffffffffffffffffffffff166119e2611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f906144e6565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600b60019054906101000a900461ffff1681565b81611a72612415565b73ffffffffffffffffffffffffffffffffffffffff16611a9182611729565b73ffffffffffffffffffffffffffffffffffffffff1614611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906144c6565b60405180910390fd5b611af18383612cfe565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b2f906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5b906149a6565b8015611ba85780601f10611b7d57610100808354040283529160200191611ba8565b820191906000526020600020905b815481529060010190602001808311611b8b57829003601f168201915b5050505050905090565b611bba612415565b73ffffffffffffffffffffffffffffffffffffffff16611bd8611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c25906144e6565b60405180910390fd5b80600b60016101000a81548161ffff021916908361ffff16021790555050565b611c598383836128a8565b505050565b611c66612415565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614386565b60405180910390fd5b8060056000611ce1612415565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d8e612415565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd39190614249565b60405180910390a35050565b600b60059054906101000a900461ffff1681565b611e04611dfe612415565b836129c4565b611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a906145a6565b60405180910390fd5b611e4f84848484612e89565b50505050565b600c54341015611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614586565b60405180910390fd5b600b60019054906101000a900461ffff1661ffff166001611eb9612029565b611ec39190614712565b1115611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb90614486565b60405180910390fd5b600b60059054906101000a900461ffff1661ffff166001611f243361187c565b611f2e9190614712565b1115611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690614286565b60405180910390fd5b600b60009054906101000a900460ff1680611f905750611f8e81612ee5565b155b611fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc6906142e6565b60405180910390fd5b611fd881612d57565b50565b600b60039054906101000a900461ffff1681565b6060611ff9612f45565b6120028361263e565b6040516020016120139291906141b3565b6040516020818303038152906040529050919050565b6000600a80549050905090565b606481565b612043612415565b73ffffffffffffffffffffffffffffffffffffffff16612061611af6565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae906144e6565b60405180910390fd5b80600b60036101000a81548161ffff021916908361ffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612173612415565b73ffffffffffffffffffffffffffffffffffffffff16612191611af6565b73ffffffffffffffffffffffffffffffffffffffff16146121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de906144e6565b60405180910390fd5b80600e90805190602001906121fd929190613677565b5050565b612209612415565b73ffffffffffffffffffffffffffffffffffffffff16612227611af6565b73ffffffffffffffffffffffffffffffffffffffff161461227d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612274906144e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e490614306565b60405180910390fd5b6122f681612dc3565b50565b612301612415565b73ffffffffffffffffffffffffffffffffffffffff1661231f611af6565b73ffffffffffffffffffffffffffffffffffffffff1614612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236c906144e6565b60405180910390fd5b80600c8190555050565b612387612415565b73ffffffffffffffffffffffffffffffffffffffff166123a5611af6565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f2906144e6565b60405180910390fd5b80600d9080519060200190612411929190613677565b5050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661256683611729565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060600e80546125bb906149a6565b80601f01602080910402602001604051908101604052809291908181526020018280546125e7906149a6565b80156126345780601f1061260957610100808354040283529160200191612634565b820191906000526020600020905b81548152906001019060200180831161261757829003601f168201915b5050505050905090565b60606000821415612686576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127e6565b600082905060005b600082146126b85780806126a190614a09565b915050600a826126b1919061479f565b915061268e565b60008167ffffffffffffffff8111156126fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561272c5781602001600182028036833780820191505090505b5090505b600085146127df5760018261274591906148a1565b9150600a856127549190614a7c565b60306127609190614712565b60f81b81838151811061279c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127d8919061479f565b9450612730565b8093505050505b919050565b600081836127f9919061480c565b905092915050565b600080600090505b8260ff168160ff16101561289b5760005b8460ff168160ff1610156128875760008160ff168360ff16606461283e91906147d0565b61ffff168861284d9190614712565b6128579190614712565b905061286281612ee5565b1561287357600193505050506128a1565b50808061287f90614a52565b91505061281a565b50808061289390614a52565b915050612809565b50600090505b9392505050565b82828260008260ff16116128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e890614566565b60405180910390fd5b60008160ff1611612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614426565b60405180910390fd5b60005b8460ff168160ff1610156129bb5760005b8660ff168160ff1610156129a75760008160ff168360ff16606461296f91906147d0565b61ffff168a61297e9190614712565b6129889190614712565b905061299381612d57565b50808061299f90614a52565b91505061294b565b5080806129b390614a52565b91505061293a565b50505050505050565b60006129cf82612487565b612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a05906143a6565b60405180910390fd5b6000612a1983611729565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8857508373ffffffffffffffffffffffffffffffffffffffff16612a7084610c43565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a995750612a9881856120d7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ac282611729565b73ffffffffffffffffffffffffffffffffffffffff1614612b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0f90614506565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7f90614366565b60405180910390fd5b612b93838383612fd7565b612b9e6000826124f3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bee91906148a1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c459190614712565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80600760008481526020019081526020016000209080519060200190612d25929190613677565b50817fd26ab77304eac64a04df2018c66716ad9c938c7b11429b56a46c017768172d1b60405160405180910390a25050565b600081118015612d775750606480612d6f91906147d0565b61ffff168111155b612db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dad906142a6565b60405180910390fd5b612dc03382613281565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e94848484612aa2565b612ea08484848461329f565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed6906142c6565b60405180910390fd5b50505050565b600080606461ffff1683612ef99190614a7c565b90506000606461ffff1684612f0e919061479f565b905060268210158015612f225750603e8211155b8015612f2f575060288110155b8015612f3c5750603b8111155b92505050919050565b6060600d8054612f54906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612f80906149a6565b8015612fcd5780601f10612fa257610100808354040283529160200191612fcd565b820191906000526020600020905b815481529060010190602001808311612fb057829003601f168201915b5050505050905090565b612fe2838383613436565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461327c57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561307857600a8190806001815401808255809150506001900390600052602060002001600090919091909150556131cb565b600060016130858561187c565b61308f91906148a1565b9050600060096000848152602001908152602001600020549050818114613174576000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461327b57600061320a8361187c565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505b5b505050565b61329b82826040518060200160405280600081525061343b565b5050565b60006132c08473ffffffffffffffffffffffffffffffffffffffff16613496565b15613429578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132e9612415565b8786866040518563ffffffff1660e01b815260040161330b94939291906141fd565b602060405180830381600087803b15801561332557600080fd5b505af192505050801561335657506040513d601f19601f820116820180604052508101906133539190613b26565b60015b6133d9573d8060008114613386576040519150601f19603f3d011682016040523d82523d6000602084013e61338b565b606091505b506000815114156133d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c8906142c6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061342e565b600190505b949350505050565b505050565b61344583836134a9565b613452600084848461329f565b613491576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613488906142c6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351090614466565b60405180910390fd5b61352281612487565b15613562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355990614326565b60405180910390fd5b61356e60008383612fd7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135be9190614712565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613683906149a6565b90600052602060002090601f0160209004810192826136a557600085556136ec565b82601f106136be57805160ff19168380011785556136ec565b828001600101855582156136ec579182015b828111156136eb5782518255916020019190600101906136d0565b5b5090506136f991906136fd565b5090565b5b808211156137165760008160009055506001016136fe565b5090565b600061372d61372884614641565b61461c565b9050808382526020820190508285602086028201111561374c57600080fd5b60005b8581101561379657813567ffffffffffffffff81111561376e57600080fd5b80860161377b89826138c4565b8552602085019450602084019350505060018101905061374f565b5050509392505050565b60006137b36137ae8461466d565b61461c565b9050828152602081018484840111156137cb57600080fd5b6137d6848285614964565b509392505050565b60006137f16137ec8461469e565b61461c565b90508281526020810184848401111561380957600080fd5b613814848285614964565b509392505050565b60008135905061382b816152a2565b92915050565b600082601f83011261384257600080fd5b813561385284826020860161371a565b91505092915050565b60008135905061386a816152b9565b92915050565b60008135905061387f816152d0565b92915050565b600081519050613894816152d0565b92915050565b600082601f8301126138ab57600080fd5b81356138bb8482602086016137a0565b91505092915050565b600082601f8301126138d557600080fd5b81356138e58482602086016137de565b91505092915050565b6000813590506138fd816152e7565b92915050565b600081359050613912816152fe565b92915050565b60008135905061392781615315565b92915050565b60006020828403121561393f57600080fd5b600061394d8482850161381c565b91505092915050565b6000806040838503121561396957600080fd5b60006139778582860161381c565b92505060206139888582860161381c565b9150509250929050565b6000806000606084860312156139a757600080fd5b60006139b58682870161381c565b93505060206139c68682870161381c565b92505060406139d786828701613903565b9150509250925092565b600080600080608085870312156139f757600080fd5b6000613a058782880161381c565b9450506020613a168782880161381c565b9350506040613a2787828801613903565b925050606085013567ffffffffffffffff811115613a4457600080fd5b613a508782880161389a565b91505092959194509250565b60008060408385031215613a6f57600080fd5b6000613a7d8582860161381c565b9250506020613a8e8582860161385b565b9150509250929050565b60008060408385031215613aab57600080fd5b6000613ab98582860161381c565b9250506020613aca85828601613903565b9150509250929050565b600060208284031215613ae657600080fd5b6000613af48482850161385b565b91505092915050565b600060208284031215613b0f57600080fd5b6000613b1d84828501613870565b91505092915050565b600060208284031215613b3857600080fd5b6000613b4684828501613885565b91505092915050565b600060208284031215613b6157600080fd5b600082013567ffffffffffffffff811115613b7b57600080fd5b613b87848285016138c4565b91505092915050565b600060208284031215613ba257600080fd5b6000613bb0848285016138ee565b91505092915050565b600060208284031215613bcb57600080fd5b6000613bd984828501613903565b91505092915050565b60008060408385031215613bf557600080fd5b6000613c0385828601613903565b925050602083013567ffffffffffffffff811115613c2057600080fd5b613c2c858286016138c4565b9150509250929050565b600080600060608486031215613c4b57600080fd5b6000613c5986828701613903565b9350506020613c6a86828701613918565b9250506040613c7b86828701613918565b9150509250925092565b60008060008060808587031215613c9b57600080fd5b6000613ca987828801613903565b9450506020613cba87828801613918565b9350506040613ccb87828801613918565b925050606085013567ffffffffffffffff811115613ce857600080fd5b613cf487828801613831565b91505092959194509250565b613d09816148d5565b82525050565b613d18816148e7565b82525050565b6000613d29826146cf565b613d3381856146e5565b9350613d43818560208601614973565b613d4c81614b69565b840191505092915050565b6000613d62826146da565b613d6c81856146f6565b9350613d7c818560208601614973565b613d8581614b69565b840191505092915050565b6000613d9b826146da565b613da58185614707565b9350613db5818560208601614973565b80840191505092915050565b6000613dce6025836146f6565b9150613dd982614b7a565b604082019050919050565b6000613df16015836146f6565b9150613dfc82614bc9565b602082019050919050565b6000613e146032836146f6565b9150613e1f82614bf2565b604082019050919050565b6000613e376038836146f6565b9150613e4282614c41565b604082019050919050565b6000613e5a6026836146f6565b9150613e6582614c90565b604082019050919050565b6000613e7d601c836146f6565b9150613e8882614cdf565b602082019050919050565b6000613ea06039836146f6565b9150613eab82614d08565b604082019050919050565b6000613ec36024836146f6565b9150613ece82614d57565b604082019050919050565b6000613ee66019836146f6565b9150613ef182614da6565b602082019050919050565b6000613f09602c836146f6565b9150613f1482614dcf565b604082019050919050565b6000613f2c6038836146f6565b9150613f3782614e1e565b604082019050919050565b6000613f4f602a836146f6565b9150613f5a82614e6d565b604082019050919050565b6000613f726029836146f6565b9150613f7d82614ebc565b604082019050919050565b6000613f956018836146f6565b9150613fa082614f0b565b602082019050919050565b6000613fb8603e836146f6565b9150613fc382614f34565b604082019050919050565b6000613fdb6020836146f6565b9150613fe682614f83565b602082019050919050565b6000613ffe6023836146f6565b915061400982614fac565b604082019050919050565b6000614021602c836146f6565b915061402c82614ffb565b604082019050919050565b6000614044600583614707565b915061404f8261504a565b600582019050919050565b60006140676022836146f6565b915061407282615073565b604082019050919050565b600061408a6020836146f6565b9150614095826150c2565b602082019050919050565b60006140ad6029836146f6565b91506140b8826150eb565b604082019050919050565b60006140d06033836146f6565b91506140db8261513a565b604082019050919050565b60006140f36021836146f6565b91506140fe82615189565b604082019050919050565b60006141166017836146f6565b9150614121826151d8565b602082019050919050565b6000614139601a836146f6565b915061414482615201565b602082019050919050565b600061415c6031836146f6565b91506141678261522a565b604082019050919050565b600061417f6013836146f6565b915061418a82615279565b602082019050919050565b61419e8161491f565b82525050565b6141ad8161494d565b82525050565b60006141bf8285613d90565b91506141cb8284613d90565b91506141d682614037565b91508190509392505050565b60006020820190506141f76000830184613d00565b92915050565b60006080820190506142126000830187613d00565b61421f6020830186613d00565b61422c60408301856141a4565b818103606083015261423e8184613d1e565b905095945050505050565b600060208201905061425e6000830184613d0f565b92915050565b6000602082019050818103600083015261427e8184613d57565b905092915050565b6000602082019050818103600083015261429f81613dc1565b9050919050565b600060208201905081810360008301526142bf81613de4565b9050919050565b600060208201905081810360008301526142df81613e07565b9050919050565b600060208201905081810360008301526142ff81613e2a565b9050919050565b6000602082019050818103600083015261431f81613e4d565b9050919050565b6000602082019050818103600083015261433f81613e70565b9050919050565b6000602082019050818103600083015261435f81613e93565b9050919050565b6000602082019050818103600083015261437f81613eb6565b9050919050565b6000602082019050818103600083015261439f81613ed9565b9050919050565b600060208201905081810360008301526143bf81613efc565b9050919050565b600060208201905081810360008301526143df81613f1f565b9050919050565b600060208201905081810360008301526143ff81613f42565b9050919050565b6000602082019050818103600083015261441f81613f65565b9050919050565b6000602082019050818103600083015261443f81613f88565b9050919050565b6000602082019050818103600083015261445f81613fab565b9050919050565b6000602082019050818103600083015261447f81613fce565b9050919050565b6000602082019050818103600083015261449f81613ff1565b9050919050565b600060208201905081810360008301526144bf81614014565b9050919050565b600060208201905081810360008301526144df8161405a565b9050919050565b600060208201905081810360008301526144ff8161407d565b9050919050565b6000602082019050818103600083015261451f816140a0565b9050919050565b6000602082019050818103600083015261453f816140c3565b9050919050565b6000602082019050818103600083015261455f816140e6565b9050919050565b6000602082019050818103600083015261457f81614109565b9050919050565b6000602082019050818103600083015261459f8161412c565b9050919050565b600060208201905081810360008301526145bf8161414f565b9050919050565b600060208201905081810360008301526145df81614172565b9050919050565b60006020820190506145fb6000830184614195565b92915050565b600060208201905061461660008301846141a4565b92915050565b6000614626614637565b905061463282826149d8565b919050565b6000604051905090565b600067ffffffffffffffff82111561465c5761465b614b3a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561468857614687614b3a565b5b61469182614b69565b9050602081019050919050565b600067ffffffffffffffff8211156146b9576146b8614b3a565b5b6146c282614b69565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061471d8261494d565b91506147288361494d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561475d5761475c614aad565b5b828201905092915050565b600061477382614957565b915061477e83614957565b92508260ff0382111561479457614793614aad565b5b828201905092915050565b60006147aa8261494d565b91506147b58361494d565b9250826147c5576147c4614adc565b5b828204905092915050565b60006147db8261491f565b91506147e68361491f565b92508161ffff048311821515161561480157614800614aad565b5b828202905092915050565b60006148178261494d565b91506148228361494d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561485b5761485a614aad565b5b828202905092915050565b600061487182614957565b915061487c83614957565b92508160ff048311821515161561489657614895614aad565b5b828202905092915050565b60006148ac8261494d565b91506148b78361494d565b9250828210156148ca576148c9614aad565b5b828203905092915050565b60006148e08261492d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614991578082015181840152602081019050614976565b838111156149a0576000848401525b50505050565b600060028204905060018216806149be57607f821691505b602082108114156149d2576149d1614b0b565b5b50919050565b6149e182614b69565b810181811067ffffffffffffffff82111715614a00576149ff614b3a565b5b80604052505050565b6000614a148261494d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a4757614a46614aad565b5b600182019050919050565b6000614a5d82614957565b915060ff821415614a7157614a70614aad565b5b600182019050919050565b6000614a878261494d565b9150614a928361494d565b925082614aa257614aa1614adc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d4454503a20726561636865642063757272656e74206f776e6572736869702060008201527f6c696d6974000000000000000000000000000000000000000000000000000000602082015250565b7f4d4454503a20696e76616c696420746f6b656e49640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d4454503a204d696e74696e6720746865206d6964646c652035303020746f6b60008201527f656e73206973206e6f74207065726d6974746564207965740000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d4454503a2063616c6c6572206973206e6f742074686520746f6b656e4f776e60008201527f6572206f6620616c6c20746f6b656e7320696e2067726f757000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d4454503a20686569676874206d757374206265203e20300000000000000000600082015250565b7f4d4454503a206c656e677468206f6620636f6e74656e7455524973206d75737460008201527f206265207468652073616d65206173207769647468202a206865696768740000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d4454503a20726561636865642063757272656e74206d696e74696e67206c6960008201527f6d69740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4d4454503a2063616c6c6572206973206e6f742074686520746f6b656e4f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d4454503a2072657175657374656420746f6b656e20636f756e74206973206f60008201527f7665722073696e676c654d696e744c696d697400000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d4454503a207769647468206d757374206265203e2030000000000000000000600082015250565b7f4d4454503a20496e73756666696369656e74207061796d656e74000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d4454503a20696e76616c696420696e64657800000000000000000000000000600082015250565b6152ab816148d5565b81146152b657600080fd5b50565b6152c2816148e7565b81146152cd57600080fd5b50565b6152d9816148f3565b81146152e457600080fd5b50565b6152f08161491f565b81146152fb57600080fd5b50565b6153078161494d565b811461531257600080fd5b50565b61531e81614957565b811461532957600080fd5b5056fea2646970667358221220c72a55618cadf71756889f906b9f2f3f067c60e8e8631189184bf3b96c2374a964736f6c6343000804003300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000230000000000000000000000000000000000000000000000000000000000000023000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5465316e4c79685350654e554b3565757a566f385338395974775a653943557a644762637a5847514c6f63652f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d50626245794662347071315a4175386562427655654a39716a537a686f7241474b7a547570314a4b617946512f00000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806370a082311161014f578063b88d4fde116100c1578063e8d44caf1161007a578063e8d44caf14610929578063e985e9c514610952578063eb3391a91461098f578063f2fde38b146109b8578063f4a0a528146109e1578063fb94bd8a14610a0a57610272565b8063b88d4fde14610826578063c634d0321461084f578063c74285661461086b578063c87b56dd14610896578063cf721b15146108d3578063e04a8eaf146108fe57610272565b80638da5cb5b116101135780638da5cb5b1461073757806395d89b4114610762578063a1ae82e51461078d578063a2194baf146107b6578063a22cb465146107d2578063a5dee002146107fb57610272565b806370a0823114610666578063715018a6146106a357806371c1fd70146106ba57806376dd1f86146106e35780638d50645a1461070e57610272565b80633906f560116101e85780634f6ccce7116101ac5780634f6ccce7146105445780635935e01a146105815780636352211e146105aa578063677ab70b146105e75780636817c76c146106105780636ef5e0121461063b57610272565b80633906f560146104835780633ccfd60b146104ae57806342842e0e146104c55780634a0218d6146104ee5780634ddd7fec1461051957610272565b80630c0a9d261161023a5780630c0a9d261461036e57806318160ddd146103ab5780631f5e7978146103d657806323b872dd146103f257806328b8692a1461041b5780632f745c591461044657610272565b80630170163a1461027757806301ffc9a7146102a057806306fdde03146102dd578063081812fc14610308578063095ea7b314610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613b90565b610a33565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613afd565b610acf565b6040516102d49190614249565b60405180910390f35b3480156102e957600080fd5b506102f2610bb1565b6040516102ff9190614264565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613bb9565b610c43565b60405161033c91906141e2565b60405180910390f35b34801561035157600080fd5b5061036c60048036038101906103679190613a98565b610cc8565b005b34801561037a57600080fd5b5061039560048036038101906103909190613bb9565b610de0565b6040516103a29190614264565b60405180910390f35b3480156103b757600080fd5b506103c0610eee565b6040516103cd9190614601565b60405180910390f35b6103f060048036038101906103eb9190613c36565b610f06565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613992565b61110d565b005b34801561042757600080fd5b5061043061116d565b60405161043d9190614264565b60405180910390f35b34801561045257600080fd5b5061046d60048036038101906104689190613a98565b6111fb565b60405161047a9190614601565b60405180910390f35b34801561048f57600080fd5b50610498611256565b6040516104a591906145e6565b60405180910390f35b3480156104ba57600080fd5b506104c3611266565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613992565b611331565b005b3480156104fa57600080fd5b50610503611351565b60405161051091906145e6565b60405180910390f35b34801561052557600080fd5b5061052e611356565b60405161053b9190614264565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190613bb9565b6113e4565b6040516105789190614601565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613c85565b611458565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613bb9565b611729565b6040516105de91906141e2565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613bb9565b6117db565b005b34801561061c57600080fd5b50610625611863565b6040516106329190614601565b60405180910390f35b34801561064757600080fd5b50610650611869565b60405161065d9190614249565b60405180910390f35b34801561067257600080fd5b5061068d6004803603810190610688919061392d565b61187c565b60405161069a9190614601565b60405180910390f35b3480156106af57600080fd5b506106b8611934565b005b3480156106c657600080fd5b506106e160048036038101906106dc9190613ad4565b6119bc565b005b3480156106ef57600080fd5b506106f8611a55565b60405161070591906145e6565b60405180910390f35b34801561071a57600080fd5b5061073560048036038101906107309190613be2565b611a69565b005b34801561074357600080fd5b5061074c611af6565b60405161075991906141e2565b60405180910390f35b34801561076e57600080fd5b50610777611b20565b6040516107849190614264565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190613b90565b611bb2565b005b6107d060048036038101906107cb9190613c36565b611c4e565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613a5c565b611c5e565b005b34801561080757600080fd5b50610810611ddf565b60405161081d91906145e6565b60405180910390f35b34801561083257600080fd5b5061084d600480360381019061084891906139e1565b611df3565b005b61086960048036038101906108649190613bb9565b611e55565b005b34801561087757600080fd5b50610880611fdb565b60405161088d91906145e6565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190613bb9565b611fef565b6040516108ca9190614264565b60405180910390f35b3480156108df57600080fd5b506108e8612029565b6040516108f59190614601565b60405180910390f35b34801561090a57600080fd5b50610913612036565b60405161092091906145e6565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b9190613b90565b61203b565b005b34801561095e57600080fd5b5061097960048036038101906109749190613956565b6120d7565b6040516109869190614249565b60405180910390f35b34801561099b57600080fd5b506109b660048036038101906109b19190613b4f565b61216b565b005b3480156109c457600080fd5b506109df60048036038101906109da919061392d565b612201565b005b3480156109ed57600080fd5b50610a086004803603810190610a039190613bb9565b6122f9565b005b348015610a1657600080fd5b50610a316004803603810190610a2c9190613b4f565b61237f565b005b610a3b612415565b73ffffffffffffffffffffffffffffffffffffffff16610a59611af6565b73ffffffffffffffffffffffffffffffffffffffff1614610aaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa6906144e6565b60405180910390fd5b80600b60056101000a81548161ffff021916908361ffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baa5750610ba98261241d565b5b9050919050565b606060008054610bc0906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bec906149a6565b8015610c395780601f10610c0e57610100808354040283529160200191610c39565b820191906000526020600020905b815481529060010190602001808311610c1c57829003601f168201915b5050505050905090565b6000610c4e82612487565b610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c84906144a6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd382611729565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3b90614546565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d63612415565b73ffffffffffffffffffffffffffffffffffffffff161480610d925750610d9181610d8c612415565b6120d7565b5b610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc8906143c6565b60405180910390fd5b610ddb83836124f3565b505050565b60606000600760008481526020019081526020016000208054610e02906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2e906149a6565b8015610e7b5780601f10610e5057610100808354040283529160200191610e7b565b820191906000526020600020905b815481529060010190602001808311610e5e57829003601f168201915b50505050509050600081511115610e955780915050610ee9565b610e9e83612487565b15610eb457610eac83611fef565b915050610ee9565b610ebc6125ac565b610ec58461263e565b604051602001610ed69291906141b3565b6040516020818303038152906040529150505b919050565b6000606480610efd91906147d0565b61ffff16905090565b60008183610f149190614866565b60ff169050610f2e81600c546127eb90919063ffffffff16565b341015610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6790614586565b60405180910390fd5b600b60019054906101000a900461ffff1661ffff1681610f8e612029565b610f989190614712565b1115610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614486565b60405180910390fd5b600b60059054906101000a900461ffff1661ffff1681610ff83361187c565b6110029190614712565b1115611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614286565b60405180910390fd5b600b60039054906101000a900461ffff1661ffff1681111561109a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109190614526565b60405180910390fd5b600b60009054906101000a900460ff16806110bd57506110bb848484612801565b155b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f3906142e6565b60405180910390fd5b6111078484846128a8565b50505050565b61111e611118612415565b826129c4565b61115d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611154906145a6565b60405180910390fd5b611168838383612aa2565b505050565b600d805461117a906149a6565b80601f01602080910402602001604051908101604052809291908181526020018280546111a6906149a6565b80156111f35780601f106111c8576101008083540402835291602001916111f3565b820191906000526020600020905b8154815290600101906020018083116111d657829003601f168201915b505050505081565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60648061126391906147d0565b81565b61126e612415565b73ffffffffffffffffffffffffffffffffffffffff1661128c611af6565b73ffffffffffffffffffffffffffffffffffffffff16146112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d9906144e6565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561132d573d6000803e3d6000fd5b5050565b61134c83838360405180602001604052806000815250611df3565b505050565b606481565b600e8054611363906149a6565b80601f016020809104026020016040519081016040528092919081815260200182805461138f906149a6565b80156113dc5780601f106113b1576101008083540402835291602001916113dc565b820191906000526020600020905b8154815290600101906020018083116113bf57829003601f168201915b505050505081565b600080821015801561140557506064806113fe91906147d0565b61ffff1682105b611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b906145c6565b60405180910390fd5b6001826114519190614712565b9050919050565b83838360005b8160ff168160ff1610156115535760005b8360ff168160ff16101561153f5760008160ff168360ff16606461149391906147d0565b61ffff16876114a29190614712565b6114ac9190614712565b90506114b6612415565b73ffffffffffffffffffffffffffffffffffffffff166114d582611729565b73ffffffffffffffffffffffffffffffffffffffff161461152b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152290614346565b60405180910390fd5b50808061153790614a52565b91505061146f565b50808061154b90614a52565b91505061145e565b5086868660008260ff161161159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490614566565b60405180910390fd5b60008160ff16116115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90614426565b60405180910390fd5b8651888a6115f19190614866565b60ff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614446565b60405180910390fd5b60005b8860ff168160ff16101561171c5760005b8a60ff168160ff16101561170857600081838d6116659190614866565b61166f9190614768565b60ff16905060008260ff168460ff16606461168a91906147d0565b61ffff168f6116999190614712565b6116a39190614712565b90506116f3818c8461ffff16815181106116e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612cfe565b5050808061170090614a52565b915050611648565b50808061171490614a52565b915050611637565b5050505050505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614406565b60405180910390fd5b80915050919050565b6117e3612415565b73ffffffffffffffffffffffffffffffffffffffff16611801611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906144e6565b60405180910390fd5b61186081612d57565b50565b600c5481565b600b60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e4906143e6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61193c612415565b73ffffffffffffffffffffffffffffffffffffffff1661195a611af6565b73ffffffffffffffffffffffffffffffffffffffff16146119b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a7906144e6565b60405180910390fd5b6119ba6000612dc3565b565b6119c4612415565b73ffffffffffffffffffffffffffffffffffffffff166119e2611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f906144e6565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600b60019054906101000a900461ffff1681565b81611a72612415565b73ffffffffffffffffffffffffffffffffffffffff16611a9182611729565b73ffffffffffffffffffffffffffffffffffffffff1614611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906144c6565b60405180910390fd5b611af18383612cfe565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b2f906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5b906149a6565b8015611ba85780601f10611b7d57610100808354040283529160200191611ba8565b820191906000526020600020905b815481529060010190602001808311611b8b57829003601f168201915b5050505050905090565b611bba612415565b73ffffffffffffffffffffffffffffffffffffffff16611bd8611af6565b73ffffffffffffffffffffffffffffffffffffffff1614611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c25906144e6565b60405180910390fd5b80600b60016101000a81548161ffff021916908361ffff16021790555050565b611c598383836128a8565b505050565b611c66612415565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614386565b60405180910390fd5b8060056000611ce1612415565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d8e612415565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd39190614249565b60405180910390a35050565b600b60059054906101000a900461ffff1681565b611e04611dfe612415565b836129c4565b611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a906145a6565b60405180910390fd5b611e4f84848484612e89565b50505050565b600c54341015611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614586565b60405180910390fd5b600b60019054906101000a900461ffff1661ffff166001611eb9612029565b611ec39190614712565b1115611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb90614486565b60405180910390fd5b600b60059054906101000a900461ffff1661ffff166001611f243361187c565b611f2e9190614712565b1115611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690614286565b60405180910390fd5b600b60009054906101000a900460ff1680611f905750611f8e81612ee5565b155b611fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc6906142e6565b60405180910390fd5b611fd881612d57565b50565b600b60039054906101000a900461ffff1681565b6060611ff9612f45565b6120028361263e565b6040516020016120139291906141b3565b6040516020818303038152906040529050919050565b6000600a80549050905090565b606481565b612043612415565b73ffffffffffffffffffffffffffffffffffffffff16612061611af6565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae906144e6565b60405180910390fd5b80600b60036101000a81548161ffff021916908361ffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612173612415565b73ffffffffffffffffffffffffffffffffffffffff16612191611af6565b73ffffffffffffffffffffffffffffffffffffffff16146121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de906144e6565b60405180910390fd5b80600e90805190602001906121fd929190613677565b5050565b612209612415565b73ffffffffffffffffffffffffffffffffffffffff16612227611af6565b73ffffffffffffffffffffffffffffffffffffffff161461227d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612274906144e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e490614306565b60405180910390fd5b6122f681612dc3565b50565b612301612415565b73ffffffffffffffffffffffffffffffffffffffff1661231f611af6565b73ffffffffffffffffffffffffffffffffffffffff1614612375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236c906144e6565b60405180910390fd5b80600c8190555050565b612387612415565b73ffffffffffffffffffffffffffffffffffffffff166123a5611af6565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f2906144e6565b60405180910390fd5b80600d9080519060200190612411929190613677565b5050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661256683611729565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060600e80546125bb906149a6565b80601f01602080910402602001604051908101604052809291908181526020018280546125e7906149a6565b80156126345780601f1061260957610100808354040283529160200191612634565b820191906000526020600020905b81548152906001019060200180831161261757829003601f168201915b5050505050905090565b60606000821415612686576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127e6565b600082905060005b600082146126b85780806126a190614a09565b915050600a826126b1919061479f565b915061268e565b60008167ffffffffffffffff8111156126fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561272c5781602001600182028036833780820191505090505b5090505b600085146127df5760018261274591906148a1565b9150600a856127549190614a7c565b60306127609190614712565b60f81b81838151811061279c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127d8919061479f565b9450612730565b8093505050505b919050565b600081836127f9919061480c565b905092915050565b600080600090505b8260ff168160ff16101561289b5760005b8460ff168160ff1610156128875760008160ff168360ff16606461283e91906147d0565b61ffff168861284d9190614712565b6128579190614712565b905061286281612ee5565b1561287357600193505050506128a1565b50808061287f90614a52565b91505061281a565b50808061289390614a52565b915050612809565b50600090505b9392505050565b82828260008260ff16116128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e890614566565b60405180910390fd5b60008160ff1611612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614426565b60405180910390fd5b60005b8460ff168160ff1610156129bb5760005b8660ff168160ff1610156129a75760008160ff168360ff16606461296f91906147d0565b61ffff168a61297e9190614712565b6129889190614712565b905061299381612d57565b50808061299f90614a52565b91505061294b565b5080806129b390614a52565b91505061293a565b50505050505050565b60006129cf82612487565b612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a05906143a6565b60405180910390fd5b6000612a1983611729565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8857508373ffffffffffffffffffffffffffffffffffffffff16612a7084610c43565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a995750612a9881856120d7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ac282611729565b73ffffffffffffffffffffffffffffffffffffffff1614612b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0f90614506565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7f90614366565b60405180910390fd5b612b93838383612fd7565b612b9e6000826124f3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bee91906148a1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c459190614712565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80600760008481526020019081526020016000209080519060200190612d25929190613677565b50817fd26ab77304eac64a04df2018c66716ad9c938c7b11429b56a46c017768172d1b60405160405180910390a25050565b600081118015612d775750606480612d6f91906147d0565b61ffff168111155b612db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dad906142a6565b60405180910390fd5b612dc03382613281565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e94848484612aa2565b612ea08484848461329f565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed6906142c6565b60405180910390fd5b50505050565b600080606461ffff1683612ef99190614a7c565b90506000606461ffff1684612f0e919061479f565b905060268210158015612f225750603e8211155b8015612f2f575060288110155b8015612f3c5750603b8111155b92505050919050565b6060600d8054612f54906149a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612f80906149a6565b8015612fcd5780601f10612fa257610100808354040283529160200191612fcd565b820191906000526020600020905b815481529060010190602001808311612fb057829003601f168201915b5050505050905090565b612fe2838383613436565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461327c57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561307857600a8190806001815401808255809150506001900390600052602060002001600090919091909150556131cb565b600060016130858561187c565b61308f91906148a1565b9050600060096000848152602001908152602001600020549050818114613174576000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461327b57600061320a8361187c565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505b5b505050565b61329b82826040518060200160405280600081525061343b565b5050565b60006132c08473ffffffffffffffffffffffffffffffffffffffff16613496565b15613429578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132e9612415565b8786866040518563ffffffff1660e01b815260040161330b94939291906141fd565b602060405180830381600087803b15801561332557600080fd5b505af192505050801561335657506040513d601f19601f820116820180604052508101906133539190613b26565b60015b6133d9573d8060008114613386576040519150601f19603f3d011682016040523d82523d6000602084013e61338b565b606091505b506000815114156133d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c8906142c6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061342e565b600190505b949350505050565b505050565b61344583836134a9565b613452600084848461329f565b613491576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613488906142c6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351090614466565b60405180910390fd5b61352281612487565b15613562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355990614326565b60405180910390fd5b61356e60008383612fd7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135be9190614712565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613683906149a6565b90600052602060002090601f0160209004810192826136a557600085556136ec565b82601f106136be57805160ff19168380011785556136ec565b828001600101855582156136ec579182015b828111156136eb5782518255916020019190600101906136d0565b5b5090506136f991906136fd565b5090565b5b808211156137165760008160009055506001016136fe565b5090565b600061372d61372884614641565b61461c565b9050808382526020820190508285602086028201111561374c57600080fd5b60005b8581101561379657813567ffffffffffffffff81111561376e57600080fd5b80860161377b89826138c4565b8552602085019450602084019350505060018101905061374f565b5050509392505050565b60006137b36137ae8461466d565b61461c565b9050828152602081018484840111156137cb57600080fd5b6137d6848285614964565b509392505050565b60006137f16137ec8461469e565b61461c565b90508281526020810184848401111561380957600080fd5b613814848285614964565b509392505050565b60008135905061382b816152a2565b92915050565b600082601f83011261384257600080fd5b813561385284826020860161371a565b91505092915050565b60008135905061386a816152b9565b92915050565b60008135905061387f816152d0565b92915050565b600081519050613894816152d0565b92915050565b600082601f8301126138ab57600080fd5b81356138bb8482602086016137a0565b91505092915050565b600082601f8301126138d557600080fd5b81356138e58482602086016137de565b91505092915050565b6000813590506138fd816152e7565b92915050565b600081359050613912816152fe565b92915050565b60008135905061392781615315565b92915050565b60006020828403121561393f57600080fd5b600061394d8482850161381c565b91505092915050565b6000806040838503121561396957600080fd5b60006139778582860161381c565b92505060206139888582860161381c565b9150509250929050565b6000806000606084860312156139a757600080fd5b60006139b58682870161381c565b93505060206139c68682870161381c565b92505060406139d786828701613903565b9150509250925092565b600080600080608085870312156139f757600080fd5b6000613a058782880161381c565b9450506020613a168782880161381c565b9350506040613a2787828801613903565b925050606085013567ffffffffffffffff811115613a4457600080fd5b613a508782880161389a565b91505092959194509250565b60008060408385031215613a6f57600080fd5b6000613a7d8582860161381c565b9250506020613a8e8582860161385b565b9150509250929050565b60008060408385031215613aab57600080fd5b6000613ab98582860161381c565b9250506020613aca85828601613903565b9150509250929050565b600060208284031215613ae657600080fd5b6000613af48482850161385b565b91505092915050565b600060208284031215613b0f57600080fd5b6000613b1d84828501613870565b91505092915050565b600060208284031215613b3857600080fd5b6000613b4684828501613885565b91505092915050565b600060208284031215613b6157600080fd5b600082013567ffffffffffffffff811115613b7b57600080fd5b613b87848285016138c4565b91505092915050565b600060208284031215613ba257600080fd5b6000613bb0848285016138ee565b91505092915050565b600060208284031215613bcb57600080fd5b6000613bd984828501613903565b91505092915050565b60008060408385031215613bf557600080fd5b6000613c0385828601613903565b925050602083013567ffffffffffffffff811115613c2057600080fd5b613c2c858286016138c4565b9150509250929050565b600080600060608486031215613c4b57600080fd5b6000613c5986828701613903565b9350506020613c6a86828701613918565b9250506040613c7b86828701613918565b9150509250925092565b60008060008060808587031215613c9b57600080fd5b6000613ca987828801613903565b9450506020613cba87828801613918565b9350506040613ccb87828801613918565b925050606085013567ffffffffffffffff811115613ce857600080fd5b613cf487828801613831565b91505092959194509250565b613d09816148d5565b82525050565b613d18816148e7565b82525050565b6000613d29826146cf565b613d3381856146e5565b9350613d43818560208601614973565b613d4c81614b69565b840191505092915050565b6000613d62826146da565b613d6c81856146f6565b9350613d7c818560208601614973565b613d8581614b69565b840191505092915050565b6000613d9b826146da565b613da58185614707565b9350613db5818560208601614973565b80840191505092915050565b6000613dce6025836146f6565b9150613dd982614b7a565b604082019050919050565b6000613df16015836146f6565b9150613dfc82614bc9565b602082019050919050565b6000613e146032836146f6565b9150613e1f82614bf2565b604082019050919050565b6000613e376038836146f6565b9150613e4282614c41565b604082019050919050565b6000613e5a6026836146f6565b9150613e6582614c90565b604082019050919050565b6000613e7d601c836146f6565b9150613e8882614cdf565b602082019050919050565b6000613ea06039836146f6565b9150613eab82614d08565b604082019050919050565b6000613ec36024836146f6565b9150613ece82614d57565b604082019050919050565b6000613ee66019836146f6565b9150613ef182614da6565b602082019050919050565b6000613f09602c836146f6565b9150613f1482614dcf565b604082019050919050565b6000613f2c6038836146f6565b9150613f3782614e1e565b604082019050919050565b6000613f4f602a836146f6565b9150613f5a82614e6d565b604082019050919050565b6000613f726029836146f6565b9150613f7d82614ebc565b604082019050919050565b6000613f956018836146f6565b9150613fa082614f0b565b602082019050919050565b6000613fb8603e836146f6565b9150613fc382614f34565b604082019050919050565b6000613fdb6020836146f6565b9150613fe682614f83565b602082019050919050565b6000613ffe6023836146f6565b915061400982614fac565b604082019050919050565b6000614021602c836146f6565b915061402c82614ffb565b604082019050919050565b6000614044600583614707565b915061404f8261504a565b600582019050919050565b60006140676022836146f6565b915061407282615073565b604082019050919050565b600061408a6020836146f6565b9150614095826150c2565b602082019050919050565b60006140ad6029836146f6565b91506140b8826150eb565b604082019050919050565b60006140d06033836146f6565b91506140db8261513a565b604082019050919050565b60006140f36021836146f6565b91506140fe82615189565b604082019050919050565b60006141166017836146f6565b9150614121826151d8565b602082019050919050565b6000614139601a836146f6565b915061414482615201565b602082019050919050565b600061415c6031836146f6565b91506141678261522a565b604082019050919050565b600061417f6013836146f6565b915061418a82615279565b602082019050919050565b61419e8161491f565b82525050565b6141ad8161494d565b82525050565b60006141bf8285613d90565b91506141cb8284613d90565b91506141d682614037565b91508190509392505050565b60006020820190506141f76000830184613d00565b92915050565b60006080820190506142126000830187613d00565b61421f6020830186613d00565b61422c60408301856141a4565b818103606083015261423e8184613d1e565b905095945050505050565b600060208201905061425e6000830184613d0f565b92915050565b6000602082019050818103600083015261427e8184613d57565b905092915050565b6000602082019050818103600083015261429f81613dc1565b9050919050565b600060208201905081810360008301526142bf81613de4565b9050919050565b600060208201905081810360008301526142df81613e07565b9050919050565b600060208201905081810360008301526142ff81613e2a565b9050919050565b6000602082019050818103600083015261431f81613e4d565b9050919050565b6000602082019050818103600083015261433f81613e70565b9050919050565b6000602082019050818103600083015261435f81613e93565b9050919050565b6000602082019050818103600083015261437f81613eb6565b9050919050565b6000602082019050818103600083015261439f81613ed9565b9050919050565b600060208201905081810360008301526143bf81613efc565b9050919050565b600060208201905081810360008301526143df81613f1f565b9050919050565b600060208201905081810360008301526143ff81613f42565b9050919050565b6000602082019050818103600083015261441f81613f65565b9050919050565b6000602082019050818103600083015261443f81613f88565b9050919050565b6000602082019050818103600083015261445f81613fab565b9050919050565b6000602082019050818103600083015261447f81613fce565b9050919050565b6000602082019050818103600083015261449f81613ff1565b9050919050565b600060208201905081810360008301526144bf81614014565b9050919050565b600060208201905081810360008301526144df8161405a565b9050919050565b600060208201905081810360008301526144ff8161407d565b9050919050565b6000602082019050818103600083015261451f816140a0565b9050919050565b6000602082019050818103600083015261453f816140c3565b9050919050565b6000602082019050818103600083015261455f816140e6565b9050919050565b6000602082019050818103600083015261457f81614109565b9050919050565b6000602082019050818103600083015261459f8161412c565b9050919050565b600060208201905081810360008301526145bf8161414f565b9050919050565b600060208201905081810360008301526145df81614172565b9050919050565b60006020820190506145fb6000830184614195565b92915050565b600060208201905061461660008301846141a4565b92915050565b6000614626614637565b905061463282826149d8565b919050565b6000604051905090565b600067ffffffffffffffff82111561465c5761465b614b3a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561468857614687614b3a565b5b61469182614b69565b9050602081019050919050565b600067ffffffffffffffff8211156146b9576146b8614b3a565b5b6146c282614b69565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061471d8261494d565b91506147288361494d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561475d5761475c614aad565b5b828201905092915050565b600061477382614957565b915061477e83614957565b92508260ff0382111561479457614793614aad565b5b828201905092915050565b60006147aa8261494d565b91506147b58361494d565b9250826147c5576147c4614adc565b5b828204905092915050565b60006147db8261491f565b91506147e68361491f565b92508161ffff048311821515161561480157614800614aad565b5b828202905092915050565b60006148178261494d565b91506148228361494d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561485b5761485a614aad565b5b828202905092915050565b600061487182614957565b915061487c83614957565b92508160ff048311821515161561489657614895614aad565b5b828202905092915050565b60006148ac8261494d565b91506148b78361494d565b9250828210156148ca576148c9614aad565b5b828203905092915050565b60006148e08261492d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614991578082015181840152602081019050614976565b838111156149a0576000848401525b50505050565b600060028204905060018216806149be57607f821691505b602082108114156149d2576149d1614b0b565b5b50919050565b6149e182614b69565b810181811067ffffffffffffffff82111715614a00576149ff614b3a565b5b80604052505050565b6000614a148261494d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a4757614a46614aad565b5b600182019050919050565b6000614a5d82614957565b915060ff821415614a7157614a70614aad565b5b600182019050919050565b6000614a878261494d565b9150614a928361494d565b925082614aa257614aa1614adc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d4454503a20726561636865642063757272656e74206f776e6572736869702060008201527f6c696d6974000000000000000000000000000000000000000000000000000000602082015250565b7f4d4454503a20696e76616c696420746f6b656e49640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d4454503a204d696e74696e6720746865206d6964646c652035303020746f6b60008201527f656e73206973206e6f74207065726d6974746564207965740000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d4454503a2063616c6c6572206973206e6f742074686520746f6b656e4f776e60008201527f6572206f6620616c6c20746f6b656e7320696e2067726f757000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d4454503a20686569676874206d757374206265203e20300000000000000000600082015250565b7f4d4454503a206c656e677468206f6620636f6e74656e7455524973206d75737460008201527f206265207468652073616d65206173207769647468202a206865696768740000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d4454503a20726561636865642063757272656e74206d696e74696e67206c6960008201527f6d69740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4d4454503a2063616c6c6572206973206e6f742074686520746f6b656e4f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d4454503a2072657175657374656420746f6b656e20636f756e74206973206f60008201527f7665722073696e676c654d696e744c696d697400000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d4454503a207769647468206d757374206265203e2030000000000000000000600082015250565b7f4d4454503a20496e73756666696369656e74207061796d656e74000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d4454503a20696e76616c696420696e64657800000000000000000000000000600082015250565b6152ab816148d5565b81146152b657600080fd5b50565b6152c2816148e7565b81146152cd57600080fd5b50565b6152d9816148f3565b81146152e457600080fd5b50565b6152f08161491f565b81146152fb57600080fd5b50565b6153078161494d565b811461531257600080fd5b50565b61531e81614957565b811461532957600080fd5b5056fea2646970667358221220c72a55618cadf71756889f906b9f2f3f067c60e8e8631189184bf3b96c2374a964736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000230000000000000000000000000000000000000000000000000000000000000023000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5465316e4c79685350654e554b3565757a566f385338395974775a653943557a644762637a5847514c6f63652f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d50626245794662347071315a4175386562427655654a39716a537a686f7241474b7a547570314a4b617946512f00000000000000000000

-----Decoded View---------------
Arg [0] : initialTotalMintLimit (uint16): 1000
Arg [1] : initialSingleMintLimit (uint16): 35
Arg [2] : initialOwnershipMintLimit (uint16): 35
Arg [3] : initialMintPrice (uint256): 10000000000000000
Arg [4] : initialMetadataBaseURI (string): ipfs://QmTe1nLyhSPeNUK5euzVo8S89YtwZe9CUzdGbczXGQLoce/
Arg [5] : initialDefaultContentBaseURI (string): ipfs://QmPbbEyFb4pq1ZAu8ebBvUeJ9qjSzhorAGKzTup1JKayFQ/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [7] : 697066733a2f2f516d5465316e4c79685350654e554b3565757a566f38533839
Arg [8] : 5974775a653943557a644762637a5847514c6f63652f00000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d50626245794662347071315a4175386562427655654a39
Arg [11] : 716a537a686f7241474b7a547570314a4b617946512f00000000000000000000


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

OVERVIEW

MillionDollarTokenPage token contract has migrated to0x8e720F90014fA4De02627f4A4e217B7e3942d5e8

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

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