ETH Price: $3,292.53 (-1.13%)

Contract

0xbeB1d3357cD525947b16A9f7a2b3d50B50b977BD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...214530672024-12-21 19:47:5935 hrs ago1734810479IN
0xbeB1d335...B50b977BD
0 ETH0.000810918.24267504
Safe Transfer Fr...214244002024-12-17 19:39:115 days ago1734464351IN
0xbeB1d335...B50b977BD
0 ETH0.0016196818.42376373
Set Approval For...214190842024-12-17 1:51:356 days ago1734400295IN
0xbeB1d335...B50b977BD
0 ETH0.000375428.04160629
Set Approval For...214190842024-12-17 1:51:356 days ago1734400295IN
0xbeB1d335...B50b977BD
0 ETH0.000376098.04160629
Set Approval For...214190702024-12-17 1:48:476 days ago1734400127IN
0xbeB1d335...B50b977BD
0 ETH0.00039878.54024323
Set Approval For...213748992024-12-10 21:50:1112 days ago1733867411IN
0xbeB1d335...B50b977BD
0 ETH0.0008930319.09449954
Set Approval For...213509442024-12-07 13:34:3515 days ago1733578475IN
0xbeB1d335...B50b977BD
0 ETH0.0005542811.87286675
Set Approval For...213497912024-12-07 9:41:4715 days ago1733564507IN
0xbeB1d335...B50b977BD
0 ETH0.000594312.70722055
Safe Transfer Fr...213351392024-12-05 8:35:4717 days ago1733387747IN
0xbeB1d335...B50b977BD
0 ETH0.0017492919.91526783
Set Approval For...213010332024-11-30 14:17:1122 days ago1732976231IN
0xbeB1d335...B50b977BD
0 ETH0.0005898912.63571902
Set Approval For...212434162024-11-22 12:57:2330 days ago1732280243IN
0xbeB1d335...B50b977BD
0 ETH0.0007388615.8266252
Set Approval For...211062212024-11-03 9:28:5949 days ago1730626139IN
0xbeB1d335...B50b977BD
0 ETH0.000114064.6
Safe Transfer Fr...210886972024-10-31 22:45:2352 days ago1730414723IN
0xbeB1d335...B50b977BD
0 ETH0.000631826.96419203
Set Approval For...210881062024-10-31 20:46:5952 days ago1730407619IN
0xbeB1d335...B50b977BD
0 ETH0.000427389.15475126
Set Approval For...210466072024-10-26 1:46:4758 days ago1729907207IN
0xbeB1d335...B50b977BD
0 ETH0.000210694.50511965
Set Approval For...210300962024-10-23 18:31:1160 days ago1729708271IN
0xbeB1d335...B50b977BD
0 ETH0.0009838621.03677187
Safe Transfer Fr...210151432024-10-21 16:26:4762 days ago1729528007IN
0xbeB1d335...B50b977BD
0 ETH0.0011464114.62026891
Set Approval For...210086442024-10-20 18:40:5963 days ago1729449659IN
0xbeB1d335...B50b977BD
0 ETH0.0005345611.45050162
Set Approval For...210076752024-10-20 15:25:5963 days ago1729437959IN
0xbeB1d335...B50b977BD
0 ETH0.0006353813.6100846
Set Approval For...209764932024-10-16 7:00:3568 days ago1729062035IN
0xbeB1d335...B50b977BD
0 ETH0.000421839.03573229
Set Approval For...209448752024-10-11 20:51:2372 days ago1728679883IN
0xbeB1d335...B50b977BD
0 ETH0.0003509814.16823157
Set Approval For...209448742024-10-11 20:51:1172 days ago1728679871IN
0xbeB1d335...B50b977BD
0 ETH0.0003545514.26394524
Set Approval For...209448732024-10-11 20:50:5972 days ago1728679859IN
0xbeB1d335...B50b977BD
0 ETH0.0003541214.25318008
Safe Transfer Fr...209221662024-10-08 16:50:1175 days ago1728406211IN
0xbeB1d335...B50b977BD
0 ETH0.0038691838.24061791
Set Approval For...208897462024-10-04 4:24:3580 days ago1728015875IN
0xbeB1d335...B50b977BD
0 ETH0.000182573.91083129
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AvatarToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : AvatarToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "./interfaces/IGenesisToken.sol";

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

/**
 * @title AvatarToken
 *
 */
contract AvatarToken is ERC721Enumerable, ReentrancyGuard, AccessControl, Pausable {
    using Strings for uint256;

    /// Seed used inside random function
    uint256 public randomSeed;

    /// Controls if tokens can be burned or not. Default to false
    bool public canBurn;

    /// Token URI - updated in constructor
    string private baseURI;

    /// Genesis Token is needed to mint an Avatar Token and it is set in constructor
    IGenesisToken public genesisToken;

    /// Robot supply. Genesis token categories from 1 to 10
    uint256[11] public robotsSupply = [0, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100];

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` for the token and `uri`.
     *      It also sets the Admin role and GenesisToken address.
     */
    constructor(address genesisTokenAddress, string memory _uri) ERC721("HUXLEY Robots", "ROBOTS") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);

        genesisToken = IGenesisToken(genesisTokenAddress);

        baseURI = _uri;

        _pause();
    }

    /**
     * @dev To redeem a robot user needs to have at least one Genesis Token.     
     * @param _category Genesis token category between 1 and 10.
     */
    function redeemAndMint(uint256 _category) external nonReentrant whenNotPaused {
        require(1 <= _category, "AT: Category should be >= 1");
        require(_category <= 10, "AT: Category should be <= 10");

        uint256 supplyLeft = robotsSupply[_category];
        require(supplyLeft > 0, "AT: No supply left");

        // updates robots supply
        robotsSupply[_category] = supplyLeft - 1;

        // burn genesis token
        genesisToken.redeem(msg.sender, _category);

        // mint avatar token
        uint256 tokenId = getRandomTokenId(_category);
        super._safeMint(msg.sender, tokenId);
    }

    /**
     * @dev Get a random token id for the specific <b>_category</b>.
     *      If it was already minted, get the next available one.
     * @param _category Category to mint avatar
     * @return randomTokenId A random token id
     */
    function getRandomTokenId(uint256 _category) private view returns (uint256 randomTokenId) {
        uint256 maxValue = 100 * _category;
        uint256 minValue = maxValue - 99; // first number of the category. if category is 2, it would be 101.
        unchecked {
            randomTokenId =
                uint256(
                    keccak256(
                        abi.encode(
                            keccak256(
                                abi.encodePacked(
                                    msg.sender,
                                    tx.origin,
                                    gasleft(),
                                    randomSeed,
                                    block.timestamp,
                                    block.number,
                                    blockhash(block.number),
                                    blockhash(block.number - 100)
                                )
                            )
                        )
                    )
                ) %
                100;

            // randomTokenId is a number from 0 to 99.
            // final result is randomTokenId + minValue
            // if minValue is 301 and randomTokenId is 56, final result is 357
            randomTokenId = randomTokenId + minValue;
        }

        // Returns the random number found if it wasnt minted already.
        // If it was already minted, get the next available number. If no number is available, it should fail.
        if (!_exists(randomTokenId)) {
            return randomTokenId;
        } else {
            // control is 100 tokens per category
            uint256 control = randomTokenId + 99;

            // Loop starts at the next token id (randomTokenId + 1).
            // If it is greater than maxValue, it subtracts 100.
            for (uint256 i = randomTokenId + 1; i <= control; i++) {
                uint256 index = i;
                if (index > maxValue) {
                    index = index - 100;
                }

                if (!_exists(index)) {
                    return index;
                }
            }

            revert("AT: No available token number found");
        }
    }

    /**
     * @dev Returns all supply lefted
     * @return supplyLeftCat1 Supply lefted for category 1
     * @return supplyLeftCat2 Supply lefted for category 2
     * @return supplyLeftCat3 Supply lefted for category 3
     * @return supplyLeftCat4 Supply lefted for category 4
     * @return supplyLeftCat5 Supply lefted for category 5
     * @return supplyLeftCat6 Supply lefted for category 6
     * @return supplyLeftCat7 Supply lefted for category 7
     * @return supplyLeftCat8 Supply lefted for category 8
     * @return supplyLeftCat9 Supply lefted for category 9
     * @return supplyLeftCat10 Supply lefted for category 10
     */
    function getAllSupplyLeft()
        external
        view
        returns (
            uint256 supplyLeftCat1,
            uint256 supplyLeftCat2,
            uint256 supplyLeftCat3,
            uint256 supplyLeftCat4,
            uint256 supplyLeftCat5,
            uint256 supplyLeftCat6,
            uint256 supplyLeftCat7,
            uint256 supplyLeftCat8,
            uint256 supplyLeftCat9,
            uint256 supplyLeftCat10
        )
    {
        supplyLeftCat1 = robotsSupply[1];
        supplyLeftCat2 = robotsSupply[2];
        supplyLeftCat3 = robotsSupply[3];
        supplyLeftCat4 = robotsSupply[4];
        supplyLeftCat5 = robotsSupply[5];
        supplyLeftCat6 = robotsSupply[6];
        supplyLeftCat7 = robotsSupply[7];
        supplyLeftCat8 = robotsSupply[8];
        supplyLeftCat9 = robotsSupply[9];
        supplyLeftCat10 = robotsSupply[10];
    }

    /// @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 uri = _baseURI();

        return
            bytes(uri).length > 0
                ? string(
                    abi.encodePacked(uri, _tokenId.toString())
                )
                : "";
    }

    /// @dev IP Licenses 
    function IPLicensesIncluded() public pure returns(string memory) {
        return "Personal Use, Commercial Display, Merchandising";
    }

    /// @dev Update random seed and unpause contract
    function startMinting(uint256 _randomSeed) public onlyRole(DEFAULT_ADMIN_ROLE) {
        randomSeed = _randomSeed;
        _unpause();
    }

    /// @dev Update random seed
    function updateSeedValue(uint256 _randomSeed) public onlyRole(DEFAULT_ADMIN_ROLE) {
        randomSeed = _randomSeed;
    }

    /// @dev Sets URI for Avatar Token
    function setBaseURI(string memory _uri) external onlyRole(DEFAULT_ADMIN_ROLE) {
        baseURI = _uri;
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 _tokenId) public virtual {
        require(canBurn, "AT: is not burnable");

        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), _tokenId),
            "ERC721Burnable: caller is not owner nor approved"
        );
        super._burn(_tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721Enumerable, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /// @dev Sets if it is allowed to burn tokens. Default is 'false'. Only Minter can call this function.
    function setCanBurn(bool _canBurn) external onlyRole(DEFAULT_ADMIN_ROLE) {
        canBurn = _canBurn;
    }

    /// @dev Pause redeemAndMint()
    function pause() external onlyRole(DEFAULT_ADMIN_ROLE) {
        _pause();
    }

    /// @dev Unpause redeemAndMint()
    function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) {
        _unpause();
    }
}

File 2 of 16 : IGenesisToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

interface IGenesisToken {
    function mint(
        address account,
        uint256 category,
        bytes memory data
    ) external;

    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) external;

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) external;

    function redeem(address _account, uint256 _category) external;

    function privateMintBatch(
        address _account,
        uint256 _amountToMint,
        uint256 _category,
        bytes memory _data
    ) external;
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"genesisTokenAddress","type":"address"},{"internalType":"string","name":"_uri","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IPLicensesIncluded","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesisToken","outputs":[{"internalType":"contract IGenesisToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllSupplyLeft","outputs":[{"internalType":"uint256","name":"supplyLeftCat1","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat2","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat3","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat4","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat5","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat6","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat7","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat8","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat9","type":"uint256"},{"internalType":"uint256","name":"supplyLeftCat10","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_category","type":"uint256"}],"name":"redeemAndMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"robotsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_canBurn","type":"bool"}],"name":"setCanBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_randomSeed","type":"uint256"}],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_randomSeed","type":"uint256"}],"name":"updateSeedValue","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052604051806101600160405280600060ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001606460ff16815250601190600b6200008e92919062000456565b503480156200009c57600080fd5b50604051620056cf380380620056cf8339818101604052810190620000c29190620005e5565b6040518060400160405280600d81526020017f4855584c455920526f626f7473000000000000000000000000000000000000008152506040518060400160405280600681526020017f524f424f54530000000000000000000000000000000000000000000000000000815250816000908051906020019062000146929190620004a0565b5080600190805190602001906200015f929190620004a0565b5050506001600a819055506000600c60006101000a81548160ff0219169083151502179055506200019a6000801b336200020c60201b60201c565b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f9080519060200190620001f3929190620004a0565b50620002046200022260201b60201c565b5050620008ce565b6200021e8282620002da60201b60201c565b5050565b62000232620003cc60201b60201c565b1562000275576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026c90620006a0565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002c1620003e360201b60201c565b604051620002d0919062000683565b60405180910390a1565b620002ec8282620003eb60201b60201c565b620003c8576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200036d620003e360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600c60009054906101000a900460ff16905090565b600033905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82600b81019282156200048d579160200282015b828111156200048c578251829060ff169055916020019190600101906200046a565b5b5090506200049c919062000531565b5090565b828054620004ae906200079c565b90600052602060002090601f016020900481019282620004d257600085556200051e565b82601f10620004ed57805160ff19168380011785556200051e565b828001600101855582156200051e579182015b828111156200051d57825182559160200191906001019062000500565b5b5090506200052d919062000531565b5090565b5b808211156200054c57600081600090555060010162000532565b5090565b6000620005676200056184620006eb565b620006c2565b9050828152602081018484840111156200058657620005856200086b565b5b6200059384828562000766565b509392505050565b600081519050620005ac81620008b4565b92915050565b600082601f830112620005ca57620005c962000866565b5b8151620005dc84826020860162000550565b91505092915050565b60008060408385031215620005ff57620005fe62000875565b5b60006200060f858286016200059b565b925050602083015167ffffffffffffffff81111562000633576200063262000870565b5b6200064185828601620005b2565b9150509250929050565b620006568162000732565b82525050565b60006200066b60108362000721565b915062000678826200088b565b602082019050919050565b60006020820190506200069a60008301846200064b565b92915050565b60006020820190508181036000830152620006bb816200065c565b9050919050565b6000620006ce620006e1565b9050620006dc8282620007d2565b919050565b6000604051905090565b600067ffffffffffffffff82111562000709576200070862000837565b5b62000714826200087a565b9050602081019050919050565b600082825260208201905092915050565b60006200073f8262000746565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200078657808201518184015260208101905062000769565b8381111562000796576000848401525b50505050565b60006002820490506001821680620007b557607f821691505b60208210811415620007cc57620007cb62000808565b5b50919050565b620007dd826200087a565b810181811067ffffffffffffffff82111715620007ff57620007fe62000837565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b620008bf8162000732565b8114620008cb57600080fd5b50565b614df180620008de6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80634f6ccce71161013057806391d14854116100b8578063c1eb18401161007c578063c1eb184014610655578063c87b56dd14610673578063d547741f146106a3578063e985e9c5146106bf578063fda237f8146106ef57610227565b806391d14854146105b157806395d89b41146105e1578063a217fddf146105ff578063a22cb4651461061d578063b88d4fde1461063957610227565b80636afc2e7f116100ff5780636afc2e7f1461050f5780636f951af61461053f57806370a082311461055b5780638456cb591461058b5780638cc9e6fc1461059557610227565b80634f6ccce71461047557806355f804b3146104a55780635c975abb146104c15780636352211e146104df57610227565b80632f2ff15d116101b3578063386c69f211610182578063386c69f2146103fb5780633f4ba83a1461041757806342842e0e1461042157806342966c681461043d57806344b596e11461045957610227565b80632f2ff15d146103755780632f745c59146103915780632fb89676146103c157806336568abe146103df57610227565b80630b747d91116101fa5780630b747d91146102c657806318160ddd146102e457806323b872dd14610302578063248a9ca31461031e57806326c58e4e1461034e57610227565b806301ffc9a71461022c57806306fdde031461025c578063081812fc1461027a578063095ea7b3146102aa575b600080fd5b610246600480360381019061024191906134c2565b61070d565b6040516102539190613c3c565b60405180910390f35b61026461071f565b6040516102719190613c8d565b60405180910390f35b610294600480360381019061028f9190613565565b6107b1565b6040516102a19190613bac565b60405180910390f35b6102c460048036038101906102bf91906133e8565b610836565b005b6102ce61094e565b6040516102db919061400f565b60405180910390f35b6102ec610954565b6040516102f9919061400f565b60405180910390f35b61031c600480360381019061031791906132d2565b610961565b005b61033860048036038101906103339190613455565b6109c1565b6040516103459190613c57565b60405180910390f35b6103566109e1565b60405161036c9a9998979695949392919061402a565b60405180910390f35b61038f600480360381019061038a9190613482565b610af6565b005b6103ab60048036038101906103a691906133e8565b610b1f565b6040516103b8919061400f565b60405180910390f35b6103c9610bc4565b6040516103d69190613c8d565b60405180910390f35b6103f960048036038101906103f49190613482565b610be4565b005b61041560048036038101906104109190613428565b610c67565b005b61041f610c9a565b005b61043b600480360381019061043691906132d2565b610cba565b005b61045760048036038101906104529190613565565b610cda565b005b610473600480360381019061046e9190613565565b610d85565b005b61048f600480360381019061048a9190613565565b610dad565b60405161049c919061400f565b60405180910390f35b6104bf60048036038101906104ba919061351c565b610e1e565b005b6104c9610e4e565b6040516104d69190613c3c565b60405180910390f35b6104f960048036038101906104f49190613565565b610e65565b6040516105069190613bac565b60405180910390f35b61052960048036038101906105249190613565565b610f17565b604051610536919061400f565b60405180910390f35b61055960048036038101906105549190613565565b610f32565b005b61057560048036038101906105709190613265565b611186565b604051610582919061400f565b60405180910390f35b61059361123e565b005b6105af60048036038101906105aa9190613565565b61125e565b005b6105cb60048036038101906105c69190613482565b61127e565b6040516105d89190613c3c565b60405180910390f35b6105e96112e9565b6040516105f69190613c8d565b60405180910390f35b61060761137b565b6040516106149190613c57565b60405180910390f35b610637600480360381019061063291906133a8565b611382565b005b610653600480360381019061064e9190613325565b611503565b005b61065d611565565b60405161066a9190613c3c565b60405180910390f35b61068d60048036038101906106889190613565565b611578565b60405161069a9190613c8d565b60405180910390f35b6106bd60048036038101906106b89190613482565b61161f565b005b6106d960048036038101906106d49190613292565b611648565b6040516106e69190613c3c565b60405180910390f35b6106f76116dc565b6040516107049190613c72565b60405180910390f35b600061071882611702565b9050919050565b60606000805461072e906143b3565b80601f016020809104026020016040519081016040528092919081815260200182805461075a906143b3565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc8261177c565b6107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f290613ecf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084182610e65565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a990613f2f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108d16117e8565b73ffffffffffffffffffffffffffffffffffffffff16148061090057506108ff816108fa6117e8565b611648565b5b61093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690613e2f565b60405180910390fd5b61094983836117f0565b505050565b600d5481565b6000600880549050905090565b61097261096c6117e8565b826118a9565b6109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a890613f6f565b60405180910390fd5b6109bc838383611987565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b60008060008060008060008060008060116001600b8110610a0557610a04614584565b5b0154995060116002600b8110610a1e57610a1d614584565b5b0154985060116003600b8110610a3757610a36614584565b5b0154975060116004600b8110610a5057610a4f614584565b5b0154965060116005600b8110610a6957610a68614584565b5b0154955060116006600b8110610a8257610a81614584565b5b0154945060116007600b8110610a9b57610a9a614584565b5b0154935060116008600b8110610ab457610ab3614584565b5b0154925060116009600b8110610acd57610acc614584565b5b015491506011600a600b8110610ae657610ae5614584565b5b0154905090919293949596979899565b610aff826109c1565b610b1081610b0b6117e8565b611be3565b610b1a8383611c80565b505050565b6000610b2a83611186565b8210610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290613d0f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60606040518060600160405280602f8152602001614d8d602f9139905090565b610bec6117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613fef565b60405180910390fd5b610c638282611d61565b5050565b6000801b610c7c81610c776117e8565b611be3565b81600e60006101000a81548160ff0219169083151502179055505050565b6000801b610caf81610caa6117e8565b611be3565b610cb7611e43565b50565b610cd583838360405180602001604052806000815250611503565b505050565b600e60009054906101000a900460ff16610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2090613e8f565b60405180910390fd5b610d3a610d346117e8565b826118a9565b610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090613fcf565b60405180910390fd5b610d8281611ee5565b50565b6000801b610d9a81610d956117e8565b611be3565b81600d81905550610da9611e43565b5050565b6000610db7610954565b8210610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90613f8f565b60405180910390fd5b60088281548110610e0c57610e0b614584565b5b90600052602060002001549050919050565b6000801b610e3381610e2e6117e8565b611be3565b81600f9080519060200190610e49929190613064565b505050565b6000600c60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590613e6f565b60405180910390fd5b80915050919050565b601181600b8110610f2757600080fd5b016000915090505481565b6002600a541415610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90613faf565b60405180910390fd5b6002600a81905550610f88610e4e565b15610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613e0f565b60405180910390fd5b806001111561100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390613f4f565b60405180910390fd5b600a811115611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104790613d6f565b60405180910390fd5b6000601182600b811061106657611065614584565b5b01549050600081116110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490613cef565b60405180910390fd5b6001816110ba9190614271565b601183600b81106110ce576110cd614584565b5b0181905550601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631e9a695033846040518363ffffffff1660e01b8152600401611130929190613c13565b600060405180830381600087803b15801561114a57600080fd5b505af115801561115e573d6000803e3d6000fd5b50505050600061116d83611ff6565b90506111793382612160565b50506001600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90613e4f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b6112538161124e6117e8565b611be3565b61125b61217e565b50565b6000801b6112738161126e6117e8565b611be3565b81600d819055505050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112f8906143b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611324906143b3565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b5050505050905090565b6000801b81565b61138a6117e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90613daf565b60405180910390fd5b80600560006114056117e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114b26117e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114f79190613c3c565b60405180910390a35050565b61151461150e6117e8565b836118a9565b611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90613f6f565b60405180910390fd5b61155f84848484612221565b50505050565b600e60009054906101000a900460ff1681565b60606115838261177c565b6115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990613f0f565b60405180910390fd5b60006115cc61227d565b905060008151116115ec5760405180602001604052806000815250611617565b806115f68461230f565b604051602001611607929190613b4e565b6040516020818303038152906040525b915050919050565b611628826109c1565b611639816116346117e8565b611be3565b6116438383611d61565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611775575061177482612470565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661186383610e65565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118b48261177c565b6118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613def565b60405180910390fd5b60006118fe83610e65565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061196d57508373ffffffffffffffffffffffffffffffffffffffff16611955846107b1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061197e575061197d8185611648565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119a782610e65565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490613eef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490613d8f565b60405180910390fd5b611a788383836124ea565b611a836000826117f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ad39190614271565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b2a9190614190565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611bed828261127e565b611c7c57611c128173ffffffffffffffffffffffffffffffffffffffff1660146125fe565b611c208360001c60206125fe565b604051602001611c31929190613b72565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c739190613c8d565b60405180910390fd5b5050565b611c8a828261127e565b611d5d576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d026117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d6b828261127e565b15611e3f576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611de46117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611e4b610e4e565b611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190613ccf565b60405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ece6117e8565b604051611edb9190613bac565b60405180910390a1565b6000611ef082610e65565b9050611efe816000846124ea565b611f096000836117f0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f599190614271565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000808260646120069190614217565b905060006063826120179190614271565b9050606433325a600d54424343406064430340604051602001612041989796959493929190613abc565b604051602081830303815290604052805190602001206040516020016120679190613c57565b6040516020818303038152906040528051906020012060001c8161208e5761208d6144f7565b5b069250808301925061209f8361177c565b6120aa57505061215b565b60006063846120b99190614190565b905060006001856120ca9190614190565b90505b81811161211f576000819050848111156120f1576064816120ee9190614271565b90505b6120fa8161177c565b61210b57809550505050505061215b565b50808061211790614416565b9150506120cd565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290613dcf565b60405180910390fd5b919050565b61217a82826040518060200160405280600081525061283a565b5050565b612186610e4e565b156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90613e0f565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861220a6117e8565b6040516122179190613bac565b60405180910390a1565b61222c848484611987565b61223884848484612895565b612277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226e90613d2f565b60405180910390fd5b50505050565b6060600f805461228c906143b3565b80601f01602080910402602001604051908101604052809291908181526020018280546122b8906143b3565b80156123055780601f106122da57610100808354040283529160200191612305565b820191906000526020600020905b8154815290600101906020018083116122e857829003601f168201915b5050505050905090565b60606000821415612357576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061246b565b600082905060005b6000821461238957808061237290614416565b915050600a8261238291906141e6565b915061235f565b60008167ffffffffffffffff8111156123a5576123a46145b3565b5b6040519080825280601f01601f1916602001820160405280156123d75781602001600182028036833780820191505090505b5090505b60008514612464576001826123f09190614271565b9150600a856123ff9190614497565b603061240b9190614190565b60f81b81838151811061242157612420614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561245d91906141e6565b94506123db565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e357506124e282612a2c565b5b9050919050565b6124f5838383612b0e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125385761253381612b13565b612577565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612576576125758382612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ba576125b581612cc9565b6125f9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125f8576125f78282612d9a565b5b5b505050565b6060600060028360026126119190614217565b61261b9190614190565b67ffffffffffffffff811115612634576126336145b3565b5b6040519080825280601f01601f1916602001820160405280156126665781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061269e5761269d614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061270257612701614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026127429190614217565b61274c9190614190565b90505b60018111156127ec577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061278e5761278d614584565b5b1a60f81b8282815181106127a5576127a4614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806127e590614389565b905061274f565b5060008414612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790613caf565b60405180910390fd5b8091505092915050565b6128448383612e19565b6128516000848484612895565b612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790613d2f565b60405180910390fd5b505050565b60006128b68473ffffffffffffffffffffffffffffffffffffffff16612fe7565b15612a1f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128df6117e8565b8786866040518563ffffffff1660e01b81526004016129019493929190613bc7565b602060405180830381600087803b15801561291b57600080fd5b505af192505050801561294c57506040513d601f19601f8201168201806040525081019061294991906134ef565b60015b6129cf573d806000811461297c576040519150601f19603f3d011682016040523d82523d6000602084013e612981565b606091505b506000815114156129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90613d2f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a24565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612af757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b075750612b0682612ffa565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b6984611186565b612b739190614271565b9050600060076000848152602001908152602001600020549050818114612c58576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cdd9190614271565b9050600060096000848152602001908152602001600020549050600060088381548110612d0d57612d0c614584565b5b906000526020600020015490508060088381548110612d2f57612d2e614584565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d7e57612d7d614555565b5b6001900381819060005260206000200160009055905550505050565b6000612da583611186565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090613eaf565b60405180910390fd5b612e928161177c565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990613d4f565b60405180910390fd5b612ede600083836124ea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e9190614190565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613070906143b3565b90600052602060002090601f01602090048101928261309257600085556130d9565b82601f106130ab57805160ff19168380011785556130d9565b828001600101855582156130d9579182015b828111156130d85782518255916020019190600101906130bd565b5b5090506130e691906130ea565b5090565b5b808211156131035760008160009055506001016130eb565b5090565b600061311a613115846140eb565b6140c6565b905082815260208101848484011115613136576131356145e7565b5b613141848285614347565b509392505050565b600061315c6131578461411c565b6140c6565b905082815260208101848484011115613178576131776145e7565b5b613183848285614347565b509392505050565b60008135905061319a81614d19565b92915050565b6000813590506131af81614d30565b92915050565b6000813590506131c481614d47565b92915050565b6000813590506131d981614d5e565b92915050565b6000815190506131ee81614d5e565b92915050565b600082601f830112613209576132086145e2565b5b8135613219848260208601613107565b91505092915050565b600082601f830112613237576132366145e2565b5b8135613247848260208601613149565b91505092915050565b60008135905061325f81614d75565b92915050565b60006020828403121561327b5761327a6145f1565b5b60006132898482850161318b565b91505092915050565b600080604083850312156132a9576132a86145f1565b5b60006132b78582860161318b565b92505060206132c88582860161318b565b9150509250929050565b6000806000606084860312156132eb576132ea6145f1565b5b60006132f98682870161318b565b935050602061330a8682870161318b565b925050604061331b86828701613250565b9150509250925092565b6000806000806080858703121561333f5761333e6145f1565b5b600061334d8782880161318b565b945050602061335e8782880161318b565b935050604061336f87828801613250565b925050606085013567ffffffffffffffff8111156133905761338f6145ec565b5b61339c878288016131f4565b91505092959194509250565b600080604083850312156133bf576133be6145f1565b5b60006133cd8582860161318b565b92505060206133de858286016131a0565b9150509250929050565b600080604083850312156133ff576133fe6145f1565b5b600061340d8582860161318b565b925050602061341e85828601613250565b9150509250929050565b60006020828403121561343e5761343d6145f1565b5b600061344c848285016131a0565b91505092915050565b60006020828403121561346b5761346a6145f1565b5b6000613479848285016131b5565b91505092915050565b60008060408385031215613499576134986145f1565b5b60006134a7858286016131b5565b92505060206134b88582860161318b565b9150509250929050565b6000602082840312156134d8576134d76145f1565b5b60006134e6848285016131ca565b91505092915050565b600060208284031215613505576135046145f1565b5b6000613513848285016131df565b91505092915050565b600060208284031215613532576135316145f1565b5b600082013567ffffffffffffffff8111156135505761354f6145ec565b5b61355c84828501613222565b91505092915050565b60006020828403121561357b5761357a6145f1565b5b600061358984828501613250565b91505092915050565b61359b816142a5565b82525050565b6135b26135ad826142a5565b61445f565b82525050565b6135c1816142b7565b82525050565b6135d0816142c3565b82525050565b6135e76135e2826142c3565b614471565b82525050565b60006135f88261414d565b6136028185614163565b9350613612818560208601614356565b61361b816145f6565b840191505092915050565b61362f81614323565b82525050565b600061364082614158565b61364a8185614174565b935061365a818560208601614356565b613663816145f6565b840191505092915050565b600061367982614158565b6136838185614185565b9350613693818560208601614356565b80840191505092915050565b60006136ac602083614174565b91506136b782614614565b602082019050919050565b60006136cf601483614174565b91506136da8261463d565b602082019050919050565b60006136f2601283614174565b91506136fd82614666565b602082019050919050565b6000613715602b83614174565b91506137208261468f565b604082019050919050565b6000613738603283614174565b9150613743826146de565b604082019050919050565b600061375b601c83614174565b91506137668261472d565b602082019050919050565b600061377e601c83614174565b915061378982614756565b602082019050919050565b60006137a1602483614174565b91506137ac8261477f565b604082019050919050565b60006137c4601983614174565b91506137cf826147ce565b602082019050919050565b60006137e7602383614174565b91506137f2826147f7565b604082019050919050565b600061380a602c83614174565b915061381582614846565b604082019050919050565b600061382d601083614174565b915061383882614895565b602082019050919050565b6000613850603883614174565b915061385b826148be565b604082019050919050565b6000613873602a83614174565b915061387e8261490d565b604082019050919050565b6000613896602983614174565b91506138a18261495c565b604082019050919050565b60006138b9601383614174565b91506138c4826149ab565b602082019050919050565b60006138dc602083614174565b91506138e7826149d4565b602082019050919050565b60006138ff602c83614174565b915061390a826149fd565b604082019050919050565b6000613922602983614174565b915061392d82614a4c565b604082019050919050565b6000613945602f83614174565b915061395082614a9b565b604082019050919050565b6000613968602183614174565b915061397382614aea565b604082019050919050565b600061398b601b83614174565b915061399682614b39565b602082019050919050565b60006139ae603183614174565b91506139b982614b62565b604082019050919050565b60006139d1602c83614174565b91506139dc82614bb1565b604082019050919050565b60006139f4601783614185565b91506139ff82614c00565b601782019050919050565b6000613a17601f83614174565b9150613a2282614c29565b602082019050919050565b6000613a3a603083614174565b9150613a4582614c52565b604082019050919050565b6000613a5d601183614185565b9150613a6882614ca1565b601182019050919050565b6000613a80602f83614174565b9150613a8b82614cca565b604082019050919050565b613a9f81614319565b82525050565b613ab6613ab182614319565b61448d565b82525050565b6000613ac8828b6135a1565b601482019150613ad8828a6135a1565b601482019150613ae88289613aa5565b602082019150613af88288613aa5565b602082019150613b088287613aa5565b602082019150613b188286613aa5565b602082019150613b2882856135d6565b602082019150613b3882846135d6565b6020820191508190509998505050505050505050565b6000613b5a828561366e565b9150613b66828461366e565b91508190509392505050565b6000613b7d826139e7565b9150613b89828561366e565b9150613b9482613a50565b9150613ba0828461366e565b91508190509392505050565b6000602082019050613bc16000830184613592565b92915050565b6000608082019050613bdc6000830187613592565b613be96020830186613592565b613bf66040830185613a96565b8181036060830152613c0881846135ed565b905095945050505050565b6000604082019050613c286000830185613592565b613c356020830184613a96565b9392505050565b6000602082019050613c5160008301846135b8565b92915050565b6000602082019050613c6c60008301846135c7565b92915050565b6000602082019050613c876000830184613626565b92915050565b60006020820190508181036000830152613ca78184613635565b905092915050565b60006020820190508181036000830152613cc88161369f565b9050919050565b60006020820190508181036000830152613ce8816136c2565b9050919050565b60006020820190508181036000830152613d08816136e5565b9050919050565b60006020820190508181036000830152613d2881613708565b9050919050565b60006020820190508181036000830152613d488161372b565b9050919050565b60006020820190508181036000830152613d688161374e565b9050919050565b60006020820190508181036000830152613d8881613771565b9050919050565b60006020820190508181036000830152613da881613794565b9050919050565b60006020820190508181036000830152613dc8816137b7565b9050919050565b60006020820190508181036000830152613de8816137da565b9050919050565b60006020820190508181036000830152613e08816137fd565b9050919050565b60006020820190508181036000830152613e2881613820565b9050919050565b60006020820190508181036000830152613e4881613843565b9050919050565b60006020820190508181036000830152613e6881613866565b9050919050565b60006020820190508181036000830152613e8881613889565b9050919050565b60006020820190508181036000830152613ea8816138ac565b9050919050565b60006020820190508181036000830152613ec8816138cf565b9050919050565b60006020820190508181036000830152613ee8816138f2565b9050919050565b60006020820190508181036000830152613f0881613915565b9050919050565b60006020820190508181036000830152613f2881613938565b9050919050565b60006020820190508181036000830152613f488161395b565b9050919050565b60006020820190508181036000830152613f688161397e565b9050919050565b60006020820190508181036000830152613f88816139a1565b9050919050565b60006020820190508181036000830152613fa8816139c4565b9050919050565b60006020820190508181036000830152613fc881613a0a565b9050919050565b60006020820190508181036000830152613fe881613a2d565b9050919050565b6000602082019050818103600083015261400881613a73565b9050919050565b60006020820190506140246000830184613a96565b92915050565b600061014082019050614040600083018d613a96565b61404d602083018c613a96565b61405a604083018b613a96565b614067606083018a613a96565b6140746080830189613a96565b61408160a0830188613a96565b61408e60c0830187613a96565b61409b60e0830186613a96565b6140a9610100830185613a96565b6140b7610120830184613a96565b9b9a5050505050505050505050565b60006140d06140e1565b90506140dc82826143e5565b919050565b6000604051905090565b600067ffffffffffffffff821115614106576141056145b3565b5b61410f826145f6565b9050602081019050919050565b600067ffffffffffffffff821115614137576141366145b3565b5b614140826145f6565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061419b82614319565b91506141a683614319565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141db576141da6144c8565b5b828201905092915050565b60006141f182614319565b91506141fc83614319565b92508261420c5761420b6144f7565b5b828204905092915050565b600061422282614319565b915061422d83614319565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614266576142656144c8565b5b828202905092915050565b600061427c82614319565b915061428783614319565b92508282101561429a576142996144c8565b5b828203905092915050565b60006142b0826142f9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061432e82614335565b9050919050565b6000614340826142f9565b9050919050565b82818337600083830152505050565b60005b83811015614374578082015181840152602081019050614359565b83811115614383576000848401525b50505050565b600061439482614319565b915060008214156143a8576143a76144c8565b5b600182039050919050565b600060028204905060018216806143cb57607f821691505b602082108114156143df576143de614526565b5b50919050565b6143ee826145f6565b810181811067ffffffffffffffff8211171561440d5761440c6145b3565b5b80604052505050565b600061442182614319565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614454576144536144c8565b5b600182019050919050565b600061446a8261447b565b9050919050565b6000819050919050565b600061448682614607565b9050919050565b6000819050919050565b60006144a282614319565b91506144ad83614319565b9250826144bd576144bc6144f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f41543a204e6f20737570706c79206c6566740000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f41543a2043617465676f72792073686f756c64206265203c3d20313000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f41543a204e6f20617661696c61626c6520746f6b656e206e756d62657220666f60008201527f756e640000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f41543a206973206e6f74206275726e61626c6500000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f41543a2043617465676f72792073686f756c64206265203e3d20310000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614d22816142a5565b8114614d2d57600080fd5b50565b614d39816142b7565b8114614d4457600080fd5b50565b614d50816142c3565b8114614d5b57600080fd5b50565b614d67816142cd565b8114614d7257600080fd5b50565b614d7e81614319565b8114614d8957600080fd5b5056fe506572736f6e616c205573652c20436f6d6d65726369616c20446973706c61792c204d65726368616e646973696e67a264697066735822122001d22424acb48bbf0f855a0c189c1b669d7755698a9d86d0a938831208bde0dc64736f6c6343000806003300000000000000000000000038221a026370360d8c0767c232f39f72f8f3ffde00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a5731705463536b5a5263745042464b717a366b69574b634c616d73543565535146354e4466673650657a712f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80634f6ccce71161013057806391d14854116100b8578063c1eb18401161007c578063c1eb184014610655578063c87b56dd14610673578063d547741f146106a3578063e985e9c5146106bf578063fda237f8146106ef57610227565b806391d14854146105b157806395d89b41146105e1578063a217fddf146105ff578063a22cb4651461061d578063b88d4fde1461063957610227565b80636afc2e7f116100ff5780636afc2e7f1461050f5780636f951af61461053f57806370a082311461055b5780638456cb591461058b5780638cc9e6fc1461059557610227565b80634f6ccce71461047557806355f804b3146104a55780635c975abb146104c15780636352211e146104df57610227565b80632f2ff15d116101b3578063386c69f211610182578063386c69f2146103fb5780633f4ba83a1461041757806342842e0e1461042157806342966c681461043d57806344b596e11461045957610227565b80632f2ff15d146103755780632f745c59146103915780632fb89676146103c157806336568abe146103df57610227565b80630b747d91116101fa5780630b747d91146102c657806318160ddd146102e457806323b872dd14610302578063248a9ca31461031e57806326c58e4e1461034e57610227565b806301ffc9a71461022c57806306fdde031461025c578063081812fc1461027a578063095ea7b3146102aa575b600080fd5b610246600480360381019061024191906134c2565b61070d565b6040516102539190613c3c565b60405180910390f35b61026461071f565b6040516102719190613c8d565b60405180910390f35b610294600480360381019061028f9190613565565b6107b1565b6040516102a19190613bac565b60405180910390f35b6102c460048036038101906102bf91906133e8565b610836565b005b6102ce61094e565b6040516102db919061400f565b60405180910390f35b6102ec610954565b6040516102f9919061400f565b60405180910390f35b61031c600480360381019061031791906132d2565b610961565b005b61033860048036038101906103339190613455565b6109c1565b6040516103459190613c57565b60405180910390f35b6103566109e1565b60405161036c9a9998979695949392919061402a565b60405180910390f35b61038f600480360381019061038a9190613482565b610af6565b005b6103ab60048036038101906103a691906133e8565b610b1f565b6040516103b8919061400f565b60405180910390f35b6103c9610bc4565b6040516103d69190613c8d565b60405180910390f35b6103f960048036038101906103f49190613482565b610be4565b005b61041560048036038101906104109190613428565b610c67565b005b61041f610c9a565b005b61043b600480360381019061043691906132d2565b610cba565b005b61045760048036038101906104529190613565565b610cda565b005b610473600480360381019061046e9190613565565b610d85565b005b61048f600480360381019061048a9190613565565b610dad565b60405161049c919061400f565b60405180910390f35b6104bf60048036038101906104ba919061351c565b610e1e565b005b6104c9610e4e565b6040516104d69190613c3c565b60405180910390f35b6104f960048036038101906104f49190613565565b610e65565b6040516105069190613bac565b60405180910390f35b61052960048036038101906105249190613565565b610f17565b604051610536919061400f565b60405180910390f35b61055960048036038101906105549190613565565b610f32565b005b61057560048036038101906105709190613265565b611186565b604051610582919061400f565b60405180910390f35b61059361123e565b005b6105af60048036038101906105aa9190613565565b61125e565b005b6105cb60048036038101906105c69190613482565b61127e565b6040516105d89190613c3c565b60405180910390f35b6105e96112e9565b6040516105f69190613c8d565b60405180910390f35b61060761137b565b6040516106149190613c57565b60405180910390f35b610637600480360381019061063291906133a8565b611382565b005b610653600480360381019061064e9190613325565b611503565b005b61065d611565565b60405161066a9190613c3c565b60405180910390f35b61068d60048036038101906106889190613565565b611578565b60405161069a9190613c8d565b60405180910390f35b6106bd60048036038101906106b89190613482565b61161f565b005b6106d960048036038101906106d49190613292565b611648565b6040516106e69190613c3c565b60405180910390f35b6106f76116dc565b6040516107049190613c72565b60405180910390f35b600061071882611702565b9050919050565b60606000805461072e906143b3565b80601f016020809104026020016040519081016040528092919081815260200182805461075a906143b3565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc8261177c565b6107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f290613ecf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084182610e65565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a990613f2f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108d16117e8565b73ffffffffffffffffffffffffffffffffffffffff16148061090057506108ff816108fa6117e8565b611648565b5b61093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690613e2f565b60405180910390fd5b61094983836117f0565b505050565b600d5481565b6000600880549050905090565b61097261096c6117e8565b826118a9565b6109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a890613f6f565b60405180910390fd5b6109bc838383611987565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b60008060008060008060008060008060116001600b8110610a0557610a04614584565b5b0154995060116002600b8110610a1e57610a1d614584565b5b0154985060116003600b8110610a3757610a36614584565b5b0154975060116004600b8110610a5057610a4f614584565b5b0154965060116005600b8110610a6957610a68614584565b5b0154955060116006600b8110610a8257610a81614584565b5b0154945060116007600b8110610a9b57610a9a614584565b5b0154935060116008600b8110610ab457610ab3614584565b5b0154925060116009600b8110610acd57610acc614584565b5b015491506011600a600b8110610ae657610ae5614584565b5b0154905090919293949596979899565b610aff826109c1565b610b1081610b0b6117e8565b611be3565b610b1a8383611c80565b505050565b6000610b2a83611186565b8210610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290613d0f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60606040518060600160405280602f8152602001614d8d602f9139905090565b610bec6117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613fef565b60405180910390fd5b610c638282611d61565b5050565b6000801b610c7c81610c776117e8565b611be3565b81600e60006101000a81548160ff0219169083151502179055505050565b6000801b610caf81610caa6117e8565b611be3565b610cb7611e43565b50565b610cd583838360405180602001604052806000815250611503565b505050565b600e60009054906101000a900460ff16610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2090613e8f565b60405180910390fd5b610d3a610d346117e8565b826118a9565b610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090613fcf565b60405180910390fd5b610d8281611ee5565b50565b6000801b610d9a81610d956117e8565b611be3565b81600d81905550610da9611e43565b5050565b6000610db7610954565b8210610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90613f8f565b60405180910390fd5b60088281548110610e0c57610e0b614584565b5b90600052602060002001549050919050565b6000801b610e3381610e2e6117e8565b611be3565b81600f9080519060200190610e49929190613064565b505050565b6000600c60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590613e6f565b60405180910390fd5b80915050919050565b601181600b8110610f2757600080fd5b016000915090505481565b6002600a541415610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90613faf565b60405180910390fd5b6002600a81905550610f88610e4e565b15610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613e0f565b60405180910390fd5b806001111561100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390613f4f565b60405180910390fd5b600a811115611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104790613d6f565b60405180910390fd5b6000601182600b811061106657611065614584565b5b01549050600081116110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490613cef565b60405180910390fd5b6001816110ba9190614271565b601183600b81106110ce576110cd614584565b5b0181905550601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631e9a695033846040518363ffffffff1660e01b8152600401611130929190613c13565b600060405180830381600087803b15801561114a57600080fd5b505af115801561115e573d6000803e3d6000fd5b50505050600061116d83611ff6565b90506111793382612160565b50506001600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90613e4f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b6112538161124e6117e8565b611be3565b61125b61217e565b50565b6000801b6112738161126e6117e8565b611be3565b81600d819055505050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112f8906143b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611324906143b3565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b5050505050905090565b6000801b81565b61138a6117e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90613daf565b60405180910390fd5b80600560006114056117e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114b26117e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114f79190613c3c565b60405180910390a35050565b61151461150e6117e8565b836118a9565b611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90613f6f565b60405180910390fd5b61155f84848484612221565b50505050565b600e60009054906101000a900460ff1681565b60606115838261177c565b6115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990613f0f565b60405180910390fd5b60006115cc61227d565b905060008151116115ec5760405180602001604052806000815250611617565b806115f68461230f565b604051602001611607929190613b4e565b6040516020818303038152906040525b915050919050565b611628826109c1565b611639816116346117e8565b611be3565b6116438383611d61565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611775575061177482612470565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661186383610e65565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118b48261177c565b6118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613def565b60405180910390fd5b60006118fe83610e65565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061196d57508373ffffffffffffffffffffffffffffffffffffffff16611955846107b1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061197e575061197d8185611648565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119a782610e65565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490613eef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490613d8f565b60405180910390fd5b611a788383836124ea565b611a836000826117f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ad39190614271565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b2a9190614190565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611bed828261127e565b611c7c57611c128173ffffffffffffffffffffffffffffffffffffffff1660146125fe565b611c208360001c60206125fe565b604051602001611c31929190613b72565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c739190613c8d565b60405180910390fd5b5050565b611c8a828261127e565b611d5d576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d026117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d6b828261127e565b15611e3f576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611de46117e8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611e4b610e4e565b611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190613ccf565b60405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ece6117e8565b604051611edb9190613bac565b60405180910390a1565b6000611ef082610e65565b9050611efe816000846124ea565b611f096000836117f0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f599190614271565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000808260646120069190614217565b905060006063826120179190614271565b9050606433325a600d54424343406064430340604051602001612041989796959493929190613abc565b604051602081830303815290604052805190602001206040516020016120679190613c57565b6040516020818303038152906040528051906020012060001c8161208e5761208d6144f7565b5b069250808301925061209f8361177c565b6120aa57505061215b565b60006063846120b99190614190565b905060006001856120ca9190614190565b90505b81811161211f576000819050848111156120f1576064816120ee9190614271565b90505b6120fa8161177c565b61210b57809550505050505061215b565b50808061211790614416565b9150506120cd565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215290613dcf565b60405180910390fd5b919050565b61217a82826040518060200160405280600081525061283a565b5050565b612186610e4e565b156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90613e0f565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861220a6117e8565b6040516122179190613bac565b60405180910390a1565b61222c848484611987565b61223884848484612895565b612277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226e90613d2f565b60405180910390fd5b50505050565b6060600f805461228c906143b3565b80601f01602080910402602001604051908101604052809291908181526020018280546122b8906143b3565b80156123055780601f106122da57610100808354040283529160200191612305565b820191906000526020600020905b8154815290600101906020018083116122e857829003601f168201915b5050505050905090565b60606000821415612357576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061246b565b600082905060005b6000821461238957808061237290614416565b915050600a8261238291906141e6565b915061235f565b60008167ffffffffffffffff8111156123a5576123a46145b3565b5b6040519080825280601f01601f1916602001820160405280156123d75781602001600182028036833780820191505090505b5090505b60008514612464576001826123f09190614271565b9150600a856123ff9190614497565b603061240b9190614190565b60f81b81838151811061242157612420614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561245d91906141e6565b94506123db565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124e357506124e282612a2c565b5b9050919050565b6124f5838383612b0e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125385761253381612b13565b612577565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612576576125758382612b5c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ba576125b581612cc9565b6125f9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125f8576125f78282612d9a565b5b5b505050565b6060600060028360026126119190614217565b61261b9190614190565b67ffffffffffffffff811115612634576126336145b3565b5b6040519080825280601f01601f1916602001820160405280156126665781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061269e5761269d614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061270257612701614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026127429190614217565b61274c9190614190565b90505b60018111156127ec577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061278e5761278d614584565b5b1a60f81b8282815181106127a5576127a4614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806127e590614389565b905061274f565b5060008414612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790613caf565b60405180910390fd5b8091505092915050565b6128448383612e19565b6128516000848484612895565b612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790613d2f565b60405180910390fd5b505050565b60006128b68473ffffffffffffffffffffffffffffffffffffffff16612fe7565b15612a1f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128df6117e8565b8786866040518563ffffffff1660e01b81526004016129019493929190613bc7565b602060405180830381600087803b15801561291b57600080fd5b505af192505050801561294c57506040513d601f19601f8201168201806040525081019061294991906134ef565b60015b6129cf573d806000811461297c576040519150601f19603f3d011682016040523d82523d6000602084013e612981565b606091505b506000815114156129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90613d2f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a24565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612af757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b075750612b0682612ffa565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b6984611186565b612b739190614271565b9050600060076000848152602001908152602001600020549050818114612c58576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cdd9190614271565b9050600060096000848152602001908152602001600020549050600060088381548110612d0d57612d0c614584565b5b906000526020600020015490508060088381548110612d2f57612d2e614584565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d7e57612d7d614555565b5b6001900381819060005260206000200160009055905550505050565b6000612da583611186565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8090613eaf565b60405180910390fd5b612e928161177c565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990613d4f565b60405180910390fd5b612ede600083836124ea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e9190614190565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613070906143b3565b90600052602060002090601f01602090048101928261309257600085556130d9565b82601f106130ab57805160ff19168380011785556130d9565b828001600101855582156130d9579182015b828111156130d85782518255916020019190600101906130bd565b5b5090506130e691906130ea565b5090565b5b808211156131035760008160009055506001016130eb565b5090565b600061311a613115846140eb565b6140c6565b905082815260208101848484011115613136576131356145e7565b5b613141848285614347565b509392505050565b600061315c6131578461411c565b6140c6565b905082815260208101848484011115613178576131776145e7565b5b613183848285614347565b509392505050565b60008135905061319a81614d19565b92915050565b6000813590506131af81614d30565b92915050565b6000813590506131c481614d47565b92915050565b6000813590506131d981614d5e565b92915050565b6000815190506131ee81614d5e565b92915050565b600082601f830112613209576132086145e2565b5b8135613219848260208601613107565b91505092915050565b600082601f830112613237576132366145e2565b5b8135613247848260208601613149565b91505092915050565b60008135905061325f81614d75565b92915050565b60006020828403121561327b5761327a6145f1565b5b60006132898482850161318b565b91505092915050565b600080604083850312156132a9576132a86145f1565b5b60006132b78582860161318b565b92505060206132c88582860161318b565b9150509250929050565b6000806000606084860312156132eb576132ea6145f1565b5b60006132f98682870161318b565b935050602061330a8682870161318b565b925050604061331b86828701613250565b9150509250925092565b6000806000806080858703121561333f5761333e6145f1565b5b600061334d8782880161318b565b945050602061335e8782880161318b565b935050604061336f87828801613250565b925050606085013567ffffffffffffffff8111156133905761338f6145ec565b5b61339c878288016131f4565b91505092959194509250565b600080604083850312156133bf576133be6145f1565b5b60006133cd8582860161318b565b92505060206133de858286016131a0565b9150509250929050565b600080604083850312156133ff576133fe6145f1565b5b600061340d8582860161318b565b925050602061341e85828601613250565b9150509250929050565b60006020828403121561343e5761343d6145f1565b5b600061344c848285016131a0565b91505092915050565b60006020828403121561346b5761346a6145f1565b5b6000613479848285016131b5565b91505092915050565b60008060408385031215613499576134986145f1565b5b60006134a7858286016131b5565b92505060206134b88582860161318b565b9150509250929050565b6000602082840312156134d8576134d76145f1565b5b60006134e6848285016131ca565b91505092915050565b600060208284031215613505576135046145f1565b5b6000613513848285016131df565b91505092915050565b600060208284031215613532576135316145f1565b5b600082013567ffffffffffffffff8111156135505761354f6145ec565b5b61355c84828501613222565b91505092915050565b60006020828403121561357b5761357a6145f1565b5b600061358984828501613250565b91505092915050565b61359b816142a5565b82525050565b6135b26135ad826142a5565b61445f565b82525050565b6135c1816142b7565b82525050565b6135d0816142c3565b82525050565b6135e76135e2826142c3565b614471565b82525050565b60006135f88261414d565b6136028185614163565b9350613612818560208601614356565b61361b816145f6565b840191505092915050565b61362f81614323565b82525050565b600061364082614158565b61364a8185614174565b935061365a818560208601614356565b613663816145f6565b840191505092915050565b600061367982614158565b6136838185614185565b9350613693818560208601614356565b80840191505092915050565b60006136ac602083614174565b91506136b782614614565b602082019050919050565b60006136cf601483614174565b91506136da8261463d565b602082019050919050565b60006136f2601283614174565b91506136fd82614666565b602082019050919050565b6000613715602b83614174565b91506137208261468f565b604082019050919050565b6000613738603283614174565b9150613743826146de565b604082019050919050565b600061375b601c83614174565b91506137668261472d565b602082019050919050565b600061377e601c83614174565b915061378982614756565b602082019050919050565b60006137a1602483614174565b91506137ac8261477f565b604082019050919050565b60006137c4601983614174565b91506137cf826147ce565b602082019050919050565b60006137e7602383614174565b91506137f2826147f7565b604082019050919050565b600061380a602c83614174565b915061381582614846565b604082019050919050565b600061382d601083614174565b915061383882614895565b602082019050919050565b6000613850603883614174565b915061385b826148be565b604082019050919050565b6000613873602a83614174565b915061387e8261490d565b604082019050919050565b6000613896602983614174565b91506138a18261495c565b604082019050919050565b60006138b9601383614174565b91506138c4826149ab565b602082019050919050565b60006138dc602083614174565b91506138e7826149d4565b602082019050919050565b60006138ff602c83614174565b915061390a826149fd565b604082019050919050565b6000613922602983614174565b915061392d82614a4c565b604082019050919050565b6000613945602f83614174565b915061395082614a9b565b604082019050919050565b6000613968602183614174565b915061397382614aea565b604082019050919050565b600061398b601b83614174565b915061399682614b39565b602082019050919050565b60006139ae603183614174565b91506139b982614b62565b604082019050919050565b60006139d1602c83614174565b91506139dc82614bb1565b604082019050919050565b60006139f4601783614185565b91506139ff82614c00565b601782019050919050565b6000613a17601f83614174565b9150613a2282614c29565b602082019050919050565b6000613a3a603083614174565b9150613a4582614c52565b604082019050919050565b6000613a5d601183614185565b9150613a6882614ca1565b601182019050919050565b6000613a80602f83614174565b9150613a8b82614cca565b604082019050919050565b613a9f81614319565b82525050565b613ab6613ab182614319565b61448d565b82525050565b6000613ac8828b6135a1565b601482019150613ad8828a6135a1565b601482019150613ae88289613aa5565b602082019150613af88288613aa5565b602082019150613b088287613aa5565b602082019150613b188286613aa5565b602082019150613b2882856135d6565b602082019150613b3882846135d6565b6020820191508190509998505050505050505050565b6000613b5a828561366e565b9150613b66828461366e565b91508190509392505050565b6000613b7d826139e7565b9150613b89828561366e565b9150613b9482613a50565b9150613ba0828461366e565b91508190509392505050565b6000602082019050613bc16000830184613592565b92915050565b6000608082019050613bdc6000830187613592565b613be96020830186613592565b613bf66040830185613a96565b8181036060830152613c0881846135ed565b905095945050505050565b6000604082019050613c286000830185613592565b613c356020830184613a96565b9392505050565b6000602082019050613c5160008301846135b8565b92915050565b6000602082019050613c6c60008301846135c7565b92915050565b6000602082019050613c876000830184613626565b92915050565b60006020820190508181036000830152613ca78184613635565b905092915050565b60006020820190508181036000830152613cc88161369f565b9050919050565b60006020820190508181036000830152613ce8816136c2565b9050919050565b60006020820190508181036000830152613d08816136e5565b9050919050565b60006020820190508181036000830152613d2881613708565b9050919050565b60006020820190508181036000830152613d488161372b565b9050919050565b60006020820190508181036000830152613d688161374e565b9050919050565b60006020820190508181036000830152613d8881613771565b9050919050565b60006020820190508181036000830152613da881613794565b9050919050565b60006020820190508181036000830152613dc8816137b7565b9050919050565b60006020820190508181036000830152613de8816137da565b9050919050565b60006020820190508181036000830152613e08816137fd565b9050919050565b60006020820190508181036000830152613e2881613820565b9050919050565b60006020820190508181036000830152613e4881613843565b9050919050565b60006020820190508181036000830152613e6881613866565b9050919050565b60006020820190508181036000830152613e8881613889565b9050919050565b60006020820190508181036000830152613ea8816138ac565b9050919050565b60006020820190508181036000830152613ec8816138cf565b9050919050565b60006020820190508181036000830152613ee8816138f2565b9050919050565b60006020820190508181036000830152613f0881613915565b9050919050565b60006020820190508181036000830152613f2881613938565b9050919050565b60006020820190508181036000830152613f488161395b565b9050919050565b60006020820190508181036000830152613f688161397e565b9050919050565b60006020820190508181036000830152613f88816139a1565b9050919050565b60006020820190508181036000830152613fa8816139c4565b9050919050565b60006020820190508181036000830152613fc881613a0a565b9050919050565b60006020820190508181036000830152613fe881613a2d565b9050919050565b6000602082019050818103600083015261400881613a73565b9050919050565b60006020820190506140246000830184613a96565b92915050565b600061014082019050614040600083018d613a96565b61404d602083018c613a96565b61405a604083018b613a96565b614067606083018a613a96565b6140746080830189613a96565b61408160a0830188613a96565b61408e60c0830187613a96565b61409b60e0830186613a96565b6140a9610100830185613a96565b6140b7610120830184613a96565b9b9a5050505050505050505050565b60006140d06140e1565b90506140dc82826143e5565b919050565b6000604051905090565b600067ffffffffffffffff821115614106576141056145b3565b5b61410f826145f6565b9050602081019050919050565b600067ffffffffffffffff821115614137576141366145b3565b5b614140826145f6565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061419b82614319565b91506141a683614319565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141db576141da6144c8565b5b828201905092915050565b60006141f182614319565b91506141fc83614319565b92508261420c5761420b6144f7565b5b828204905092915050565b600061422282614319565b915061422d83614319565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614266576142656144c8565b5b828202905092915050565b600061427c82614319565b915061428783614319565b92508282101561429a576142996144c8565b5b828203905092915050565b60006142b0826142f9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061432e82614335565b9050919050565b6000614340826142f9565b9050919050565b82818337600083830152505050565b60005b83811015614374578082015181840152602081019050614359565b83811115614383576000848401525b50505050565b600061439482614319565b915060008214156143a8576143a76144c8565b5b600182039050919050565b600060028204905060018216806143cb57607f821691505b602082108114156143df576143de614526565b5b50919050565b6143ee826145f6565b810181811067ffffffffffffffff8211171561440d5761440c6145b3565b5b80604052505050565b600061442182614319565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614454576144536144c8565b5b600182019050919050565b600061446a8261447b565b9050919050565b6000819050919050565b600061448682614607565b9050919050565b6000819050919050565b60006144a282614319565b91506144ad83614319565b9250826144bd576144bc6144f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f41543a204e6f20737570706c79206c6566740000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f41543a2043617465676f72792073686f756c64206265203c3d20313000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f41543a204e6f20617661696c61626c6520746f6b656e206e756d62657220666f60008201527f756e640000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f41543a206973206e6f74206275726e61626c6500000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f41543a2043617465676f72792073686f756c64206265203e3d20310000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614d22816142a5565b8114614d2d57600080fd5b50565b614d39816142b7565b8114614d4457600080fd5b50565b614d50816142c3565b8114614d5b57600080fd5b50565b614d67816142cd565b8114614d7257600080fd5b50565b614d7e81614319565b8114614d8957600080fd5b5056fe506572736f6e616c205573652c20436f6d6d65726369616c20446973706c61792c204d65726368616e646973696e67a264697066735822122001d22424acb48bbf0f855a0c189c1b669d7755698a9d86d0a938831208bde0dc64736f6c63430008060033

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

00000000000000000000000038221a026370360d8c0767c232f39f72f8f3ffde00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a5731705463536b5a5263745042464b717a366b69574b634c616d73543565535146354e4466673650657a712f00000000000000000000

-----Decoded View---------------
Arg [0] : genesisTokenAddress (address): 0x38221A026370360d8C0767C232F39F72F8f3fFde
Arg [1] : _uri (string): ipfs://QmZW1pTcSkZRctPBFKqz6kiWKcLamsT5eSQF5NDfg6Pezq/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000038221a026370360d8c0767c232f39f72f8f3ffde
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d5a5731705463536b5a5263745042464b717a366b69574b
Arg [4] : 634c616d73543565535146354e4466673650657a712f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.